2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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 about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status
=$?
; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL
=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec
; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo
; then
545 # Avoid inline document here, it may be left over
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo
; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset
; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
590 # So, first we look for a working echo in the user's PATH.
592 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
593 for dir
in $PATH /usr
/ucb
; do
595 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
605 if test "X$ECHO" = Xecho
; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
612 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL
=/bin
/ksh
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
628 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
634 SHELL
="$CONFIG_SHELL"
636 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
643 # maybe with a smaller string...
646 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string
=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659 # Oops. We lost completely, so just stick with echo.
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
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.
706 ac_unique_file
="configure.ac"
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
750 DBUS_TOOL_NO_PREFIX_FALSE
751 DBUS_TOOL_NO_PREFIX_TRUE
758 ENABLE_EPIPHANY_EXTENSION_FALSE
759 ENABLE_EPIPHANY_EXTENSION_TRUE
760 EPIPHANY_EXTENSIONS_DIR
761 EPIPHANY_DEPENDENCY_LIBS
762 EPIPHANY_DEPENDENCY_CFLAGS
788 GCONF_SCHEMAS_INSTALL_FALSE
789 GCONF_SCHEMAS_INSTALL_TRUE
790 GCONF_SCHEMA_FILE_DIR
791 GCONF_SCHEMA_CONFIG_SOURCE
844 INTLTOOL_SERVICE_RULE
846 INTLTOOL_SCHEMAS_RULE
848 INTLTOOL_XML_NOMERGE_RULE
853 INTLTOOL_SOUNDLIST_RULE
860 INTLTOOL_DIRECTORY_RULE
861 INTLTOOL_DESKTOP_RULE
875 INSTALL_STRIP_PROGRAM
917 program_transform_name
930 enable_option_checking
932 enable_dependency_tracking
940 with_gconf_schema_file_dir
941 enable_schemas_install
942 enable_epiphany_extension
943 with_epiphany_version
945 with_extension_prefix
947 ac_precious_vars
='build_alias
961 EPIPHANY_DEPENDENCY_CFLAGS
962 EPIPHANY_DEPENDENCY_LIBS
967 # Initialize some variables set by options.
969 ac_init_version
=false
970 ac_unrecognized_opts
=
972 # The variables have the same names as the options, with
973 # dashes changed to underlines.
981 program_transform_name
=s
,x
,x
,
989 # Installation directory options.
990 # These are left unexpanded so users can "make install exec_prefix=/foo"
991 # and all the variables that are supposed to be based on exec_prefix
992 # by default will actually change.
993 # Use braces instead of parens because sh, perl, etc. also accept them.
994 # (The list follows the same order as the GNU Coding Standards.)
995 bindir
='${exec_prefix}/bin'
996 sbindir
='${exec_prefix}/sbin'
997 libexecdir
='${exec_prefix}/libexec'
998 datarootdir
='${prefix}/share'
999 datadir
='${datarootdir}'
1000 sysconfdir
='${prefix}/etc'
1001 sharedstatedir
='${prefix}/com'
1002 localstatedir
='${prefix}/var'
1003 includedir
='${prefix}/include'
1004 oldincludedir
='/usr/include'
1005 docdir
='${datarootdir}/doc/${PACKAGE}'
1006 infodir
='${datarootdir}/info'
1011 libdir
='${exec_prefix}/lib'
1012 localedir
='${datarootdir}/locale'
1013 mandir
='${datarootdir}/man'
1019 # If the previous option needs an argument, assign it.
1020 if test -n "$ac_prev"; then
1021 eval $ac_prev=\
$ac_option
1027 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1031 # Accept the important Cygnus configure options, so we can diagnose typos.
1033 case $ac_dashdash$ac_option in
1037 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1039 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1040 bindir
=$ac_optarg ;;
1042 -build |
--build |
--buil |
--bui |
--bu)
1043 ac_prev
=build_alias
;;
1044 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1045 build_alias
=$ac_optarg ;;
1047 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1048 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1049 ac_prev
=cache_file
;;
1050 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1051 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1052 cache_file
=$ac_optarg ;;
1054 --config-cache |
-C)
1055 cache_file
=config.cache
;;
1057 -datadir |
--datadir |
--datadi |
--datad)
1059 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1060 datadir
=$ac_optarg ;;
1062 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1063 |
--dataroo |
--dataro |
--datar)
1064 ac_prev
=datarootdir
;;
1065 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1066 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1067 datarootdir
=$ac_optarg ;;
1069 -disable-* |
--disable-*)
1070 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1073 as_fn_error
"invalid feature name: $ac_useropt"
1074 ac_useropt_orig
=$ac_useropt
1075 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076 case $ac_user_opts in
1078 "enable_
$ac_useropt"
1080 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1081 ac_unrecognized_sep
=', ';;
1083 eval enable_
$ac_useropt=no
;;
1085 -docdir |
--docdir |
--docdi |
--doc |
--do)
1087 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1088 docdir
=$ac_optarg ;;
1090 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1092 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1093 dvidir
=$ac_optarg ;;
1095 -enable-* |
--enable-*)
1096 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 as_fn_error
"invalid feature name: $ac_useropt"
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1104 "enable_
$ac_useropt"
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval enable_
$ac_useropt=\
$ac_optarg ;;
1111 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1112 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1113 |
--exec |
--exe |
--ex)
1114 ac_prev
=exec_prefix
;;
1115 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1116 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1117 |
--exec=* |
--exe=* |
--ex=*)
1118 exec_prefix
=$ac_optarg ;;
1120 -gas |
--gas |
--ga |
--g)
1121 # Obsolete; use --with-gas.
1124 -help |
--help |
--hel |
--he |
-h)
1125 ac_init_help
=long
;;
1126 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1127 ac_init_help
=recursive
;;
1128 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1129 ac_init_help
=short
;;
1131 -host |
--host |
--hos |
--ho)
1132 ac_prev
=host_alias
;;
1133 -host=* |
--host=* |
--hos=* |
--ho=*)
1134 host_alias
=$ac_optarg ;;
1136 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1138 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1140 htmldir
=$ac_optarg ;;
1142 -includedir |
--includedir |
--includedi |
--included |
--include \
1143 |
--includ |
--inclu |
--incl |
--inc)
1144 ac_prev
=includedir
;;
1145 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1146 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1147 includedir
=$ac_optarg ;;
1149 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1151 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1152 infodir
=$ac_optarg ;;
1154 -libdir |
--libdir |
--libdi |
--libd)
1156 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1157 libdir
=$ac_optarg ;;
1159 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1160 |
--libexe |
--libex |
--libe)
1161 ac_prev
=libexecdir
;;
1162 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1163 |
--libexe=* |
--libex=* |
--libe=*)
1164 libexecdir
=$ac_optarg ;;
1166 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1167 ac_prev
=localedir
;;
1168 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1169 localedir
=$ac_optarg ;;
1171 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1172 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1173 ac_prev
=localstatedir
;;
1174 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1175 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1176 localstatedir
=$ac_optarg ;;
1178 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1180 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1181 mandir
=$ac_optarg ;;
1183 -nfp |
--nfp |
--nf)
1184 # Obsolete; use --without-fp.
1187 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1188 |
--no-cr |
--no-c |
-n)
1191 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1192 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1195 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1196 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1197 |
--oldin |
--oldi |
--old |
--ol |
--o)
1198 ac_prev
=oldincludedir
;;
1199 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1200 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1201 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1202 oldincludedir
=$ac_optarg ;;
1204 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1206 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1207 prefix
=$ac_optarg ;;
1209 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1210 |
--program-pre |
--program-pr |
--program-p)
1211 ac_prev
=program_prefix
;;
1212 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1213 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1214 program_prefix
=$ac_optarg ;;
1216 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1217 |
--program-suf |
--program-su |
--program-s)
1218 ac_prev
=program_suffix
;;
1219 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1220 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1221 program_suffix
=$ac_optarg ;;
1223 -program-transform-name |
--program-transform-name \
1224 |
--program-transform-nam |
--program-transform-na \
1225 |
--program-transform-n |
--program-transform- \
1226 |
--program-transform |
--program-transfor \
1227 |
--program-transfo |
--program-transf \
1228 |
--program-trans |
--program-tran \
1229 |
--progr-tra |
--program-tr |
--program-t)
1230 ac_prev
=program_transform_name
;;
1231 -program-transform-name=* |
--program-transform-name=* \
1232 |
--program-transform-nam=* |
--program-transform-na=* \
1233 |
--program-transform-n=* |
--program-transform-=* \
1234 |
--program-transform=* |
--program-transfor=* \
1235 |
--program-transfo=* |
--program-transf=* \
1236 |
--program-trans=* |
--program-tran=* \
1237 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1238 program_transform_name
=$ac_optarg ;;
1240 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1242 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1243 pdfdir
=$ac_optarg ;;
1245 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1247 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1250 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1251 |
-silent |
--silent |
--silen |
--sile |
--sil)
1254 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1256 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1258 sbindir
=$ac_optarg ;;
1260 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1261 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1262 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1264 ac_prev
=sharedstatedir
;;
1265 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1266 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1267 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1269 sharedstatedir
=$ac_optarg ;;
1271 -site |
--site |
--sit)
1273 -site=* |
--site=* |
--sit=*)
1276 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1278 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1279 srcdir
=$ac_optarg ;;
1281 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1282 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1283 ac_prev
=sysconfdir
;;
1284 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1285 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1286 sysconfdir
=$ac_optarg ;;
1288 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1289 ac_prev
=target_alias
;;
1290 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1291 target_alias
=$ac_optarg ;;
1293 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1296 -version |
--version |
--versio |
--versi |
--vers |
-V)
1297 ac_init_version
=: ;;
1300 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1301 # Reject names that are not valid shell variable names.
1302 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1303 as_fn_error
"invalid package name: $ac_useropt"
1304 ac_useropt_orig
=$ac_useropt
1305 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1306 case $ac_user_opts in
1310 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1311 ac_unrecognized_sep
=', ';;
1313 eval with_
$ac_useropt=\
$ac_optarg ;;
1315 -without-* |
--without-*)
1316 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1317 # Reject names that are not valid shell variable names.
1318 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1319 as_fn_error
"invalid package name: $ac_useropt"
1320 ac_useropt_orig
=$ac_useropt
1321 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1322 case $ac_user_opts in
1326 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1327 ac_unrecognized_sep
=', ';;
1329 eval with_
$ac_useropt=no
;;
1332 # Obsolete; use --with-x.
1335 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1336 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1337 ac_prev
=x_includes
;;
1338 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1339 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1340 x_includes
=$ac_optarg ;;
1342 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1343 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1344 ac_prev
=x_libraries
;;
1345 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1346 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1347 x_libraries
=$ac_optarg ;;
1349 -*) as_fn_error
"unrecognized option: \`$ac_option'
1350 Try \`$0 --help' for more information."
1354 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1355 # Reject names that are not valid shell variable names.
1356 case $ac_envvar in #(
1357 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1358 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1360 eval $ac_envvar=\
$ac_optarg
1361 export $ac_envvar ;;
1364 # FIXME: should be removed in autoconf 3.0.
1365 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1366 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1367 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1368 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1374 if test -n "$ac_prev"; then
1375 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1376 as_fn_error
"missing argument to $ac_option"
1379 if test -n "$ac_unrecognized_opts"; then
1380 case $enable_option_checking in
1382 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1383 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1387 # Check all directory arguments for consistency.
1388 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1389 datadir sysconfdir sharedstatedir localstatedir includedir \
1390 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1391 libdir localedir mandir
1393 eval ac_val
=\$
$ac_var
1394 # Remove trailing slashes.
1397 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1398 eval $ac_var=\
$ac_val;;
1400 # Be sure to have absolute directory names.
1402 [\\/$
]* | ?
:[\\/]* ) continue;;
1403 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1405 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1408 # There might be people who depend on the old broken behavior: `$host'
1409 # used to hold the argument of --host etc.
1410 # FIXME: To remove some day.
1413 target
=$target_alias
1415 # FIXME: To remove some day.
1416 if test "x$host_alias" != x
; then
1417 if test "x$build_alias" = x
; then
1418 cross_compiling
=maybe
1419 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1420 If a cross compiler is detected then cross compile mode will be used." >&2
1421 elif test "x$build_alias" != "x$host_alias"; then
1427 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1429 test "$silent" = yes && exec 6>/dev
/null
1432 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1433 ac_ls_di
=`ls -di .` &&
1434 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1435 as_fn_error
"working directory cannot be determined"
1436 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1437 as_fn_error
"pwd does not report name of working directory"
1440 # Find the source files, if location was not specified.
1441 if test -z "$srcdir"; then
1442 ac_srcdir_defaulted
=yes
1443 # Try the directory containing this script, then the parent directory.
1444 ac_confdir
=`$as_dirname -- "$as_myself" ||
1445 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1446 X"$as_myself" : 'X\(//\)[^/]' \| \
1447 X"$as_myself" : 'X\(//\)$' \| \
1448 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1449 $as_echo X"$as_myself" |
1450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1468 if test ! -r "$srcdir/$ac_unique_file"; then
1472 ac_srcdir_defaulted
=no
1474 if test ! -r "$srcdir/$ac_unique_file"; then
1475 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1476 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1478 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1480 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1482 # When building in place, set srcdir=.
1483 if test "$ac_abs_confdir" = "$ac_pwd"; then
1486 # Remove unnecessary trailing slashes from srcdir.
1487 # Double slashes in file names in object file debugging info
1488 # mess up M-x gdb in Emacs.
1490 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1492 for ac_var
in $ac_precious_vars; do
1493 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1494 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1495 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1496 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1500 # Report the --help message.
1502 if test "$ac_init_help" = "long"; then
1503 # Omit some internal or obsolete options to make the list less imposing.
1504 # This message is too long to be a string in the A/UX 3.1 sh.
1506 \`configure' configures this package to adapt to many kinds of systems.
1508 Usage: $0 [OPTION]... [VAR=VALUE]...
1510 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1511 VAR=VALUE. See below for descriptions of some of the useful variables.
1513 Defaults for the options are specified in brackets.
1516 -h, --help display this help and exit
1517 --help=short display options specific to this package
1518 --help=recursive display the short help of all the included packages
1519 -V, --version display version information and exit
1520 -q, --quiet, --silent do not print \`checking...' messages
1521 --cache-file=FILE cache test results in FILE [disabled]
1522 -C, --config-cache alias for \`--cache-file=config.cache'
1523 -n, --no-create do not create output files
1524 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1526 Installation directories:
1527 --prefix=PREFIX install architecture-independent files in PREFIX
1528 [$ac_default_prefix]
1529 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1532 By default, \`make install' will install all the files in
1533 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1534 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1535 for instance \`--prefix=\$HOME'.
1537 For better control, use the options below.
1539 Fine tuning of the installation directories:
1540 --bindir=DIR user executables [EPREFIX/bin]
1541 --sbindir=DIR system admin executables [EPREFIX/sbin]
1542 --libexecdir=DIR program executables [EPREFIX/libexec]
1543 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1544 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1545 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1546 --libdir=DIR object code libraries [EPREFIX/lib]
1547 --includedir=DIR C header files [PREFIX/include]
1548 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1549 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1550 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1551 --infodir=DIR info documentation [DATAROOTDIR/info]
1552 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1553 --mandir=DIR man documentation [DATAROOTDIR/man]
1554 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1555 --htmldir=DIR html documentation [DOCDIR]
1556 --dvidir=DIR dvi documentation [DOCDIR]
1557 --pdfdir=DIR pdf documentation [DOCDIR]
1558 --psdir=DIR ps documentation [DOCDIR]
1564 --program-prefix=PREFIX prepend PREFIX to installed program names
1565 --program-suffix=SUFFIX append SUFFIX to installed program names
1566 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1569 --build=BUILD configure
for building on BUILD
[guessed
]
1570 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1574 if test -n "$ac_init_help"; then
1579 --disable-option-checking ignore unrecognized
--enable/--with options
1580 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1581 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1582 --disable-nls do not use Native Language Support
1583 --disable-dependency-tracking speeds up one-time build
1584 --enable-dependency-tracking do not reject slow dependency extractors
1585 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1586 --enable-static[=PKGS
] build static libraries
[default
=yes]
1587 --enable-fast-install[=PKGS
]
1588 optimize
for fast installation
[default
=yes]
1589 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1590 --disable-schemas-install
1591 Disable the schemas installation
1592 --enable-epiphany-extension Enable Epiphany Extension
1593 --disable-libnotify Disable libnotify support
1596 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1597 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1598 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1600 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1601 --with-gconf-source=sourceaddress
1602 Config database
for installing schema files.
1603 --with-gconf-schema-file-dir=dir
1604 Directory
for installing schema files.
1605 --with-epiphany-version[=1.6|
1.8|
1.10|
2.14|
2.16|
2.18|
2.20|
2.22|
2.24|
2.26|
2.28]
1606 Whether to use epiphany version
1.6 or
1.8 or
1.10
1607 or
2.14 or
2.16 or
2.18 or
2.20 or
2.22 or
2.24 or
1608 2.26 or
2.28 (default
1.6)
1609 --with-extension-prefix=path Epiphany extension prefix
1611 Some influential environment variables
:
1612 CC C compiler
command
1613 CFLAGS C compiler flags
1614 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1615 nonstandard directory
<lib dir
>
1616 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1617 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1618 you have headers
in a nonstandard directory
<include dir
>
1620 PKG_CONFIG path to pkg-config utility
1622 C compiler flags
for GNOME
, overriding pkg-config
1623 GNOME_LIBS linker flags
for GNOME
, overriding pkg-config
1624 DBUS_CFLAGS C compiler flags
for DBUS
, overriding pkg-config
1625 DBUS_LIBS linker flags
for DBUS
, overriding pkg-config
1626 EPIPHANY_DEPENDENCY_CFLAGS
1627 C compiler flags
for EPIPHANY_DEPENDENCY
, overriding pkg-config
1628 EPIPHANY_DEPENDENCY_LIBS
1629 linker flags
for EPIPHANY_DEPENDENCY
, overriding pkg-config
1631 C compiler flags
for NOTIFY
, overriding pkg-config
1632 NOTIFY_LIBS linker flags
for NOTIFY
, overriding pkg-config
1634 Use these variables to override the choices made by
`configure' or to help
1635 it to find libraries and programs with nonstandard names/locations.
1637 Report bugs to the package provider.
1642 if test "$ac_init_help" = "recursive"; then
1643 # If there are subdirs, report their specific --help.
1644 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1645 test -d "$ac_dir" ||
1646 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1654 # A ".." for each directory in $ac_dir_suffix.
1655 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1656 case $ac_top_builddir_sub in
1657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1661 ac_abs_top_builddir=$ac_pwd
1662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663 # for backward compatibility:
1664 ac_top_builddir=$ac_top_build_prefix
1667 .) # We are building in place.
1669 ac_top_srcdir=$ac_top_builddir_sub
1670 ac_abs_top_srcdir=$ac_pwd ;;
1671 [\\/]* | ?:[\\/]* ) # Absolute name.
1672 ac_srcdir=$srcdir$ac_dir_suffix;
1673 ac_top_srcdir=$srcdir
1674 ac_abs_top_srcdir=$srcdir ;;
1676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677 ac_top_srcdir=$ac_top_build_prefix$srcdir
1678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1682 cd "$ac_dir" || { ac_status=$?; continue; }
1683 # Check for guested configure.
1684 if test -f "$ac_srcdir/configure.gnu"; then
1686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687 elif test -f "$ac_srcdir/configure"; then
1689 $SHELL "$ac_srcdir/configure" --help=recursive
1691 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1693 cd "$ac_pwd" || { ac_status=$?; break; }
1697 test -n "$ac_init_help" && exit $ac_status
1698 if $ac_init_version; then
1701 generated by GNU Autoconf 2.65
1703 Copyright (C) 2009 Free Software Foundation, Inc.
1704 This configure script is free software; the Free Software Foundation
1705 gives unlimited permission to copy, distribute and modify it.
1710 ## ------------------------ ##
1711 ## Autoconf initialization. ##
1712 ## ------------------------ ##
1714 # ac_fn_c_try_compile LINENO
1715 # --------------------------
1716 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1717 ac_fn_c_try_compile ()
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 rm -f conftest.$ac_objext
1721 if { { ac_try="$ac_compile"
1723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1724 *) ac_try_echo
=$ac_try;;
1726 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_compile") 2>conftest.err
1730 if test -s conftest.err
; then
1731 grep -v '^ *+' conftest.err
>conftest.er1
1732 cat conftest.er1
>&5
1733 mv -f conftest.er1 conftest.err
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && {
1737 test -z "$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1739 } && test -s conftest.
$ac_objext; then :
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.
$ac_ext >&5
1747 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1748 as_fn_set_status
$ac_retval
1750 } # ac_fn_c_try_compile
1752 # ac_fn_c_try_link LINENO
1753 # -----------------------
1754 # Try to link conftest.$ac_ext, and return whether this succeeded.
1757 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1758 rm -f conftest.
$ac_objext conftest
$ac_exeext
1759 if { { ac_try
="$ac_link"
1761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_link") 2>conftest.err
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && {
1775 test -z "$ac_c_werror_flag" ||
1776 test ! -s conftest.err
1777 } && test -s conftest$ac_exeext && {
1778 test "$cross_compiling" = yes ||
1779 $as_test_x conftest$ac_exeext
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1788 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1789 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1790 # interfere with the next link command; also delete a directory that is
1791 # left behind by Apple's compiler. We do this before executing the actions.
1792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1793 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1794 as_fn_set_status $ac_retval
1796 } # ac_fn_c_try_link
1798 # ac_fn_c_check_func LINENO FUNC VAR
1799 # ----------------------------------
1800 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1801 ac_fn_c_check_func ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1807 $as_echo_n "(cached) " >&6
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1811 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1813 #define $2 innocuous_$2
1815 /* System header to define __stub macros and hopefully few prototypes,
1816 which can conflict with char $2 (); below.
1817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1818 <limits.h> exists even on freestanding compilers. */
1821 # include <limits.h>
1823 # include <assert.h>
1828 /* Override any GCC internal prototype to avoid an error.
1829 Use char because int might match the return type of a GCC
1830 builtin and then its argument prototype would still apply. */
1835 /* The GNU C library defines this for functions which it implements
1836 to always fail with ENOSYS. Some functions are actually named
1837 something starting with __ and the normal name is an alias. */
1838 #if defined __stub_$2 || defined __stub___$2
1850 if ac_fn_c_try_link "$LINENO"; then :
1855 rm -f core conftest.err conftest.$ac_objext \
1856 conftest$ac_exeext conftest.$ac_ext
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1863 } # ac_fn_c_check_func
1865 # ac_fn_c_try_cpp LINENO
1866 # ----------------------
1867 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 if { { ac_try="$ac_cpp conftest.$ac_ext"
1873 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1874 *) ac_try_echo
=$ac_try;;
1876 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1880 if test -s conftest.err
; then
1881 grep -v '^ *+' conftest.err
>conftest.er1
1882 cat conftest.er1
>&5
1883 mv -f conftest.er1 conftest.err
1885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886 test $ac_status = 0; } >/dev
/null
&& {
1887 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1888 test ! -s conftest.err
1892 $as_echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.
$ac_ext >&5
1897 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1898 as_fn_set_status
$ac_retval
1902 # ac_fn_c_try_run LINENO
1903 # ----------------------
1904 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1905 # that executables *can* be run.
1908 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1909 if { { ac_try
="$ac_link"
1911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1912 *) ac_try_echo=$ac_try;;
1914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1915 $as_echo "$ac_try_echo"; } >&5
1916 (eval "$ac_link") 2>&5
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1920 { { case "(($ac_try" in
1921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1922 *) ac_try_echo
=$ac_try;;
1924 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_try") 2>&5
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; }; }; then :
1932 $as_echo "$as_me: program exited with status $ac_status" >&5
1933 $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.
$ac_ext >&5
1936 ac_retval
=$ac_status
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1940 as_fn_set_status
$ac_retval
1944 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1945 # -------------------------------------------------------
1946 # Tests whether HEADER exists and can be compiled using the include files in
1947 # INCLUDES, setting the cache variable VAR accordingly.
1948 ac_fn_c_check_header_compile
()
1950 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1954 $as_echo_n "(cached) " >&6
1956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1961 if ac_fn_c_try_compile
"$LINENO"; then :
1966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1973 } # ac_fn_c_check_header_compile
1975 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1976 # -------------------------------------------------------
1977 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1978 # the include files in INCLUDES and setting the cache variable VAR
1980 ac_fn_c_check_header_mongrel
()
1982 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1983 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985 $as_echo_n "checking for $2... " >&6; }
1986 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1987 $as_echo_n "(cached) " >&6
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1991 $as_echo "$ac_res" >&6; }
1993 # Is the header compilable?
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1995 $as_echo_n "checking $2 usability... " >&6; }
1996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1997 /* end confdefs.h. */
2001 if ac_fn_c_try_compile
"$LINENO"; then :
2002 ac_header_compiler
=yes
2004 ac_header_compiler
=no
2006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2008 $as_echo "$ac_header_compiler" >&6; }
2010 # Is the header present?
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2012 $as_echo_n "checking $2 presence... " >&6; }
2013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2017 if ac_fn_c_try_cpp
"$LINENO"; then :
2018 ac_header_preproc
=yes
2020 ac_header_preproc
=no
2022 rm -f conftest.err conftest.
$ac_ext
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2024 $as_echo "$ac_header_preproc" >&6; }
2026 # So? What about this header?
2027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2030 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2032 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2036 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2038 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2040 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2042 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2044 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048 $as_echo_n "checking for $2... " >&6; }
2049 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2050 $as_echo_n "(cached) " >&6
2052 eval "$3=\$ac_header_compiler"
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2056 $as_echo "$ac_res" >&6; }
2058 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2060 } # ac_fn_c_check_header_mongrel
2061 cat >config.log
<<_ACEOF
2062 This file contains any messages produced by compilers while
2063 running configure, to aid debugging if configure makes a mistake.
2065 It was created by $as_me, which was
2066 generated by GNU Autoconf 2.65. Invocation command line was
2078 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2079 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2080 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2081 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2082 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2084 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2085 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2087 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2088 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2089 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2090 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2091 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2092 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2093 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2101 test -z "$as_dir" && as_dir
=.
2102 $as_echo "PATH: $as_dir"
2118 # Keep a trace of the command line.
2119 # Strip out --no-create and --no-recursion so they do not pile up.
2120 # Strip out --silent because we don't want to record it for future runs.
2121 # Also quote any args containing shell meta-characters.
2122 # Make two passes to allow for proper duplicate-argument suppression.
2126 ac_must_keep_next
=false
2132 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2133 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2134 |
-silent |
--silent |
--silen |
--sile |
--sil)
2137 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2140 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2142 as_fn_append ac_configure_args1
" '$ac_arg'"
2143 if test $ac_must_keep_next = true
; then
2144 ac_must_keep_next
=false
# Got value, back to normal.
2147 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2148 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2149 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2150 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2151 case "$ac_configure_args0 " in
2152 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2155 -* ) ac_must_keep_next
=true
;;
2158 as_fn_append ac_configure_args
" '$ac_arg'"
2163 { ac_configure_args0
=; unset ac_configure_args0
;}
2164 { ac_configure_args1
=; unset ac_configure_args1
;}
2166 # When interrupted or exit'd, cleanup temporary files, and complete
2167 # config.log. We remove comments because anyway the quotes in there
2168 # would cause problems or look ugly.
2169 # WARNING: Use '\'' to represent an apostrophe within the trap.
2170 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2171 trap 'exit_status=$?
2172 # Save into config.log some information that might help in debugging.
2177 ## ---------------- ##
2178 ## Cache variables. ##
2179 ## ---------------- ##
2182 # The following way of writing the cache mishandles newlines in values,
2184 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2185 eval ac_val=\$$ac_var
2189 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2190 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2193 _ | IFS | as_nl) ;; #(
2194 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2195 *) { eval $ac_var=; unset $ac_var;} ;;
2200 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2201 *${as_nl}ac_space=\ *)
2203 "s/'\''/'\''\\\\'\'''\''/g;
2204 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2215 ## ----------------- ##
2216 ## Output variables. ##
2217 ## ----------------- ##
2220 for ac_var in $ac_subst_vars
2222 eval ac_val=\$$ac_var
2224 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 $as_echo "$ac_var='\''$ac_val'\''"
2230 if test -n "$ac_subst_files"; then
2232 ## ------------------- ##
2233 ## File substitutions. ##
2234 ## ------------------- ##
2237 for ac_var
in $ac_subst_files
2239 eval ac_val
=\$
$ac_var
2241 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2243 $as_echo "$ac_var='\''$ac_val'\''"
2248 if test -s confdefs.h; then
2258 test "$ac_signal" != 0 &&
2259 $as_echo "$as_me: caught signal $ac_signal"
2260 $as_echo "$as_me: exit $exit_status"
2262 rm -f core *.core core.conftest.* &&
2263 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2266 for ac_signal
in 1 2 13 15; do
2267 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2271 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2272 rm -f -r conftest
* confdefs.h
2274 $as_echo "/* confdefs.h */" > confdefs.h
2276 # Predefined preprocessor variables.
2278 cat >>confdefs.h
<<_ACEOF
2279 #define PACKAGE_NAME "$PACKAGE_NAME"
2282 cat >>confdefs.h
<<_ACEOF
2283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2286 cat >>confdefs.h
<<_ACEOF
2287 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2290 cat >>confdefs.h
<<_ACEOF
2291 #define PACKAGE_STRING "$PACKAGE_STRING"
2294 cat >>confdefs.h
<<_ACEOF
2295 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2298 cat >>confdefs.h
<<_ACEOF
2299 #define PACKAGE_URL "$PACKAGE_URL"
2303 # Let the site file select an alternate cache file if it wants to.
2304 # Prefer an explicitly selected file to automatically selected ones.
2307 if test -n "$CONFIG_SITE"; then
2308 ac_site_file1
=$CONFIG_SITE
2309 elif test "x$prefix" != xNONE
; then
2310 ac_site_file1
=$prefix/share
/config.site
2311 ac_site_file2
=$prefix/etc
/config.site
2313 ac_site_file1
=$ac_default_prefix/share
/config.site
2314 ac_site_file2
=$ac_default_prefix/etc
/config.site
2316 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2318 test "x$ac_site_file" = xNONE
&& continue
2319 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2321 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2322 sed 's/^/| /' "$ac_site_file" >&5
2327 if test -r "$cache_file"; then
2328 # Some versions of bash will fail to source /dev/null (special files
2329 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2330 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2332 $as_echo "$as_me: loading cache $cache_file" >&6;}
2334 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2335 *) .
"./$cache_file";;
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2340 $as_echo "$as_me: creating cache $cache_file" >&6;}
2344 # Check that the precious variables saved in the cache have kept the same
2346 ac_cache_corrupted
=false
2347 for ac_var
in $ac_precious_vars; do
2348 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2349 eval ac_new_set
=\
$ac_env_${ac_var}_set
2350 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2351 eval ac_new_val
=\
$ac_env_${ac_var}_value
2352 case $ac_old_set,$ac_new_set in
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2355 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2356 ac_cache_corrupted
=: ;;
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2359 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2360 ac_cache_corrupted
=: ;;
2363 if test "x$ac_old_val" != "x$ac_new_val"; then
2364 # differences in whitespace do not lead to failure.
2365 ac_old_val_w
=`echo x $ac_old_val`
2366 ac_new_val_w
=`echo x $ac_new_val`
2367 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2369 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2370 ac_cache_corrupted
=:
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2373 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2374 eval $ac_var=\
$ac_old_val
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2377 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2379 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2382 # Pass precious variables to config.status.
2383 if test "$ac_new_set" = set; then
2385 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2386 *) ac_arg
=$ac_var=$ac_new_val ;;
2388 case " $ac_configure_args " in
2389 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2390 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2394 if $ac_cache_corrupted; then
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2398 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2399 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2401 ## -------------------- ##
2402 ## Main body of script. ##
2403 ## -------------------- ##
2406 ac_cpp
='$CPP $CPPFLAGS'
2407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2412 am__api_version
='1.11'
2415 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2416 for ac_t
in install-sh
install.sh shtool
; do
2417 if test -f "$ac_dir/$ac_t"; then
2419 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2424 if test -z "$ac_aux_dir"; then
2425 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2428 # These three variables are undocumented and unsupported,
2429 # and are intended to be withdrawn in a future Autoconf release.
2430 # They can cause serious problems if a builder's source tree is in a directory
2431 # whose full name contains unusual characters.
2432 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2433 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2434 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2437 # Find a good install program. We prefer a C program (faster),
2438 # so one script is as good as another. But avoid the broken or
2439 # incompatible versions:
2440 # SysV /etc/install, /usr/sbin/install
2441 # SunOS /usr/etc/install
2442 # IRIX /sbin/install
2444 # AmigaOS /C/install, which installs bootblocks on floppy discs
2445 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2446 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2447 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2448 # OS/2's system install, which has a completely different semantic
2449 # ./install, which can be erroneously created by make from ./install.sh.
2450 # Reject install programs that cannot install multiple files.
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2452 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2453 if test -z "$INSTALL"; then
2454 if test "${ac_cv_path_install+set}" = set; then :
2455 $as_echo_n "(cached) " >&6
2457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2461 test -z "$as_dir" && as_dir
=.
2462 # Account for people who put trailing slashes in PATH elements.
2463 case $as_dir/ in #((
2464 .
/ | .
// |
/[cC
]/* | \
2465 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2466 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2469 # OSF1 and SCO ODT 3.0 have their own names for install.
2470 # Don't use installbsd from OSF since it installs stuff as root
2472 for ac_prog
in ginstall scoinst
install; do
2473 for ac_exec_ext
in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2475 if test $ac_prog = install &&
2476 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2477 # AIX install. It has an incompatible calling convention.
2479 elif test $ac_prog = install &&
2480 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2481 # program-specific install script used by HP pwplus--don't use.
2484 rm -rf conftest.one conftest.two conftest.dir
2485 echo one
> conftest.one
2486 echo two
> conftest.two
2488 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2489 test -s conftest.one
&& test -s conftest.two
&&
2490 test -s conftest.dir
/conftest.one
&&
2491 test -s conftest.dir
/conftest.two
2493 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2506 rm -rf conftest.one conftest.two conftest.dir
2509 if test "${ac_cv_path_install+set}" = set; then
2510 INSTALL
=$ac_cv_path_install
2512 # As a last resort, use the slow shell script. Don't cache a
2513 # value for INSTALL within a source directory, because that will
2514 # break other packages using the cache if that directory is
2515 # removed, or if the value is a relative name.
2516 INSTALL
=$ac_install_sh
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2520 $as_echo "$INSTALL" >&6; }
2522 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2523 # It thinks the first close brace ends the variable substitution.
2524 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2526 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2528 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2531 $as_echo_n "checking whether build environment is sane... " >&6; }
2534 echo timestamp
> conftest.
file
2535 # Reject unsafe characters in $srcdir or the absolute working directory
2536 # name. Accept space and tab only in the latter.
2540 *[\\\"\
#\$\&\'\`$am_lf]*)
2541 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2544 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2545 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2548 # Do `set' in a subshell so we don't clobber the current shell's
2549 # arguments. Must try -L first in case configure is actually a
2550 # symlink; some systems play weird games with the mod time of symlinks
2551 # (eg FreeBSD returns the mod time of the symlink's containing
2554 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2555 if test "$*" = "X"; then
2557 set X
`ls -t "$srcdir/configure" conftest.file`
2560 if test "$*" != "X $srcdir/configure conftest.file" \
2561 && test "$*" != "X conftest.file $srcdir/configure"; then
2563 # If neither matched, then we have a broken ls. This can happen
2564 # if, for instance, CONFIG_SHELL is bash and it inherits a
2565 # broken ls alias from the environment. This has actually
2566 # happened. Such a system could not be considered "sane".
2567 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2568 alias in your environment" "$LINENO" 5
2571 test "$2" = conftest.
file
2577 as_fn_error
"newly created file is older than distributed files!
2578 Check your system clock" "$LINENO" 5
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2581 $as_echo "yes" >&6; }
2582 test "$program_prefix" != NONE
&&
2583 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2584 # Use a double $ so make ignores it.
2585 test "$program_suffix" != NONE
&&
2586 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2587 # Double any \ or $.
2588 # By default was `s,x,x', remove it if useless.
2589 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2590 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2592 # expand $ac_aux_dir to an absolute path
2593 am_aux_dir
=`cd $ac_aux_dir && pwd`
2595 if test x
"${MISSING+set}" != xset
; then
2598 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2600 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2603 # Use eval to expand $SHELL
2604 if eval "$MISSING --run true"; then
2605 am_missing_run
="$MISSING --run "
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2609 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2612 if test x
"${install_sh}" != xset
; then
2615 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2617 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2621 # Installed binaries are usually stripped using `strip' when the user
2622 # run `make install-strip'. However `strip' might not be the right
2623 # tool to use in cross-compilation environments, therefore Automake
2624 # will honor the `STRIP' environment variable to overrule this program.
2625 if test "$cross_compiling" != no
; then
2626 if test -n "$ac_tool_prefix"; then
2627 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2628 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2630 $as_echo_n "checking for $ac_word... " >&6; }
2631 if test "${ac_cv_prog_STRIP+set}" = set; then :
2632 $as_echo_n "(cached) " >&6
2634 if test -n "$STRIP"; then
2635 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2641 test -z "$as_dir" && as_dir
=.
2642 for ac_exec_ext
in '' $ac_executable_extensions; do
2643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2644 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2654 STRIP
=$ac_cv_prog_STRIP
2655 if test -n "$STRIP"; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2657 $as_echo "$STRIP" >&6; }
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2660 $as_echo "no" >&6; }
2665 if test -z "$ac_cv_prog_STRIP"; then
2667 # Extract the first word of "strip", so it can be a program name with args.
2668 set dummy strip
; ac_word
=$2
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2670 $as_echo_n "checking for $ac_word... " >&6; }
2671 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2672 $as_echo_n "(cached) " >&6
2674 if test -n "$ac_ct_STRIP"; then
2675 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir
=.
2682 for ac_exec_ext
in '' $ac_executable_extensions; do
2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684 ac_cv_prog_ac_ct_STRIP
="strip"
2685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2694 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2695 if test -n "$ac_ct_STRIP"; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2697 $as_echo "$ac_ct_STRIP" >&6; }
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700 $as_echo "no" >&6; }
2703 if test "x$ac_ct_STRIP" = x
; then
2706 case $cross_compiling:$ac_tool_warned in
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2710 ac_tool_warned
=yes ;;
2715 STRIP
="$ac_cv_prog_STRIP"
2719 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2722 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2723 if test -z "$MKDIR_P"; then
2724 if test "${ac_cv_path_mkdir+set}" = set; then :
2725 $as_echo_n "(cached) " >&6
2727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2728 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2731 test -z "$as_dir" && as_dir
=.
2732 for ac_prog
in mkdir gmkdir
; do
2733 for ac_exec_ext
in '' $ac_executable_extensions; do
2734 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2735 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2736 'mkdir (GNU coreutils) '* | \
2737 'mkdir (coreutils) '* | \
2738 'mkdir (fileutils) '4.1*)
2739 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2749 test -d .
/--version && rmdir .
/--version
2750 if test "${ac_cv_path_mkdir+set}" = set; then
2751 MKDIR_P
="$ac_cv_path_mkdir -p"
2753 # As a last resort, use the slow shell script. Don't cache a
2754 # value for MKDIR_P within a source directory, because that will
2755 # break other packages using the cache if that directory is
2756 # removed, or if the value is a relative name.
2757 MKDIR_P
="$ac_install_sh -d"
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2761 $as_echo "$MKDIR_P" >&6; }
2765 [\\/$
]* | ?
:[\\/]*) ;;
2766 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2769 for ac_prog
in gawk mawk nawk
awk
2771 # Extract the first word of "$ac_prog", so it can be a program name with args.
2772 set dummy
$ac_prog; ac_word
=$2
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2774 $as_echo_n "checking for $ac_word... " >&6; }
2775 if test "${ac_cv_prog_AWK+set}" = set; then :
2776 $as_echo_n "(cached) " >&6
2778 if test -n "$AWK"; then
2779 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir
=.
2786 for ac_exec_ext
in '' $ac_executable_extensions; do
2787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2788 ac_cv_prog_AWK
="$ac_prog"
2789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2799 if test -n "$AWK"; then
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2801 $as_echo "$AWK" >&6; }
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2804 $as_echo "no" >&6; }
2808 test -n "$AWK" && break
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2812 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2814 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2815 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2816 $as_echo_n "(cached) " >&6
2818 cat >conftest.
make <<\_ACEOF
2821 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2823 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2824 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2826 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2828 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2832 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2834 $as_echo "yes" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2839 SET_MAKE
="MAKE=${MAKE-make}"
2842 rm -rf .tst
2>/dev
/null
2843 mkdir .tst
2>/dev
/null
2844 if test -d .tst
; then
2849 rmdir .tst
2>/dev
/null
2851 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2852 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2853 # is not polluted with repeated "-I."
2854 am__isrc
=' -I$(srcdir)'
2855 # test to see if srcdir already configured
2856 if test -f $srcdir/config.status
; then
2857 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2861 # test whether we have cygpath
2862 if test -z "$CYGPATH_W"; then
2863 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2864 CYGPATH_W
='cygpath -w'
2871 # Define the identity of the package.
2876 cat >>confdefs.h
<<_ACEOF
2877 #define PACKAGE "$PACKAGE"
2881 cat >>confdefs.h
<<_ACEOF
2882 #define VERSION "$VERSION"
2885 # Some tools Automake needs.
2887 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2890 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2893 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2896 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2899 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2901 # We need awk for the "check" target. The system "awk" is bad on
2903 # Always define AMTAR for backward compatibility.
2905 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2907 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2913 ac_config_headers
="$ac_config_headers config.h"
2916 # Extract the first word of "gconftool-2", so it can be a program name with args.
2917 set dummy gconftool-2
; ac_word
=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
2921 $as_echo_n "(cached) " >&6
2925 ac_cv_path_GCONFTOOL
="$GCONFTOOL" # Let the user override the test with a path.
2928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir
=.
2933 for ac_exec_ext
in '' $ac_executable_extensions; do
2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 ac_cv_path_GCONFTOOL
="$as_dir/$ac_word$ac_exec_ext"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 GCONFTOOL
=$ac_cv_path_GCONFTOOL
2947 if test -n "$GCONFTOOL"; then
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
2949 $as_echo "$GCONFTOOL" >&6; }
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2952 $as_echo "no" >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2958 $as_echo_n "checking whether NLS is requested... " >&6; }
2959 # Check whether --enable-nls was given.
2960 if test "${enable_nls+set}" = set; then :
2961 enableval
=$enable_nls; USE_NLS
=$enableval
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2967 $as_echo "$USE_NLS" >&6; }
2970 DEPDIR
="${am__leading_dot}deps"
2972 ac_config_commands
="$ac_config_commands depfiles"
2975 am_make
=${MAKE-make}
2976 cat > confinc
<< 'END'
2978 @
echo this is the am__doit target
2981 # If we don't find an include directive, just comment out the code.
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2983 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2987 # First try GNU make style include.
2988 echo "include confinc" > confmf
2989 # Ignore all kinds of additional output from `make'.
2990 case `$am_make -s -f confmf 2> /dev/null` in #(
2991 *the\ am__doit\ target
*)
2997 # Now try BSD make style include.
2998 if test "$am__include" = "#"; then
2999 echo '.include "confinc"' > confmf
3000 case `$am_make -s -f confmf 2> /dev/null` in #(
3001 *the\ am__doit\ target
*)
3002 am__include
=.include
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3011 $as_echo "$_am_result" >&6; }
3012 rm -f confinc confmf
3014 # Check whether --enable-dependency-tracking was given.
3015 if test "${enable_dependency_tracking+set}" = set; then :
3016 enableval
=$enable_dependency_tracking;
3019 if test "x$enable_dependency_tracking" != xno
; then
3020 am_depcomp
="$ac_aux_dir/depcomp"
3023 if test "x$enable_dependency_tracking" != xno; then
3033 ac_cpp
='$CPP $CPPFLAGS'
3034 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3035 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3037 if test -n "$ac_tool_prefix"; then
3038 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3039 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3041 $as_echo_n "checking for $ac_word... " >&6; }
3042 if test "${ac_cv_prog_CC+set}" = set; then :
3043 $as_echo_n "(cached) " >&6
3045 if test -n "$CC"; then
3046 ac_cv_prog_CC
="$CC" # Let the user override the test.
3048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3052 test -z "$as_dir" && as_dir
=.
3053 for ac_exec_ext
in '' $ac_executable_extensions; do
3054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3055 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 if test -n "$CC"; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3068 $as_echo "$CC" >&6; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071 $as_echo "no" >&6; }
3076 if test -z "$ac_cv_prog_CC"; then
3078 # Extract the first word of "gcc", so it can be a program name with args.
3079 set dummy gcc
; ac_word
=$2
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081 $as_echo_n "checking for $ac_word... " >&6; }
3082 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3083 $as_echo_n "(cached) " >&6
3085 if test -n "$ac_ct_CC"; then
3086 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3092 test -z "$as_dir" && as_dir
=.
3093 for ac_exec_ext
in '' $ac_executable_extensions; do
3094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3095 ac_cv_prog_ac_ct_CC
="gcc"
3096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3105 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3106 if test -n "$ac_ct_CC"; then
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3108 $as_echo "$ac_ct_CC" >&6; }
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3114 if test "x$ac_ct_CC" = x
; then
3117 case $cross_compiling:$ac_tool_warned in
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3121 ac_tool_warned
=yes ;;
3129 if test -z "$CC"; then
3130 if test -n "$ac_tool_prefix"; then
3131 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3132 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if test "${ac_cv_prog_CC+set}" = set; then :
3136 $as_echo_n "(cached) " >&6
3138 if test -n "$CC"; then
3139 ac_cv_prog_CC
="$CC" # Let the user override the test.
3141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir
=.
3146 for ac_exec_ext
in '' $ac_executable_extensions; do
3147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3148 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 if test -n "$CC"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3161 $as_echo "$CC" >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3170 if test -z "$CC"; then
3171 # Extract the first word of "cc", so it can be a program name with args.
3172 set dummy cc
; ac_word
=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if test "${ac_cv_prog_CC+set}" = set; then :
3176 $as_echo_n "(cached) " >&6
3178 if test -n "$CC"; then
3179 ac_cv_prog_CC
="$CC" # Let the user override the test.
3182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3186 test -z "$as_dir" && as_dir
=.
3187 for ac_exec_ext
in '' $ac_executable_extensions; do
3188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3189 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3190 ac_prog_rejected
=yes
3194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 if test $ac_prog_rejected = yes; then
3202 # We found a bogon in the path, so make sure we never use it.
3203 set dummy
$ac_cv_prog_CC
3205 if test $# != 0; then
3206 # We chose a different compiler from the bogus one.
3207 # However, it has the same basename, so the bogon will be chosen
3208 # first if we set CC to just the basename; use the full file name.
3210 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3216 if test -n "$CC"; then
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3218 $as_echo "$CC" >&6; }
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3226 if test -z "$CC"; then
3227 if test -n "$ac_tool_prefix"; then
3228 for ac_prog
in cl.exe
3230 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3231 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3233 $as_echo_n "checking for $ac_word... " >&6; }
3234 if test "${ac_cv_prog_CC+set}" = set; then :
3235 $as_echo_n "(cached) " >&6
3237 if test -n "$CC"; then
3238 ac_cv_prog_CC
="$CC" # Let the user override the test.
3240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3244 test -z "$as_dir" && as_dir
=.
3245 for ac_exec_ext
in '' $ac_executable_extensions; do
3246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3247 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258 if test -n "$CC"; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3260 $as_echo "$CC" >&6; }
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3267 test -n "$CC" && break
3270 if test -z "$CC"; then
3272 for ac_prog
in cl.exe
3274 # Extract the first word of "$ac_prog", so it can be a program name with args.
3275 set dummy
$ac_prog; ac_word
=$2
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3277 $as_echo_n "checking for $ac_word... " >&6; }
3278 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3279 $as_echo_n "(cached) " >&6
3281 if test -n "$ac_ct_CC"; then
3282 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3288 test -z "$as_dir" && as_dir
=.
3289 for ac_exec_ext
in '' $ac_executable_extensions; do
3290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3291 ac_cv_prog_ac_ct_CC
="$ac_prog"
3292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3301 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3302 if test -n "$ac_ct_CC"; then
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3304 $as_echo "$ac_ct_CC" >&6; }
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 $as_echo "no" >&6; }
3311 test -n "$ac_ct_CC" && break
3314 if test "x$ac_ct_CC" = x
; then
3317 case $cross_compiling:$ac_tool_warned in
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3321 ac_tool_warned
=yes ;;
3330 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3332 as_fn_error
"no acceptable C compiler found in \$PATH
3333 See \`config.log' for more details." "$LINENO" 5; }
3335 # Provide some information about the compiler.
3336 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3339 for ac_option
in --version -v -V -qversion; do
3340 { { ac_try
="$ac_compiler $ac_option >&5"
3342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3346 $as_echo "$ac_try_echo"; } >&5
3347 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3349 if test -s conftest.err; then
3351 ... rest of stderr output deleted ...
3352 10q' conftest.err >conftest.er1
3353 cat conftest.er1 >&5
3355 rm -f conftest.er1 conftest.err
3356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3357 test $ac_status = 0; }
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3371 ac_clean_files_save=$ac_clean_files
3372 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3373 # Try to create an executable without -o first, disregard a.out.
3374 # It will help us diagnose broken compilers, and finding out an intuition
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3377 $as_echo_n "checking whether the C compiler works... " >&6; }
3378 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3380 # The possible output files:
3381 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3384 for ac_file in $ac_files
3387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3388 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3393 if { { ac_try="$ac_link_default"
3395 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3396 *) ac_try_echo
=$ac_try;;
3398 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399 $as_echo "$ac_try_echo"; } >&5
3400 (eval "$ac_link_default") 2>&5
3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3403 test $ac_status = 0; }; then :
3404 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3405 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3406 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3407 # so that the user can short-circuit this test for compilers unknown to
3409 for ac_file
in $ac_files ''
3411 test -f "$ac_file" ||
continue
3413 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3416 # We found the default executable, but exeext='' is most
3420 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3422 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3424 # We set ac_cv_exeext here because the later test for it is not
3425 # safe: cross compilers may not add the suffix if given an `-o'
3426 # argument, so we may need to know it at that point already.
3427 # Even if this section looks crufty: it has the advantage of
3434 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3439 if test -z "$ac_file"; then :
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3441 $as_echo "no" >&6; }
3442 $as_echo "$as_me: failed program was:" >&5
3443 sed 's/^/| /' conftest.
$ac_ext >&5
3445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 { as_fn_set_status
77
3448 as_fn_error
"C compiler cannot create executables
3449 See \`config.log' for more details." "$LINENO" 5; }; }
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3452 $as_echo "yes" >&6; }
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3455 $as_echo_n "checking for C compiler default output file name... " >&6; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3457 $as_echo "$ac_file" >&6; }
3458 ac_exeext
=$ac_cv_exeext
3460 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3461 ac_clean_files
=$ac_clean_files_save
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3463 $as_echo_n "checking for suffix of executables... " >&6; }
3464 if { { ac_try
="$ac_link"
3466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3467 *) ac_try_echo=$ac_try;;
3469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3470 $as_echo "$ac_try_echo"; } >&5
3471 (eval "$ac_link") 2>&5
3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474 test $ac_status = 0; }; then :
3475 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3476 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3477 # work properly (i.e., refer to `conftest.exe'), while it won't with
3479 for ac_file
in conftest.exe conftest conftest.
*; do
3480 test -f "$ac_file" ||
continue
3482 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3483 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3491 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3492 See \`config.log' for more details." "$LINENO" 5; }
3494 rm -f conftest conftest
$ac_cv_exeext
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3496 $as_echo "$ac_cv_exeext" >&6; }
3498 rm -f conftest.
$ac_ext
3499 EXEEXT
=$ac_cv_exeext
3501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3507 FILE *f = fopen ("conftest.out", "w");
3508 return ferror (f) || fclose (f) != 0;
3514 ac_clean_files
="$ac_clean_files conftest.out"
3515 # Check that the compiler produces executables we can run. If not, either
3516 # the compiler is broken, or we cross compile.
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3518 $as_echo_n "checking whether we are cross compiling... " >&6; }
3519 if test "$cross_compiling" != yes; then
3520 { { ac_try
="$ac_link"
3522 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3523 *) ac_try_echo=$ac_try;;
3525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526 $as_echo "$ac_try_echo"; } >&5
3527 (eval "$ac_link") 2>&5
3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530 test $ac_status = 0; }
3531 if { ac_try='./conftest$ac_cv_exeext'
3532 { { case "(($ac_try" in
3533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3534 *) ac_try_echo
=$ac_try;;
3536 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3537 $as_echo "$ac_try_echo"; } >&5
3538 (eval "$ac_try") 2>&5
3540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541 test $ac_status = 0; }; }; then
3544 if test "$cross_compiling" = maybe
; then
3547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3549 as_fn_error
"cannot run C compiled programs.
3550 If you meant to cross compile, use \`--host'.
3551 See \`config.log' for more details." "$LINENO" 5; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3556 $as_echo "$cross_compiling" >&6; }
3558 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3559 ac_clean_files
=$ac_clean_files_save
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3561 $as_echo_n "checking for suffix of object files... " >&6; }
3562 if test "${ac_cv_objext+set}" = set; then :
3563 $as_echo_n "(cached) " >&6
3565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3576 rm -f conftest.o conftest.obj
3577 if { { ac_try
="$ac_compile"
3579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3580 *) ac_try_echo=$ac_try;;
3582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3583 $as_echo "$ac_try_echo"; } >&5
3584 (eval "$ac_compile") 2>&5
3586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3587 test $ac_status = 0; }; then :
3588 for ac_file in conftest.o conftest.obj conftest.*; do
3589 test -f "$ac_file" || continue;
3591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3597 $as_echo "$as_me: failed program was:" >&5
3598 sed 's/^/| /' conftest.$ac_ext >&5
3600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3602 as_fn_error "cannot compute suffix of object files
: cannot compile
3603 See \
`config.log' for more details." "$LINENO" 5; }
3605 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3608 $as_echo "$ac_cv_objext" >&6; }
3609 OBJEXT=$ac_cv_objext
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3612 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3613 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3617 /* end confdefs.h. */
3630 if ac_fn_c_try_compile "$LINENO"; then :
3635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3640 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3641 if test $ac_compiler_gnu = yes; then
3646 ac_test_CFLAGS=${CFLAGS+set}
3647 ac_save_CFLAGS=$CFLAGS
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3649 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3650 if test "${ac_cv_prog_cc_g+set}" = set; then :
3651 $as_echo_n "(cached) " >&6
3653 ac_save_c_werror_flag=$ac_c_werror_flag
3654 ac_c_werror_flag=yes
3657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h. */
3668 if ac_fn_c_try_compile "$LINENO"; then :
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3683 if ac_fn_c_try_compile "$LINENO"; then :
3686 ac_c_werror_flag=$ac_save_c_werror_flag
3688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3689 /* end confdefs.h. */
3699 if ac_fn_c_try_compile "$LINENO"; then :
3702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3707 ac_c_werror_flag=$ac_save_c_werror_flag
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3710 $as_echo "$ac_cv_prog_cc_g" >&6; }
3711 if test "$ac_test_CFLAGS" = set; then
3712 CFLAGS=$ac_save_CFLAGS
3713 elif test $ac_cv_prog_cc_g = yes; then
3714 if test "$GCC" = yes; then
3720 if test "$GCC" = yes; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3727 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3728 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3729 $as_echo_n "(cached) " >&6
3731 ac_cv_prog_cc_c89=no
3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734 /* end confdefs.h. */
3737 #include <sys/types.h>
3738 #include <sys/stat.h>
3739 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3740 struct buf { int x; };
3741 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3742 static char *e (p, i)
3748 static char *f (char * (*g) (char **, int), char **p, ...)
3753 s = g (p, va_arg (v,int));
3758 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3759 function prototypes and stuff, but not '\xHH' hex character constants.
3760 These don't provoke an error unfortunately, instead are silently treated
3761 as 'x'. The following induces an error, until -std is added to get
3762 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3763 array size at least. It's necessary to write '\x00'==0 to get something
3764 that's true only with -std. */
3765 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3767 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3768 inside strings and character constants. */
3770 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3772 int test (int i, double x);
3773 struct s1 {int (*f) (int a);};
3774 struct s2 {int (*f) (double a);};
3775 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3781 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3786 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3787 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3789 CC="$ac_save_CC $ac_arg"
3790 if ac_fn_c_try_compile "$LINENO"; then :
3791 ac_cv_prog_cc_c89=$ac_arg
3793 rm -f core conftest.err conftest.$ac_objext
3794 test "x$ac_cv_prog_cc_c89" != "xno" && break
3796 rm -f conftest.$ac_ext
3801 case "x$ac_cv_prog_cc_c89" in
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3804 $as_echo "none needed" >&6; } ;;
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3807 $as_echo "unsupported" >&6; } ;;
3809 CC="$CC $ac_cv_prog_cc_c89"
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3811 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3813 if test "x$ac_cv_prog_cc_c89" != xno; then :
3818 ac_cpp='$CPP $CPPFLAGS'
3819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3823 depcc="$CC" am_compiler_list=
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3826 $as_echo_n "checking dependency style of $depcc... " >&6; }
3827 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3828 $as_echo_n "(cached) " >&6
3830 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3831 # We make a subdir and do the tests there. Otherwise we can end up
3832 # making bogus files that we don't know about and never remove. For
3833 # instance it was reported that on HP-UX the gcc test will end up
3834 # making a dummy file named `D
' -- because `-MD' means
`put the output
3837 # Copy depcomp to subdir because otherwise we won't find it if we're
3838 # using a relative directory.
3839 cp "$am_depcomp" conftest.dir
3841 # We will build objects and dependencies in a subdirectory because
3842 # it helps to detect inapplicable dependency modes. For instance
3843 # both Tru64's cc and ICC support -MD to output dependencies as a
3844 # side effect of compilation, but ICC will put the dependencies in
3845 # the current directory while Tru64 will put them in the object
3849 am_cv_CC_dependencies_compiler_type=none
3850 if test "$am_compiler_list" = ""; then
3851 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3854 case " $depcc " in #(
3855 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3858 for depmode in $am_compiler_list; do
3859 # Setup a source with many dependencies, because some compilers
3860 # like to wrap large dependency lists on column 80 (with \), and
3861 # we should not choose a depcomp mode which is confused by this.
3863 # We need to recreate these files for each test, as the compiler may
3864 # overwrite some of them when testing with obscure command lines.
3865 # This happens at least with the AIX C compiler.
3867 for i in 1 2 3 4 5 6; do
3868 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3869 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3870 # Solaris 8's
{/usr
,}/bin
/sh.
3871 touch sub
/conftst
$i.h
3873 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3875 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3876 # mode. It turns out that the SunPro C++ compiler does not properly
3877 # handle `-M -o', and we need to detect this. Also, some Intel
3878 # versions had trouble with output in subdirs
3879 am__obj
=sub
/conftest.
${OBJEXT-o}
3880 am__minus_obj
="-o $am__obj"
3883 # This depmode causes a compiler race in universal mode.
3884 test "$am__universal" = false ||
continue
3887 # after this tag, mechanisms are not by side-effect, so they'll
3888 # only be used when explicitly requested
3889 if test "x$enable_dependency_tracking" = xyes
; then
3895 msvisualcpp | msvcmsys
)
3896 # This compiler won't grok `-c -o', but also, the minuso test has
3897 # not run yet. These depmodes are late enough in the game, and
3898 # so weak that their functioning should not be impacted.
3899 am__obj
=conftest.
${OBJEXT-o}
3904 if depmode
=$depmode \
3905 source=sub
/conftest.c object
=$am__obj \
3906 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3907 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3908 >/dev
/null
2>conftest.err
&&
3909 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3910 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3911 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3912 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3913 # icc doesn't choke on unknown options, it will just issue warnings
3914 # or remarks (even with -Werror). So we grep stderr for any message
3915 # that says an option was ignored or not supported.
3916 # When given -MP, icc 7.0 and 7.1 complain thusly:
3917 # icc: Command line warning: ignoring option '-M'; no argument required
3918 # The diagnosis changed in icc 8.0:
3919 # icc: Command line remark: option '-MP' not supported
3920 if (grep 'ignoring option' conftest.err ||
3921 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3922 am_cv_CC_dependencies_compiler_type
=$depmode
3931 am_cv_CC_dependencies_compiler_type
=none
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3936 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3937 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3940 test "x$enable_dependency_tracking" != xno \
3941 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3943 am__fastdepCC_FALSE
='#'
3945 am__fastdepCC_TRUE
='#'
3946 am__fastdepCC_FALSE
=
3953 case "$am__api_version" in
3955 as_fn_error
"Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3961 if test -n "0.35.0"; then
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
3963 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
3965 INTLTOOL_REQUIRED_VERSION_AS_INT
=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3966 INTLTOOL_APPLIED_VERSION
=`intltool-update --version | head -1 | cut -d" " -f3`
3967 INTLTOOL_APPLIED_VERSION_AS_INT
=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3970 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3971 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3972 as_fn_error
"Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
3975 # Extract the first word of "intltool-update", so it can be a program name with args.
3976 set dummy intltool-update
; ac_word
=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978 $as_echo_n "checking for $ac_word... " >&6; }
3979 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
3980 $as_echo_n "(cached) " >&6
3982 case $INTLTOOL_UPDATE in
3984 ac_cv_path_INTLTOOL_UPDATE
="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3991 test -z "$as_dir" && as_dir
=.
3992 for ac_exec_ext
in '' $ac_executable_extensions; do
3993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3994 ac_cv_path_INTLTOOL_UPDATE
="$as_dir/$ac_word$ac_exec_ext"
3995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 INTLTOOL_UPDATE
=$ac_cv_path_INTLTOOL_UPDATE
4006 if test -n "$INTLTOOL_UPDATE"; then
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4008 $as_echo "$INTLTOOL_UPDATE" >&6; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4015 # Extract the first word of "intltool-merge", so it can be a program name with args.
4016 set dummy intltool-merge
; ac_word
=$2
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4018 $as_echo_n "checking for $ac_word... " >&6; }
4019 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
4020 $as_echo_n "(cached) " >&6
4022 case $INTLTOOL_MERGE in
4024 ac_cv_path_INTLTOOL_MERGE
="$INTLTOOL_MERGE" # Let the user override the test with a path.
4027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4031 test -z "$as_dir" && as_dir
=.
4032 for ac_exec_ext
in '' $ac_executable_extensions; do
4033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4034 ac_cv_path_INTLTOOL_MERGE
="$as_dir/$ac_word$ac_exec_ext"
4035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 INTLTOOL_MERGE
=$ac_cv_path_INTLTOOL_MERGE
4046 if test -n "$INTLTOOL_MERGE"; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4048 $as_echo "$INTLTOOL_MERGE" >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4055 # Extract the first word of "intltool-extract", so it can be a program name with args.
4056 set dummy intltool-extract
; ac_word
=$2
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4058 $as_echo_n "checking for $ac_word... " >&6; }
4059 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
4060 $as_echo_n "(cached) " >&6
4062 case $INTLTOOL_EXTRACT in
4064 ac_cv_path_INTLTOOL_EXTRACT
="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4071 test -z "$as_dir" && as_dir
=.
4072 for ac_exec_ext
in '' $ac_executable_extensions; do
4073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4074 ac_cv_path_INTLTOOL_EXTRACT
="$as_dir/$ac_word$ac_exec_ext"
4075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4085 INTLTOOL_EXTRACT
=$ac_cv_path_INTLTOOL_EXTRACT
4086 if test -n "$INTLTOOL_EXTRACT"; then
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4088 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4095 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4096 as_fn_error
"The intltool scripts were not found. Please install intltool." "$LINENO" 5
4099 INTLTOOL_DESKTOP_RULE
='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4100 INTLTOOL_DIRECTORY_RULE
='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4101 INTLTOOL_KEYS_RULE
='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4102 INTLTOOL_PROP_RULE
='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4103 INTLTOOL_OAF_RULE
='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4104 INTLTOOL_PONG_RULE
='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4105 INTLTOOL_SERVER_RULE
='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4106 INTLTOOL_SHEET_RULE
='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4107 INTLTOOL_SOUNDLIST_RULE
='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4108 INTLTOOL_UI_RULE
='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4109 INTLTOOL_XML_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4110 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4111 INTLTOOL_XAM_RULE
='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4112 INTLTOOL_KBD_RULE
='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4113 INTLTOOL_CAVES_RULE
='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4114 INTLTOOL_SCHEMAS_RULE
='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4115 INTLTOOL_THEME_RULE
='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4116 INTLTOOL_SERVICE_RULE
='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4117 INTLTOOL_POLICY_RULE
='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4215 # Check the gettext tools to make sure they are GNU
4216 # Extract the first word of "xgettext", so it can be a program name with args.
4217 set dummy xgettext
; ac_word
=$2
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4219 $as_echo_n "checking for $ac_word... " >&6; }
4220 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4221 $as_echo_n "(cached) " >&6
4225 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
4228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir
=.
4233 for ac_exec_ext
in '' $ac_executable_extensions; do
4234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4235 ac_cv_path_XGETTEXT
="$as_dir/$ac_word$ac_exec_ext"
4236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4246 XGETTEXT
=$ac_cv_path_XGETTEXT
4247 if test -n "$XGETTEXT"; then
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4249 $as_echo "$XGETTEXT" >&6; }
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4252 $as_echo "no" >&6; }
4256 # Extract the first word of "msgmerge", so it can be a program name with args.
4257 set dummy msgmerge
; ac_word
=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4261 $as_echo_n "(cached) " >&6
4265 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
4268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir
=.
4273 for ac_exec_ext
in '' $ac_executable_extensions; do
4274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275 ac_cv_path_MSGMERGE
="$as_dir/$ac_word$ac_exec_ext"
4276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4286 MSGMERGE
=$ac_cv_path_MSGMERGE
4287 if test -n "$MSGMERGE"; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4289 $as_echo "$MSGMERGE" >&6; }
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4296 # Extract the first word of "msgfmt", so it can be a program name with args.
4297 set dummy msgfmt
; ac_word
=$2
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299 $as_echo_n "checking for $ac_word... " >&6; }
4300 if test "${ac_cv_path_MSGFMT+set}" = set; then :
4301 $as_echo_n "(cached) " >&6
4305 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
4308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4312 test -z "$as_dir" && as_dir
=.
4313 for ac_exec_ext
in '' $ac_executable_extensions; do
4314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4315 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
4316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 MSGFMT
=$ac_cv_path_MSGFMT
4327 if test -n "$MSGFMT"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4329 $as_echo "$MSGFMT" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4336 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4337 set dummy gmsgfmt
; ac_word
=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4341 $as_echo_n "(cached) " >&6
4345 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
4348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4352 test -z "$as_dir" && as_dir
=.
4353 for ac_exec_ext
in '' $ac_executable_extensions; do
4354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4355 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
4356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4363 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
4367 GMSGFMT
=$ac_cv_path_GMSGFMT
4368 if test -n "$GMSGFMT"; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4370 $as_echo "$GMSGFMT" >&6; }
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4377 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4378 as_fn_error
"GNU gettext tools not found; required for intltool" "$LINENO" 5
4380 xgversion
="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4381 mmversion
="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4382 mfversion
="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4383 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4384 as_fn_error
"GNU gettext tools not found; required for intltool" "$LINENO" 5
4387 # Extract the first word of "perl", so it can be a program name with args.
4388 set dummy perl
; ac_word
=$2
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4390 $as_echo_n "checking for $ac_word... " >&6; }
4391 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4394 case $INTLTOOL_PERL in
4396 ac_cv_path_INTLTOOL_PERL
="$INTLTOOL_PERL" # Let the user override the test with a path.
4399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4403 test -z "$as_dir" && as_dir
=.
4404 for ac_exec_ext
in '' $ac_executable_extensions; do
4405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4406 ac_cv_path_INTLTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
4407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 INTLTOOL_PERL
=$ac_cv_path_INTLTOOL_PERL
4418 if test -n "$INTLTOOL_PERL"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4420 $as_echo "$INTLTOOL_PERL" >&6; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4427 if test -z "$INTLTOOL_PERL"; then
4428 as_fn_error
"perl not found" "$LINENO" 5
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4431 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4432 $INTLTOOL_PERL -e "use 5.8.1;" > /dev
/null
2>&1
4433 if test $?
-ne 0; then
4434 as_fn_error
"perl 5.8.1 is required for intltool" "$LINENO" 5
4436 IT_PERL_VERSION
="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4438 $as_echo "$IT_PERL_VERSION" >&6; }
4440 if test "x" != "xno-xml"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4442 $as_echo_n "checking for XML::Parser... " >&6; }
4443 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4445 $as_echo "ok" >&6; }
4447 as_fn_error
"XML::Parser perl module is required for intltool" "$LINENO" 5
4451 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4454 # Set DATADIRNAME correctly if it is not set yet
4455 # (copied from glib-gettext.m4)
4456 if test -z "$DATADIRNAME"; then
4457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4463 extern int _nl_msg_cat_cntr;
4464 return _nl_msg_cat_cntr
4469 if ac_fn_c_try_link
"$LINENO"; then :
4474 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4475 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
4487 rm -f core conftest.err conftest.
$ac_objext \
4488 conftest
$ac_exeext conftest.
$ac_ext
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4497 $as_echo_n "checking for library containing strerror... " >&6; }
4498 if test "${ac_cv_search_strerror+set}" = set; then :
4499 $as_echo_n "(cached) " >&6
4501 ac_func_search_save_LIBS
=$LIBS
4502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4505 /* Override any GCC internal prototype to avoid an error.
4506 Use char because int might match the return type of a GCC
4507 builtin and then its argument prototype would still apply. */
4520 for ac_lib
in '' cposix
; do
4521 if test -z "$ac_lib"; then
4522 ac_res
="none required"
4525 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4527 if ac_fn_c_try_link
"$LINENO"; then :
4528 ac_cv_search_strerror
=$ac_res
4530 rm -f core conftest.err conftest.
$ac_objext \
4532 if test "${ac_cv_search_strerror+set}" = set; then :
4536 if test "${ac_cv_search_strerror+set}" = set; then :
4539 ac_cv_search_strerror
=no
4542 LIBS
=$ac_func_search_save_LIBS
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4545 $as_echo "$ac_cv_search_strerror" >&6; }
4546 ac_res
=$ac_cv_search_strerror
4547 if test "$ac_res" != no
; then :
4548 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4553 ac_cpp
='$CPP $CPPFLAGS'
4554 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4555 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4556 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4557 if test -n "$ac_tool_prefix"; then
4558 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4559 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4561 $as_echo_n "checking for $ac_word... " >&6; }
4562 if test "${ac_cv_prog_CC+set}" = set; then :
4563 $as_echo_n "(cached) " >&6
4565 if test -n "$CC"; then
4566 ac_cv_prog_CC
="$CC" # Let the user override the test.
4568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4572 test -z "$as_dir" && as_dir
=.
4573 for ac_exec_ext
in '' $ac_executable_extensions; do
4574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4575 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4586 if test -n "$CC"; then
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4588 $as_echo "$CC" >&6; }
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4596 if test -z "$ac_cv_prog_CC"; then
4598 # Extract the first word of "gcc", so it can be a program name with args.
4599 set dummy gcc
; ac_word
=$2
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601 $as_echo_n "checking for $ac_word... " >&6; }
4602 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4603 $as_echo_n "(cached) " >&6
4605 if test -n "$ac_ct_CC"; then
4606 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4612 test -z "$as_dir" && as_dir
=.
4613 for ac_exec_ext
in '' $ac_executable_extensions; do
4614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4615 ac_cv_prog_ac_ct_CC
="gcc"
4616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4626 if test -n "$ac_ct_CC"; then
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4628 $as_echo "$ac_ct_CC" >&6; }
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631 $as_echo "no" >&6; }
4634 if test "x$ac_ct_CC" = x
; then
4637 case $cross_compiling:$ac_tool_warned in
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4641 ac_tool_warned
=yes ;;
4649 if test -z "$CC"; then
4650 if test -n "$ac_tool_prefix"; then
4651 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4652 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if test "${ac_cv_prog_CC+set}" = set; then :
4656 $as_echo_n "(cached) " >&6
4658 if test -n "$CC"; then
4659 ac_cv_prog_CC
="$CC" # Let the user override the test.
4661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir
=.
4666 for ac_exec_ext
in '' $ac_executable_extensions; do
4667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 if test -n "$CC"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4681 $as_echo "$CC" >&6; }
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4690 if test -z "$CC"; then
4691 # Extract the first word of "cc", so it can be a program name with args.
4692 set dummy cc
; ac_word
=$2
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4694 $as_echo_n "checking for $ac_word... " >&6; }
4695 if test "${ac_cv_prog_CC+set}" = set; then :
4696 $as_echo_n "(cached) " >&6
4698 if test -n "$CC"; then
4699 ac_cv_prog_CC
="$CC" # Let the user override the test.
4702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4706 test -z "$as_dir" && as_dir
=.
4707 for ac_exec_ext
in '' $ac_executable_extensions; do
4708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4709 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4710 ac_prog_rejected
=yes
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4721 if test $ac_prog_rejected = yes; then
4722 # We found a bogon in the path, so make sure we never use it.
4723 set dummy
$ac_cv_prog_CC
4725 if test $# != 0; then
4726 # We chose a different compiler from the bogus one.
4727 # However, it has the same basename, so the bogon will be chosen
4728 # first if we set CC to just the basename; use the full file name.
4730 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4736 if test -n "$CC"; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4738 $as_echo "$CC" >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4746 if test -z "$CC"; then
4747 if test -n "$ac_tool_prefix"; then
4748 for ac_prog
in cl.exe
4750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4751 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4753 $as_echo_n "checking for $ac_word... " >&6; }
4754 if test "${ac_cv_prog_CC+set}" = set; then :
4755 $as_echo_n "(cached) " >&6
4757 if test -n "$CC"; then
4758 ac_cv_prog_CC
="$CC" # Let the user override the test.
4760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4764 test -z "$as_dir" && as_dir
=.
4765 for ac_exec_ext
in '' $ac_executable_extensions; do
4766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4767 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4778 if test -n "$CC"; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4780 $as_echo "$CC" >&6; }
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4787 test -n "$CC" && break
4790 if test -z "$CC"; then
4792 for ac_prog
in cl.exe
4794 # Extract the first word of "$ac_prog", so it can be a program name with args.
4795 set dummy
$ac_prog; ac_word
=$2
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4799 $as_echo_n "(cached) " >&6
4801 if test -n "$ac_ct_CC"; then
4802 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir
=.
4809 for ac_exec_ext
in '' $ac_executable_extensions; do
4810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4811 ac_cv_prog_ac_ct_CC
="$ac_prog"
4812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4822 if test -n "$ac_ct_CC"; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4824 $as_echo "$ac_ct_CC" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4831 test -n "$ac_ct_CC" && break
4834 if test "x$ac_ct_CC" = x
; then
4837 case $cross_compiling:$ac_tool_warned in
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4841 ac_tool_warned
=yes ;;
4850 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4852 as_fn_error
"no acceptable C compiler found in \$PATH
4853 See \`config.log' for more details." "$LINENO" 5; }
4855 # Provide some information about the compiler.
4856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4859 for ac_option
in --version -v -V -qversion; do
4860 { { ac_try
="$ac_compiler $ac_option >&5"
4862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4863 *) ac_try_echo=$ac_try;;
4865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4866 $as_echo "$ac_try_echo"; } >&5
4867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4869 if test -s conftest.err; then
4871 ... rest of stderr output deleted ...
4872 10q' conftest.err >conftest.er1
4873 cat conftest.er1 >&5
4875 rm -f conftest.er1 conftest.err
4876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4877 test $ac_status = 0; }
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4881 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4882 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4883 $as_echo_n "(cached) " >&6
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4899 if ac_fn_c_try_compile "$LINENO"; then :
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4909 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4910 if test $ac_compiler_gnu = yes; then
4915 ac_test_CFLAGS=${CFLAGS+set}
4916 ac_save_CFLAGS=$CFLAGS
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4918 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4919 if test "${ac_cv_prog_cc_g+set}" = set; then :
4920 $as_echo_n "(cached) " >&6
4922 ac_save_c_werror_flag=$ac_c_werror_flag
4923 ac_c_werror_flag=yes
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4937 if ac_fn_c_try_compile "$LINENO"; then :
4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4952 if ac_fn_c_try_compile "$LINENO"; then :
4955 ac_c_werror_flag=$ac_save_c_werror_flag
4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4968 if ac_fn_c_try_compile "$LINENO"; then :
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 ac_c_werror_flag=$ac_save_c_werror_flag
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4979 $as_echo "$ac_cv_prog_cc_g" >&6; }
4980 if test "$ac_test_CFLAGS" = set; then
4981 CFLAGS=$ac_save_CFLAGS
4982 elif test $ac_cv_prog_cc_g = yes; then
4983 if test "$GCC" = yes; then
4989 if test "$GCC" = yes; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4996 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4997 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4998 $as_echo_n "(cached) " >&6
5000 ac_cv_prog_cc_c89=no
5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5003 /* end confdefs.h. */
5006 #include <sys/types.h>
5007 #include <sys/stat.h>
5008 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5009 struct buf { int x; };
5010 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5011 static char *e (p, i)
5017 static char *f (char * (*g) (char **, int), char **p, ...)
5022 s = g (p, va_arg (v,int));
5027 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5028 function prototypes and stuff, but not '\xHH' hex character constants.
5029 These don't provoke an error unfortunately, instead are silently treated
5030 as 'x'. The following induces an error, until -std is added to get
5031 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5032 array size at least. It's necessary to write '\x00'==0 to get something
5033 that's true only with -std. */
5034 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5036 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5037 inside strings and character constants. */
5039 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5041 int test (int i, double x);
5042 struct s1 {int (*f) (int a);};
5043 struct s2 {int (*f) (double a);};
5044 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5050 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5055 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5056 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5058 CC="$ac_save_CC $ac_arg"
5059 if ac_fn_c_try_compile "$LINENO"; then :
5060 ac_cv_prog_cc_c89=$ac_arg
5062 rm -f core conftest.err conftest.$ac_objext
5063 test "x$ac_cv_prog_cc_c89" != "xno" && break
5065 rm -f conftest.$ac_ext
5070 case "x$ac_cv_prog_cc_c89" in
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5073 $as_echo "none needed" >&6; } ;;
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5076 $as_echo "unsupported" >&6; } ;;
5078 CC="$CC $ac_cv_prog_cc_c89"
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5080 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5082 if test "x$ac_cv_prog_cc_c89" != xno; then :
5087 ac_cpp='$CPP $CPPFLAGS'
5088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5092 depcc="$CC" am_compiler_list=
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5095 $as_echo_n "checking dependency style of $depcc... " >&6; }
5096 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5097 $as_echo_n "(cached) " >&6
5099 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5100 # We make a subdir and do the tests there. Otherwise we can end up
5101 # making bogus files that we don't know about and never remove. For
5102 # instance it was reported that on HP-UX the gcc test will end up
5103 # making a dummy file named `D
' -- because `-MD' means
`put the output
5106 # Copy depcomp to subdir because otherwise we won't find it if we're
5107 # using a relative directory.
5108 cp "$am_depcomp" conftest.dir
5110 # We will build objects and dependencies in a subdirectory because
5111 # it helps to detect inapplicable dependency modes. For instance
5112 # both Tru64's cc and ICC support -MD to output dependencies as a
5113 # side effect of compilation, but ICC will put the dependencies in
5114 # the current directory while Tru64 will put them in the object
5118 am_cv_CC_dependencies_compiler_type=none
5119 if test "$am_compiler_list" = ""; then
5120 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5123 case " $depcc " in #(
5124 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5127 for depmode in $am_compiler_list; do
5128 # Setup a source with many dependencies, because some compilers
5129 # like to wrap large dependency lists on column 80 (with \), and
5130 # we should not choose a depcomp mode which is confused by this.
5132 # We need to recreate these files for each test, as the compiler may
5133 # overwrite some of them when testing with obscure command lines.
5134 # This happens at least with the AIX C compiler.
5136 for i in 1 2 3 4 5 6; do
5137 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5138 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5139 # Solaris 8's
{/usr
,}/bin
/sh.
5140 touch sub
/conftst
$i.h
5142 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5144 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5145 # mode. It turns out that the SunPro C++ compiler does not properly
5146 # handle `-M -o', and we need to detect this. Also, some Intel
5147 # versions had trouble with output in subdirs
5148 am__obj
=sub
/conftest.
${OBJEXT-o}
5149 am__minus_obj
="-o $am__obj"
5152 # This depmode causes a compiler race in universal mode.
5153 test "$am__universal" = false ||
continue
5156 # after this tag, mechanisms are not by side-effect, so they'll
5157 # only be used when explicitly requested
5158 if test "x$enable_dependency_tracking" = xyes
; then
5164 msvisualcpp | msvcmsys
)
5165 # This compiler won't grok `-c -o', but also, the minuso test has
5166 # not run yet. These depmodes are late enough in the game, and
5167 # so weak that their functioning should not be impacted.
5168 am__obj
=conftest.
${OBJEXT-o}
5173 if depmode
=$depmode \
5174 source=sub
/conftest.c object
=$am__obj \
5175 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5176 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5177 >/dev
/null
2>conftest.err
&&
5178 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5179 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5180 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5181 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5182 # icc doesn't choke on unknown options, it will just issue warnings
5183 # or remarks (even with -Werror). So we grep stderr for any message
5184 # that says an option was ignored or not supported.
5185 # When given -MP, icc 7.0 and 7.1 complain thusly:
5186 # icc: Command line warning: ignoring option '-M'; no argument required
5187 # The diagnosis changed in icc 8.0:
5188 # icc: Command line remark: option '-MP' not supported
5189 if (grep 'ignoring option' conftest.err ||
5190 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5191 am_cv_CC_dependencies_compiler_type
=$depmode
5200 am_cv_CC_dependencies_compiler_type
=none
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5205 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5206 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5209 test "x$enable_dependency_tracking" != xno \
5210 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5212 am__fastdepCC_FALSE
='#'
5214 am__fastdepCC_TRUE
='#'
5215 am__fastdepCC_FALSE
=
5220 ac_cpp
='$CPP $CPPFLAGS'
5221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5225 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5226 # On Suns, sometimes $CPP names a directory.
5227 if test -n "$CPP" && test -d "$CPP"; then
5230 if test -z "$CPP"; then
5231 if test "${ac_cv_prog_CPP+set}" = set; then :
5232 $as_echo_n "(cached) " >&6
5234 # Double quotes because CPP needs to be expanded
5235 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5238 for ac_c_preproc_warn_flag
in '' yes
5240 # Use a header file that comes with gcc, so configuring glibc
5241 # with a fresh cross-compiler works.
5242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5243 # <limits.h> exists even on freestanding compilers.
5244 # On the NeXT, cc -E runs the code through the compiler's parser,
5245 # not just through cpp. "Syntax error" is here to catch this case.
5246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h. */
5249 # include <limits.h>
5251 # include <assert.h>
5255 if ac_fn_c_try_cpp
"$LINENO"; then :
5258 # Broken: fails on valid input.
5261 rm -f conftest.err conftest.
$ac_ext
5263 # OK, works on sane cases. Now check whether nonexistent headers
5264 # can be detected and how.
5265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5266 /* end confdefs.h. */
5267 #include <ac_nonexistent.h>
5269 if ac_fn_c_try_cpp
"$LINENO"; then :
5270 # Broken: success on invalid input.
5273 # Passes both tests.
5277 rm -f conftest.err conftest.
$ac_ext
5280 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5281 rm -f conftest.err conftest.
$ac_ext
5282 if $ac_preproc_ok; then :
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5295 $as_echo "$CPP" >&6; }
5297 for ac_c_preproc_warn_flag
in '' yes
5299 # Use a header file that comes with gcc, so configuring glibc
5300 # with a fresh cross-compiler works.
5301 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5302 # <limits.h> exists even on freestanding compilers.
5303 # On the NeXT, cc -E runs the code through the compiler's parser,
5304 # not just through cpp. "Syntax error" is here to catch this case.
5305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h. */
5308 # include <limits.h>
5310 # include <assert.h>
5314 if ac_fn_c_try_cpp
"$LINENO"; then :
5317 # Broken: fails on valid input.
5320 rm -f conftest.err conftest.
$ac_ext
5322 # OK, works on sane cases. Now check whether nonexistent headers
5323 # can be detected and how.
5324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5326 #include <ac_nonexistent.h>
5328 if ac_fn_c_try_cpp
"$LINENO"; then :
5329 # Broken: success on invalid input.
5332 # Passes both tests.
5336 rm -f conftest.err conftest.
$ac_ext
5339 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5340 rm -f conftest.err conftest.
$ac_ext
5341 if $ac_preproc_ok; then :
5344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5346 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5347 See \`config.log' for more details." "$LINENO" 5; }
5351 ac_cpp
='$CPP $CPPFLAGS'
5352 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5353 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5354 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5358 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5359 if test "${ac_cv_path_GREP+set}" = set; then :
5360 $as_echo_n "(cached) " >&6
5362 if test -z "$GREP"; then
5363 ac_path_GREP_found
=false
5364 # Loop through the user's path and test for each of PROGNAME-LIST
5365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5366 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5369 test -z "$as_dir" && as_dir
=.
5370 for ac_prog
in grep ggrep
; do
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5373 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5374 # Check for GNU ac_path_GREP and select it if it is found.
5375 # Check for GNU $ac_path_GREP
5376 case `"$ac_path_GREP" --version 2>&1` in
5378 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5381 $as_echo_n 0123456789 >"conftest.in"
5384 cat "conftest.in" "conftest.in" >"conftest.tmp"
5385 mv "conftest.tmp" "conftest.in"
5386 cp "conftest.in" "conftest.nl"
5387 $as_echo 'GREP' >> "conftest.nl"
5388 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5389 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5390 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5391 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5392 # Best one so far, save it but keep looking for a better one
5393 ac_cv_path_GREP
="$ac_path_GREP"
5394 ac_path_GREP_max
=$ac_count
5396 # 10*(2^10) chars as input seems more than enough
5397 test $ac_count -gt 10 && break
5399 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5402 $ac_path_GREP_found && break 3
5407 if test -z "$ac_cv_path_GREP"; then
5408 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5411 ac_cv_path_GREP
=$GREP
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5416 $as_echo "$ac_cv_path_GREP" >&6; }
5417 GREP
="$ac_cv_path_GREP"
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5421 $as_echo_n "checking for egrep... " >&6; }
5422 if test "${ac_cv_path_EGREP+set}" = set; then :
5423 $as_echo_n "(cached) " >&6
5425 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5426 then ac_cv_path_EGREP
="$GREP -E"
5428 if test -z "$EGREP"; then
5429 ac_path_EGREP_found
=false
5430 # Loop through the user's path and test for each of PROGNAME-LIST
5431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5432 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5435 test -z "$as_dir" && as_dir
=.
5436 for ac_prog
in egrep; do
5437 for ac_exec_ext
in '' $ac_executable_extensions; do
5438 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5439 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5440 # Check for GNU ac_path_EGREP and select it if it is found.
5441 # Check for GNU $ac_path_EGREP
5442 case `"$ac_path_EGREP" --version 2>&1` in
5444 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5447 $as_echo_n 0123456789 >"conftest.in"
5450 cat "conftest.in" "conftest.in" >"conftest.tmp"
5451 mv "conftest.tmp" "conftest.in"
5452 cp "conftest.in" "conftest.nl"
5453 $as_echo 'EGREP' >> "conftest.nl"
5454 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5455 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5456 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5457 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5458 # Best one so far, save it but keep looking for a better one
5459 ac_cv_path_EGREP
="$ac_path_EGREP"
5460 ac_path_EGREP_max
=$ac_count
5462 # 10*(2^10) chars as input seems more than enough
5463 test $ac_count -gt 10 && break
5465 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5468 $ac_path_EGREP_found && break 3
5473 if test -z "$ac_cv_path_EGREP"; then
5474 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5477 ac_cv_path_EGREP
=$EGREP
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5483 $as_echo "$ac_cv_path_EGREP" >&6; }
5484 EGREP
="$ac_cv_path_EGREP"
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5488 $as_echo_n "checking for ANSI C header files... " >&6; }
5489 if test "${ac_cv_header_stdc+set}" = set; then :
5490 $as_echo_n "(cached) " >&6
5492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5507 if ac_fn_c_try_compile
"$LINENO"; then :
5508 ac_cv_header_stdc
=yes
5510 ac_cv_header_stdc
=no
5512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5514 if test $ac_cv_header_stdc = yes; then
5515 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5517 /* end confdefs.h. */
5521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5522 $EGREP "memchr" >/dev
/null
2>&1; then :
5525 ac_cv_header_stdc
=no
5531 if test $ac_cv_header_stdc = yes; then
5532 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5534 /* end confdefs.h. */
5538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5539 $EGREP "free" >/dev
/null
2>&1; then :
5542 ac_cv_header_stdc
=no
5548 if test $ac_cv_header_stdc = yes; then
5549 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5550 if test "$cross_compiling" = yes; then :
5553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5557 #if ((' ' & 0x0FF) == 0x020)
5558 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5559 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5561 # define ISLOWER(c) \
5562 (('a' <= (c) && (c) <= 'i') \
5563 || ('j' <= (c) && (c) <= 'r') \
5564 || ('s' <= (c) && (c) <= 'z'))
5565 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5568 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5573 for (i = 0; i < 256; i++)
5574 if (XOR (islower (i), ISLOWER (i))
5575 || toupper (i) != TOUPPER (i))
5580 if ac_fn_c_try_run
"$LINENO"; then :
5583 ac_cv_header_stdc
=no
5585 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5586 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5592 $as_echo "$ac_cv_header_stdc" >&6; }
5593 if test $ac_cv_header_stdc = yes; then
5595 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5602 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5607 macro_version
='2.2.6b'
5608 macro_revision
='1.3017'
5622 ltmain
="$ac_aux_dir/ltmain.sh"
5624 # Make sure we can run config.sub.
5625 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5626 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5629 $as_echo_n "checking build system type... " >&6; }
5630 if test "${ac_cv_build+set}" = set; then :
5631 $as_echo_n "(cached) " >&6
5633 ac_build_alias
=$build_alias
5634 test "x$ac_build_alias" = x
&&
5635 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5636 test "x$ac_build_alias" = x
&&
5637 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
5638 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5639 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5643 $as_echo "$ac_cv_build" >&6; }
5644 case $ac_cv_build in
5646 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
5649 ac_save_IFS
=$IFS; IFS
='-'
5655 # Remember, the first character of IFS is used to create $*,
5656 # except with old shells:
5659 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5663 $as_echo_n "checking host system type... " >&6; }
5664 if test "${ac_cv_host+set}" = set; then :
5665 $as_echo_n "(cached) " >&6
5667 if test "x$host_alias" = x
; then
5668 ac_cv_host
=$ac_cv_build
5670 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5671 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5676 $as_echo "$ac_cv_host" >&6; }
5679 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
5682 ac_save_IFS
=$IFS; IFS
='-'
5688 # Remember, the first character of IFS is used to create $*,
5689 # except with old shells:
5692 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5696 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5697 if test "${ac_cv_path_SED+set}" = set; then :
5698 $as_echo_n "(cached) " >&6
5700 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5701 for ac_i
in 1 2 3 4 5 6 7; do
5702 ac_script
="$ac_script$as_nl$ac_script"
5704 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5705 { ac_script
=; unset ac_script
;}
5706 if test -z "$SED"; then
5707 ac_path_SED_found
=false
5708 # Loop through the user's path and test for each of PROGNAME-LIST
5709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5713 test -z "$as_dir" && as_dir
=.
5714 for ac_prog
in sed gsed
; do
5715 for ac_exec_ext
in '' $ac_executable_extensions; do
5716 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5717 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5718 # Check for GNU ac_path_SED and select it if it is found.
5719 # Check for GNU $ac_path_SED
5720 case `"$ac_path_SED" --version 2>&1` in
5722 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5725 $as_echo_n 0123456789 >"conftest.in"
5728 cat "conftest.in" "conftest.in" >"conftest.tmp"
5729 mv "conftest.tmp" "conftest.in"
5730 cp "conftest.in" "conftest.nl"
5731 $as_echo '' >> "conftest.nl"
5732 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5733 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5734 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5735 if test $ac_count -gt ${ac_path_SED_max-0}; then
5736 # Best one so far, save it but keep looking for a better one
5737 ac_cv_path_SED
="$ac_path_SED"
5738 ac_path_SED_max
=$ac_count
5740 # 10*(2^10) chars as input seems more than enough
5741 test $ac_count -gt 10 && break
5743 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5746 $ac_path_SED_found && break 3
5751 if test -z "$ac_cv_path_SED"; then
5752 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5760 $as_echo "$ac_cv_path_SED" >&6; }
5761 SED
="$ac_cv_path_SED"
5764 test -z "$SED" && SED
=sed
5765 Xsed
="$SED -e 1s/^X//"
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5778 $as_echo_n "checking for fgrep... " >&6; }
5779 if test "${ac_cv_path_FGREP+set}" = set; then :
5780 $as_echo_n "(cached) " >&6
5782 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5783 then ac_cv_path_FGREP
="$GREP -F"
5785 if test -z "$FGREP"; then
5786 ac_path_FGREP_found
=false
5787 # Loop through the user's path and test for each of PROGNAME-LIST
5788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5789 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5792 test -z "$as_dir" && as_dir
=.
5793 for ac_prog
in fgrep
; do
5794 for ac_exec_ext
in '' $ac_executable_extensions; do
5795 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5796 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5797 # Check for GNU ac_path_FGREP and select it if it is found.
5798 # Check for GNU $ac_path_FGREP
5799 case `"$ac_path_FGREP" --version 2>&1` in
5801 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5804 $as_echo_n 0123456789 >"conftest.in"
5807 cat "conftest.in" "conftest.in" >"conftest.tmp"
5808 mv "conftest.tmp" "conftest.in"
5809 cp "conftest.in" "conftest.nl"
5810 $as_echo 'FGREP' >> "conftest.nl"
5811 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5812 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5813 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5814 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5815 # Best one so far, save it but keep looking for a better one
5816 ac_cv_path_FGREP
="$ac_path_FGREP"
5817 ac_path_FGREP_max
=$ac_count
5819 # 10*(2^10) chars as input seems more than enough
5820 test $ac_count -gt 10 && break
5822 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5825 $ac_path_FGREP_found && break 3
5830 if test -z "$ac_cv_path_FGREP"; then
5831 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5834 ac_cv_path_FGREP
=$FGREP
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5840 $as_echo "$ac_cv_path_FGREP" >&6; }
5841 FGREP
="$ac_cv_path_FGREP"
5844 test -z "$GREP" && GREP
=grep
5864 # Check whether --with-gnu-ld was given.
5865 if test "${with_gnu_ld+set}" = set; then :
5866 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5872 if test "$GCC" = yes; then
5873 # Check if gcc -print-prog-name=ld gives a path.
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5875 $as_echo_n "checking for ld used by $CC... " >&6; }
5878 # gcc leaves a trailing carriage return which upsets mingw
5879 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5881 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5884 # Accept absolute paths.
5886 re_direlt
='/[^/][^/]*/\.\./'
5887 # Canonicalize the pathname of ld
5888 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5889 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5890 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5892 test -z "$LD" && LD
="$ac_prog"
5895 # If it fails, then pretend we aren't using GCC.
5899 # If it is relative, then search for the first ld in PATH.
5903 elif test "$with_gnu_ld" = yes; then
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5905 $as_echo_n "checking for GNU ld... " >&6; }
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5908 $as_echo_n "checking for non-GNU ld... " >&6; }
5910 if test "${lt_cv_path_LD+set}" = set; then :
5911 $as_echo_n "(cached) " >&6
5913 if test -z "$LD"; then
5914 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5915 for ac_dir
in $PATH; do
5917 test -z "$ac_dir" && ac_dir
=.
5918 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5919 lt_cv_path_LD
="$ac_dir/$ac_prog"
5920 # Check to see if the program is GNU ld. I'd rather use --version,
5921 # but apparently some variants of GNU ld only accept -v.
5922 # Break only if it was the GNU/non-GNU ld that we prefer.
5923 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5924 *GNU
* |
*'with BFD'*)
5925 test "$with_gnu_ld" != no
&& break
5928 test "$with_gnu_ld" != yes && break
5935 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5940 if test -n "$LD"; then
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5942 $as_echo "$LD" >&6; }
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5947 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5949 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5950 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5951 $as_echo_n "(cached) " >&6
5953 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5954 case `$LD -v 2>&1 </dev/null` in
5955 *GNU
* |
*'with BFD'*)
5956 lt_cv_prog_gnu_ld
=yes
5959 lt_cv_prog_gnu_ld
=no
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5964 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5965 with_gnu_ld
=$lt_cv_prog_gnu_ld
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5976 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5977 if test "${lt_cv_path_NM+set}" = set; then :
5978 $as_echo_n "(cached) " >&6
5980 if test -n "$NM"; then
5981 # Let the user override the test.
5984 lt_nm_to_check
="${ac_tool_prefix}nm"
5985 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5986 lt_nm_to_check
="$lt_nm_to_check nm"
5988 for lt_tmp_nm
in $lt_nm_to_check; do
5989 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5990 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5992 test -z "$ac_dir" && ac_dir
=.
5993 tmp_nm
="$ac_dir/$lt_tmp_nm"
5994 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5995 # Check to see if the nm accepts a BSD-compat flag.
5996 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5997 # nm: unknown option "B" ignored
5998 # Tru64's nm complains that /dev/null is an invalid object file
5999 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6000 */dev
/null
* |
*'Invalid file or object type'*)
6001 lt_cv_path_NM
="$tmp_nm -B"
6005 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6007 lt_cv_path_NM
="$tmp_nm -p"
6011 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6012 continue # so that we can try to find one that supports BSD flags
6021 : ${lt_cv_path_NM=no}
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6025 $as_echo "$lt_cv_path_NM" >&6; }
6026 if test "$lt_cv_path_NM" != "no"; then
6029 # Didn't find any BSD compatible name lister, look for dumpbin.
6030 if test -n "$ac_tool_prefix"; then
6031 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
6033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6034 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6038 $as_echo_n "(cached) " >&6
6040 if test -n "$DUMPBIN"; then
6041 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6047 test -z "$as_dir" && as_dir
=.
6048 for ac_exec_ext
in '' $ac_executable_extensions; do
6049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6060 DUMPBIN
=$ac_cv_prog_DUMPBIN
6061 if test -n "$DUMPBIN"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6063 $as_echo "$DUMPBIN" >&6; }
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6070 test -n "$DUMPBIN" && break
6073 if test -z "$DUMPBIN"; then
6074 ac_ct_DUMPBIN
=$DUMPBIN
6075 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
6077 # Extract the first word of "$ac_prog", so it can be a program name with args.
6078 set dummy
$ac_prog; ac_word
=$2
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6080 $as_echo_n "checking for $ac_word... " >&6; }
6081 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6082 $as_echo_n "(cached) " >&6
6084 if test -n "$ac_ct_DUMPBIN"; then
6085 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6091 test -z "$as_dir" && as_dir
=.
6092 for ac_exec_ext
in '' $ac_executable_extensions; do
6093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6094 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6105 if test -n "$ac_ct_DUMPBIN"; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6107 $as_echo "$ac_ct_DUMPBIN" >&6; }
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6110 $as_echo "no" >&6; }
6114 test -n "$ac_ct_DUMPBIN" && break
6117 if test "x$ac_ct_DUMPBIN" = x
; then
6120 case $cross_compiling:$ac_tool_warned in
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6124 ac_tool_warned
=yes ;;
6126 DUMPBIN
=$ac_ct_DUMPBIN
6131 if test "$DUMPBIN" != ":"; then
6135 test -z "$NM" && NM
=nm
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6143 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6144 if test "${lt_cv_nm_interface+set}" = set; then :
6145 $as_echo_n "(cached) " >&6
6147 lt_cv_nm_interface
="BSD nm"
6148 echo "int some_variable = 0;" > conftest.
$ac_ext
6149 (eval echo "\"\$as_me:6149: $ac_compile\"" >&5)
6150 (eval "$ac_compile" 2>conftest.err
)
6151 cat conftest.err
>&5
6152 (eval echo "\"\$as_me:6152: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6153 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6154 cat conftest.err
>&5
6155 (eval echo "\"\$as_me:6155: output\"" >&5)
6156 cat conftest.out
>&5
6157 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6158 lt_cv_nm_interface
="MS dumpbin"
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6163 $as_echo "$lt_cv_nm_interface" >&6; }
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6166 $as_echo_n "checking whether ln -s works... " >&6; }
6168 if test "$LN_S" = "ln -s"; then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6170 $as_echo "yes" >&6; }
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6173 $as_echo "no, using $LN_S" >&6; }
6176 # find the maximum length of command line arguments
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6178 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6179 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6180 $as_echo_n "(cached) " >&6
6187 # On DJGPP, this test can blow up pretty badly due to problems in libc
6188 # (any single argument exceeding 2000 bytes causes a buffer overrun
6189 # during glob expansion). Even if it were fixed, the result of this
6190 # check would be larger than it should be.
6191 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6195 # Under GNU Hurd, this test is not required because there is
6196 # no limit to the length of command line arguments.
6197 # Libtool will interpret -1 as no limit whatsoever
6198 lt_cv_sys_max_cmd_len
=-1;
6201 cygwin
* | mingw
* | cegcc
*)
6202 # On Win9x/ME, this test blows up -- it succeeds, but takes
6203 # about 5 minutes as the teststring grows exponentially.
6204 # Worse, since 9x/ME are not pre-emptively multitasking,
6205 # you end up with a "frozen" computer, even though with patience
6206 # the test eventually succeeds (with a max line length of 256k).
6207 # Instead, let's just punt: use the minimum linelength reported by
6208 # all of the supported platforms: 8192 (on NT/2K/XP).
6209 lt_cv_sys_max_cmd_len
=8192;
6213 # On AmigaOS with pdksh, this test takes hours, literally.
6214 # So we just punt and use a minimum line length of 8192.
6215 lt_cv_sys_max_cmd_len
=8192;
6218 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6219 # This has been around since 386BSD, at least. Likely further.
6220 if test -x /sbin
/sysctl
; then
6221 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6222 elif test -x /usr
/sbin
/sysctl
; then
6223 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6225 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6227 # And add a safety zone
6228 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6229 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6233 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6234 lt_cv_sys_max_cmd_len
=196608
6238 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6239 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6240 # nice to cause kernel panics so lets avoid the loop below.
6241 # First set a reasonable default.
6242 lt_cv_sys_max_cmd_len
=16384
6244 if test -x /sbin
/sysconfig
; then
6245 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6246 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6251 lt_cv_sys_max_cmd_len
=102400
6253 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6254 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6255 if test -n "$kargmax"; then
6256 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6258 lt_cv_sys_max_cmd_len
=32768
6262 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6263 if test -n "$lt_cv_sys_max_cmd_len"; then
6264 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6265 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6267 # Make teststring a little bigger before we do anything with it.
6268 # a 1K string should be a reasonable start.
6269 for i
in 1 2 3 4 5 6 7 8 ; do
6270 teststring
=$teststring$teststring
6272 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6273 # If test is not a shell built-in, we'll probably end up computing a
6274 # maximum length that is only half of the actual maximum length, but
6276 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6277 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6278 test $i != 17 # 1/2 MB should be enough
6281 teststring
=$teststring$teststring
6283 # Only check the string length outside the loop.
6284 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6286 # Add a significant safety factor because C++ compilers can tack on
6287 # massive amounts of additional arguments before passing them to the
6288 # linker. It appears as though 1/2 is a usable value.
6289 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6296 if test -n $lt_cv_sys_max_cmd_len ; then
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6298 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6301 $as_echo "none" >&6; }
6303 max_cmd_len
=$lt_cv_sys_max_cmd_len
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6315 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6316 # Try some XSI features
6319 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6321 && eval 'test $(( 1 + 1 )) -eq 2 \
6322 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6325 $as_echo "$xsi_shell" >&6; }
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6329 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6331 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6333 && lt_shell_append=yes
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6335 $as_echo "$lt_shell_append" >&6; }
6338 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6348 # test EBCDIC or ASCII
6349 case `echo X|tr X '\101'` in
6350 A) # ASCII based system
6351 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6352 lt_SP2NL='tr \040 \012'
6353 lt_NL2SP='tr \015\012 \040\040'
6355 *) # EBCDIC based system
6356 lt_SP2NL='tr \100 \n'
6357 lt_NL2SP='tr \r\n \100\100'
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6370 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6371 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6372 $as_echo_n "(cached
) " >&6
6374 lt_cv_ld_reload_flag='-r'
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6377 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6378 reload_flag=$lt_cv_ld_reload_flag
6379 case $reload_flag in
6381 *) reload_flag=" $reload_flag" ;;
6383 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6386 if test "$GCC" = yes; then
6387 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6389 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6402 if test -n "$ac_tool_prefix"; then
6403 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6404 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6406 $as_echo_n "checking
for $ac_word...
" >&6; }
6407 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6408 $as_echo_n "(cached
) " >&6
6410 if test -n "$OBJDUMP"; then
6411 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 test -z "$as_dir" && as_dir=.
6418 for ac_exec_ext in '' $ac_executable_extensions; do
6419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6420 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6421 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6430 OBJDUMP=$ac_cv_prog_OBJDUMP
6431 if test -n "$OBJDUMP"; then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6433 $as_echo "$OBJDUMP" >&6; }
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6436 $as_echo "no
" >&6; }
6441 if test -z "$ac_cv_prog_OBJDUMP"; then
6442 ac_ct_OBJDUMP=$OBJDUMP
6443 # Extract the first word of "objdump
", so it can be a program name with args.
6444 set dummy objdump; ac_word=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6446 $as_echo_n "checking
for $ac_word...
" >&6; }
6447 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6448 $as_echo_n "(cached
) " >&6
6450 if test -n "$ac_ct_OBJDUMP"; then
6451 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6457 test -z "$as_dir" && as_dir=.
6458 for ac_exec_ext in '' $ac_executable_extensions; do
6459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6460 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6461 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6470 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6471 if test -n "$ac_ct_OBJDUMP"; then
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6473 $as_echo "$ac_ct_OBJDUMP" >&6; }
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6476 $as_echo "no
" >&6; }
6479 if test "x
$ac_ct_OBJDUMP" = x; then
6482 case $cross_compiling:$ac_tool_warned in
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6485 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6486 ac_tool_warned=yes ;;
6488 OBJDUMP=$ac_ct_OBJDUMP
6491 OBJDUMP="$ac_cv_prog_OBJDUMP"
6494 test -z "$OBJDUMP" && OBJDUMP=objdump
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6505 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6506 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6507 $as_echo_n "(cached
) " >&6
6509 lt_cv_file_magic_cmd='$MAGIC_CMD'
6510 lt_cv_file_magic_test_file=
6511 lt_cv_deplibs_check_method='unknown'
6512 # Need to set the preceding variable on all platforms that support
6513 # interlibrary dependencies.
6514 # 'none' -- dependencies not supported.
6515 # `unknown' -- same as none, but documents that we really don't know.
6516 # 'pass_all' -- all dependencies passed with no checks.
6517 # 'test_compile' -- check by making test program.
6518 # 'file_magic [[regex]]' -- check by looking for files in library path
6519 # which responds to the $file_magic_cmd with a given extended regex.
6520 # If you have `file' or equivalent on your system and you're not sure
6521 # whether `pass_all' will *always* work, you probably want this one.
6525 lt_cv_deplibs_check_method=pass_all
6529 lt_cv_deplibs_check_method=pass_all
6533 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6534 lt_cv_file_magic_cmd='/usr/bin/file -L'
6535 lt_cv_file_magic_test_file=/shlib/libc.so
6539 # func_win32_libid is a shell function defined in ltmain.sh
6540 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6541 lt_cv_file_magic_cmd='func_win32_libid'
6545 # Base MSYS/MinGW do not provide the 'file' command needed by
6546 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6547 # unless we find 'file', for example because we are cross-compiling.
6548 if ( file / ) >/dev/null 2>&1; then
6549 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6550 lt_cv_file_magic_cmd='func_win32_libid'
6552 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6553 lt_cv_file_magic_cmd='$OBJDUMP -f'
6558 # use the weaker test based on 'objdump'. See mingw*.
6559 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6560 lt_cv_file_magic_cmd='$OBJDUMP -f'
6563 darwin* | rhapsody*)
6564 lt_cv_deplibs_check_method=pass_all
6567 freebsd* | dragonfly*)
6568 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6571 # Not sure whether the presence of OpenBSD here was a mistake.
6572 # Let's accept both of them until this is cleared up.
6573 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6574 lt_cv_file_magic_cmd=/usr/bin/file
6575 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6579 lt_cv_deplibs_check_method=pass_all
6584 lt_cv_deplibs_check_method=pass_all
6587 hpux10.20* | hpux11*)
6588 lt_cv_file_magic_cmd=/usr/bin/file
6591 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6592 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6595 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]'
6596 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6599 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6600 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6606 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6607 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6610 irix5* | irix6* | nonstopux*)
6612 *-32|*"-32 ") libmagic=32-bit;;
6613 *-n32|*"-n32 ") libmagic=N32;;
6614 *-64|*"-64 ") libmagic=64-bit;;
6615 *) libmagic=never-match;;
6617 lt_cv_deplibs_check_method=pass_all
6620 # This must be Linux ELF.
6621 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6622 lt_cv_deplibs_check_method=pass_all
6625 netbsd* | netbsdelf*-gnu)
6626 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6627 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6629 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6634 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6635 lt_cv_file_magic_cmd=/usr/bin/file
6636 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6640 lt_cv_deplibs_check_method=pass_all
6644 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6645 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6647 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6651 osf3* | osf4* | osf5*)
6652 lt_cv_deplibs_check_method=pass_all
6656 lt_cv_deplibs_check_method=pass_all
6660 lt_cv_deplibs_check_method=pass_all
6663 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6664 lt_cv_deplibs_check_method=pass_all
6668 case $host_vendor in
6670 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]'
6671 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6674 lt_cv_deplibs_check_method=pass_all
6677 lt_cv_file_magic_cmd='/bin/file'
6678 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6681 lt_cv_file_magic_cmd='/bin/file'
6682 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6683 lt_cv_file_magic_test_file=/lib/libc.so
6686 lt_cv_deplibs_check_method=pass_all
6689 lt_cv_deplibs_check_method=pass_all
6695 lt_cv_deplibs_check_method=pass_all
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6701 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6702 file_magic_cmd=$lt_cv_file_magic_cmd
6703 deplibs_check_method=$lt_cv_deplibs_check_method
6704 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6717 if test -n "$ac_tool_prefix"; then
6718 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6719 set dummy ${ac_tool_prefix}ar; ac_word=$2
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6721 $as_echo_n "checking
for $ac_word...
" >&6; }
6722 if test "${ac_cv_prog_AR+set}" = set; then :
6723 $as_echo_n "(cached
) " >&6
6725 if test -n "$AR"; then
6726 ac_cv_prog_AR="$AR" # Let the user override the test.
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_prog_AR="${ac_tool_prefix}ar"
6736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6746 if test -n "$AR"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6748 $as_echo "$AR" >&6; }
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6751 $as_echo "no
" >&6; }
6756 if test -z "$ac_cv_prog_AR"; then
6758 # Extract the first word of "ar", so it can be a program name with args.
6759 set dummy ar; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6761 $as_echo_n "checking
for $ac_word...
" >&6; }
6762 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6763 $as_echo_n "(cached
) " >&6
6765 if test -n "$ac_ct_AR"; then
6766 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6775 ac_cv_prog_ac_ct_AR="ar"
6776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6785 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6786 if test -n "$ac_ct_AR"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6788 $as_echo "$ac_ct_AR" >&6; }
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6791 $as_echo "no
" >&6; }
6794 if test "x
$ac_ct_AR" = x; then
6797 case $cross_compiling:$ac_tool_warned in
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6800 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6801 ac_tool_warned=yes ;;
6809 test -z "$AR" && AR=ar
6810 test -z "$AR_FLAGS" && AR_FLAGS=cru
6822 if test -n "$ac_tool_prefix"; then
6823 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6824 set dummy ${ac_tool_prefix}strip; ac_word=$2
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6826 $as_echo_n "checking
for $ac_word...
" >&6; }
6827 if test "${ac_cv_prog_STRIP+set}" = set; then :
6828 $as_echo_n "(cached
) " >&6
6830 if test -n "$STRIP"; then
6831 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6837 test -z "$as_dir" && as_dir=.
6838 for ac_exec_ext in '' $ac_executable_extensions; do
6839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6840 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6841 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6850 STRIP=$ac_cv_prog_STRIP
6851 if test -n "$STRIP"; then
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6853 $as_echo "$STRIP" >&6; }
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6856 $as_echo "no
" >&6; }
6861 if test -z "$ac_cv_prog_STRIP"; then
6863 # Extract the first word of "strip
", so it can be a program name with args.
6864 set dummy strip; ac_word=$2
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6866 $as_echo_n "checking
for $ac_word...
" >&6; }
6867 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6868 $as_echo_n "(cached
) " >&6
6870 if test -n "$ac_ct_STRIP"; then
6871 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6877 test -z "$as_dir" && as_dir=.
6878 for ac_exec_ext in '' $ac_executable_extensions; do
6879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6880 ac_cv_prog_ac_ct_STRIP="strip
"
6881 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6890 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6891 if test -n "$ac_ct_STRIP"; then
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6893 $as_echo "$ac_ct_STRIP" >&6; }
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6896 $as_echo "no
" >&6; }
6899 if test "x
$ac_ct_STRIP" = x; then
6902 case $cross_compiling:$ac_tool_warned in
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6905 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6906 ac_tool_warned=yes ;;
6911 STRIP="$ac_cv_prog_STRIP"
6914 test -z "$STRIP" && STRIP=:
6921 if test -n "$ac_tool_prefix"; then
6922 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6923 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6925 $as_echo_n "checking
for $ac_word...
" >&6; }
6926 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6927 $as_echo_n "(cached
) " >&6
6929 if test -n "$RANLIB"; then
6930 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6936 test -z "$as_dir" && as_dir=.
6937 for ac_exec_ext in '' $ac_executable_extensions; do
6938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6939 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6940 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6949 RANLIB=$ac_cv_prog_RANLIB
6950 if test -n "$RANLIB"; then
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6952 $as_echo "$RANLIB" >&6; }
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6955 $as_echo "no
" >&6; }
6960 if test -z "$ac_cv_prog_RANLIB"; then
6961 ac_ct_RANLIB=$RANLIB
6962 # Extract the first word of "ranlib
", so it can be a program name with args.
6963 set dummy ranlib; ac_word=$2
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6965 $as_echo_n "checking
for $ac_word...
" >&6; }
6966 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6967 $as_echo_n "(cached
) " >&6
6969 if test -n "$ac_ct_RANLIB"; then
6970 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6976 test -z "$as_dir" && as_dir=.
6977 for ac_exec_ext in '' $ac_executable_extensions; do
6978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6979 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6980 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6989 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6990 if test -n "$ac_ct_RANLIB"; then
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6992 $as_echo "$ac_ct_RANLIB" >&6; }
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6995 $as_echo "no
" >&6; }
6998 if test "x
$ac_ct_RANLIB" = x; then
7001 case $cross_compiling:$ac_tool_warned in
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7004 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7005 ac_tool_warned=yes ;;
7007 RANLIB=$ac_ct_RANLIB
7010 RANLIB="$ac_cv_prog_RANLIB"
7013 test -z "$RANLIB" && RANLIB=:
7020 # Determine commands to create old-style static archives.
7021 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7022 old_postinstall_cmds='chmod 644 $oldlib'
7023 old_postuninstall_cmds=
7025 if test -n "$RANLIB"; then
7028 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7031 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7034 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7070 # If no C compiler was specified, use CC.
7073 # If no C compiler flags were specified, use CFLAGS.
7074 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7076 # Allow CC to be a program name with arguments.
7080 # Check for command to grab the raw symbol name followed by C symbol from nm.
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7082 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7083 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7084 $as_echo_n "(cached
) " >&6
7087 # These are sane defaults that work on at least a few old systems.
7088 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7090 # Character class describing NM global symbol codes.
7091 symcode='[BCDEGRST]'
7093 # Regexp to match symbols that can be accessed directly from C.
7094 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7096 # Define system-specific variables.
7101 cygwin* | mingw* | pw32* | cegcc*)
7102 symcode='[ABCDGISTW]'
7105 if test "$host_cpu" = ia64; then
7106 symcode='[ABCDEGRST]'
7110 symcode='[BCDEGRST]'
7113 symcode='[BCDEGQRST]'
7124 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7132 # If we're using GNU nm, then use its standard symbol codes.
7133 case `$NM -V 2>&1` in
7134 *GNU* | *'with BFD'*)
7135 symcode='[ABCDGIRSTW]' ;;
7138 # Transform an extracted symbol line into a proper C declaration.
7139 # Some systems (esp. on ia64) link data and code symbols differently,
7140 # so use this general approach.
7141 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7143 # Transform an extracted symbol line into symbol name and symbol address
7144 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7145 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'"
7147 # Handle CRLF in mingw tool chain
7151 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7155 # Try without a prefix underscore, then with it.
7156 for ac_symprfx in "" "_
"; do
7158 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7159 symxfrm="\\1 $ac_symprfx\\2 \\2"
7161 # Write the raw and C identifiers.
7162 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7163 # Fake it for dumpbin and say T for any non-static function
7164 # and D for any global variable.
7165 # Also find C++ and __fastcall symbols from MSVC++,
7166 # which start with @ or ?.
7167 lt_cv_sys_global_symbol_pipe="$AWK '"\
7168 " {last_section=section; section=\$ 3};"\
7169 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7170 " \$ 0!~/External *\|/{next};"\
7171 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7172 " {if(hide[section]) next};"\
7173 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7174 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7175 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7176 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7177 " ' prfx
=^
$ac_symprfx"
7179 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7182 # Check to see that the pipe works correctly.
7186 cat > conftest.$ac_ext <<_LT_EOF
7191 void nm_test_func(void);
7192 void nm_test_func(void){}
7196 int main(){nm_test_var='a';nm_test_func();return(0);}
7199 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7200 (eval $ac_compile) 2>&5
7202 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7203 test $ac_status = 0; }; then
7204 # Now try to grab the symbols.
7206 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
7207 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7209 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7210 test $ac_status = 0; } && test -s "$nlist"; then
7211 # Try sorting and uniquifying the output.
7212 if sort "$nlist" | uniq > "$nlist"T; then
7213 mv -f "$nlist"T "$nlist"
7218 # Make sure that we snagged all the symbols we need.
7219 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7220 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7221 cat <<_LT_EOF > conftest.$ac_ext
7227 # Now generate the symbol file.
7228 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7230 cat <<_LT_EOF >> conftest.$ac_ext
7232 /* The mapping between symbol names and symbols. */
7237 lt__PROGRAM__LTX_preloaded_symbols[] =
7239 { "@PROGRAM@
", (void *) 0 },
7241 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7242 cat <<\_LT_EOF >> conftest.$ac_ext
7246 /* This works around a problem in FreeBSD linker */
7247 #ifdef FREEBSD_WORKAROUND
7248 static const void *lt_preloaded_setup() {
7249 return lt__PROGRAM__LTX_preloaded_symbols;
7257 # Now try linking the two files.
7258 mv conftest.$ac_objext conftstm.$ac_objext
7259 lt_save_LIBS="$LIBS"
7260 lt_save_CFLAGS="$CFLAGS"
7261 LIBS="conftstm.
$ac_objext"
7262 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7263 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7264 (eval $ac_link) 2>&5
7266 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7267 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7270 LIBS="$lt_save_LIBS"
7271 CFLAGS="$lt_save_CFLAGS"
7273 echo "cannot
find nm_test_func
in $nlist" >&5
7276 echo "cannot
find nm_test_var
in $nlist" >&5
7279 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7282 echo "$progname: failed program was
:" >&5
7283 cat conftest.$ac_ext >&5
7285 rm -rf conftest* conftst*
7287 # Do not use the global_symbol_pipe unless it works.
7288 if test "$pipe_works" = yes; then
7291 lt_cv_sys_global_symbol_pipe=
7297 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7298 lt_cv_sys_global_symbol_to_cdecl=
7300 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7302 $as_echo "failed
" >&6; }
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7305 $as_echo "ok
" >&6; }
7329 # Check whether --enable-libtool-lock was given.
7330 if test "${enable_libtool_lock+set}" = set; then :
7331 enableval=$enable_libtool_lock;
7334 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7336 # Some flags need to be propagated to the compiler or linker for good
7340 # Find out which ABI we are using.
7341 echo 'int i;' > conftest.$ac_ext
7342 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7343 (eval $ac_compile) 2>&5
7345 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7346 test $ac_status = 0; }; then
7347 case `/usr/bin/file conftest.$ac_objext` in
7359 # Find out which ABI we are using.
7360 echo '#line 7360 "configure
"' > conftest.$ac_ext
7361 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7362 (eval $ac_compile) 2>&5
7364 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7365 test $ac_status = 0; }; then
7366 if test "$lt_cv_prog_gnu_ld" = yes; then
7367 case `/usr/bin/file conftest.$ac_objext` in
7369 LD="${LD-ld} -melf32bsmip"
7372 LD="${LD-ld} -melf32bmipn32"
7375 LD="${LD-ld} -melf64bmip"
7379 case `/usr/bin/file conftest.$ac_objext` in
7395 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7396 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7397 # Find out which ABI we are using.
7398 echo 'int i;' > conftest.$ac_ext
7399 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7400 (eval $ac_compile) 2>&5
7402 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7403 test $ac_status = 0; }; then
7404 case `/usr/bin/file conftest.o` in
7407 x86_64-*kfreebsd*-gnu)
7408 LD="${LD-ld} -m elf_i386_fbsd
"
7411 LD="${LD-ld} -m elf_i386
"
7413 ppc64-*linux*|powerpc64-*linux*)
7414 LD="${LD-ld} -m elf32ppclinux
"
7417 LD="${LD-ld} -m elf_s390
"
7420 LD="${LD-ld} -m elf32_sparc
"
7426 x86_64-*kfreebsd*-gnu)
7427 LD="${LD-ld} -m elf_x86_64_fbsd
"
7430 LD="${LD-ld} -m elf_x86_64
"
7432 ppc*-*linux*|powerpc*-*linux*)
7433 LD="${LD-ld} -m elf64ppc
"
7435 s390*-*linux*|s390*-*tpf*)
7436 LD="${LD-ld} -m elf64_s390
"
7439 LD="${LD-ld} -m elf64_sparc
"
7449 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7450 SAVE_CFLAGS="$CFLAGS"
7451 CFLAGS="$CFLAGS -belf"
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7453 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7454 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7455 $as_echo_n "(cached
) " >&6
7458 ac_cpp='$CPP $CPPFLAGS'
7459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7464 /* end confdefs.h. */
7474 if ac_fn_c_try_link "$LINENO"; then :
7475 lt_cv_cc_needs_belf=yes
7477 lt_cv_cc_needs_belf=no
7479 rm -f core conftest.err conftest.$ac_objext \
7480 conftest$ac_exeext conftest.$ac_ext
7482 ac_cpp='$CPP $CPPFLAGS'
7483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7489 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7490 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7491 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7492 CFLAGS="$SAVE_CFLAGS"
7496 # Find out which ABI we are using.
7497 echo 'int i;' > conftest.$ac_ext
7498 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7499 (eval $ac_compile) 2>&5
7501 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7502 test $ac_status = 0; }; then
7503 case `/usr/bin/file conftest.o` in
7505 case $lt_cv_prog_gnu_ld in
7506 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7508 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7520 need_locks="$enable_libtool_lock"
7524 rhapsody* | darwin*)
7525 if test -n "$ac_tool_prefix"; then
7526 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7527 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7529 $as_echo_n "checking
for $ac_word...
" >&6; }
7530 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7531 $as_echo_n "(cached
) " >&6
7533 if test -n "$DSYMUTIL"; then
7534 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7540 test -z "$as_dir" && as_dir=.
7541 for ac_exec_ext in '' $ac_executable_extensions; do
7542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7543 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7544 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7553 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7554 if test -n "$DSYMUTIL"; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7556 $as_echo "$DSYMUTIL" >&6; }
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7559 $as_echo "no
" >&6; }
7564 if test -z "$ac_cv_prog_DSYMUTIL"; then
7565 ac_ct_DSYMUTIL=$DSYMUTIL
7566 # Extract the first word of "dsymutil
", so it can be a program name with args.
7567 set dummy dsymutil; ac_word=$2
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7569 $as_echo_n "checking
for $ac_word...
" >&6; }
7570 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7571 $as_echo_n "(cached
) " >&6
7573 if test -n "$ac_ct_DSYMUTIL"; then
7574 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580 test -z "$as_dir" && as_dir=.
7581 for ac_exec_ext in '' $ac_executable_extensions; do
7582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7583 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7584 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7593 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7594 if test -n "$ac_ct_DSYMUTIL"; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7596 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7599 $as_echo "no
" >&6; }
7602 if test "x
$ac_ct_DSYMUTIL" = x; then
7605 case $cross_compiling:$ac_tool_warned in
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7608 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7609 ac_tool_warned=yes ;;
7611 DSYMUTIL=$ac_ct_DSYMUTIL
7614 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7617 if test -n "$ac_tool_prefix"; then
7618 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7619 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7621 $as_echo_n "checking
for $ac_word...
" >&6; }
7622 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7623 $as_echo_n "(cached
) " >&6
7625 if test -n "$NMEDIT"; then
7626 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7632 test -z "$as_dir" && as_dir=.
7633 for ac_exec_ext in '' $ac_executable_extensions; do
7634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7635 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7636 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7645 NMEDIT=$ac_cv_prog_NMEDIT
7646 if test -n "$NMEDIT"; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7648 $as_echo "$NMEDIT" >&6; }
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7651 $as_echo "no
" >&6; }
7656 if test -z "$ac_cv_prog_NMEDIT"; then
7657 ac_ct_NMEDIT=$NMEDIT
7658 # Extract the first word of "nmedit
", so it can be a program name with args.
7659 set dummy nmedit; ac_word=$2
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7661 $as_echo_n "checking
for $ac_word...
" >&6; }
7662 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7663 $as_echo_n "(cached
) " >&6
7665 if test -n "$ac_ct_NMEDIT"; then
7666 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7672 test -z "$as_dir" && as_dir=.
7673 for ac_exec_ext in '' $ac_executable_extensions; do
7674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7675 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7676 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7685 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7686 if test -n "$ac_ct_NMEDIT"; then
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7688 $as_echo "$ac_ct_NMEDIT" >&6; }
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7691 $as_echo "no
" >&6; }
7694 if test "x
$ac_ct_NMEDIT" = x; then
7697 case $cross_compiling:$ac_tool_warned in
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7700 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7701 ac_tool_warned=yes ;;
7703 NMEDIT=$ac_ct_NMEDIT
7706 NMEDIT="$ac_cv_prog_NMEDIT"
7709 if test -n "$ac_tool_prefix"; then
7710 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7711 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7713 $as_echo_n "checking
for $ac_word...
" >&6; }
7714 if test "${ac_cv_prog_LIPO+set}" = set; then :
7715 $as_echo_n "(cached
) " >&6
7717 if test -n "$LIPO"; then
7718 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724 test -z "$as_dir" && as_dir=.
7725 for ac_exec_ext in '' $ac_executable_extensions; do
7726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7727 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7728 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7737 LIPO=$ac_cv_prog_LIPO
7738 if test -n "$LIPO"; then
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7740 $as_echo "$LIPO" >&6; }
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7743 $as_echo "no
" >&6; }
7748 if test -z "$ac_cv_prog_LIPO"; then
7750 # Extract the first word of "lipo
", so it can be a program name with args.
7751 set dummy lipo; ac_word=$2
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7753 $as_echo_n "checking
for $ac_word...
" >&6; }
7754 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7755 $as_echo_n "(cached
) " >&6
7757 if test -n "$ac_ct_LIPO"; then
7758 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7764 test -z "$as_dir" && as_dir=.
7765 for ac_exec_ext in '' $ac_executable_extensions; do
7766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7767 ac_cv_prog_ac_ct_LIPO="lipo
"
7768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7777 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7778 if test -n "$ac_ct_LIPO"; then
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7780 $as_echo "$ac_ct_LIPO" >&6; }
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7783 $as_echo "no
" >&6; }
7786 if test "x
$ac_ct_LIPO" = x; then
7789 case $cross_compiling:$ac_tool_warned in
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7792 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7793 ac_tool_warned=yes ;;
7798 LIPO="$ac_cv_prog_LIPO"
7801 if test -n "$ac_tool_prefix"; then
7802 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7803 set dummy ${ac_tool_prefix}otool; ac_word=$2
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7805 $as_echo_n "checking
for $ac_word...
" >&6; }
7806 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7807 $as_echo_n "(cached
) " >&6
7809 if test -n "$OTOOL"; then
7810 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7816 test -z "$as_dir" && as_dir=.
7817 for ac_exec_ext in '' $ac_executable_extensions; do
7818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7819 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7820 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7829 OTOOL=$ac_cv_prog_OTOOL
7830 if test -n "$OTOOL"; then
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7832 $as_echo "$OTOOL" >&6; }
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7835 $as_echo "no
" >&6; }
7840 if test -z "$ac_cv_prog_OTOOL"; then
7842 # Extract the first word of "otool
", so it can be a program name with args.
7843 set dummy otool; ac_word=$2
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7845 $as_echo_n "checking
for $ac_word...
" >&6; }
7846 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7847 $as_echo_n "(cached
) " >&6
7849 if test -n "$ac_ct_OTOOL"; then
7850 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7856 test -z "$as_dir" && as_dir=.
7857 for ac_exec_ext in '' $ac_executable_extensions; do
7858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7859 ac_cv_prog_ac_ct_OTOOL="otool
"
7860 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7869 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7870 if test -n "$ac_ct_OTOOL"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7872 $as_echo "$ac_ct_OTOOL" >&6; }
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7875 $as_echo "no
" >&6; }
7878 if test "x
$ac_ct_OTOOL" = x; then
7881 case $cross_compiling:$ac_tool_warned in
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7884 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7885 ac_tool_warned=yes ;;
7890 OTOOL="$ac_cv_prog_OTOOL"
7893 if test -n "$ac_tool_prefix"; then
7894 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7895 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7897 $as_echo_n "checking
for $ac_word...
" >&6; }
7898 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7899 $as_echo_n "(cached
) " >&6
7901 if test -n "$OTOOL64"; then
7902 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7911 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7921 OTOOL64=$ac_cv_prog_OTOOL64
7922 if test -n "$OTOOL64"; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7924 $as_echo "$OTOOL64" >&6; }
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7927 $as_echo "no
" >&6; }
7932 if test -z "$ac_cv_prog_OTOOL64"; then
7933 ac_ct_OTOOL64=$OTOOL64
7934 # Extract the first word of "otool64
", so it can be a program name with args.
7935 set dummy otool64; ac_word=$2
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7937 $as_echo_n "checking
for $ac_word...
" >&6; }
7938 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7939 $as_echo_n "(cached
) " >&6
7941 if test -n "$ac_ct_OTOOL64"; then
7942 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7951 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7952 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7961 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7962 if test -n "$ac_ct_OTOOL64"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7964 $as_echo "$ac_ct_OTOOL64" >&6; }
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7967 $as_echo "no
" >&6; }
7970 if test "x
$ac_ct_OTOOL64" = x; then
7973 case $cross_compiling:$ac_tool_warned in
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7976 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7977 ac_tool_warned=yes ;;
7979 OTOOL64=$ac_ct_OTOOL64
7982 OTOOL64="$ac_cv_prog_OTOOL64"
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8012 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8013 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8014 $as_echo_n "(cached
) " >&6
8016 lt_cv_apple_cc_single_mod=no
8017 if test -z "${LT_MULTI_MODULE}"; then
8018 # By default we will add the -single_module flag. You can override
8019 # by either setting the environment variable LT_MULTI_MODULE
8020 # non-empty at configure time, or by adding -multi_module to the
8022 rm -rf libconftest.dylib*
8023 echo "int foo
(void
){return 1;}" > conftest.c
8024 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8025 -dynamiclib -Wl,-single_module conftest.c
" >&5
8026 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8027 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8029 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8030 lt_cv_apple_cc_single_mod=yes
8032 cat conftest.err >&5
8034 rm -rf libconftest.dylib*
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8039 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8041 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8042 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8043 $as_echo_n "(cached
) " >&6
8045 lt_cv_ld_exported_symbols_list=no
8046 save_LDFLAGS=$LDFLAGS
8047 echo "_main
" > conftest.sym
8048 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8050 /* end confdefs.h. */
8060 if ac_fn_c_try_link "$LINENO"; then :
8061 lt_cv_ld_exported_symbols_list=yes
8063 lt_cv_ld_exported_symbols_list=no
8065 rm -f core conftest.err conftest.$ac_objext \
8066 conftest$ac_exeext conftest.$ac_ext
8067 LDFLAGS="$save_LDFLAGS"
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8071 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8073 rhapsody* | darwin1.[012])
8074 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8076 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8077 darwin*) # darwin 5.x on
8078 # if running on 10.5 or later, the deployment target defaults
8079 # to the OS version, if on x86, and 10.4, the deployment
8080 # target defaults to 10.4. Don't you love it?
8081 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8082 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8083 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8085 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8087 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8091 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8092 _lt_dar_single_mod='$single_module'
8094 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8095 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8097 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8099 if test "$DSYMUTIL" != ":"; then
8100 _lt_dsymutil='~$DSYMUTIL $lib || :'
8107 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8108 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8109 inttypes.h stdint.h unistd.h
8111 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8112 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8114 eval as_val=\$$as_ac_Header
8115 if test "x
$as_val" = x""yes; then :
8116 cat >>confdefs.h <<_ACEOF
8117 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8125 for ac_header in dlfcn.h
8127 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8129 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
8130 cat >>confdefs.h <<_ACEOF
8131 #define HAVE_DLFCN_H 1
8150 # Check whether --enable-shared was given.
8151 if test "${enable_shared+set}" = set; then :
8152 enableval=$enable_shared; p=${PACKAGE-default}
8154 yes) enable_shared=yes ;;
8155 no) enable_shared=no ;;
8158 # Look at the argument we got. We use all the common list separators.
8159 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8160 for pkg in $enableval; do
8162 if test "X
$pkg" = "X
$p"; then
8181 # Check whether --enable-static was given.
8182 if test "${enable_static+set}" = set; then :
8183 enableval=$enable_static; p=${PACKAGE-default}
8185 yes) enable_static=yes ;;
8186 no) enable_static=no ;;
8189 # Look at the argument we got. We use all the common list separators.
8190 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8191 for pkg in $enableval; do
8193 if test "X
$pkg" = "X
$p"; then
8213 # Check whether --with-pic was given.
8214 if test "${with_pic+set}" = set; then :
8215 withval=$with_pic; pic_mode="$withval"
8221 test -z "$pic_mode" && pic_mode=default
8229 # Check whether --enable-fast-install was given.
8230 if test "${enable_fast_install+set}" = set; then :
8231 enableval=$enable_fast_install; p=${PACKAGE-default}
8233 yes) enable_fast_install=yes ;;
8234 no) enable_fast_install=no ;;
8236 enable_fast_install=no
8237 # Look at the argument we got. We use all the common list separators.
8238 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8239 for pkg in $enableval; do
8241 if test "X
$pkg" = "X
$p"; then
8242 enable_fast_install=yes
8249 enable_fast_install=yes
8262 # This can be used to rebuild libtool when needed
8263 LIBTOOL_DEPS="$ltmain"
8265 # Always use our own libtool.
8266 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8292 test -z "$LN_S" && LN_S="ln -s"
8307 if test -n "${ZSH_VERSION+set}" ; then
8308 setopt NO_GLOB_SUBST
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8312 $as_echo_n "checking
for objdir...
" >&6; }
8313 if test "${lt_cv_objdir+set}" = set; then :
8314 $as_echo_n "(cached
) " >&6
8316 rm -f .libs 2>/dev/null
8317 mkdir .libs 2>/dev/null
8318 if test -d .libs; then
8321 # MS-DOS does not allow filenames that begin with a dot.
8324 rmdir .libs 2>/dev/null
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8327 $as_echo "$lt_cv_objdir" >&6; }
8328 objdir=$lt_cv_objdir
8334 cat >>confdefs.h <<_ACEOF
8335 #define LT_OBJDIR "$lt_cv_objdir/"
8356 # AIX sometimes has problems with the GCC collect2 program. For some
8357 # reason, if we set the COLLECT_NAMES environment variable, the problems
8358 # vanish in a puff of smoke.
8359 if test "X
${COLLECT_NAMES+set}" != Xset; then
8361 export COLLECT_NAMES
8366 # Sed substitution that helps us do robust quoting. It backslashifies
8367 # metacharacters that are still active within double-quoted strings.
8368 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8370 # Same as above, but do not quote variable references.
8371 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
8373 # Sed substitution to delay expansion of an escaped shell variable in a
8374 # double_quote_subst'ed string.
8375 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8377 # Sed substitution to delay expansion of an escaped single quote.
8378 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8380 # Sed substitution to avoid accidental globbing in evaled expressions
8381 no_glob_subst
='s/\*/\\\*/g'
8385 can_build_shared
=yes
8387 # All known linkers require a `.a' archive for static linking (except MSVC,
8388 # which needs '.lib').
8391 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8394 old_CFLAGS
="$CFLAGS"
8396 # Set sane defaults for various variables
8397 test -z "$CC" && CC
=cc
8398 test -z "$LTCC" && LTCC
=$CC
8399 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8400 test -z "$LD" && LD
=ld
8401 test -z "$ac_objext" && ac_objext
=o
8403 for cc_temp
in $compiler""; do
8405 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8406 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8411 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8414 # Only perform the check for file, if the check method requires it
8415 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8416 case $deplibs_check_method in
8418 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8420 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8421 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8422 $as_echo_n "(cached) " >&6
8426 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8429 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8430 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8431 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8432 for ac_dir
in $ac_dummy; do
8434 test -z "$ac_dir" && ac_dir
=.
8435 if test -f $ac_dir/${ac_tool_prefix}file; then
8436 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8437 if test -n "$file_magic_test_file"; then
8438 case $deplibs_check_method in
8440 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8441 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8442 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8443 $EGREP "$file_magic_regex" > /dev
/null
; then
8448 *** Warning: the command libtool uses to detect shared libraries,
8449 *** $file_magic_cmd, produces output that libtool cannot recognize.
8450 *** The result is that libtool may fail to recognize shared libraries
8451 *** as such. This will affect the creation of libtool libraries that
8452 *** depend on shared libraries, but programs linked with such libtool
8453 *** libraries will work regardless of this problem. Nevertheless, you
8454 *** may want to report the problem to your system manager and/or to
8455 *** bug-libtool@gnu.org
8465 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8470 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8471 if test -n "$MAGIC_CMD"; then
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8473 $as_echo "$MAGIC_CMD" >&6; }
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8476 $as_echo "no" >&6; }
8483 if test -z "$lt_cv_path_MAGIC_CMD"; then
8484 if test -n "$ac_tool_prefix"; then
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8486 $as_echo_n "checking for file... " >&6; }
8487 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8488 $as_echo_n "(cached) " >&6
8492 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8495 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8496 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8497 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8498 for ac_dir
in $ac_dummy; do
8500 test -z "$ac_dir" && ac_dir
=.
8501 if test -f $ac_dir/file; then
8502 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8503 if test -n "$file_magic_test_file"; then
8504 case $deplibs_check_method in
8506 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8507 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8508 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8509 $EGREP "$file_magic_regex" > /dev
/null
; then
8514 *** Warning: the command libtool uses to detect shared libraries,
8515 *** $file_magic_cmd, produces output that libtool cannot recognize.
8516 *** The result is that libtool may fail to recognize shared libraries
8517 *** as such. This will affect the creation of libtool libraries that
8518 *** depend on shared libraries, but programs linked with such libtool
8519 *** libraries will work regardless of this problem. Nevertheless, you
8520 *** may want to report the problem to your system manager and/or to
8521 *** bug-libtool@gnu.org
8531 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8536 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8537 if test -n "$MAGIC_CMD"; then
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8539 $as_echo "$MAGIC_CMD" >&6; }
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8542 $as_echo "no" >&6; }
8555 # Use C for the default configuration in the libtool script
8559 ac_cpp
='$CPP $CPPFLAGS'
8560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8565 # Source file extension for C test sources.
8568 # Object file extension for compiled C test sources.
8572 # Code to be used in simple compile tests
8573 lt_simple_compile_test_code
="int some_variable = 0;"
8575 # Code to be used in simple link tests
8576 lt_simple_link_test_code
='int main(){return(0);}'
8584 # If no C compiler was specified, use CC.
8587 # If no C compiler flags were specified, use CFLAGS.
8588 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8590 # Allow CC to be a program name with arguments.
8593 # Save the default compiler, since it gets overwritten when the other
8594 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8595 compiler_DEFAULT
=$CC
8597 # save warnings/boilerplate of simple test code
8598 ac_outfile
=conftest.
$ac_objext
8599 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8600 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8601 _lt_compiler_boilerplate
=`cat conftest.err`
8604 ac_outfile
=conftest.
$ac_objext
8605 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8606 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8607 _lt_linker_boilerplate
=`cat conftest.err`
8611 if test -n "$compiler"; then
8613 lt_prog_compiler_no_builtin_flag
=
8615 if test "$GCC" = yes; then
8616 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8619 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8620 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8621 $as_echo_n "(cached) " >&6
8623 lt_cv_prog_compiler_rtti_exceptions
=no
8624 ac_outfile
=conftest.
$ac_objext
8625 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8626 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8627 # Insert the option either (1) after the last *FLAGS variable, or
8628 # (2) before a word containing "conftest.", or (3) at the end.
8629 # Note that $ac_compile itself does not contain backslashes and begins
8630 # with a dollar sign (not a hyphen), so the echo should work correctly.
8631 # The option is referenced via a variable to avoid confusing sed.
8632 lt_compile
=`echo "$ac_compile" | $SED \
8633 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8634 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8635 -e 's:$: $lt_compiler_flag:'`
8636 (eval echo "\"\$as_me:8636: $lt_compile\"" >&5)
8637 (eval "$lt_compile" 2>conftest.err
)
8639 cat conftest.err
>&5
8640 echo "$as_me:8640: \$? = $ac_status" >&5
8641 if (exit $ac_status) && test -s "$ac_outfile"; then
8642 # The compiler can only warn and ignore the option if not recognized
8643 # So say no if there are warnings other than the usual output.
8644 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8645 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8646 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8647 lt_cv_prog_compiler_rtti_exceptions
=yes
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8654 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8656 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8657 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8669 lt_prog_compiler_wl
=
8670 lt_prog_compiler_pic
=
8671 lt_prog_compiler_static
=
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8674 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8676 if test "$GCC" = yes; then
8677 lt_prog_compiler_wl
='-Wl,'
8678 lt_prog_compiler_static
='-static'
8682 # All AIX code is PIC.
8683 if test "$host_cpu" = ia64
; then
8684 # AIX 5 now supports IA64 processor
8685 lt_prog_compiler_static
='-Bstatic'
8692 # see comment about AmigaOS4 .so support
8693 lt_prog_compiler_pic
='-fPIC'
8696 # FIXME: we need at least 68020 code to build shared libraries, but
8697 # adding the `-m68020' flag to GCC prevents building anything better,
8699 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8704 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8705 # PIC is the default for these OSes.
8708 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8709 # This hack is so that the source file can tell whether it is being
8710 # built for inclusion in a dll (and should export symbols for example).
8711 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8712 # (--disable-auto-import) libraries
8713 lt_prog_compiler_pic
='-DDLL_EXPORT'
8716 darwin
* | rhapsody
*)
8717 # PIC is the default on this platform
8718 # Common symbols not allowed in MH_DYLIB files
8719 lt_prog_compiler_pic
='-fno-common'
8723 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8724 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8725 # sets the default TLS model and affects inlining.
8731 lt_prog_compiler_pic
='-fPIC'
8737 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8738 # Instead, we relocate shared libraries at runtime.
8742 # Just because we use GCC doesn't mean we suddenly get shared libraries
8743 # on systems that don't support them.
8744 lt_prog_compiler_can_build_shared
=no
8749 # QNX uses GNU C++, but need to define -shared option too, otherwise
8751 lt_prog_compiler_pic
='-fPIC -shared'
8755 if test -d /usr
/nec
; then
8756 lt_prog_compiler_pic
=-Kconform_pic
8761 lt_prog_compiler_pic
='-fPIC'
8765 # PORTME Check for flag to pass linker flags through the system compiler.
8768 lt_prog_compiler_wl
='-Wl,'
8769 if test "$host_cpu" = ia64
; then
8770 # AIX 5 now supports IA64 processor
8771 lt_prog_compiler_static
='-Bstatic'
8773 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8777 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8778 # This hack is so that the source file can tell whether it is being
8779 # built for inclusion in a dll (and should export symbols for example).
8780 lt_prog_compiler_pic
='-DDLL_EXPORT'
8783 hpux9
* | hpux10
* | hpux11
*)
8784 lt_prog_compiler_wl
='-Wl,'
8785 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8792 lt_prog_compiler_pic
='+Z'
8795 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8796 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8799 irix5
* | irix6
* | nonstopux
*)
8800 lt_prog_compiler_wl
='-Wl,'
8801 # PIC (with -KPIC) is the default.
8802 lt_prog_compiler_static
='-non_shared'
8805 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8806 case $cc_basename in
8807 # old Intel for x86_64 which still supported -KPIC.
8809 lt_prog_compiler_wl
='-Wl,'
8810 lt_prog_compiler_pic
='-KPIC'
8811 lt_prog_compiler_static
='-static'
8813 # icc used to be incompatible with GCC.
8814 # ICC 10 doesn't accept -KPIC any more.
8816 lt_prog_compiler_wl
='-Wl,'
8817 lt_prog_compiler_pic
='-fPIC'
8818 lt_prog_compiler_static
='-static'
8820 # Lahey Fortran 8.1.
8822 lt_prog_compiler_wl
='-Wl,'
8823 lt_prog_compiler_pic
='--shared'
8824 lt_prog_compiler_static
='--static'
8826 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8827 # Portland Group compilers (*not* the Pentium gcc compiler,
8828 # which looks to be a dead project)
8829 lt_prog_compiler_wl
='-Wl,'
8830 lt_prog_compiler_pic
='-fpic'
8831 lt_prog_compiler_static
='-Bstatic'
8834 lt_prog_compiler_wl
='-Wl,'
8835 # All Alpha code is PIC.
8836 lt_prog_compiler_static
='-non_shared'
8839 # IBM XL C 8.0/Fortran 10.1 on PPC
8840 lt_prog_compiler_wl
='-Wl,'
8841 lt_prog_compiler_pic
='-qpic'
8842 lt_prog_compiler_static
='-qstaticlink'
8845 case `$CC -V 2>&1 | sed 5q` in
8848 lt_prog_compiler_pic
='-KPIC'
8849 lt_prog_compiler_static
='-Bstatic'
8850 lt_prog_compiler_wl
='-Wl,'
8853 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8854 lt_prog_compiler_pic
='-KPIC'
8855 lt_prog_compiler_static
='-Bstatic'
8856 lt_prog_compiler_wl
=''
8864 lt_prog_compiler_pic
='-KPIC'
8865 lt_prog_compiler_static
='-Bstatic'
8869 # QNX uses GNU C++, but need to define -shared option too, otherwise
8871 lt_prog_compiler_pic
='-fPIC -shared'
8874 osf3
* | osf4
* | osf5
*)
8875 lt_prog_compiler_wl
='-Wl,'
8876 # All OSF/1 code is PIC.
8877 lt_prog_compiler_static
='-non_shared'
8881 lt_prog_compiler_static
='-non_shared'
8885 lt_prog_compiler_pic
='-KPIC'
8886 lt_prog_compiler_static
='-Bstatic'
8887 case $cc_basename in
8889 lt_prog_compiler_wl
='-Qoption ld ';;
8891 lt_prog_compiler_wl
='-Wl,';;
8896 lt_prog_compiler_wl
='-Qoption ld '
8897 lt_prog_compiler_pic
='-PIC'
8898 lt_prog_compiler_static
='-Bstatic'
8901 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8902 lt_prog_compiler_wl
='-Wl,'
8903 lt_prog_compiler_pic
='-KPIC'
8904 lt_prog_compiler_static
='-Bstatic'
8908 if test -d /usr
/nec
;then
8909 lt_prog_compiler_pic
='-Kconform_pic'
8910 lt_prog_compiler_static
='-Bstatic'
8914 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8915 lt_prog_compiler_wl
='-Wl,'
8916 lt_prog_compiler_pic
='-KPIC'
8917 lt_prog_compiler_static
='-Bstatic'
8921 lt_prog_compiler_wl
='-Wl,'
8922 lt_prog_compiler_can_build_shared
=no
8926 lt_prog_compiler_pic
='-pic'
8927 lt_prog_compiler_static
='-Bstatic'
8931 lt_prog_compiler_can_build_shared
=no
8937 # For platforms which do not support PIC, -DPIC is meaningless:
8939 lt_prog_compiler_pic
=
8942 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8946 $as_echo "$lt_prog_compiler_pic" >&6; }
8954 # Check to make sure the PIC flag actually works.
8956 if test -n "$lt_prog_compiler_pic"; then
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8958 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8959 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8960 $as_echo_n "(cached) " >&6
8962 lt_cv_prog_compiler_pic_works
=no
8963 ac_outfile
=conftest.
$ac_objext
8964 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8965 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8966 # Insert the option either (1) after the last *FLAGS variable, or
8967 # (2) before a word containing "conftest.", or (3) at the end.
8968 # Note that $ac_compile itself does not contain backslashes and begins
8969 # with a dollar sign (not a hyphen), so the echo should work correctly.
8970 # The option is referenced via a variable to avoid confusing sed.
8971 lt_compile
=`echo "$ac_compile" | $SED \
8972 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8973 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8974 -e 's:$: $lt_compiler_flag:'`
8975 (eval echo "\"\$as_me:8975: $lt_compile\"" >&5)
8976 (eval "$lt_compile" 2>conftest.err
)
8978 cat conftest.err
>&5
8979 echo "$as_me:8979: \$? = $ac_status" >&5
8980 if (exit $ac_status) && test -s "$ac_outfile"; then
8981 # The compiler can only warn and ignore the option if not recognized
8982 # So say no if there are warnings other than the usual output.
8983 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8984 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8985 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8986 lt_cv_prog_compiler_pic_works
=yes
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8993 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8995 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8996 case $lt_prog_compiler_pic in
8998 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9001 lt_prog_compiler_pic
=
9002 lt_prog_compiler_can_build_shared
=no
9013 # Check to make sure the static flag actually works.
9015 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9017 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9018 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9019 $as_echo_n "(cached) " >&6
9021 lt_cv_prog_compiler_static_works
=no
9022 save_LDFLAGS
="$LDFLAGS"
9023 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9024 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9025 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9026 # The linker can only warn and ignore the option if not recognized
9027 # So say no if there are warnings
9028 if test -s conftest.err
; then
9029 # Append any errors to the config.log.
9030 cat conftest.err
1>&5
9031 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9032 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9033 if diff conftest.exp conftest.er2
>/dev
/null
; then
9034 lt_cv_prog_compiler_static_works
=yes
9037 lt_cv_prog_compiler_static_works
=yes
9041 LDFLAGS
="$save_LDFLAGS"
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9045 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9047 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9050 lt_prog_compiler_static
=
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9060 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9061 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9062 $as_echo_n "(cached) " >&6
9064 lt_cv_prog_compiler_c_o
=no
9065 $RM -r conftest
2>/dev
/null
9069 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9071 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9072 # Insert the option either (1) after the last *FLAGS variable, or
9073 # (2) before a word containing "conftest.", or (3) at the end.
9074 # Note that $ac_compile itself does not contain backslashes and begins
9075 # with a dollar sign (not a hyphen), so the echo should work correctly.
9076 lt_compile
=`echo "$ac_compile" | $SED \
9077 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9078 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9079 -e 's:$: $lt_compiler_flag:'`
9080 (eval echo "\"\$as_me:9080: $lt_compile\"" >&5)
9081 (eval "$lt_compile" 2>out
/conftest.err
)
9083 cat out
/conftest.err
>&5
9084 echo "$as_me:9084: \$? = $ac_status" >&5
9085 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9087 # The compiler can only warn and ignore the option if not recognized
9088 # So say no if there are warnings
9089 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9090 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9091 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9092 lt_cv_prog_compiler_c_o
=yes
9097 # SGI C++ compiler will create directory out/ii_files/ for
9098 # template instantiation
9099 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9100 $RM out
/* && rmdir out
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9107 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9115 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9116 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9117 $as_echo_n "(cached) " >&6
9119 lt_cv_prog_compiler_c_o
=no
9120 $RM -r conftest
2>/dev
/null
9124 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9126 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9127 # Insert the option either (1) after the last *FLAGS variable, or
9128 # (2) before a word containing "conftest.", or (3) at the end.
9129 # Note that $ac_compile itself does not contain backslashes and begins
9130 # with a dollar sign (not a hyphen), so the echo should work correctly.
9131 lt_compile
=`echo "$ac_compile" | $SED \
9132 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9133 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9134 -e 's:$: $lt_compiler_flag:'`
9135 (eval echo "\"\$as_me:9135: $lt_compile\"" >&5)
9136 (eval "$lt_compile" 2>out
/conftest.err
)
9138 cat out
/conftest.err
>&5
9139 echo "$as_me:9139: \$? = $ac_status" >&5
9140 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9142 # The compiler can only warn and ignore the option if not recognized
9143 # So say no if there are warnings
9144 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9145 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9146 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9147 lt_cv_prog_compiler_c_o
=yes
9152 # SGI C++ compiler will create directory out/ii_files/ for
9153 # template instantiation
9154 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9155 $RM out
/* && rmdir out
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9162 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9167 hard_links
="nottested"
9168 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9169 # do not overwrite the value of need_locks provided by the user
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9171 $as_echo_n "checking if we can lock with hard links... " >&6; }
9174 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9176 ln conftest.a conftest.b
2>&5 || hard_links
=no
9177 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9179 $as_echo "$hard_links" >&6; }
9180 if test "$hard_links" = no
; then
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9182 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9195 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9198 allow_undefined_flag
=
9199 always_export_symbols
=no
9201 archive_expsym_cmds
=
9202 compiler_needs_object
=no
9203 enable_shared_with_static_runtimes
=no
9204 export_dynamic_flag_spec
=
9205 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9206 hardcode_automatic
=no
9208 hardcode_direct_absolute
=no
9209 hardcode_libdir_flag_spec
=
9210 hardcode_libdir_flag_spec_ld
=
9211 hardcode_libdir_separator
=
9213 hardcode_shlibpath_var
=unsupported
9215 link_all_deplibs
=unknown
9218 old_archive_from_new_cmds
=
9219 old_archive_from_expsyms_cmds
=
9220 thread_safe_flag_spec
=
9221 whole_archive_flag_spec
=
9222 # include_expsyms should be a list of space-separated symbols to be *always*
9223 # included in the symbol list
9225 # exclude_expsyms can be an extended regexp of symbols to exclude
9226 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9227 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9228 # as well as any symbol that contains `d'.
9229 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9230 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9231 # platforms (ab)use it in PIC code, but their linkers get confused if
9232 # the symbol is explicitly referenced. Since portable code cannot
9233 # rely on this symbol name, it's probably fine to never include it in
9234 # preloaded symbol tables.
9235 # Exclude shared library initialization/finalization symbols.
9236 extract_expsyms_cmds
=
9239 cygwin
* | mingw
* | pw32
* | cegcc
*)
9240 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9241 # When not using gcc, we currently assume that we are using
9242 # Microsoft Visual C++.
9243 if test "$GCC" != yes; then
9248 # we just hope/assume this is gcc and not c89 (= MSVC++)
9254 linux
* | k
*bsd
*-gnu)
9260 if test "$with_gnu_ld" = yes; then
9261 # If archive_cmds runs LD, not CC, wlarc should be empty
9264 # Set some defaults for GNU ld with shared library support. These
9265 # are reset later if shared libraries are not supported. Putting them
9266 # here allows them to be overridden if necessary.
9267 runpath_var
=LD_RUN_PATH
9268 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9269 export_dynamic_flag_spec
='${wl}--export-dynamic'
9270 # ancient GNU ld didn't support --whole-archive et. al.
9271 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9272 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9274 whole_archive_flag_spec
=
9276 supports_anon_versioning
=no
9277 case `$LD -v 2>&1` in
9278 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9279 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9280 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9281 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9282 *\
2.11.
*) ;; # other 2.11 versions
9283 *) supports_anon_versioning
=yes ;;
9286 # See if GNU ld supports shared libraries.
9289 # On AIX/PPC, the GNU linker is very broken
9290 if test "$host_cpu" != ia64
; then
9294 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9295 *** to be unable to reliably create shared libraries on AIX.
9296 *** Therefore, libtool is disabling shared libraries support. If you
9297 *** really care for shared libraries, you may want to modify your PATH
9298 *** so that a non-GNU linker is found, and then restart.
9307 # see comment about AmigaOS4 .so support
9308 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9309 archive_expsym_cmds
=''
9312 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)'
9313 hardcode_libdir_flag_spec
='-L$libdir'
9314 hardcode_minus_L
=yes
9320 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9321 allow_undefined_flag
=unsupported
9322 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9323 # support --undefined. This deserves some investigation. FIXME
9324 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9330 cygwin
* | mingw
* | pw32
* | cegcc
*)
9331 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9332 # as there is no search path for DLLs.
9333 hardcode_libdir_flag_spec
='-L$libdir'
9334 allow_undefined_flag
=unsupported
9335 always_export_symbols
=no
9336 enable_shared_with_static_runtimes
=yes
9337 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9339 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9340 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9341 # If the export-symbols file already is a .def file (1st line
9342 # is EXPORTS), use it as is; otherwise, prepend...
9343 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9344 cp $export_symbols $output_objdir/$soname.def;
9346 echo EXPORTS > $output_objdir/$soname.def;
9347 cat $export_symbols >> $output_objdir/$soname.def;
9349 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9357 hardcode_shlibpath_var
=no
9358 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9359 export_dynamic_flag_spec
='${wl}-E'
9360 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9361 # Instead, shared libraries are loaded at an image base (0x10000000 by
9362 # default) and relocated if they conflict, which is a slow very memory
9363 # consuming and fragmenting process. To avoid this, we pick a random,
9364 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9365 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9366 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9367 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'
9370 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9372 if test "$host_os" = linux-dietlibc
; then
9373 case $cc_basename in
9374 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9377 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9378 && test "$tmp_diet" = no
9381 tmp_sharedflag
='-shared'
9382 case $cc_basename,$host_cpu in
9383 pgcc
*) # Portland Group C compiler
9384 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'
9385 tmp_addflag
=' $pic_flag'
9387 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9388 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'
9389 tmp_addflag
=' $pic_flag -Mnomain' ;;
9390 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9391 tmp_addflag
=' -i_dynamic' ;;
9392 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9393 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9394 ifc
* | ifort
*) # Intel Fortran compiler
9395 tmp_addflag
=' -nofor_main' ;;
9396 lf95
*) # Lahey Fortran 8.1
9397 whole_archive_flag_spec
=
9398 tmp_sharedflag
='--shared' ;;
9399 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9400 tmp_sharedflag
='-qmkshrobj'
9403 case `$CC -V 2>&1 | sed 5q` in
9404 *Sun\ C
*) # Sun C 5.9
9405 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'
9406 compiler_needs_object
=yes
9407 tmp_sharedflag
='-G' ;;
9408 *Sun\ F
*) # Sun Fortran 8.3
9409 tmp_sharedflag
='-G' ;;
9411 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9413 if test "x$supports_anon_versioning" = xyes
; then
9414 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9415 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9416 echo "local: *; };" >> $output_objdir/$libname.ver~
9417 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9420 case $cc_basename in
9422 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9423 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9424 hardcode_libdir_flag_spec
=
9425 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9426 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9427 if test "x$supports_anon_versioning" = xyes
; then
9428 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9429 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9430 echo "local: *; };" >> $output_objdir/$libname.ver~
9431 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9440 netbsd
* | netbsdelf
*-gnu)
9441 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9442 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9445 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9446 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9451 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9455 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9456 *** create shared libraries on Solaris systems. Therefore, libtool
9457 *** is disabling shared libraries support. We urge you to upgrade GNU
9458 *** binutils to release 2.9.1 or newer. Another option is to modify
9459 *** your PATH or compiler configuration so that the native linker is
9460 *** used, and then restart.
9463 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9464 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9465 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9471 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9472 case `$LD -v 2>&1` in
9473 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9477 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9478 *** reliably create shared libraries on SCO systems. Therefore, libtool
9479 *** is disabling shared libraries support. We urge you to upgrade GNU
9480 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9481 *** your PATH or compiler configuration so that the native linker is
9482 *** used, and then restart.
9487 # For security reasons, it is highly recommended that you always
9488 # use absolute paths for naming shared libraries, and exclude the
9489 # DT_RUNPATH tag from executables and libraries. But doing so
9490 # requires that you compile everything twice, which is a pain.
9491 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9492 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9493 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9494 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9503 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9506 hardcode_shlibpath_var
=no
9510 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9511 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9512 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9519 if test "$ld_shlibs" = no
; then
9521 hardcode_libdir_flag_spec
=
9522 export_dynamic_flag_spec
=
9523 whole_archive_flag_spec
=
9526 # PORTME fill in a description of your system's linker (not GNU ld)
9529 allow_undefined_flag
=unsupported
9530 always_export_symbols
=yes
9531 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'
9532 # Note: this linker hardcodes the directories in LIBPATH if there
9533 # are no directories specified by -L.
9534 hardcode_minus_L
=yes
9535 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9536 # Neither direct hardcoding nor static linking is supported with a
9538 hardcode_direct
=unsupported
9543 if test "$host_cpu" = ia64
; then
9544 # On IA64, the linker does run time linking by default, so we don't
9545 # have to do anything special.
9546 aix_use_runtimelinking
=no
9547 exp_sym_flag
='-Bexport'
9550 # If we're using GNU nm, then we don't want the "-C" option.
9551 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9552 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9553 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'
9555 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'
9557 aix_use_runtimelinking
=no
9559 # Test if we are trying to use run time linking or normal
9560 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9561 # need to do runtime linking.
9562 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9563 for ld_flag
in $LDFLAGS; do
9564 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9565 aix_use_runtimelinking
=yes
9572 exp_sym_flag
='-bexport'
9573 no_entry_flag
='-bnoentry'
9576 # When large executables or shared objects are built, AIX ld can
9577 # have problems creating the table of contents. If linking a library
9578 # or program results in "error TOC overflow" add -mminimal-toc to
9579 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9580 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9584 hardcode_direct_absolute
=yes
9585 hardcode_libdir_separator
=':'
9586 link_all_deplibs
=yes
9587 file_list_spec
='${wl}-f,'
9589 if test "$GCC" = yes; then
9590 case $host_os in aix4.
[012]|aix4.
[012].
*)
9591 # We only want to do this on AIX 4.2 and lower, the check
9592 # below for broken collect2 doesn't work under 4.3+
9593 collect2name
=`${CC} -print-prog-name=collect2`
9594 if test -f "$collect2name" &&
9595 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9597 # We have reworked collect2
9600 # We have old collect2
9601 hardcode_direct
=unsupported
9602 # It fails to find uninstalled libraries when the uninstalled
9603 # path is not listed in the libpath. Setting hardcode_minus_L
9604 # to unsupported forces relinking
9605 hardcode_minus_L
=yes
9606 hardcode_libdir_flag_spec
='-L$libdir'
9607 hardcode_libdir_separator
=
9611 shared_flag
='-shared'
9612 if test "$aix_use_runtimelinking" = yes; then
9613 shared_flag
="$shared_flag "'${wl}-G'
9618 if test "$host_cpu" = ia64
; then
9619 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9620 # chokes on -Wl,-G. The following line is correct:
9623 if test "$aix_use_runtimelinking" = yes; then
9624 shared_flag
='${wl}-G'
9626 shared_flag
='${wl}-bM:SRE'
9631 export_dynamic_flag_spec
='${wl}-bexpall'
9632 # It seems that -bexpall does not export symbols beginning with
9633 # underscore (_), so it is better to generate a list of symbols to export.
9634 always_export_symbols
=yes
9635 if test "$aix_use_runtimelinking" = yes; then
9636 # Warning - without using the other runtime loading flags (-brtl),
9637 # -berok will link without error, but may produce a broken library.
9638 allow_undefined_flag
='-berok'
9639 # Determine the default libpath from the value encoded in an
9641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9642 /* end confdefs.h. */
9652 if ac_fn_c_try_link
"$LINENO"; then :
9654 lt_aix_libpath_sed
='
9655 /Import File Strings/,/^$/ {
9661 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9662 # Check for a 64-bit object if we didn't find anything.
9663 if test -z "$aix_libpath"; then
9664 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9667 rm -f core conftest.err conftest.
$ac_objext \
9668 conftest
$ac_exeext conftest.
$ac_ext
9669 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9671 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9672 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"
9674 if test "$host_cpu" = ia64
; then
9675 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9676 allow_undefined_flag
="-z nodefs"
9677 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"
9679 # Determine the default libpath from the value encoded in an
9681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9682 /* end confdefs.h. */
9692 if ac_fn_c_try_link
"$LINENO"; then :
9694 lt_aix_libpath_sed
='
9695 /Import File Strings/,/^$/ {
9701 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9702 # Check for a 64-bit object if we didn't find anything.
9703 if test -z "$aix_libpath"; then
9704 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9707 rm -f core conftest.err conftest.
$ac_objext \
9708 conftest
$ac_exeext conftest.
$ac_ext
9709 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9711 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9712 # Warning - without using the other run time loading flags,
9713 # -berok will link without error, but may produce a broken library.
9714 no_undefined_flag
=' ${wl}-bernotok'
9715 allow_undefined_flag
=' ${wl}-berok'
9716 # Exported symbols can be pulled into shared objects from archives
9717 whole_archive_flag_spec
='$convenience'
9718 archive_cmds_need_lc
=yes
9719 # This is similar to how AIX traditionally builds its shared libraries.
9720 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'
9728 # see comment about AmigaOS4 .so support
9729 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9730 archive_expsym_cmds
=''
9733 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)'
9734 hardcode_libdir_flag_spec
='-L$libdir'
9735 hardcode_minus_L
=yes
9741 export_dynamic_flag_spec
=-rdynamic
9744 cygwin
* | mingw
* | pw32
* | cegcc
*)
9745 # When not using gcc, we currently assume that we are using
9746 # Microsoft Visual C++.
9747 # hardcode_libdir_flag_spec is actually meaningless, as there is
9748 # no search path for DLLs.
9749 hardcode_libdir_flag_spec
=' '
9750 allow_undefined_flag
=unsupported
9751 # Tell ltmain to make .lib files, not .a files.
9753 # Tell ltmain to make .dll files, not .so files.
9755 # FIXME: Setting linknames here is a bad hack.
9756 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9757 # The linker will automatically build a .lib file if we build a DLL.
9758 old_archive_from_new_cmds
='true'
9759 # FIXME: Should let the user specify the lib program.
9760 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9761 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9762 enable_shared_with_static_runtimes
=yes
9765 darwin
* | rhapsody
*)
9768 archive_cmds_need_lc
=no
9770 hardcode_automatic
=yes
9771 hardcode_shlibpath_var
=unsupported
9772 whole_archive_flag_spec
=''
9773 link_all_deplibs
=yes
9774 allow_undefined_flag
="$_lt_dar_allow_undefined"
9775 case $cc_basename in
9776 ifort
*) _lt_dar_can_shared
=yes ;;
9777 *) _lt_dar_can_shared
=$GCC ;;
9779 if test "$_lt_dar_can_shared" = "yes"; then
9780 output_verbose_link_cmd
=echo
9781 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9782 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9783 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}"
9784 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}"
9793 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9794 hardcode_libdir_flag_spec
='-L$libdir'
9795 hardcode_shlibpath_var
=no
9802 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9803 # support. Future versions do this automatically, but an explicit c++rt0.o
9804 # does not break anything, and helps significantly (at the cost of a little
9807 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9808 hardcode_libdir_flag_spec
='-R$libdir'
9810 hardcode_shlibpath_var
=no
9813 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9815 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9817 hardcode_minus_L
=yes
9818 hardcode_shlibpath_var
=no
9821 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9822 freebsd
* | dragonfly
*)
9823 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9824 hardcode_libdir_flag_spec
='-R$libdir'
9826 hardcode_shlibpath_var
=no
9830 if test "$GCC" = yes; then
9831 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'
9833 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'
9835 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9836 hardcode_libdir_separator
=:
9839 # hardcode_minus_L: Not really in the search PATH,
9840 # but as the default location of the library.
9841 hardcode_minus_L
=yes
9842 export_dynamic_flag_spec
='${wl}-E'
9846 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9847 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9849 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9851 if test "$with_gnu_ld" = no
; then
9852 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9853 hardcode_libdir_flag_spec_ld
='+b $libdir'
9854 hardcode_libdir_separator
=:
9856 hardcode_direct_absolute
=yes
9857 export_dynamic_flag_spec
='${wl}-E'
9858 # hardcode_minus_L: Not really in the search PATH,
9859 # but as the default location of the library.
9860 hardcode_minus_L
=yes
9865 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9868 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9871 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9874 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9880 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9883 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9886 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9890 if test "$with_gnu_ld" = no
; then
9891 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9892 hardcode_libdir_separator
=:
9897 hardcode_shlibpath_var
=no
9901 hardcode_direct_absolute
=yes
9902 export_dynamic_flag_spec
='${wl}-E'
9904 # hardcode_minus_L: Not really in the search PATH,
9905 # but as the default location of the library.
9906 hardcode_minus_L
=yes
9912 irix5
* | irix6
* | nonstopux
*)
9913 if test "$GCC" = yes; then
9914 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'
9915 # Try to use the -exported_symbol ld option, if it does not
9916 # work, assume that -exports_file does not work either and
9917 # implicitly export all symbols.
9918 save_LDFLAGS
="$LDFLAGS"
9919 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9921 /* end confdefs.h. */
9924 if ac_fn_c_try_link
"$LINENO"; then :
9925 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'
9928 rm -f core conftest.err conftest.
$ac_objext \
9929 conftest
$ac_exeext conftest.
$ac_ext
9930 LDFLAGS
="$save_LDFLAGS"
9932 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'
9933 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'
9935 archive_cmds_need_lc
='no'
9936 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9937 hardcode_libdir_separator
=:
9939 link_all_deplibs
=yes
9942 netbsd
* | netbsdelf
*-gnu)
9943 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9944 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9946 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9948 hardcode_libdir_flag_spec
='-R$libdir'
9950 hardcode_shlibpath_var
=no
9954 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9956 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9957 hardcode_libdir_separator
=:
9958 hardcode_shlibpath_var
=no
9965 if test -f /usr
/libexec
/ld.so
; then
9967 hardcode_shlibpath_var
=no
9968 hardcode_direct_absolute
=yes
9969 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9970 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9971 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9972 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9973 export_dynamic_flag_spec
='${wl}-E'
9976 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9977 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9978 hardcode_libdir_flag_spec
='-R$libdir'
9981 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9982 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9992 hardcode_libdir_flag_spec
='-L$libdir'
9993 hardcode_minus_L
=yes
9994 allow_undefined_flag
=unsupported
9995 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'
9996 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10000 if test "$GCC" = yes; then
10001 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10002 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'
10004 allow_undefined_flag
=' -expect_unresolved \*'
10005 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'
10007 archive_cmds_need_lc
='no'
10008 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10009 hardcode_libdir_separator
=:
10012 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10013 if test "$GCC" = yes; then
10014 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10015 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'
10016 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10018 allow_undefined_flag
=' -expect_unresolved \*'
10019 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'
10020 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~
10021 $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'
10023 # Both c and cxx compiler support -rpath directly
10024 hardcode_libdir_flag_spec
='-rpath $libdir'
10026 archive_cmds_need_lc
='no'
10027 hardcode_libdir_separator
=:
10031 no_undefined_flag
=' -z defs'
10032 if test "$GCC" = yes; then
10034 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10035 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10036 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10038 case `$CC -V 2>&1` in
10041 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10042 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10043 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10047 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10048 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10049 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10053 hardcode_libdir_flag_spec
='-R$libdir'
10054 hardcode_shlibpath_var
=no
10056 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10058 # The compiler driver will combine and reorder linker options,
10059 # but understands `-z linker_flag'. GCC discards it without `$wl',
10060 # but is careful enough not to reorder.
10061 # Supported since Solaris 2.6 (maybe 2.5.1?)
10062 if test "$GCC" = yes; then
10063 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10065 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10069 link_all_deplibs
=yes
10073 if test "x$host_vendor" = xsequent
; then
10074 # Use $CC to link under sequent, because it throws in some extra .o
10075 # files that make .init and .fini sections work.
10076 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10078 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10080 hardcode_libdir_flag_spec
='-L$libdir'
10081 hardcode_direct
=yes
10082 hardcode_minus_L
=yes
10083 hardcode_shlibpath_var
=no
10087 case $host_vendor in
10089 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10090 hardcode_direct
=yes # is this really true???
10093 ## LD is ld it makes a PLAMLIB
10094 ## CC just makes a GrossModule.
10095 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10096 reload_cmds
='$CC -r -o $output$reload_objs'
10100 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10101 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10104 runpath_var
='LD_RUN_PATH'
10105 hardcode_shlibpath_var
=no
10109 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10110 hardcode_shlibpath_var
=no
10111 export_dynamic_flag_spec
='-Bexport'
10115 if test -d /usr
/nec
; then
10116 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10117 hardcode_shlibpath_var
=no
10118 runpath_var
=LD_RUN_PATH
10119 hardcode_runpath_var
=yes
10124 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10125 no_undefined_flag
='${wl}-z,text'
10126 archive_cmds_need_lc
=no
10127 hardcode_shlibpath_var
=no
10128 runpath_var
='LD_RUN_PATH'
10130 if test "$GCC" = yes; then
10131 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10134 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10135 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10139 sysv5
* | sco3.2v5
* | sco5v6
*)
10140 # Note: We can NOT use -z defs as we might desire, because we do not
10141 # link with -lc, and that would cause any symbols used from libc to
10142 # always be unresolved, which means just about no library would
10143 # ever link correctly. If we're not using GNU ld we use -z text
10144 # though, which does catch some bad symbols but isn't as heavy-handed
10146 no_undefined_flag
='${wl}-z,text'
10147 allow_undefined_flag
='${wl}-z,nodefs'
10148 archive_cmds_need_lc
=no
10149 hardcode_shlibpath_var
=no
10150 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10151 hardcode_libdir_separator
=':'
10152 link_all_deplibs
=yes
10153 export_dynamic_flag_spec
='${wl}-Bexport'
10154 runpath_var
='LD_RUN_PATH'
10156 if test "$GCC" = yes; then
10157 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10158 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10160 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10161 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10166 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10167 hardcode_libdir_flag_spec
='-L$libdir'
10168 hardcode_shlibpath_var
=no
10176 if test x
$host_vendor = xsni
; then
10178 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10179 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10186 $as_echo "$ld_shlibs" >&6; }
10187 test "$ld_shlibs" = no
&& can_build_shared
=no
10189 with_gnu_ld
=$with_gnu_ld
10206 # Do we need to explicitly link libc?
10208 case "x$archive_cmds_need_lc" in
10210 # Assume -lc should be added
10211 archive_cmds_need_lc
=yes
10213 if test "$enable_shared" = yes && test "$GCC" = yes; then
10214 case $archive_cmds in
10216 # FIXME: we may have to deal with multi-command sequences.
10219 # Test whether the compiler implicitly links with -lc since on some
10220 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10221 # to ld, don't add -lc before -lgcc.
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10223 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10225 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10228 (eval $ac_compile) 2>&5
10230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10231 test $ac_status = 0; } 2>conftest.err
; then
10234 libobjs
=conftest.
$ac_objext
10236 wl
=$lt_prog_compiler_wl
10237 pic_flag
=$lt_prog_compiler_pic
10243 lt_save_allow_undefined_flag
=$allow_undefined_flag
10244 allow_undefined_flag
=
10245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10246 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10249 test $ac_status = 0; }
10251 archive_cmds_need_lc
=no
10253 archive_cmds_need_lc
=yes
10255 allow_undefined_flag
=$lt_save_allow_undefined_flag
10257 cat conftest.err
1>&5
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10261 $as_echo "$archive_cmds_need_lc" >&6; }
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10425 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10427 if test "$GCC" = yes; then
10429 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10430 *) lt_awk_arg
="/^libraries:/" ;;
10432 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10433 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10434 # if the path contains ";" then we assume it to be the separator
10435 # otherwise default to the standard path separator (i.e. ":") - it is
10436 # assumed that no part of a normal pathname contains ";" but that should
10437 # okay in the real world where ";" in dirpaths is itself problematic.
10438 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10440 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10442 # Ok, now we have the path, separated by spaces, we can step through it
10443 # and add multilib dir if necessary.
10444 lt_tmp_lt_search_path_spec
=
10445 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10446 for lt_sys_path
in $lt_search_path_spec; do
10447 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10448 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10450 test -d "$lt_sys_path" && \
10451 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10454 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10455 BEGIN {RS=" "; FS="/|\n";} {
10458 for (lt_i = NF; lt_i > 0; lt_i--) {
10459 if ($lt_i != "" && $lt_i != ".") {
10460 if ($lt_i == "..") {
10463 if (lt_count == 0) {
10464 lt_foo="/" $lt_i lt_foo;
10471 if (lt_foo != "") { lt_freq[lt_foo]++; }
10472 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10474 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10476 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10478 library_names_spec
=
10479 libname_spec
='lib$name'
10483 postuninstall_cmds
=
10487 shlibpath_overrides_runpath
=unknown
10489 dynamic_linker
="$host_os ld.so"
10490 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10491 need_lib_prefix
=unknown
10492 hardcode_into_libs
=no
10494 # when you set need_version to no, make sure it does not cause -set_version
10495 # flags to be left without arguments
10496 need_version
=unknown
10501 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10502 shlibpath_var
=LIBPATH
10504 # AIX 3 has no versioning support, so we append a major version to the name.
10505 soname_spec
='${libname}${release}${shared_ext}$major'
10512 hardcode_into_libs
=yes
10513 if test "$host_cpu" = ia64
; then
10514 # AIX 5 supports IA64
10515 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10516 shlibpath_var
=LD_LIBRARY_PATH
10518 # With GCC up to 2.95.x, collect2 would create an import file
10519 # for dependence libraries. The import file would start with
10520 # the line `#! .'. This would cause the generated library to
10521 # depend on `.', always an invalid library. This was fixed in
10522 # development snapshots of GCC prior to 3.0.
10524 aix4 | aix4.
[01] | aix4.
[01].
*)
10525 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10527 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10530 can_build_shared
=no
10534 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10535 # soname into executable. Probably we can add versioning support to
10536 # collect2, so additional links can be useful in future.
10537 if test "$aix_use_runtimelinking" = yes; then
10538 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10539 # instead of lib<name>.a to let people know that these are not
10540 # typical AIX shared libraries.
10541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10543 # We preserve .a as extension for shared libraries through AIX4.2
10544 # and later when we are not doing run time linking.
10545 library_names_spec
='${libname}${release}.a $libname.a'
10546 soname_spec
='${libname}${release}${shared_ext}$major'
10548 shlibpath_var
=LIBPATH
10555 # Since July 2007 AmigaOS4 officially supports .so libraries.
10556 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10560 library_names_spec
='$libname.ixlibrary $libname.a'
10561 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10562 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'
10568 library_names_spec
='${libname}${shared_ext}'
10569 dynamic_linker
="$host_os ld.so"
10570 shlibpath_var
=LIBRARY_PATH
10576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10577 soname_spec
='${libname}${release}${shared_ext}$major'
10578 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10579 shlibpath_var
=LD_LIBRARY_PATH
10580 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10581 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10582 # the default ld.so.conf also contains /usr/contrib/lib and
10583 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10584 # libtool to hard-code these into programs
10587 cygwin
* | mingw
* | pw32
* | cegcc
*)
10588 version_type
=windows
10593 case $GCC,$host_os in
10594 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10595 library_names_spec
='$libname.dll.a'
10596 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10597 postinstall_cmds
='base_file=`basename \${file}`~
10598 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10599 dldir=$destdir/`dirname \$dlpath`~
10600 test -d \$dldir || mkdir -p \$dldir~
10601 $install_prog $dir/$dlname \$dldir/$dlname~
10602 chmod a+x \$dldir/$dlname~
10603 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10604 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10606 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10607 dlpath=$dir/\$dldll~
10609 shlibpath_overrides_runpath
=yes
10613 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10614 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10615 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10618 # MinGW DLLs use traditional 'lib' prefix
10619 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10620 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10621 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10622 # It is most probably a Windows format PATH printed by
10623 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10624 # path with ; separators, and with drive letters. We can handle the
10625 # drive letters (cygwin fileutils understands them), so leave them,
10626 # especially as we might pass files found there to a mingw objdump,
10627 # which wouldn't understand a cygwinified path. Ahh.
10628 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10630 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10634 # pw32 DLLs use 'pw' prefix rather than 'lib'
10635 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10641 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10644 dynamic_linker
='Win32 ld.exe'
10645 # FIXME: first we should search . and the directory the executable is in
10649 darwin
* | rhapsody
*)
10650 dynamic_linker
="$host_os dyld"
10651 version_type
=darwin
10654 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10655 soname_spec
='${libname}${release}${major}$shared_ext'
10656 shlibpath_overrides_runpath
=yes
10657 shlibpath_var
=DYLD_LIBRARY_PATH
10658 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10660 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10661 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10669 soname_spec
='${libname}${release}${shared_ext}$major'
10670 shlibpath_var
=LD_LIBRARY_PATH
10677 freebsd
* | dragonfly
*)
10678 # DragonFly does not have aout. When/if they implement a new
10679 # versioning mechanism, adjust this.
10680 if test -x /usr
/bin
/objformat
; then
10681 objformat
=`/usr/bin/objformat`
10684 freebsd
[123]*) objformat
=aout
;;
10685 *) objformat
=elf
;;
10688 version_type
=freebsd-
$objformat
10689 case $version_type in
10691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10696 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10700 shlibpath_var
=LD_LIBRARY_PATH
10703 shlibpath_overrides_runpath
=yes
10705 freebsd3.
[01]* | freebsdelf3.
[01]*)
10706 shlibpath_overrides_runpath
=yes
10707 hardcode_into_libs
=yes
10709 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10710 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10711 shlibpath_overrides_runpath
=no
10712 hardcode_into_libs
=yes
10714 *) # from 4.6 on, and DragonFly
10715 shlibpath_overrides_runpath
=yes
10716 hardcode_into_libs
=yes
10725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10726 soname_spec
='${libname}${release}${shared_ext}$major'
10727 shlibpath_var
=LD_LIBRARY_PATH
10728 hardcode_into_libs
=yes
10731 hpux9
* | hpux10
* | hpux11
*)
10732 # Give a soname corresponding to the major version so that dld.sl refuses to
10733 # link against other versions.
10740 hardcode_into_libs
=yes
10741 dynamic_linker
="$host_os dld.so"
10742 shlibpath_var
=LD_LIBRARY_PATH
10743 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec
='${libname}${release}${shared_ext}$major'
10746 if test "X$HPUX_IA64_MODE" = X32
; then
10747 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10749 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10751 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10755 hardcode_into_libs
=yes
10756 dynamic_linker
="$host_os dld.sl"
10757 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10758 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10760 soname_spec
='${libname}${release}${shared_ext}$major'
10761 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10762 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10766 dynamic_linker
="$host_os dld.sl"
10767 shlibpath_var
=SHLIB_PATH
10768 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10770 soname_spec
='${libname}${release}${shared_ext}$major'
10773 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10774 postinstall_cmds
='chmod 555 $lib'
10781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10782 soname_spec
='${libname}${release}${shared_ext}$major'
10783 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10784 shlibpath_var
=LD_LIBRARY_PATH
10785 shlibpath_overrides_runpath
=no
10786 hardcode_into_libs
=yes
10789 irix5
* | irix6
* | nonstopux
*)
10791 nonstopux
*) version_type
=nonstopux
;;
10793 if test "$lt_cv_prog_gnu_ld" = yes; then
10801 soname_spec
='${libname}${release}${shared_ext}$major'
10802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10804 irix5
* | nonstopux
*)
10805 libsuff
= shlibsuff
=
10808 case $LD in # libtool.m4 will add one of these switches to LD
10809 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10810 libsuff
= shlibsuff
= libmagic
=32-bit;;
10811 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10812 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10813 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10814 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10815 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10819 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10820 shlibpath_overrides_runpath
=no
10821 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10822 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10823 hardcode_into_libs
=yes
10826 # No shared lib support for Linux oldld, aout, or coff.
10827 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10831 # This must be Linux ELF.
10832 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10837 soname_spec
='${libname}${release}${shared_ext}$major'
10838 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10839 shlibpath_var
=LD_LIBRARY_PATH
10840 shlibpath_overrides_runpath
=no
10841 # Some binutils ld are patched to set DT_RUNPATH
10842 save_LDFLAGS
=$LDFLAGS
10843 save_libdir
=$libdir
10844 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10845 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h. */
10857 if ac_fn_c_try_link
"$LINENO"; then :
10858 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10859 shlibpath_overrides_runpath
=yes
10862 rm -f core conftest.err conftest.
$ac_objext \
10863 conftest
$ac_exeext conftest.
$ac_ext
10864 LDFLAGS
=$save_LDFLAGS
10865 libdir
=$save_libdir
10867 # This implies no fast_install, which is unacceptable.
10868 # Some rework will be needed to allow for fast_install
10869 # before this can be enabled.
10870 hardcode_into_libs
=yes
10872 # Append ld.so.conf contents to the search path
10873 if test -f /etc
/ld.so.conf
; then
10874 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' ' '`
10875 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10878 # We used to test for /lib/ld.so.1 and disable shared libraries on
10879 # powerpc, because MkLinux only supported shared libraries with the
10880 # GNU dynamic linker. Since this was broken with cross compilers,
10881 # most powerpc-linux boxes support dynamic linking these days and
10882 # people can always --disable-shared, the test was removed, and we
10883 # assume the GNU/Linux dynamic linker is in use.
10884 dynamic_linker
='GNU/Linux ld.so'
10891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10892 soname_spec
='${libname}${release}${shared_ext}$major'
10893 shlibpath_var
=LD_LIBRARY_PATH
10894 shlibpath_overrides_runpath
=no
10895 hardcode_into_libs
=yes
10896 dynamic_linker
='NetBSD ld.elf_so'
10903 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10905 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10906 dynamic_linker
='NetBSD (a.out) ld.so'
10908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10909 soname_spec
='${libname}${release}${shared_ext}$major'
10910 dynamic_linker
='NetBSD ld.elf_so'
10912 shlibpath_var
=LD_LIBRARY_PATH
10913 shlibpath_overrides_runpath
=yes
10914 hardcode_into_libs
=yes
10919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10920 shlibpath_var
=LD_LIBRARY_PATH
10921 shlibpath_overrides_runpath
=yes
10928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10929 soname_spec
='${libname}${release}${shared_ext}$major'
10930 shlibpath_var
=LD_LIBRARY_PATH
10931 shlibpath_overrides_runpath
=no
10932 hardcode_into_libs
=yes
10933 dynamic_linker
='ldqnx.so'
10938 sys_lib_dlsearch_path_spec
="/usr/lib"
10940 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10942 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10943 *) need_version
=no
;;
10945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10946 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10947 shlibpath_var
=LD_LIBRARY_PATH
10948 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10950 openbsd2.
[89] | openbsd2.
[89].
*)
10951 shlibpath_overrides_runpath
=no
10954 shlibpath_overrides_runpath
=yes
10958 shlibpath_overrides_runpath
=yes
10963 libname_spec
='$name'
10966 library_names_spec
='$libname${shared_ext} $libname.a'
10967 dynamic_linker
='OS/2 ld.exe'
10968 shlibpath_var
=LIBPATH
10971 osf3
* | osf4
* | osf5
*)
10975 soname_spec
='${libname}${release}${shared_ext}$major'
10976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10977 shlibpath_var
=LD_LIBRARY_PATH
10978 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10979 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec
='${libname}${release}${shared_ext}$major'
10992 shlibpath_var
=LD_LIBRARY_PATH
10993 shlibpath_overrides_runpath
=yes
10994 hardcode_into_libs
=yes
10995 # ldd complains unless libraries are executable
10996 postinstall_cmds
='chmod +x $lib'
11001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11002 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11003 shlibpath_var
=LD_LIBRARY_PATH
11004 shlibpath_overrides_runpath
=yes
11005 if test "$with_gnu_ld" = yes; then
11013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11014 soname_spec
='${libname}${release}${shared_ext}$major'
11015 shlibpath_var
=LD_LIBRARY_PATH
11016 case $host_vendor in
11018 shlibpath_overrides_runpath
=no
11020 runpath_var
=LD_RUN_PATH
11028 shlibpath_overrides_runpath
=no
11029 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11035 if test -d /usr
/nec
;then
11037 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11038 soname_spec
='$libname${shared_ext}.$major'
11039 shlibpath_var
=LD_LIBRARY_PATH
11043 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11044 version_type
=freebsd-elf
11047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11048 soname_spec
='${libname}${release}${shared_ext}$major'
11049 shlibpath_var
=LD_LIBRARY_PATH
11050 shlibpath_overrides_runpath
=yes
11051 hardcode_into_libs
=yes
11052 if test "$with_gnu_ld" = yes; then
11053 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11055 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11058 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11062 sys_lib_dlsearch_path_spec
='/usr/lib'
11066 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071 shlibpath_var
=LD_LIBRARY_PATH
11072 shlibpath_overrides_runpath
=no
11073 hardcode_into_libs
=yes
11078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11079 soname_spec
='${libname}${release}${shared_ext}$major'
11080 shlibpath_var
=LD_LIBRARY_PATH
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11088 $as_echo "$dynamic_linker" >&6; }
11089 test "$dynamic_linker" = no
&& can_build_shared
=no
11091 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11092 if test "$GCC" = yes; then
11093 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11096 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11097 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11099 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11100 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11190 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11192 if test -n "$hardcode_libdir_flag_spec" ||
11193 test -n "$runpath_var" ||
11194 test "X$hardcode_automatic" = "Xyes" ; then
11196 # We can hardcode non-existent directories.
11197 if test "$hardcode_direct" != no
&&
11198 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11199 # have to relink, otherwise we might link with an installed library
11200 # when we should be linking with a yet-to-be-installed one
11201 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11202 test "$hardcode_minus_L" != no
; then
11203 # Linking always hardcodes the temporary library directory.
11204 hardcode_action
=relink
11206 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11207 hardcode_action
=immediate
11210 # We cannot hardcode anything, or else we can only hardcode existing
11212 hardcode_action
=unsupported
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11215 $as_echo "$hardcode_action" >&6; }
11217 if test "$hardcode_action" = relink ||
11218 test "$inherit_rpath" = yes; then
11219 # Fast installation is not supported
11220 enable_fast_install
=no
11221 elif test "$shlibpath_overrides_runpath" = yes ||
11222 test "$enable_shared" = no
; then
11223 # Fast installation is not necessary
11224 enable_fast_install
=needless
11232 if test "x$enable_dlopen" != xyes
; then
11233 enable_dlopen
=unknown
11234 enable_dlopen_self
=unknown
11235 enable_dlopen_self_static
=unknown
11242 lt_cv_dlopen
="load_add_on"
11244 lt_cv_dlopen_self
=yes
11247 mingw
* | pw32
* | cegcc
*)
11248 lt_cv_dlopen
="LoadLibrary"
11253 lt_cv_dlopen
="dlopen"
11258 # if libdl is installed we need to link against it
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11260 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11261 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11262 $as_echo_n "(cached) " >&6
11264 ac_check_lib_save_LIBS
=$LIBS
11266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11284 if ac_fn_c_try_link
"$LINENO"; then :
11285 ac_cv_lib_dl_dlopen
=yes
11287 ac_cv_lib_dl_dlopen
=no
11289 rm -f core conftest.err conftest.
$ac_objext \
11290 conftest
$ac_exeext conftest.
$ac_ext
11291 LIBS
=$ac_check_lib_save_LIBS
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11294 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11295 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11296 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11299 lt_cv_dlopen
="dyld"
11301 lt_cv_dlopen_self
=yes
11308 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11309 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11310 lt_cv_dlopen
="shl_load"
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11313 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11314 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11315 $as_echo_n "(cached) " >&6
11317 ac_check_lib_save_LIBS
=$LIBS
11319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11320 /* end confdefs.h. */
11322 /* Override any GCC internal prototype to avoid an error.
11323 Use char because int might match the return type of a GCC
11324 builtin and then its argument prototype would still apply. */
11332 return shl_load ();
11337 if ac_fn_c_try_link
"$LINENO"; then :
11338 ac_cv_lib_dld_shl_load
=yes
11340 ac_cv_lib_dld_shl_load
=no
11342 rm -f core conftest.err conftest.
$ac_objext \
11343 conftest
$ac_exeext conftest.
$ac_ext
11344 LIBS
=$ac_check_lib_save_LIBS
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11347 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11348 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11349 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11351 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11352 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11353 lt_cv_dlopen
="dlopen"
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11356 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11357 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11358 $as_echo_n "(cached) " >&6
11360 ac_check_lib_save_LIBS
=$LIBS
11362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11365 /* Override any GCC internal prototype to avoid an error.
11366 Use char because int might match the return type of a GCC
11367 builtin and then its argument prototype would still apply. */
11380 if ac_fn_c_try_link
"$LINENO"; then :
11381 ac_cv_lib_dl_dlopen
=yes
11383 ac_cv_lib_dl_dlopen
=no
11385 rm -f core conftest.err conftest.
$ac_objext \
11386 conftest
$ac_exeext conftest.
$ac_ext
11387 LIBS
=$ac_check_lib_save_LIBS
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11390 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11391 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11392 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11395 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11396 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11397 $as_echo_n "(cached) " >&6
11399 ac_check_lib_save_LIBS
=$LIBS
11400 LIBS
="-lsvld $LIBS"
11401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11419 if ac_fn_c_try_link
"$LINENO"; then :
11420 ac_cv_lib_svld_dlopen
=yes
11422 ac_cv_lib_svld_dlopen
=no
11424 rm -f core conftest.err conftest.
$ac_objext \
11425 conftest
$ac_exeext conftest.
$ac_ext
11426 LIBS
=$ac_check_lib_save_LIBS
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11429 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11430 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11431 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11434 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11435 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11436 $as_echo_n "(cached) " >&6
11438 ac_check_lib_save_LIBS
=$LIBS
11440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11441 /* end confdefs.h. */
11443 /* Override any GCC internal prototype to avoid an error.
11444 Use char because int might match the return type of a GCC
11445 builtin and then its argument prototype would still apply. */
11453 return dld_link ();
11458 if ac_fn_c_try_link
"$LINENO"; then :
11459 ac_cv_lib_dld_dld_link
=yes
11461 ac_cv_lib_dld_dld_link
=no
11463 rm -f core conftest.err conftest.
$ac_objext \
11464 conftest
$ac_exeext conftest.
$ac_ext
11465 LIBS
=$ac_check_lib_save_LIBS
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11468 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11469 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11470 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11491 if test "x$lt_cv_dlopen" != xno
; then
11497 case $lt_cv_dlopen in
11499 save_CPPFLAGS
="$CPPFLAGS"
11500 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11502 save_LDFLAGS
="$LDFLAGS"
11503 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11506 LIBS
="$lt_cv_dlopen_libs $LIBS"
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11509 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11510 if test "${lt_cv_dlopen_self+set}" = set; then :
11511 $as_echo_n "(cached) " >&6
11513 if test "$cross_compiling" = yes; then :
11514 lt_cv_dlopen_self
=cross
11516 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11517 lt_status
=$lt_dlunknown
11518 cat > conftest.
$ac_ext <<_LT_EOF
11519 #line 11519 "configure"
11520 #include "confdefs.h"
11529 # define LT_DLGLOBAL RTLD_GLOBAL
11532 # define LT_DLGLOBAL DL_GLOBAL
11534 # define LT_DLGLOBAL 0
11538 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11539 find out it does not work in some platform. */
11540 #ifndef LT_DLLAZY_OR_NOW
11542 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11545 # define LT_DLLAZY_OR_NOW DL_LAZY
11548 # define LT_DLLAZY_OR_NOW RTLD_NOW
11551 # define LT_DLLAZY_OR_NOW DL_NOW
11553 # define LT_DLLAZY_OR_NOW 0
11560 void fnord() { int i=42;}
11563 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11564 int status = $lt_dlunknown;
11568 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11569 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11570 /* dlclose (self); */
11578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11579 (eval $ac_link) 2>&5
11581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11582 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11583 (.
/conftest
; exit; ) >&5 2>/dev
/null
11585 case x
$lt_status in
11586 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11587 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11588 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11591 # compilation failed
11592 lt_cv_dlopen_self
=no
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11600 $as_echo "$lt_cv_dlopen_self" >&6; }
11602 if test "x$lt_cv_dlopen_self" = xyes
; then
11603 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11605 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11606 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11607 $as_echo_n "(cached) " >&6
11609 if test "$cross_compiling" = yes; then :
11610 lt_cv_dlopen_self_static
=cross
11612 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11613 lt_status
=$lt_dlunknown
11614 cat > conftest.
$ac_ext <<_LT_EOF
11615 #line 11615 "configure"
11616 #include "confdefs.h"
11625 # define LT_DLGLOBAL RTLD_GLOBAL
11628 # define LT_DLGLOBAL DL_GLOBAL
11630 # define LT_DLGLOBAL 0
11634 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11635 find out it does not work in some platform. */
11636 #ifndef LT_DLLAZY_OR_NOW
11638 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11641 # define LT_DLLAZY_OR_NOW DL_LAZY
11644 # define LT_DLLAZY_OR_NOW RTLD_NOW
11647 # define LT_DLLAZY_OR_NOW DL_NOW
11649 # define LT_DLLAZY_OR_NOW 0
11656 void fnord() { int i=42;}
11659 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11660 int status = $lt_dlunknown;
11664 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11665 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11666 /* dlclose (self); */
11674 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11675 (eval $ac_link) 2>&5
11677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11678 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11679 (.
/conftest
; exit; ) >&5 2>/dev
/null
11681 case x
$lt_status in
11682 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11683 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11684 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11687 # compilation failed
11688 lt_cv_dlopen_self_static
=no
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11696 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11699 CPPFLAGS
="$save_CPPFLAGS"
11700 LDFLAGS
="$save_LDFLAGS"
11705 case $lt_cv_dlopen_self in
11706 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11707 *) enable_dlopen_self
=unknown
;;
11710 case $lt_cv_dlopen_self_static in
11711 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11712 *) enable_dlopen_self_static
=unknown
;;
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11735 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11736 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11737 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11738 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11740 $as_echo "yes" >&6; }
11742 # FIXME - insert some real tests, host_os isn't really good enough
11745 if test -n "$STRIP" ; then
11746 striplib
="$STRIP -x"
11747 old_striplib
="$STRIP -S"
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11749 $as_echo "yes" >&6; }
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11752 $as_echo "no" >&6; }
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11757 $as_echo "no" >&6; }
11773 # Report which library types will actually be built
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11775 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11777 $as_echo "$can_build_shared" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11780 $as_echo_n "checking whether to build shared libraries... " >&6; }
11781 test "$can_build_shared" = "no" && enable_shared
=no
11783 # On AIX, shared libraries and static libraries use the same namespace, and
11784 # are all built from PIC.
11787 test "$enable_shared" = yes && enable_static
=no
11788 if test -n "$RANLIB"; then
11789 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11790 postinstall_cmds
='$RANLIB $lib'
11795 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11796 test "$enable_shared" = yes && enable_static
=no
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11801 $as_echo "$enable_shared" >&6; }
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11804 $as_echo_n "checking whether to build static libraries... " >&6; }
11805 # Make sure either enable_shared or enable_static is yes.
11806 test "$enable_shared" = yes || enable_static
=yes
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11808 $as_echo "$enable_static" >&6; }
11815 ac_cpp
='$CPP $CPPFLAGS'
11816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11834 ac_config_commands
="$ac_config_commands libtool"
11839 # Only expand once:
11844 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
11845 GCONF_SCHEMA_CONFIG_SOURCE
=`gconftool-2 --get-default-source`
11847 GCONF_SCHEMA_CONFIG_SOURCE
=$GCONF_SCHEMA_INSTALL_SOURCE
11851 # Check whether --with-gconf-source was given.
11852 if test "${with_gconf_source+set}" = set; then :
11853 withval
=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE
="$withval"
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
11859 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
11861 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
11862 GCONF_SCHEMA_FILE_DIR
='$(sysconfdir)/gconf/schemas'
11866 # Check whether --with-gconf-schema-file-dir was given.
11867 if test "${with_gconf_schema_file_dir+set}" = set; then :
11868 withval
=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR
="$withval"
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
11874 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
11876 # Check whether --enable-schemas-install was given.
11877 if test "${enable_schemas_install+set}" = set; then :
11878 enableval
=$enable_schemas_install; case ${enableval} in
11880 *) as_fn_error
"bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
11884 if test "$enable_schemas_install" != no
; then
11885 GCONF_SCHEMAS_INSTALL_TRUE
=
11886 GCONF_SCHEMAS_INSTALL_FALSE
='#'
11888 GCONF_SCHEMAS_INSTALL_TRUE
='#'
11889 GCONF_SCHEMAS_INSTALL_FALSE
=
11894 LIBGNOMEUI_REQUIRED
=2.0.0
11895 LIBGNOME_REQUIRED
=2.0.0
11897 GCONF_REQUIRED
=1.1.11
11898 DBUS_GLIB_REQUIRED
=0.33
11899 GIO_REQUIRED
=2.16.0
11903 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11904 if test -n "$ac_tool_prefix"; then
11905 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11906 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11908 $as_echo_n "checking for $ac_word... " >&6; }
11909 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11910 $as_echo_n "(cached) " >&6
11912 case $PKG_CONFIG in
11914 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11918 for as_dir
in $PATH
11921 test -z "$as_dir" && as_dir
=.
11922 for ac_exec_ext
in '' $ac_executable_extensions; do
11923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11924 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11935 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11936 if test -n "$PKG_CONFIG"; then
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11938 $as_echo "$PKG_CONFIG" >&6; }
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11941 $as_echo "no" >&6; }
11946 if test -z "$ac_cv_path_PKG_CONFIG"; then
11947 ac_pt_PKG_CONFIG
=$PKG_CONFIG
11948 # Extract the first word of "pkg-config", so it can be a program name with args.
11949 set dummy pkg-config
; ac_word
=$2
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11951 $as_echo_n "checking for $ac_word... " >&6; }
11952 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11953 $as_echo_n "(cached) " >&6
11955 case $ac_pt_PKG_CONFIG in
11957 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11961 for as_dir
in $PATH
11964 test -z "$as_dir" && as_dir
=.
11965 for ac_exec_ext
in '' $ac_executable_extensions; do
11966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11967 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11978 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
11979 if test -n "$ac_pt_PKG_CONFIG"; then
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11981 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11984 $as_echo "no" >&6; }
11987 if test "x$ac_pt_PKG_CONFIG" = x
; then
11990 case $cross_compiling:$ac_tool_warned in
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11994 ac_tool_warned
=yes ;;
11996 PKG_CONFIG
=$ac_pt_PKG_CONFIG
11999 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12003 if test -n "$PKG_CONFIG"; then
12004 _pkg_min_version
=0.9.0
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12006 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12007 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12009 $as_echo "yes" >&6; }
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12012 $as_echo "no" >&6; }
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME" >&5
12020 $as_echo_n "checking for GNOME... " >&6; }
12022 if test -n "$PKG_CONFIG"; then
12023 if test -n "$GNOME_CFLAGS"; then
12024 pkg_cv_GNOME_CFLAGS
="$GNOME_CFLAGS"
12026 if test -n "$PKG_CONFIG" && \
12027 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED
12028 gtk+-2.0 >= \$GTK_REQUIRED
12030 gio-unix-2.0 >= \$GIO_REQUIRED\""; } >&5
12031 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12032 gtk+-2.0 >= $GTK_REQUIRED
12034 gio-unix-2.0 >= $GIO_REQUIRED") 2>&5
12036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12037 test $ac_status = 0; }; then
12038 pkg_cv_GNOME_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12039 gtk+-2.0 >= $GTK_REQUIRED
12041 gio-unix-2.0 >= $GIO_REQUIRED" 2>/dev/null`
12049 if test -n "$PKG_CONFIG"; then
12050 if test -n "$GNOME_LIBS"; then
12051 pkg_cv_GNOME_LIBS
="$GNOME_LIBS"
12053 if test -n "$PKG_CONFIG" && \
12054 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED
12055 gtk+-2.0 >= \$GTK_REQUIRED
12057 gio-unix-2.0 >= \$GIO_REQUIRED\""; } >&5
12058 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12059 gtk+-2.0 >= $GTK_REQUIRED
12061 gio-unix-2.0 >= $GIO_REQUIRED") 2>&5
12063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12064 test $ac_status = 0; }; then
12065 pkg_cv_GNOME_LIBS
=`$PKG_CONFIG --libs "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12066 gtk+-2.0 >= $GTK_REQUIRED
12068 gio-unix-2.0 >= $GIO_REQUIRED" 2>/dev/null`
12079 if test $pkg_failed = yes; then
12081 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12082 _pkg_short_errors_supported
=yes
12084 _pkg_short_errors_supported
=no
12086 if test $_pkg_short_errors_supported = yes; then
12087 GNOME_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12088 gtk+-2.0 >= $GTK_REQUIRED
12090 gio-unix-2.0 >= $GIO_REQUIRED"`
12092 GNOME_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12093 gtk+-2.0 >= $GTK_REQUIRED
12095 gio-unix-2.0 >= $GIO_REQUIRED"`
12097 # Put the nasty error message in config.log where it belongs
12098 echo "$GNOME_PKG_ERRORS" >&5
12100 as_fn_error
"Package requirements (libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12101 gtk+-2.0 >= $GTK_REQUIRED
12103 gio-unix-2.0 >= $GIO_REQUIRED) were not met:
12107 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12108 installed software in a non-standard prefix.
12110 Alternatively, you may set the environment variables GNOME_CFLAGS
12111 and GNOME_LIBS to avoid the need to call pkg-config.
12112 See the pkg-config man page for more details.
12114 elif test $pkg_failed = untried
; then
12115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12117 as_fn_error
"The pkg-config script could not be found or is too old. Make sure it
12118 is in your PATH or set the PKG_CONFIG environment variable to the full
12119 path to pkg-config.
12121 Alternatively, you may set the environment variables GNOME_CFLAGS
12122 and GNOME_LIBS to avoid the need to call pkg-config.
12123 See the pkg-config man page for more details.
12125 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12126 See \`config.log' for more details." "$LINENO" 5; }
12128 GNOME_CFLAGS
=$pkg_cv_GNOME_CFLAGS
12129 GNOME_LIBS
=$pkg_cv_GNOME_LIBS
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12131 $as_echo "yes" >&6; }
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
12143 $as_echo_n "checking for DBUS... " >&6; }
12145 if test -n "$PKG_CONFIG"; then
12146 if test -n "$DBUS_CFLAGS"; then
12147 pkg_cv_DBUS_CFLAGS
="$DBUS_CFLAGS"
12149 if test -n "$PKG_CONFIG" && \
12150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\""; } >&5
12151 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED") 2>&5
12153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12154 test $ac_status = 0; }; then
12155 pkg_cv_DBUS_CFLAGS
=`$PKG_CONFIG --cflags "dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>/dev/null`
12163 if test -n "$PKG_CONFIG"; then
12164 if test -n "$DBUS_LIBS"; then
12165 pkg_cv_DBUS_LIBS
="$DBUS_LIBS"
12167 if test -n "$PKG_CONFIG" && \
12168 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_REQUIRED\""; } >&5
12169 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED") 2>&5
12171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12172 test $ac_status = 0; }; then
12173 pkg_cv_DBUS_LIBS
=`$PKG_CONFIG --libs "dbus-glib-1 >= $DBUS_GLIB_REQUIRED" 2>/dev/null`
12184 if test $pkg_failed = yes; then
12186 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12187 _pkg_short_errors_supported
=yes
12189 _pkg_short_errors_supported
=no
12191 if test $_pkg_short_errors_supported = yes; then
12192 DBUS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED"`
12194 DBUS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= $DBUS_GLIB_REQUIRED"`
12196 # Put the nasty error message in config.log where it belongs
12197 echo "$DBUS_PKG_ERRORS" >&5
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12200 $as_echo "no" >&6; }
12202 elif test $pkg_failed = untried
; then
12205 DBUS_CFLAGS
=$pkg_cv_DBUS_CFLAGS
12206 DBUS_LIBS
=$pkg_cv_DBUS_LIBS
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12208 $as_echo "yes" >&6; }
12214 if test "x$enable_dbus" = "xno"; then
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: DBUS support is disabled since dbus $DBUS_GLIB_REQUIRED or higher was not found" >&5
12216 $as_echo "$as_me: WARNING: DBUS support is disabled since dbus $DBUS_GLIB_REQUIRED or higher was not found" >&2;}
12219 if test "x$enable_dbus" = "xyes" ; then
12220 # Extract the first word of "dbus-binding-tool", so it can be a program name with args.
12221 set dummy dbus-binding-tool
; ac_word
=$2
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12223 $as_echo_n "checking for $ac_word... " >&6; }
12224 if test "${ac_cv_path_DBUS_BINDING_TOOL+set}" = set; then :
12225 $as_echo_n "(cached) " >&6
12227 case $DBUS_BINDING_TOOL in
12229 ac_cv_path_DBUS_BINDING_TOOL
="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
12232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12233 for as_dir
in $PATH
12236 test -z "$as_dir" && as_dir
=.
12237 for ac_exec_ext
in '' $ac_executable_extensions; do
12238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12239 ac_cv_path_DBUS_BINDING_TOOL
="$as_dir/$ac_word$ac_exec_ext"
12240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12247 test -z "$ac_cv_path_DBUS_BINDING_TOOL" && ac_cv_path_DBUS_BINDING_TOOL
="no"
12251 DBUS_BINDING_TOOL
=$ac_cv_path_DBUS_BINDING_TOOL
12252 if test -n "$DBUS_BINDING_TOOL"; then
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_BINDING_TOOL" >&5
12254 $as_echo "$DBUS_BINDING_TOOL" >&6; }
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12257 $as_echo "no" >&6; }
12262 if test x
$DBUS_BINDING_TOOL = "xno" ; then
12263 as_fn_error
"dbus-binding-tool executable not found in your path - should be installed with dbus glib bindings" "$LINENO" 5
12267 $as_echo "#define ENABLE_DBUS 1" >>confdefs.h
12270 DBUS_VERSION
=`$PKG_CONFIG --modversion dbus-glib-1 | sed 's/0\.\([0-9]*\)\.\{0,1\}\([0-9]*\)/\1/'`
12272 cat >>confdefs.h
<<_ACEOF
12273 #define DBUS_VERSION $DBUS_VERSION
12278 GETTEXT_PACKAGE
=gwget
12281 cat >>confdefs.h
<<_ACEOF
12282 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12285 ALL_LINGUAS
="ar bg ca cs da de dz el en_CA en_GB es eu fi fr hu it ja lt lv mk ne nl oc pa pl pt pt_BR ro ru rw sk sq sv tr uk vi zh_CN zh_HK zh_TW"
12287 for ac_header
in locale.h
12289 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12290 if test "x$ac_cv_header_locale_h" = x
""yes; then :
12291 cat >>confdefs.h
<<_ACEOF
12292 #define HAVE_LOCALE_H 1
12299 if test $ac_cv_header_locale_h = yes; then
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12301 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12302 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
12303 $as_echo_n "(cached) " >&6
12305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12306 /* end confdefs.h. */
12307 #include <locale.h>
12316 if ac_fn_c_try_link
"$LINENO"; then :
12317 am_cv_val_LC_MESSAGES
=yes
12319 am_cv_val_LC_MESSAGES
=no
12321 rm -f core conftest.err conftest.
$ac_objext \
12322 conftest
$ac_exeext conftest.
$ac_ext
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12325 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12326 if test $am_cv_val_LC_MESSAGES = yes; then
12328 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12335 gt_cv_have_gettext
=no
12341 ac_fn_c_check_header_mongrel
"$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12342 if test "x$ac_cv_header_libintl_h" = x
""yes; then :
12343 gt_cv_func_dgettext_libintl
="no"
12344 libintl_extra_libs
=""
12347 # First check in libc
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12350 $as_echo_n "checking for ngettext in libc... " >&6; }
12351 if test "${gt_cv_func_ngettext_libc+set}" = set; then :
12352 $as_echo_n "(cached) " >&6
12354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12355 /* end confdefs.h. */
12357 #include <libintl.h>
12362 return !ngettext ("","", 1)
12367 if ac_fn_c_try_link
"$LINENO"; then :
12368 gt_cv_func_ngettext_libc
=yes
12370 gt_cv_func_ngettext_libc
=no
12372 rm -f core conftest.err conftest.
$ac_objext \
12373 conftest
$ac_exeext conftest.
$ac_ext
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12377 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
12379 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12381 $as_echo_n "checking for dgettext in libc... " >&6; }
12382 if test "${gt_cv_func_dgettext_libc+set}" = set; then :
12383 $as_echo_n "(cached) " >&6
12385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12388 #include <libintl.h>
12393 return !dgettext ("","")
12398 if ac_fn_c_try_link
"$LINENO"; then :
12399 gt_cv_func_dgettext_libc
=yes
12401 gt_cv_func_dgettext_libc
=no
12403 rm -f core conftest.err conftest.
$ac_objext \
12404 conftest
$ac_exeext conftest.
$ac_ext
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12408 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
12411 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12412 for ac_func
in bind_textdomain_codeset
12414 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12415 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
12416 cat >>confdefs.h
<<_ACEOF
12417 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12426 # If we don't have everything we want, check in libintl
12428 if test "$gt_cv_func_dgettext_libc" != "yes" \
12429 ||
test "$gt_cv_func_ngettext_libc" != "yes" \
12430 ||
test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12433 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12434 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
12435 $as_echo_n "(cached) " >&6
12437 ac_check_lib_save_LIBS
=$LIBS
12438 LIBS
="-lintl $LIBS"
12439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12442 /* Override any GCC internal prototype to avoid an error.
12443 Use char because int might match the return type of a GCC
12444 builtin and then its argument prototype would still apply. */
12448 char bindtextdomain ();
12452 return bindtextdomain ();
12457 if ac_fn_c_try_link
"$LINENO"; then :
12458 ac_cv_lib_intl_bindtextdomain
=yes
12460 ac_cv_lib_intl_bindtextdomain
=no
12462 rm -f core conftest.err conftest.
$ac_objext \
12463 conftest
$ac_exeext conftest.
$ac_ext
12464 LIBS
=$ac_check_lib_save_LIBS
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12467 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12468 if test "x$ac_cv_lib_intl_bindtextdomain" = x
""yes; then :
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12470 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12471 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12472 $as_echo_n "(cached) " >&6
12474 ac_check_lib_save_LIBS
=$LIBS
12475 LIBS
="-lintl $LIBS"
12476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12479 /* Override any GCC internal prototype to avoid an error.
12480 Use char because int might match the return type of a GCC
12481 builtin and then its argument prototype would still apply. */
12489 return ngettext ();
12494 if ac_fn_c_try_link
"$LINENO"; then :
12495 ac_cv_lib_intl_ngettext
=yes
12497 ac_cv_lib_intl_ngettext
=no
12499 rm -f core conftest.err conftest.
$ac_objext \
12500 conftest
$ac_exeext conftest.
$ac_ext
12501 LIBS
=$ac_check_lib_save_LIBS
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12504 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12505 if test "x$ac_cv_lib_intl_ngettext" = x
""yes; then :
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12507 $as_echo_n "checking for dgettext in -lintl... " >&6; }
12508 if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
12509 $as_echo_n "(cached) " >&6
12511 ac_check_lib_save_LIBS
=$LIBS
12512 LIBS
="-lintl $LIBS"
12513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h. */
12516 /* Override any GCC internal prototype to avoid an error.
12517 Use char because int might match the return type of a GCC
12518 builtin and then its argument prototype would still apply. */
12526 return dgettext ();
12531 if ac_fn_c_try_link
"$LINENO"; then :
12532 ac_cv_lib_intl_dgettext
=yes
12534 ac_cv_lib_intl_dgettext
=no
12536 rm -f core conftest.err conftest.
$ac_objext \
12537 conftest
$ac_exeext conftest.
$ac_ext
12538 LIBS
=$ac_check_lib_save_LIBS
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12541 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12542 if test "x$ac_cv_lib_intl_dgettext" = x
""yes; then :
12543 gt_cv_func_dgettext_libintl
=yes
12551 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12553 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12557 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12558 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12559 $as_echo_n "(cached) " >&6
12561 ac_check_lib_save_LIBS
=$LIBS
12562 LIBS
="-lintl -liconv $LIBS"
12563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12564 /* end confdefs.h. */
12566 /* Override any GCC internal prototype to avoid an error.
12567 Use char because int might match the return type of a GCC
12568 builtin and then its argument prototype would still apply. */
12576 return ngettext ();
12581 if ac_fn_c_try_link
"$LINENO"; then :
12582 ac_cv_lib_intl_ngettext
=yes
12584 ac_cv_lib_intl_ngettext
=no
12586 rm -f core conftest.err conftest.
$ac_objext \
12587 conftest
$ac_exeext conftest.
$ac_ext
12588 LIBS
=$ac_check_lib_save_LIBS
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12591 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12592 if test "x$ac_cv_lib_intl_ngettext" = x
""yes; then :
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12594 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
12595 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
12596 $as_echo_n "(cached) " >&6
12598 ac_check_lib_save_LIBS
=$LIBS
12599 LIBS
="-lintl -liconv $LIBS"
12600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h. */
12603 /* Override any GCC internal prototype to avoid an error.
12604 Use char because int might match the return type of a GCC
12605 builtin and then its argument prototype would still apply. */
12613 return dcgettext ();
12618 if ac_fn_c_try_link
"$LINENO"; then :
12619 ac_cv_lib_intl_dcgettext
=yes
12621 ac_cv_lib_intl_dcgettext
=no
12623 rm -f core conftest.err conftest.
$ac_objext \
12624 conftest
$ac_exeext conftest.
$ac_ext
12625 LIBS
=$ac_check_lib_save_LIBS
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12628 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12629 if test "x$ac_cv_lib_intl_dcgettext" = x
""yes; then :
12630 gt_cv_func_dgettext_libintl
=yes
12631 libintl_extra_libs
=-liconv
12643 # If we found libintl, then check in it for bind_textdomain_codeset();
12644 # we'll prefer libc if neither have bind_textdomain_codeset(),
12645 # and both have dgettext and ngettext
12647 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12648 glib_save_LIBS
="$LIBS"
12649 LIBS
="$LIBS -lintl $libintl_extra_libs"
12650 unset ac_cv_func_bind_textdomain_codeset
12651 for ac_func
in bind_textdomain_codeset
12653 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12654 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
12655 cat >>confdefs.h
<<_ACEOF
12656 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12662 LIBS
="$glib_save_LIBS"
12664 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12665 gt_cv_func_dgettext_libc
=no
12667 if test "$gt_cv_func_dgettext_libc" = "yes" \
12668 && test "$gt_cv_func_ngettext_libc" = "yes"; then
12669 gt_cv_func_dgettext_libintl
=no
12675 if test "$gt_cv_func_dgettext_libc" = "yes" \
12676 ||
test "$gt_cv_func_dgettext_libintl" = "yes"; then
12677 gt_cv_have_gettext
=yes
12680 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12681 INTLLIBS
="-lintl $libintl_extra_libs"
12684 if test "$gt_cv_have_gettext" = "yes"; then
12686 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
12688 # Extract the first word of "msgfmt", so it can be a program name with args.
12689 set dummy msgfmt
; ac_word
=$2
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12691 $as_echo_n "checking for $ac_word... " >&6; }
12692 if test "${ac_cv_path_MSGFMT+set}" = set; then :
12693 $as_echo_n "(cached) " >&6
12697 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
12700 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
12701 for ac_dir
in $PATH; do
12702 test -z "$ac_dir" && ac_dir
=.
12703 if test -f $ac_dir/$ac_word; then
12704 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12705 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
12711 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
12715 MSGFMT
="$ac_cv_path_MSGFMT"
12716 if test "$MSGFMT" != "no"; then
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12718 $as_echo "$MSGFMT" >&6; }
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12721 $as_echo "no" >&6; }
12723 if test "$MSGFMT" != "no"; then
12724 glib_save_LIBS
="$LIBS"
12725 LIBS
="$LIBS $INTLLIBS"
12726 for ac_func
in dcgettext
12728 ac_fn_c_check_func
"$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12729 if test "x$ac_cv_func_dcgettext" = x
""yes; then :
12730 cat >>confdefs.h
<<_ACEOF
12731 #define HAVE_DCGETTEXT 1
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
12739 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
12740 cat >conftest.foo
<<_ACEOF
12744 "Content-Type: text/plain; charset=UTF-8\n"
12745 "Project-Id-Version: test 1.0\n"
12746 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
12747 "Last-Translator: test <foo@bar.xx>\n"
12748 "Language-Team: C <LL@li.org>\n"
12749 "MIME-Version: 1.0\n"
12750 "Content-Transfer-Encoding: 8bit\n"
12753 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
12754 ($MSGFMT -c -o /dev
/null conftest.foo
) 2>&5
12756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12757 test $ac_status = 0; }; then
12758 MSGFMT_OPTS
=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12759 $as_echo "yes" >&6; }
12760 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761 $as_echo "no" >&6; }
12762 echo "$as_me: failed input was:" >&5
12763 sed 's/^/| /' conftest.foo
>&5
12766 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12767 set dummy gmsgfmt
; ac_word
=$2
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12769 $as_echo_n "checking for $ac_word... " >&6; }
12770 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12771 $as_echo_n "(cached) " >&6
12775 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
12778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12779 for as_dir
in $PATH
12782 test -z "$as_dir" && as_dir
=.
12783 for ac_exec_ext
in '' $ac_executable_extensions; do
12784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12785 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
12786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12793 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
12797 GMSGFMT
=$ac_cv_path_GMSGFMT
12798 if test -n "$GMSGFMT"; then
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12800 $as_echo "$GMSGFMT" >&6; }
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12803 $as_echo "no" >&6; }
12807 # Extract the first word of "xgettext", so it can be a program name with args.
12808 set dummy xgettext
; ac_word
=$2
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12810 $as_echo_n "checking for $ac_word... " >&6; }
12811 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12812 $as_echo_n "(cached) " >&6
12814 case "$XGETTEXT" in
12816 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12819 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
12820 for ac_dir
in $PATH; do
12821 test -z "$ac_dir" && ac_dir
=.
12822 if test -f $ac_dir/$ac_word; then
12823 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
12824 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
12830 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12834 XGETTEXT
="$ac_cv_path_XGETTEXT"
12835 if test "$XGETTEXT" != ":"; then
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12837 $as_echo "$XGETTEXT" >&6; }
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12840 $as_echo "no" >&6; }
12843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12844 /* end confdefs.h. */
12849 extern int _nl_msg_cat_cntr;
12850 return _nl_msg_cat_cntr
12855 if ac_fn_c_try_link
"$LINENO"; then :
12861 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12862 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
12877 rm -f core conftest.err conftest.
$ac_objext \
12878 conftest
$ac_exeext conftest.
$ac_ext
12879 LIBS
="$glib_save_LIBS"
12882 gt_cv_have_gettext
=no
12890 if test "$gt_cv_have_gettext" = "yes" ; then
12892 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
12896 if test "$XGETTEXT" != ":"; then
12897 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12901 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12906 # We need to process the po/ directory.
12909 ac_config_commands
="$ac_config_commands default-1"
12912 for lang
in $ALL_LINGUAS; do
12913 GMOFILES
="$GMOFILES $lang.gmo"
12914 POFILES
="$POFILES $lang.po"
12929 if test "$gt_cv_have_gettext" = "yes"; then
12930 if test "x$ALL_LINGUAS" = "x"; then
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12934 $as_echo_n "checking for catalogs to be installed... " >&6; }
12936 for presentlang
in $ALL_LINGUAS; do
12938 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12939 desiredlanguages
="$LINGUAS"
12941 desiredlanguages
="$ALL_LINGUAS"
12943 for desiredlang
in $desiredlanguages; do
12944 # Use the presentlang catalog if desiredlang is
12945 # a. equal to presentlang, or
12946 # b. a variant of presentlang (because in this case,
12947 # presentlang can be used as a fallback for messages
12948 # which are not translated in the desiredlang catalog).
12949 case "$desiredlang" in
12950 "$presentlang"*) useit
=yes;;
12953 if test $useit = yes; then
12954 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
12957 LINGUAS
=$NEW_LINGUAS
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12959 $as_echo "$LINGUAS" >&6; }
12962 if test -n "$LINGUAS"; then
12963 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
12968 if test -n "$ac_aux_dir"; then
12969 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
12971 if test -z "$MKINSTALLDIRS"; then
12972 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
12976 test -d po || mkdir po
12977 if test "x$srcdir" != "x."; then
12978 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12979 posrcprefix
="$srcdir/"
12981 posrcprefix
="../$srcdir/"
12987 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12988 < $srcdir/po
/POTFILES.
in > po
/POTFILES
12991 GWGET_CFLAGS
="$DBUS_CFLAGS"
12992 GWGET_LIBS
="$DBUS_LIBS -lz"
13000 if test "x${prefix}" = "xNONE"; then
13002 cat >>confdefs.h
<<_ACEOF
13003 #define GNOME_ICONDIR "${ac_default_prefix}/share/pixmaps"
13008 cat >>confdefs.h
<<_ACEOF
13009 #define GNOME_ICONDIR "${prefix}/share/pixmaps"
13014 if test "x${prefix}" = "xNONE"; then
13016 cat >>confdefs.h
<<_ACEOF
13017 #define PIXMAPS_DIR "${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
13020 pixmapsdir
="${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
13023 cat >>confdefs.h
<<_ACEOF
13024 #define PIXMAPS_DIR "${prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
13027 pixmapsdir
="${prefix}/${DATADIRNAME}/${PACKAGE}/pixmaps"
13032 # Check whether --enable-epiphany-extension was given.
13033 if test "${enable_epiphany_extension+set}" = set; then :
13034 enableval
=$enable_epiphany_extension; enable_epiphany_extension
=$enableval
13036 enable_epiphany_extension
=yes
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which epiphany to use" >&5
13043 $as_echo_n "checking which epiphany to use... " >&6; }
13047 # Check whether --with-epiphany-version was given.
13048 if test "${with_epiphany_version+set}" = set; then :
13049 withval
=$with_epiphany_version; EPHY_VER
="$withval"
13053 EPHY_AUTODETECT
="(autodetect)"
13054 if pkg-config
--exists epiphany-2.28
; then
13056 elif pkg-config
--exists epiphany-2.27
; then
13058 elif pkg-config
--exists epiphany-2.26
; then
13060 elif pkg-config
--exists epiphany-2.25
; then
13062 elif pkg-config
--exists epiphany-2.24
; then
13064 elif pkg-config
--exists epiphany-2.23
; then
13066 elif pkg-config
--exists epiphany-2.22
; then
13068 elif pkg-config
--exists epiphany-2.21
; then
13070 elif pkg-config
--exists epiphany-2.20
; then
13072 elif pkg-config
--exists epiphany-2.19
; then
13074 elif pkg-config
--exists epiphany-2.18
; then
13076 elif pkg-config
--exists epiphany-2.17
; then
13078 elif pkg-config
--exists epiphany-2.16
; then
13080 elif pkg-config
--exists epiphany-2.15
; then
13082 elif pkg-config
--exists epiphany-2.14
; then
13084 elif pkg-config
--exists epiphany-1.10
; then
13086 elif pkg-config
--exists epiphany-1.8
; then
13088 elif pkg-config
--exists epiphany-1.6
; then
13090 elif pkg-config
--exists epiphany-1.4
; then
13092 elif pkg-config
--exists epiphany-1.2
; then
13098 EPIPHANY_PKGCONFIG
=
13101 if test "x$EPHY_VER" = "x1.2"; then
13102 EPIPHANY_PKGCONFIG
=epiphany-1.2
13103 EPIPHANY_REQUIRED
=1.2.0
13104 EPIPHANY_SHORTVER
=12
13105 elif test "x$EPHY_VER" = "x1.4"; then
13106 EPIPHANY_PKGCONFIG
=epiphany-1.4
13107 EPIPHANY_REQUIRED
=1.4.0
13108 EPIPHANY_SHORTVER
=14
13109 elif test "x$EPHY_VER" = "x1.6"; then
13110 EPIPHANY_PKGCONFIG
=epiphany-1.6
13111 EPIPHANY_REQUIRED
=1.6.0
13112 EPIPHANY_SHORTVER
=16
13113 elif test "x$EPHY_VER" = "x1.8"; then
13114 EPIPHANY_PKGCONFIG
=epiphany-1.8
13115 EPIPHANY_REQUIRED
=1.7.0
13116 EPIPHANY_SHORTVER
=18
13117 elif test "x$EPHY_VER" = "x1.10"; then
13118 EPIPHANY_PKGCONFIG
=epiphany-1.10
13119 EPIPHANY_REQUIRED
=1.9.0
13120 EPIPHANY_SHORTVER
=110
13121 elif test "x$EPHY_VER" = "x2.14"; then
13122 EPIPHANY_PKGCONFIG
=epiphany-2.14
13123 EPIPHANY_REQUIRED
=2.14
13124 EPIPHANY_SHORTVER
=214
13125 elif test "x$EPHY_VER" = "x2.15"; then
13126 EPIPHANY_PKGCONFIG
=epiphany-2.15
13127 EPIPHANY_REQUIRED
=2.15
13128 EPIPHANY_SHORTVER
=215
13129 elif test "x$EPHY_VER" = "x2.16"; then
13130 EPIPHANY_PKGCONFIG
=epiphany-2.16
13131 EPIPHANY_REQUIRED
=2.16
13132 EPIPHANY_SHORTVER
=216
13133 elif test "x$EPHY_VER" = "x2.17"; then
13134 EPIPHANY_PKGCONFIG
=epiphany-2.17
13135 EPIPHANY_REQUIRED
=2.17
13136 EPIPHANY_SHORTVER
=217
13137 elif test "x$EPHY_VER" = "x2.18"; then
13138 EPIPHANY_PKGCONFIG
=epiphany-2.18
13139 EPIPHANY_REQUIRED
=2.18
13140 EPIPHANY_SHORTVER
=218
13141 elif test "x$EPHY_VER" = "x2.19"; then
13142 EPIPHANY_PKGCONFIG
=epiphany-2.19
13143 EPIPHANY_REQUIRED
=2.19
13144 EPIPHANY_SHORTVER
=219
13145 elif test "x$EPHY_VER" = "x2.20"; then
13146 EPIPHANY_PKGCONFIG
=epiphany-2.20
13147 EPIPHANY_REQUIRED
=2.20
13148 EPIPHANY_SHORTVER
=220
13149 elif test "x$EPHY_VER" = "x2.21"; then
13150 EPIPHANY_PKGCONFIG
=epiphany-2.21
13151 EPIPHANY_REQUIRED
=2.21
13152 EPIPHANY_SHORTVER
=221
13153 elif test "x$EPHY_VER" = "x2.22"; then
13154 EPIPHANY_PKGCONFIG
=epiphany-2.22
13155 EPIPHANY_REQUIRED
=2.22
13156 EPIPHANY_SHORTVER
=222
13157 elif test "x$EPHY_VER" = "x2.23"; then
13158 EPIPHANY_PKGCONFIG
=epiphany-2.23
13159 EPIPHANY_REQUIRED
=2.23
13160 EPIPHANY_SHORTVER
=223
13161 elif test "x$EPHY_VER" = "x2.24"; then
13162 EPIPHANY_PKGCONFIG
=epiphany-2.24
13163 EPIPHANY_REQUIRED
=2.24
13164 EPIPHANY_SHORTVER
=224
13165 elif test "x$EPHY_VER" = "x2.25"; then
13166 EPIPHANY_PKGCONFIG
=epiphany-2.25
13167 EPIPHANY_REQUIRED
=2.25
13168 EPIPHANY_SHORTVER
=225
13169 elif test "x$EPHY_VER" = "x2.26"; then
13170 EPIPHANY_PKGCONFIG
=epiphany-2.26
13171 EPIPHANY_REQUIRED
=2.26
13172 EPIPHANY_SHORTVER
=226
13173 elif test "x$EPHY_VER" = "x2.27"; then
13174 EPIPHANY_PKGCONFIG
=epiphany-2.27
13175 EPIPHANY_REQUIRED
=2.27
13176 EPIPHANY_SHORTVER
=227
13177 elif test "x$EPHY_VER" = "x2.28"; then
13178 EPIPHANY_PKGCONFIG
=epiphany-2.28
13179 EPIPHANY_REQUIRED
=2.28
13180 EPIPHANY_SHORTVER
=228
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no epiphany installed" >&5
13183 $as_echo "no epiphany installed" >&6; }
13186 if test -n "$EPIPHANY_SHORTVER" ; then
13188 cat >>confdefs.h
<<_ACEOF
13189 #define EPHY_VERSION $EPIPHANY_SHORTVER
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EPHY_VER $EPHY_AUTODETECT" >&5
13193 $as_echo "$EPHY_VER $EPHY_AUTODETECT" >&6; }
13195 LIBGLIB_REQUIRED
=2.4.0
13196 LIBGTK_REQUIRED
=2.4.0
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPIPHANY_DEPENDENCY" >&5
13205 $as_echo_n "checking for EPIPHANY_DEPENDENCY... " >&6; }
13207 if test -n "$PKG_CONFIG"; then
13208 if test -n "$EPIPHANY_DEPENDENCY_CFLAGS"; then
13209 pkg_cv_EPIPHANY_DEPENDENCY_CFLAGS
="$EPIPHANY_DEPENDENCY_CFLAGS"
13211 if test -n "$PKG_CONFIG" && \
13212 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13213 glib-2.0 >= \$LIBGLIB_REQUIRED \\
13215 gtk+-2.0 >= \$LIBGTK_REQUIRED \\
13216 \$EPIPHANY_PKGCONFIG >= \$EPIPHANY_REQUIRED \\
13218 ($PKG_CONFIG --exists --print-errors "\
13219 glib-2.0 >= $LIBGLIB_REQUIRED \
13221 gtk+-2.0 >= $LIBGTK_REQUIRED \
13222 $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13226 test $ac_status = 0; }; then
13227 pkg_cv_EPIPHANY_DEPENDENCY_CFLAGS
=`$PKG_CONFIG --cflags "\
13228 glib-2.0 >= $LIBGLIB_REQUIRED \
13230 gtk+-2.0 >= $LIBGTK_REQUIRED \
13231 $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13240 if test -n "$PKG_CONFIG"; then
13241 if test -n "$EPIPHANY_DEPENDENCY_LIBS"; then
13242 pkg_cv_EPIPHANY_DEPENDENCY_LIBS
="$EPIPHANY_DEPENDENCY_LIBS"
13244 if test -n "$PKG_CONFIG" && \
13245 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13246 glib-2.0 >= \$LIBGLIB_REQUIRED \\
13248 gtk+-2.0 >= \$LIBGTK_REQUIRED \\
13249 \$EPIPHANY_PKGCONFIG >= \$EPIPHANY_REQUIRED \\
13251 ($PKG_CONFIG --exists --print-errors "\
13252 glib-2.0 >= $LIBGLIB_REQUIRED \
13254 gtk+-2.0 >= $LIBGTK_REQUIRED \
13255 $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13259 test $ac_status = 0; }; then
13260 pkg_cv_EPIPHANY_DEPENDENCY_LIBS
=`$PKG_CONFIG --libs "\
13261 glib-2.0 >= $LIBGLIB_REQUIRED \
13263 gtk+-2.0 >= $LIBGTK_REQUIRED \
13264 $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13276 if test $pkg_failed = yes; then
13278 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13279 _pkg_short_errors_supported
=yes
13281 _pkg_short_errors_supported
=no
13283 if test $_pkg_short_errors_supported = yes; then
13284 EPIPHANY_DEPENDENCY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "\
13285 glib-2.0 >= $LIBGLIB_REQUIRED \
13287 gtk+-2.0 >= $LIBGTK_REQUIRED \
13288 $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13291 EPIPHANY_DEPENDENCY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "\
13292 glib-2.0 >= $LIBGLIB_REQUIRED \
13294 gtk+-2.0 >= $LIBGTK_REQUIRED \
13295 $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13298 # Put the nasty error message in config.log where it belongs
13299 echo "$EPIPHANY_DEPENDENCY_PKG_ERRORS" >&5
13301 as_fn_error
"Package requirements (\
13302 glib-2.0 >= $LIBGLIB_REQUIRED \
13304 gtk+-2.0 >= $LIBGTK_REQUIRED \
13305 $EPIPHANY_PKGCONFIG >= $EPIPHANY_REQUIRED \
13308 $EPIPHANY_DEPENDENCY_PKG_ERRORS
13310 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13311 installed software in a non-standard prefix.
13313 Alternatively, you may set the environment variables EPIPHANY_DEPENDENCY_CFLAGS
13314 and EPIPHANY_DEPENDENCY_LIBS to avoid the need to call pkg-config.
13315 See the pkg-config man page for more details.
13317 elif test $pkg_failed = untried
; then
13318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13320 as_fn_error
"The pkg-config script could not be found or is too old. Make sure it
13321 is in your PATH or set the PKG_CONFIG environment variable to the full
13322 path to pkg-config.
13324 Alternatively, you may set the environment variables EPIPHANY_DEPENDENCY_CFLAGS
13325 and EPIPHANY_DEPENDENCY_LIBS to avoid the need to call pkg-config.
13326 See the pkg-config man page for more details.
13328 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13329 See \`config.log' for more details." "$LINENO" 5; }
13331 EPIPHANY_DEPENDENCY_CFLAGS
=$pkg_cv_EPIPHANY_DEPENDENCY_CFLAGS
13332 EPIPHANY_DEPENDENCY_LIBS
=$pkg_cv_EPIPHANY_DEPENDENCY_LIBS
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13334 $as_echo "yes" >&6; }
13340 if test "x$EPHY_VER" = "x1.2"; then
13341 EPIPHANY_EXTENSIONS_DIR
="`$PKG_CONFIG --variable=libdir epiphany-1.2`/epiphany/extensions"
13343 EPIPHANY_EXTENSIONS_DIR
="`$PKG_CONFIG --variable=extensionsdir epiphany-$EPHY_VER`"
13348 enable_epiphany_extension
=no
13350 if test "x$enable_epiphany_extension" = "xyes"; then
13351 ENABLE_EPIPHANY_EXTENSION_TRUE
=
13352 ENABLE_EPIPHANY_EXTENSION_FALSE
='#'
13354 ENABLE_EPIPHANY_EXTENSION_TRUE
='#'
13355 ENABLE_EPIPHANY_EXTENSION_FALSE
=
13361 # Check for libnotify
13363 LIBNOTIFY_REQUIRED
=0.2.2
13364 # Check whether --enable-libnotify was given.
13365 if test "${enable_libnotify+set}" = set; then :
13366 enableval
=$enable_libnotify;
13368 enable_libnotify
=auto
13371 if test "x$enable_libnotify" != "xno"; then
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFY" >&5
13375 $as_echo_n "checking for NOTIFY... " >&6; }
13377 if test -n "$PKG_CONFIG"; then
13378 if test -n "$NOTIFY_CFLAGS"; then
13379 pkg_cv_NOTIFY_CFLAGS
="$NOTIFY_CFLAGS"
13381 if test -n "$PKG_CONFIG" && \
13382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13383 libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5
13384 ($PKG_CONFIG --exists --print-errors "\
13385 libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
13387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13388 test $ac_status = 0; }; then
13389 pkg_cv_NOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "\
13390 libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
13398 if test -n "$PKG_CONFIG"; then
13399 if test -n "$NOTIFY_LIBS"; then
13400 pkg_cv_NOTIFY_LIBS
="$NOTIFY_LIBS"
13402 if test -n "$PKG_CONFIG" && \
13403 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13404 libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5
13405 ($PKG_CONFIG --exists --print-errors "\
13406 libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
13408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13409 test $ac_status = 0; }; then
13410 pkg_cv_NOTIFY_LIBS
=`$PKG_CONFIG --libs "\
13411 libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
13422 if test $pkg_failed = yes; then
13424 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13425 _pkg_short_errors_supported
=yes
13427 _pkg_short_errors_supported
=no
13429 if test $_pkg_short_errors_supported = yes; then
13430 NOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "\
13431 libnotify >= $LIBNOTIFY_REQUIRED"`
13433 NOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "\
13434 libnotify >= $LIBNOTIFY_REQUIRED"`
13436 # Put the nasty error message in config.log where it belongs
13437 echo "$NOTIFY_PKG_ERRORS" >&5
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13440 $as_echo "no" >&6; }
13442 elif test $pkg_failed = untried
; then
13445 NOTIFY_CFLAGS
=$pkg_cv_NOTIFY_CFLAGS
13446 NOTIFY_LIBS
=$pkg_cv_NOTIFY_LIBS
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13448 $as_echo "yes" >&6; }
13451 if test "x$have_libnotify" = "xno" -a "x$enable_libnotify" = "xyes"; then
13452 as_fn_error
"libnotify support explicitly requested, but libnotify couldn't be found" "$LINENO" 5
13454 if test "x$have_libnotify" = "xyes"; then
13455 enable_libnotify
=yes
13458 if test x
"$enable_libnotify" = xyes
; then
13460 USE_NOTIFY_FALSE
='#'
13462 USE_NOTIFY_TRUE
='#'
13466 if test x
$enable_libnotify = xyes
; then
13467 # Find out the version of LIBNOTIFY we're using
13468 libnotify_version
=`pkg-config --modversion libnotify`
13469 LIBNOTIFY_VERSION_MAJOR
=`echo $libnotify_version | awk -F. '{print $1}'`
13470 LIBNOTIFY_VERSION_MINOR
=`echo $libnotify_version | awk -F. '{print $2}'`
13471 LIBNOTIFY_VERSION_MICRO
=`echo $libnotify_version | awk -F. '{print $3}'`
13472 if test "z$LIBNOTIFY_VERSION_MAJOR" = "z"; then
13473 LIBNOTIFY_VERSION_MAJOR
="0"
13475 if test "z$LIBNOTIFY_VERSION_MINOR" = "z"; then
13476 LIBNOTIFY_VERSION_MINOR
="0"
13478 if test "z$LIBNOTIFY_VERSION_MICRO" = "z"; then
13479 LIBNOTIFY_VERSION_MICRO
="0"
13481 echo "Your libnotify version is $LIBNOTIFY_VERSION_MAJOR,$LIBNOTIFY_VERSION_MINOR,$LIBNOTIFY_VERSION_MICRO."
13482 NOTIFY_CFLAGS
="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MAJOR=$LIBNOTIFY_VERSION_MAJOR"
13483 NOTIFY_CFLAGS
="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MINOR=$LIBNOTIFY_VERSION_MINOR"
13484 NOTIFY_CFLAGS
="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MICRO=$LIBNOTIFY_VERSION_MICRO"
13487 $as_echo "#define HAVE_NOTIFY 1" >>confdefs.h
13495 if test "x$enable_dbus" = "xyes"; then
13497 ENABLE_DBUS_FALSE
='#'
13499 ENABLE_DBUS_TRUE
='#'
13503 if test "x$DBUS_VERSION" = "x33"; then
13504 DBUS_TOOL_NO_PREFIX_TRUE
=
13505 DBUS_TOOL_NO_PREFIX_FALSE
='#'
13507 DBUS_TOOL_NO_PREFIX_TRUE
='#'
13508 DBUS_TOOL_NO_PREFIX_FALSE
=
13513 # Check whether --with-extension-prefix was given.
13514 if test "${with_extension_prefix+set}" = set; then :
13515 withval
=$with_extension_prefix; extension_prefix
=$withval
13521 EXTENSION_PREFIX
="$extension_prefix"
13524 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
13525 set dummy glib-genmarshal
; ac_word
=$2
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13527 $as_echo_n "checking for $ac_word... " >&6; }
13528 if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
13529 $as_echo_n "(cached) " >&6
13531 case $GLIB_GENMARSHAL in
13533 ac_cv_path_GLIB_GENMARSHAL
="$GLIB_GENMARSHAL" # Let the user override the test with a path.
13536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13537 for as_dir
in $PATH
13540 test -z "$as_dir" && as_dir
=.
13541 for ac_exec_ext
in '' $ac_executable_extensions; do
13542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13543 ac_cv_path_GLIB_GENMARSHAL
="$as_dir/$ac_word$ac_exec_ext"
13544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13554 GLIB_GENMARSHAL
=$ac_cv_path_GLIB_GENMARSHAL
13555 if test -n "$GLIB_GENMARSHAL"; then
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
13557 $as_echo "$GLIB_GENMARSHAL" >&6; }
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13560 $as_echo "no" >&6; }
13565 ORBIT_IDL
="`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`"
13568 ac_config_files
="$ac_config_files Makefile po/Makefile.in src/Makefile pixmaps/Makefile data/Makefile epiphany-extension/Makefile"
13570 cat >confcache
<<\_ACEOF
13571 # This file is a shell script that caches the results of configure
13572 # tests run on this system so they can be shared between configure
13573 # scripts and configure runs, see configure's option --config-cache.
13574 # It is not useful on other systems. If it contains results you don't
13575 # want to keep, you may remove or edit it.
13577 # config.status only pays attention to the cache file if you give it
13578 # the --recheck option to rerun configure.
13580 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13581 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13582 # following values.
13586 # The following way of writing the cache mishandles newlines in values,
13587 # but we know of no workaround that is simple, portable, and efficient.
13588 # So, we kill variables containing newlines.
13589 # Ultrix sh set writes to stderr and can't be redirected directly,
13590 # and sets the high bit in the cache file unless we assign to the vars.
13592 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13593 eval ac_val
=\$
$ac_var
13597 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13598 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13601 _ | IFS | as_nl
) ;; #(
13602 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13603 *) { eval $ac_var=; unset $ac_var;} ;;
13609 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13610 *${as_nl}ac_space
=\
*)
13611 # `set' does not quote correctly, so add quotes: double-quote
13612 # substitution turns \\\\ into \\, and sed turns \\ into \.
13615 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13618 # `set' quotes correctly as required by POSIX, so do not add quotes.
13619 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13628 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13630 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13632 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13633 if test -w "$cache_file"; then
13634 test "x$cache_file" != "x/dev/null" &&
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13636 $as_echo "$as_me: updating cache $cache_file" >&6;}
13637 cat confcache
>$cache_file
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13640 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13645 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13646 # Let make expand exec_prefix.
13647 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13649 DEFS
=-DHAVE_CONFIG_H
13653 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13654 # 1. Remove the extension, and $U if already installed.
13655 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13656 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13657 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13658 # will be set to the directory where LIBOBJS objects are built.
13659 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13660 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13662 LIBOBJS
=$ac_libobjs
13664 LTLIBOBJS
=$ac_ltlibobjs
13667 if test -n "$EXEEXT"; then
13669 am__EXEEXT_FALSE
='#'
13671 am__EXEEXT_TRUE
='#'
13675 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13676 as_fn_error
"conditional \"AMDEP\" was never defined.
13677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13679 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13680 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13684 ac_config_commands
="$ac_config_commands po/stamp-it"
13687 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13688 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13691 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
13692 as_fn_error
"conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
13693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13695 if test -z "${ENABLE_EPIPHANY_EXTENSION_TRUE}" && test -z "${ENABLE_EPIPHANY_EXTENSION_FALSE}"; then
13696 as_fn_error
"conditional \"ENABLE_EPIPHANY_EXTENSION\" was never defined.
13697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13699 if test -z "${USE_NOTIFY_TRUE}" && test -z "${USE_NOTIFY_FALSE}"; then
13700 as_fn_error
"conditional \"USE_NOTIFY\" was never defined.
13701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13703 if test -z "${ENABLE_DBUS_TRUE}" && test -z "${ENABLE_DBUS_FALSE}"; then
13704 as_fn_error
"conditional \"ENABLE_DBUS\" was never defined.
13705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13707 if test -z "${DBUS_TOOL_NO_PREFIX_TRUE}" && test -z "${DBUS_TOOL_NO_PREFIX_FALSE}"; then
13708 as_fn_error
"conditional \"DBUS_TOOL_NO_PREFIX\" was never defined.
13709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13712 : ${CONFIG_STATUS=./config.status}
13714 ac_clean_files_save
=$ac_clean_files
13715 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13717 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13719 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13721 # Generated by $as_me.
13722 # Run this file to recreate the current configuration.
13723 # Compiler output produced by configure, useful for debugging
13724 # configure, is in config.log if it exists.
13727 ac_cs_recheck=false
13730 SHELL=\${CONFIG_SHELL-$SHELL}
13733 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13734 ## -------------------- ##
13735 ## M4sh Initialization. ##
13736 ## -------------------- ##
13738 # Be more Bourne compatible
13739 DUALCASE
=1; export DUALCASE
# for MKS sh
13740 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13743 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13744 # is contrary to our usage. Disable this feature.
13745 alias -g '${1+"$@"}'='"$@"'
13746 setopt NO_GLOB_SUBST
13748 case `(set -o) 2>/dev/null` in #(
13760 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13761 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13762 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13763 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13764 # Prefer a ksh shell builtin over an external printf program on Solaris,
13765 # but without wasting forks for bash or zsh.
13766 if test -z "$BASH_VERSION$ZSH_VERSION" \
13767 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13768 as_echo='print
-r --'
13769 as_echo_n='print
-rn --'
13770 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13771 as_echo='printf %s
\n'
13772 as_echo_n='printf %s
'
13774 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13775 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13776 as_echo_n='/usr
/ucb
/echo -n'
13778 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13779 as_echo_n_body='eval
13783 expr "X$arg" : "X\\(.*\\)$as_nl";
13784 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13786 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13788 export as_echo_n_body
13789 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13791 export as_echo_body
13792 as_echo='sh
-c $as_echo_body as_echo
'
13795 # The user is always right.
13796 if test "${PATH_SEPARATOR+set}" != set; then
13798 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13799 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13806 # We need space, tab and new line, in precisely that order. Quoting is
13807 # there to prevent editors from complaining about space-tab.
13808 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13809 # splitting by setting IFS to empty value.)
13812 # Find who we are. Look in the path if we contain no directory separator.
13814 *[\\/]* ) as_myself=$0 ;;
13815 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13816 for as_dir in $PATH
13819 test -z "$as_dir" && as_dir=.
13820 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13826 # We did not find ourselves, most probably we were run as `sh COMMAND'
13827 # in which case we are not to be found in the path.
13828 if test "x$as_myself" = x
; then
13831 if test ! -f "$as_myself"; then
13832 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13836 # Unset variables that we do not need and which cause bugs (e.g. in
13837 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13838 # suppresses any "Segmentation fault" message there. '((' could
13839 # trigger a bug in pdksh 5.2.14.
13840 for as_var
in BASH_ENV ENV MAIL MAILPATH
13841 do eval test x\
${$as_var+set} = xset \
13842 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13855 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13858 # as_fn_error ERROR [LINENO LOG_FD]
13859 # ---------------------------------
13860 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13861 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13862 # script with status $?, using 1 if that was 0.
13865 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13867 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13868 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13870 $as_echo "$as_me: error: $1" >&2
13871 as_fn_exit
$as_status
13875 # as_fn_set_status STATUS
13876 # -----------------------
13877 # Set $? to STATUS, without forking.
13878 as_fn_set_status
()
13881 } # as_fn_set_status
13883 # as_fn_exit STATUS
13884 # -----------------
13885 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13889 as_fn_set_status
$1
13895 # Portably unset VAR.
13898 { eval $1=; unset $1;}
13900 as_unset
=as_fn_unset
13901 # as_fn_append VAR VALUE
13902 # ----------------------
13903 # Append the text in VALUE to the end of the definition contained in VAR. Take
13904 # advantage of any shell optimizations that allow amortized linear growth over
13905 # repeated appends, instead of the typical quadratic growth present in naive
13907 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13908 eval 'as_fn_append ()
13919 # as_fn_arith ARG...
13920 # ------------------
13921 # Perform arithmetic evaluation on the ARGs, and store the result in the
13922 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13923 # must be portable across $(()) and expr.
13924 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13925 eval 'as_fn_arith ()
13932 as_val
=`expr "$@" || test $? -eq 1`
13937 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13938 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13944 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13945 as_basename
=basename
13950 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13956 as_me
=`$as_basename -- "$0" ||
13957 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13958 X"$0" : 'X\(//\)$' \| \
13959 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13961 sed '/^.*\/\([^/][^/]*\)\/*$/{
13975 # Avoid depending upon Character Ranges.
13976 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13977 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13978 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13979 as_cr_digits
='0123456789'
13980 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13982 ECHO_C
= ECHO_N
= ECHO_T
=
13983 case `echo -n x` in #(((((
13985 case `echo 'xy\c'` in
13986 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13988 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13995 rm -f conf$$ conf$$.exe conf$$.
file
13996 if test -d conf$$.dir
; then
13997 rm -f conf$$.dir
/conf$$.
file
14000 mkdir conf$$.dir
2>/dev
/null
14002 if (echo >conf$$.
file) 2>/dev
/null
; then
14003 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14005 # ... but there are two gotchas:
14006 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14007 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14008 # In both cases, we have to default to `cp -p'.
14009 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14011 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14019 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14020 rmdir conf$$.dir
2>/dev
/null
14025 # Create "$as_dir" as a directory, including parents if necessary.
14030 -*) as_dir
=.
/$as_dir;;
14032 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14036 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14037 *) as_qdir
=$as_dir;;
14039 as_dirs
="'$as_qdir' $as_dirs"
14040 as_dir
=`$as_dirname -- "$as_dir" ||
14041 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14042 X"$as_dir" : 'X\(//\)[^/]' \| \
14043 X"$as_dir" : 'X\(//\)$' \| \
14044 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14045 $as_echo X"$as_dir" |
14046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14050 /^X\(\/\/\)[^/].*/{
14063 test -d "$as_dir" && break
14065 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14066 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14070 if mkdir
-p .
2>/dev
/null
; then
14071 as_mkdir_p
='mkdir -p "$as_dir"'
14073 test -d .
/-p && rmdir .
/-p
14077 if test -x / >/dev
/null
2>&1; then
14078 as_test_x
='test -x'
14080 if ls -dL / >/dev
/null
2>&1; then
14087 if test -d "$1"; then
14093 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14094 ???[sx]*):;;*)false;;esac;fi
14098 as_executable_p
=$as_test_x
14100 # Sed expression to map a string onto a valid CPP name.
14101 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14103 # Sed expression to map a string onto a valid variable name.
14104 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14108 ## ----------------------------------- ##
14109 ## Main body of $CONFIG_STATUS script. ##
14110 ## ----------------------------------- ##
14112 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14115 # Save the log message, to keep $0 and so on meaningful, and to
14116 # report actual input values of CONFIG_FILES etc. instead of their
14117 # values after options handling.
14119 This file was extended by $as_me, which was
14120 generated by GNU Autoconf 2.65. Invocation command line was
14122 CONFIG_FILES = $CONFIG_FILES
14123 CONFIG_HEADERS = $CONFIG_HEADERS
14124 CONFIG_LINKS = $CONFIG_LINKS
14125 CONFIG_COMMANDS = $CONFIG_COMMANDS
14128 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14133 case $ac_config_files in *"
14134 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14137 case $ac_config_headers in *"
14138 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14143 # Files that config.status was made for.
14144 config_files="$ac_config_files"
14145 config_headers="$ac_config_headers"
14146 config_commands="$ac_config_commands"
14150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14152 \`$as_me' instantiates files and other configuration actions
14153 from templates according to the current configuration. Unless the files
14154 and actions are specified as TAGs, all are instantiated by default.
14156 Usage: $0 [OPTION]... [TAG]...
14158 -h, --help print this help, then exit
14159 -V, --version print version number and configuration settings, then exit
14160 --config print configuration, then exit
14161 -q, --quiet, --silent
14162 do not print progress messages
14163 -d, --debug don't remove temporary files
14164 --recheck update $as_me by reconfiguring in the same conditions
14165 --file=FILE[:TEMPLATE]
14166 instantiate the configuration file FILE
14167 --header=FILE[:TEMPLATE]
14168 instantiate the configuration header FILE
14170 Configuration files:
14173 Configuration headers:
14176 Configuration commands:
14179 Report bugs to the package provider."
14182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14183 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14186 configured by $0, generated by GNU Autoconf 2.65,
14187 with options \\"\$ac_cs_config\\"
14189 Copyright (C) 2009 Free Software Foundation, Inc.
14190 This config.status script is free software; the Free Software Foundation
14191 gives unlimited permission to copy, distribute and modify it."
14198 test -n "\$AWK" || AWK=awk
14201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14202 # The default lists apply if the user does not specify any file.
14208 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14209 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14220 # Handling of the options.
14221 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14223 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14224 $as_echo "$ac_cs_version"; exit ;;
14225 --config |
--confi |
--conf |
--con |
--co |
--c )
14226 $as_echo "$ac_cs_config"; exit ;;
14227 --debug |
--debu |
--deb |
--de |
--d |
-d )
14229 --file |
--fil |
--fi |
--f )
14232 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14234 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14235 ac_need_defaults
=false
;;
14236 --header |
--heade |
--head |
--hea )
14239 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14241 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14242 ac_need_defaults
=false
;;
14244 # Conflict between --help and --header
14245 as_fn_error
"ambiguous option: \`$1'
14246 Try \`$0 --help' for more information.";;
14247 --help |
--hel |
-h )
14248 $as_echo "$ac_cs_usage"; exit ;;
14249 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14250 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14253 # This is an error.
14254 -*) as_fn_error
"unrecognized option: \`$1'
14255 Try \`$0 --help' for more information." ;;
14257 *) as_fn_append ac_config_targets
" $1"
14258 ac_need_defaults
=false
;;
14264 ac_configure_extra_args
=
14266 if $ac_cs_silent; then
14268 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14273 if \$ac_cs_recheck; then
14274 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14276 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14277 CONFIG_SHELL='$SHELL'
14278 export CONFIG_SHELL
14283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14287 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14288 ## Running $as_me. ##
14294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14298 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14301 # The HP-UX ksh and POSIX shell print the target directory to stdout
14302 # if CDPATH is set.
14303 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14305 sed_quote_subst='$sed_quote_subst'
14306 double_quote_subst='$double_quote_subst'
14307 delay_variable_subst='$delay_variable_subst'
14308 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14309 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14310 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14311 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14312 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14313 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14314 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14315 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14316 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14317 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14318 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14319 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14320 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14321 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14322 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14323 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14324 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14325 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14326 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14327 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14328 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14329 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14330 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14331 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14332 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14333 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14334 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14335 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14336 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14337 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14338 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14339 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14340 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14341 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14342 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14343 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14344 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14345 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14346 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14347 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14348 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14349 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14350 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14351 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14352 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"`'
14353 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"`'
14354 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14355 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14356 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14357 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14358 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14359 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14360 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14361 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14362 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14363 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14364 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14365 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14366 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14367 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14368 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14369 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14370 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14371 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14372 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14373 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14374 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14375 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14376 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14377 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14378 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14379 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14380 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14381 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14382 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14383 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14384 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14385 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14386 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14387 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14388 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14389 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14390 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14391 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14392 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14393 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14394 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14395 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14396 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14397 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14398 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14399 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14400 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14401 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14402 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14403 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14404 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14405 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14406 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14407 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14408 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14409 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14410 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14411 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14412 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14413 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14414 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14415 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14416 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14417 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14418 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14419 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14420 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14421 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14422 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14423 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14424 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14425 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14428 LTCFLAGS='$LTCFLAGS'
14429 compiler='$compiler_DEFAULT'
14431 # Quote evaled strings.
14443 deplibs_check_method \
14452 lt_cv_sys_global_symbol_pipe \
14453 lt_cv_sys_global_symbol_to_cdecl \
14454 lt_cv_sys_global_symbol_to_c_name_address \
14455 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14458 lt_prog_compiler_no_builtin_flag \
14459 lt_prog_compiler_wl \
14460 lt_prog_compiler_pic \
14461 lt_prog_compiler_static \
14462 lt_cv_prog_compiler_c_o \
14470 export_dynamic_flag_spec \
14471 whole_archive_flag_spec \
14472 compiler_needs_object \
14474 allow_undefined_flag \
14475 no_undefined_flag \
14476 hardcode_libdir_flag_spec \
14477 hardcode_libdir_flag_spec_ld \
14478 hardcode_libdir_separator \
14483 variables_saved_for_relink \
14485 library_names_spec \
14490 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14491 *[\\\\\\\`\\"\\\$]*)
14492 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14495 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14500 # Double-quote double-evaled strings.
14501 for var in reload_cmds \
14502 old_postinstall_cmds \
14503 old_postuninstall_cmds \
14505 extract_expsyms_cmds \
14506 old_archive_from_new_cmds \
14507 old_archive_from_expsyms_cmds \
14509 archive_expsym_cmds \
14511 module_expsym_cmds \
14512 export_symbols_cmds \
14515 postuninstall_cmds \
14517 sys_lib_search_path_spec \
14518 sys_lib_dlsearch_path_spec; do
14519 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14520 *[\\\\\\\`\\"\\\$]*)
14521 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14524 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14529 # Fix-up fallback echo if it was mangled by the above quoting rules.
14531 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14535 ac_aux_dir='$ac_aux_dir'
14536 xsi_shell='$xsi_shell'
14537 lt_shell_append='$lt_shell_append'
14539 # See if we are running on zsh, and set the options which allow our
14540 # commands through without removal of \ escapes INIT.
14541 if test -n "\${ZSH_VERSION+set}" ; then
14542 setopt NO_GLOB_SUBST
14548 TIMESTAMP='$TIMESTAMP'
14558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14560 # Handling of arguments.
14561 for ac_config_target
in $ac_config_targets
14563 case $ac_config_target in
14564 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14565 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14566 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14567 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14568 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14569 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
14570 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
14571 "pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES pixmaps/Makefile" ;;
14572 "data/Makefile") CONFIG_FILES
="$CONFIG_FILES data/Makefile" ;;
14573 "epiphany-extension/Makefile") CONFIG_FILES
="$CONFIG_FILES epiphany-extension/Makefile" ;;
14574 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
14576 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14581 # If the user did not use the arguments to specify the items to instantiate,
14582 # then the envvar interface is used. Set only those that are not.
14583 # We use the long form for the default assignment because of an extremely
14584 # bizarre bug on SunOS 4.1.3.
14585 if $ac_need_defaults; then
14586 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14587 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14588 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14591 # Have a temporary directory for convenience. Make it in the build tree
14592 # simply because there is no reason against having it here, and in addition,
14593 # creating and moving files from /tmp can sometimes cause problems.
14594 # Hook for its removal unless debugging.
14595 # Note that there is a small window in which the directory will not be cleaned:
14596 # after its creation but before its name has been assigned to `$tmp'.
14600 trap 'exit_status=$?
14601 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14603 trap 'as_fn_exit 1' 1 2 13 15
14605 # Create a (secure) tmp directory for tmp files.
14608 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14609 test -n "$tmp" && test -d "$tmp"
14612 tmp
=.
/conf$$
-$RANDOM
14613 (umask 077 && mkdir
"$tmp")
14614 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14616 # Set up the scripts for CONFIG_FILES section.
14617 # No need to generate them if there are no CONFIG_FILES.
14618 # This happens for instance with `./config.status config.h'.
14619 if test -n "$CONFIG_FILES"; then
14622 ac_cr
=`echo X | tr X '\015'`
14623 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14624 # But we know of no other shell where ac_cr would be empty at this
14625 # point, so we can use a bashism as a fallback.
14626 if test "x$ac_cr" = x
; then
14627 eval ac_cr
=\$
\'\\r
\'
14629 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14630 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14633 ac_cs_awk_cr
=$ac_cr
14636 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14641 echo "cat >conf$$subs.awk <<_ACEOF" &&
14642 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14644 } >conf$$subs.sh ||
14645 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14646 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14648 for ac_last_try in false false false false false :; do
14649 . ./conf$$subs.sh ||
14650 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14652 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14653 if test $ac_delim_n = $ac_delim_num; then
14655 elif $ac_last_try; then
14656 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14658 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14661 rm -f conf$$subs.sh
14663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14664 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14668 s/^/S["/; s
/!.
*/"]=/
14678 s/\(.\{148\}\)..*/\1/
14680 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14685 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14692 s/\(.\{148\}\)..*/\1/
14694 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14698 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14703 ' <conf$$subs.awk | sed '
14708 ' >>$CONFIG_STATUS || ac_write_fail=1
14709 rm -f conf$$subs.awk
14710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14712 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14713 for (key in S) S_is_set[key] = 1
14719 nfields = split(line, field, "@
")
14721 len = length(field[1])
14722 for (i = 2; i < nfields; i++) {
14724 keylen = length(key)
14725 if (S_is_set[key]) {
14727 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14728 len += length(value) + length(field[++i])
14739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14740 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14741 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14744 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14745 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14748 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14749 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14750 # trailing colons and then remove the whole line if VPATH becomes empty
14751 # (actually we leave an empty line to preserve line numbers).
14752 if test "x
$srcdir" = x.; then
14753 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14754 s/:*\$(srcdir):*/:/
14755 s/:*\${srcdir}:*/:/
14757 s/^\([^=]*=[ ]*\):*/\1/
14763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14764 fi # test -n "$CONFIG_FILES"
14766 # Set up the scripts for CONFIG_HEADERS section.
14767 # No need to generate them if there are no CONFIG_HEADERS.
14768 # This happens for instance with `./config.status Makefile'.
14769 if test -n "$CONFIG_HEADERS"; then
14770 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14774 # Transform confdefs.h into an awk script `defines.awk', embedded as
14775 # here-document in config.status, that substitutes the proper values into
14776 # config.h.in to produce config.h.
14778 # Create a delimiter string that does not exist in confdefs.h, to ease
14779 # handling of long lines.
14781 for ac_last_try in false false :; do
14782 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14783 if test -z "$ac_t"; then
14785 elif $ac_last_try; then
14786 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14788 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14792 # For the awk script, D is an array of macro values keyed by name,
14793 # likewise P contains macro parameters if any. Preserve backslash
14794 # newline sequences.
14796 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14798 s/.\{148\}/&'"$ac_delim"'/g
14801 s/^[ ]*#[ ]*define[ ][ ]*/ /
14808 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14810 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14814 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14815 D["\
1"]=" \
3\\\\\\n
"\\/p
14817 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14822 s/.\{148\}/&'"$ac_delim"'/g
14827 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14830 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14832 ' <confdefs.h | sed '
14833 s/'"$ac_delim"'/"\\\
14834 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14837 for (key in D) D_is_set[key] = 1
14840 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14842 split(line, arg, " ")
14843 if (arg[1] == "#") {
14847 defundef
= substr
(arg
[1], 2)
14850 split(mac1
, mac2
, "(") #)
14852 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14853 if (D_is_set
[macro
]) {
14854 # Preserve the white space surrounding the "#".
14855 print prefix
"define", macro P
[macro
] D
[macro
]
14858 # Replace #undef with comments. This is necessary, for example,
14859 # in the case of _POSIX_SOURCE, which is predefined and required
14860 # on some systems where configure will not decide to define it.
14861 if (defundef
== "undef") {
14862 print
"/*", prefix defundef
, macro
, "*/"
14870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14871 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14872 fi # test -n "$CONFIG_HEADERS"
14875 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14880 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14882 case $ac_mode$ac_tag in
14884 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14885 :[FH
]-) ac_tag
=-:-;;
14886 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14903 -) ac_f
="$tmp/stdin";;
14904 *) # Look for the file first in the build tree, then in the source tree
14905 # (if the path is not absolute). The absolute path cannot be DOS-style,
14906 # because $ac_f cannot contain `:'.
14910 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14912 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14914 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14915 as_fn_append ac_file_inputs
" '$ac_f'"
14918 # Let's still pretend it is `configure' which instantiates (i.e., don't
14919 # use $as_me), people would be surprised to read:
14920 # /* config.h. Generated by config.status. */
14921 configure_input
='Generated from '`
14922 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14924 if test x
"$ac_file" != x-
; then
14925 configure_input
="$ac_file. $configure_input"
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14927 $as_echo "$as_me: creating $ac_file" >&6;}
14929 # Neutralize special characters interpreted by sed in replacement strings.
14930 case $configure_input in #(
14931 *\
&* |
*\|
* |
*\\* )
14932 ac_sed_conf_input
=`$as_echo "$configure_input" |
14933 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14934 *) ac_sed_conf_input
=$configure_input;;
14938 *:-:* |
*:-) cat >"$tmp/stdin" \
14939 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14944 ac_dir
=`$as_dirname -- "$ac_file" ||
14945 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14946 X"$ac_file" : 'X\(//\)[^/]' \| \
14947 X"$ac_file" : 'X\(//\)$' \| \
14948 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14949 $as_echo X"$ac_file" |
14950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14954 /^X\(\/\/\)[^/].*/{
14967 as_dir
="$ac_dir"; as_fn_mkdir_p
14971 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14973 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14974 # A ".." for each directory in $ac_dir_suffix.
14975 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14976 case $ac_top_builddir_sub in
14977 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14978 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14981 ac_abs_top_builddir
=$ac_pwd
14982 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14983 # for backward compatibility:
14984 ac_top_builddir
=$ac_top_build_prefix
14987 .
) # We are building in place.
14989 ac_top_srcdir
=$ac_top_builddir_sub
14990 ac_abs_top_srcdir
=$ac_pwd ;;
14991 [\\/]* | ?
:[\\/]* ) # Absolute name.
14992 ac_srcdir
=$srcdir$ac_dir_suffix;
14993 ac_top_srcdir
=$srcdir
14994 ac_abs_top_srcdir
=$srcdir ;;
14995 *) # Relative name.
14996 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14997 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14998 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15000 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15010 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15011 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15013 ac_MKDIR_P
=$MKDIR_P
15015 [\\/$
]* | ?
:[\\/]* ) ;;
15016 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15021 # If the template does not know about datarootdir, expand it.
15022 # FIXME: This hack should be removed a few years after 2.60.
15023 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15034 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15035 *datarootdir
*) ac_datarootdir_seen
=yes;;
15036 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15038 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15041 ac_datarootdir_hack='
15042 s&@datadir@&$datadir&g
15043 s&@docdir@&$docdir&g
15044 s&@infodir@&$infodir&g
15045 s&@localedir@&$localedir&g
15046 s&@mandir@&$mandir&g
15047 s&\\\${datarootdir}&$datarootdir&g' ;;
15051 # Neutralize VPATH when `$srcdir' = `.'.
15052 # Shell code in configure.ac might set extrasub.
15053 # FIXME: do we really want to maintain this feature?
15054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15055 ac_sed_extra="$ac_vpsub
15058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15060 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15061 s|@configure_input@|
$ac_sed_conf_input|
;t t
15062 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15063 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15064 s
&@srcdir@
&$ac_srcdir&;t t
15065 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15066 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15067 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15068 s
&@builddir@
&$ac_builddir&;t t
15069 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15070 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15071 s
&@INSTALL@
&$ac_INSTALL&;t t
15072 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15073 $ac_datarootdir_hack
15075 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15076 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15078 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15079 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15080 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15082 which seems to be undefined. Please make sure it is defined." >&5
15083 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15084 which seems to be undefined. Please make sure it is defined." >&2;}
15088 -) cat "$tmp/out" && rm -f "$tmp/out";;
15089 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15091 || as_fn_error "could not create $ac_file" "$LINENO" 5
15097 if test x"$ac_file" != x-; then
15099 $as_echo "/* $configure_input */" \
15100 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15101 } >"$tmp/config.h" \
15102 || as_fn_error "could not create $ac_file" "$LINENO" 5
15103 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15105 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15108 mv "$tmp/config.h" "$ac_file" \
15109 || as_fn_error "could not create $ac_file" "$LINENO" 5
15112 $as_echo "/* $configure_input */" \
15113 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15114 || as_fn_error "could not create -" "$LINENO" 5
15116 # Compute "$ac_file"'s index
in $config_headers.
15119 for _am_header
in $config_headers :; do
15120 case $_am_header in
15121 $_am_arg |
$_am_arg:* )
15124 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15127 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15128 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15129 X"$_am_arg" : 'X\(//\)[^/]' \| \
15130 X"$_am_arg" : 'X\(//\)$' \| \
15131 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15132 $as_echo X"$_am_arg" |
15133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15137 /^X\(\/\/\)[^/].*/{
15149 s/.*/./; q'`/stamp-h
$_am_stamp_count
15152 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15153 $as_echo "$as_me: executing $ac_file commands" >&6;}
15158 case $ac_file$ac_mode in
15159 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15160 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15161 # are listed without --file. Let's play safe and only enable the eval
15162 # if we detect the quoting.
15163 case $CONFIG_FILES in
15164 *\'*) eval set x
"$CONFIG_FILES" ;;
15165 *) set x
$CONFIG_FILES ;;
15170 # Strip MF so we end up with the name of the file.
15171 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15172 # Check whether this is an Automake generated Makefile or not.
15173 # We used to match only the files named `Makefile.in', but
15174 # some people rename them; so instead we look at the file content.
15175 # Grep'ing the first line is not enough: some people post-process
15176 # each Makefile.in and add a new line on top of each file to say so.
15177 # Grep'ing the whole file is not good either: AIX grep has a line
15178 # limit of 2048, but all sed's we know have understand at least 4000.
15179 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15180 dirpart
=`$as_dirname -- "$mf" ||
15181 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15182 X"$mf" : 'X\(//\)[^/]' \| \
15183 X"$mf" : 'X\(//\)$' \| \
15184 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15190 /^X\(\/\/\)[^/].*/{
15206 # Extract the definition of DEPDIR, am__include, and am__quote
15207 # from the Makefile without running `make'.
15208 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15209 test -z "$DEPDIR" && continue
15210 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15211 test -z "am__include" && continue
15212 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15213 # When using ansi2knr, U may be empty or an underscore; expand it
15214 U
=`sed -n 's/^U = //p' < "$mf"`
15215 # Find all dependency output files, they are included files with
15216 # $(DEPDIR) in their names. We invoke sed twice because it is the
15217 # simplest approach to changing $(DEPDIR) to its actual value in the
15219 for file in `sed -n "
15220 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15221 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15222 # Make sure the directory exists.
15223 test -f "$dirpart/$file" && continue
15224 fdir
=`$as_dirname -- "$file" ||
15225 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15226 X"$file" : 'X\(//\)[^/]' \| \
15227 X"$file" : 'X\(//\)$' \| \
15228 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15229 $as_echo X"$file" |
15230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15234 /^X\(\/\/\)[^/].*/{
15247 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15248 # echo "creating $dirpart/$file"
15249 echo '# dummy' > "$dirpart/$file"
15256 # See if we are running on zsh, and set the options which allow our
15257 # commands through without removal of \ escapes.
15258 if test -n "${ZSH_VERSION+set}" ; then
15259 setopt NO_GLOB_SUBST
15262 cfgfile
="${ofile}T"
15263 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15266 cat <<_LT_EOF >> "$cfgfile"
15269 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15270 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15271 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15272 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15274 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15275 # 2006, 2007, 2008 Free Software Foundation, Inc.
15276 # Written by Gordon Matzigkeit, 1996
15278 # This file is part of GNU Libtool.
15280 # GNU Libtool is free software; you can redistribute it and/or
15281 # modify it under the terms of the GNU General Public License as
15282 # published by the Free Software Foundation; either version 2 of
15283 # the License, or (at your option) any later version.
15285 # As a special exception to the GNU General Public License,
15286 # if you distribute this file as part of a program or library that
15287 # is built using GNU Libtool, you may include this file under the
15288 # same distribution terms that you use for the rest of that program.
15290 # GNU Libtool is distributed in the hope that it will be useful,
15291 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15292 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15293 # GNU General Public License for more details.
15295 # You should have received a copy of the GNU General Public License
15296 # along with GNU Libtool; see the file COPYING. If not, a copy
15297 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15298 # obtained by writing to the Free Software Foundation, Inc.,
15299 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15302 # The names of the tagged configurations supported by this script.
15305 # ### BEGIN LIBTOOL CONFIG
15307 # Which release of libtool.m4 was used?
15308 macro_version=$macro_version
15309 macro_revision=$macro_revision
15311 # Whether or not to build shared libraries.
15312 build_libtool_libs=$enable_shared
15314 # Whether or not to build static libraries.
15315 build_old_libs=$enable_static
15317 # What type of objects to build.
15320 # Whether or not to optimize for fast installation.
15321 fast_install=$enable_fast_install
15324 host_alias=$host_alias
15328 # The build system.
15329 build_alias=$build_alias
15333 # A sed program that does not truncate output.
15336 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15337 Xsed="\$SED -e 1s/^X//"
15339 # A grep program that handles long lines.
15345 # A literal string matcher.
15348 # A BSD- or MS-compatible name lister.
15351 # Whether we need soft or hard links.
15354 # What is the maximum length of a command?
15355 max_cmd_len=$max_cmd_len
15357 # Object file suffix (normally "o").
15360 # Executable file suffix (normally "").
15363 # whether the shell understands "unset".
15366 # turn spaces into newlines.
15369 # turn newlines into spaces.
15372 # How to create reloadable object files.
15373 reload_flag=$lt_reload_flag
15374 reload_cmds=$lt_reload_cmds
15376 # An object symbol dumper.
15377 OBJDUMP=$lt_OBJDUMP
15379 # Method to check whether dependent libraries are shared objects.
15380 deplibs_check_method=$lt_deplibs_check_method
15382 # Command to use when deplibs_check_method == "file_magic".
15383 file_magic_cmd=$lt_file_magic_cmd
15387 AR_FLAGS=$lt_AR_FLAGS
15389 # A symbol stripping program.
15392 # Commands used to install an old-style archive.
15394 old_postinstall_cmds=$lt_old_postinstall_cmds
15395 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15400 # LTCC compiler flags.
15401 LTCFLAGS=$lt_CFLAGS
15403 # Take the output of nm and produce a listing of raw symbols and C names.
15404 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15406 # Transform the output of nm in a proper C declaration.
15407 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15409 # Transform the output of nm in a C name address pair.
15410 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15412 # Transform the output of nm in a C name address pair when lib prefix is needed.
15413 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15415 # The name of the directory that contains temporary libtool files.
15418 # Shell to use when invoking shell scripts.
15421 # An echo program that does not interpret backslashes.
15424 # Used to examine libraries when file_magic_cmd begins with "file".
15425 MAGIC_CMD=$MAGIC_CMD
15427 # Must we lock files when doing compilation?
15428 need_locks=$lt_need_locks
15430 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15431 DSYMUTIL=$lt_DSYMUTIL
15433 # Tool to change global to local symbols on Mac OS X.
15436 # Tool to manipulate fat objects and archives on Mac OS X.
15439 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15442 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15443 OTOOL64=$lt_OTOOL64
15445 # Old archive suffix (normally "a").
15448 # Shared library suffix (normally ".so").
15449 shrext_cmds=$lt_shrext_cmds
15451 # The commands to extract the exported symbol list from a shared archive.
15452 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15454 # Variables whose values should be saved in libtool wrapper scripts and
15455 # restored at link time.
15456 variables_saved_for_relink=$lt_variables_saved_for_relink
15458 # Do we need the "lib" prefix for modules?
15459 need_lib_prefix=$need_lib_prefix
15461 # Do we need a version for libraries?
15462 need_version=$need_version
15464 # Library versioning type.
15465 version_type=$version_type
15467 # Shared library runtime path variable.
15468 runpath_var=$runpath_var
15470 # Shared library path variable.
15471 shlibpath_var=$shlibpath_var
15473 # Is shlibpath searched before the hard-coded library search path?
15474 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15476 # Format of library name prefix.
15477 libname_spec=$lt_libname_spec
15479 # List of archive names. First name is the real one, the rest are links.
15480 # The last name is the one that the linker finds with -lNAME
15481 library_names_spec=$lt_library_names_spec
15483 # The coded name of the library, if different from the real name.
15484 soname_spec=$lt_soname_spec
15486 # Command to use after installation of a shared archive.
15487 postinstall_cmds=$lt_postinstall_cmds
15489 # Command to use after uninstallation of a shared archive.
15490 postuninstall_cmds=$lt_postuninstall_cmds
15492 # Commands used to finish a libtool library installation in a directory.
15493 finish_cmds=$lt_finish_cmds
15495 # As "finish_cmds", except a single script fragment to be evaled but
15497 finish_eval=$lt_finish_eval
15499 # Whether we should hardcode library paths into libraries.
15500 hardcode_into_libs=$hardcode_into_libs
15502 # Compile-time system search path for libraries.
15503 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15505 # Run-time system search path for libraries.
15506 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15508 # Whether dlopen is supported.
15509 dlopen_support=$enable_dlopen
15511 # Whether dlopen of programs is supported.
15512 dlopen_self=$enable_dlopen_self
15514 # Whether dlopen of statically linked programs is supported.
15515 dlopen_self_static=$enable_dlopen_self_static
15517 # Commands to strip libraries.
15518 old_striplib=$lt_old_striplib
15519 striplib=$lt_striplib
15522 # The linker used to build libraries.
15525 # Commands used to build an old-style archive.
15526 old_archive_cmds=$lt_old_archive_cmds
15528 # A language specific compiler.
15531 # Is the compiler the GNU compiler?
15534 # Compiler flag to turn off builtin functions.
15535 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15537 # How to pass a linker flag through the compiler.
15538 wl=$lt_lt_prog_compiler_wl
15540 # Additional compiler flags for building library objects.
15541 pic_flag=$lt_lt_prog_compiler_pic
15543 # Compiler flag to prevent dynamic linking.
15544 link_static_flag=$lt_lt_prog_compiler_static
15546 # Does compiler simultaneously support -c and -o options?
15547 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15549 # Whether or not to add -lc for building shared libraries.
15550 build_libtool_need_lc=$archive_cmds_need_lc
15552 # Whether or not to disallow shared libs when runtime libs are static.
15553 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15555 # Compiler flag to allow reflexive dlopens.
15556 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15558 # Compiler flag to generate shared objects directly from archives.
15559 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15561 # Whether the compiler copes with passing no objects directly.
15562 compiler_needs_object=$lt_compiler_needs_object
15564 # Create an old-style archive from a shared archive.
15565 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15567 # Create a temporary old-style archive to link instead of a shared archive.
15568 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15570 # Commands used to build a shared archive.
15571 archive_cmds=$lt_archive_cmds
15572 archive_expsym_cmds=$lt_archive_expsym_cmds
15574 # Commands used to build a loadable module if different from building
15575 # a shared archive.
15576 module_cmds=$lt_module_cmds
15577 module_expsym_cmds=$lt_module_expsym_cmds
15579 # Whether we are building with GNU ld or not.
15580 with_gnu_ld=$lt_with_gnu_ld
15582 # Flag that allows shared libraries with undefined symbols to be built.
15583 allow_undefined_flag=$lt_allow_undefined_flag
15585 # Flag that enforces no undefined symbols.
15586 no_undefined_flag=$lt_no_undefined_flag
15588 # Flag to hardcode \$libdir into a binary during linking.
15589 # This must work even if \$libdir does not exist
15590 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15592 # If ld is used when linking, flag to hardcode \$libdir into a binary
15593 # during linking. This must work even if \$libdir does not exist.
15594 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15596 # Whether we need a single "-rpath" flag with a separated argument.
15597 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15599 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15600 # DIR into the resulting binary.
15601 hardcode_direct=$hardcode_direct
15603 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15604 # DIR into the resulting binary and the resulting library dependency is
15605 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15606 # library is relocated.
15607 hardcode_direct_absolute=$hardcode_direct_absolute
15609 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15610 # into the resulting binary.
15611 hardcode_minus_L=$hardcode_minus_L
15613 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15614 # into the resulting binary.
15615 hardcode_shlibpath_var=$hardcode_shlibpath_var
15617 # Set to "yes" if building a shared library automatically hardcodes DIR
15618 # into the library and all subsequent libraries and executables linked
15620 hardcode_automatic=$hardcode_automatic
15622 # Set to yes if linker adds runtime paths of dependent libraries
15623 # to runtime path list.
15624 inherit_rpath=$inherit_rpath
15626 # Whether libtool must link a program against all its dependency libraries.
15627 link_all_deplibs=$link_all_deplibs
15629 # Fix the shell variable \$srcfile for the compiler.
15630 fix_srcfile_path=$lt_fix_srcfile_path
15632 # Set to "yes" if exported symbols are required.
15633 always_export_symbols=$always_export_symbols
15635 # The commands to list exported symbols.
15636 export_symbols_cmds=$lt_export_symbols_cmds
15638 # Symbols that should not be listed in the preloaded symbols.
15639 exclude_expsyms=$lt_exclude_expsyms
15641 # Symbols that must always be exported.
15642 include_expsyms=$lt_include_expsyms
15644 # Commands necessary for linking programs (against libraries) with templates.
15645 prelink_cmds=$lt_prelink_cmds
15647 # Specify filename containing input files.
15648 file_list_spec=$lt_file_list_spec
15650 # How to hardcode a shared library path into an executable.
15651 hardcode_action=$hardcode_action
15653 # ### END LIBTOOL CONFIG
15659 cat <<\_LT_EOF
>> "$cfgfile"
15660 # AIX sometimes has problems with the GCC collect2 program. For some
15661 # reason, if we set the COLLECT_NAMES environment variable, the problems
15662 # vanish in a puff of smoke.
15663 if test "X${COLLECT_NAMES+set}" != Xset
; then
15665 export COLLECT_NAMES
15672 ltmain
="$ac_aux_dir/ltmain.sh"
15675 # We use sed instead of cat because bash on DJGPP gets confused if
15676 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15677 # text mode, it properly converts lines to CR/LF. This bash problem
15678 # is reportedly fixed, but why not run on old versions too?
15679 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15680 ||
(rm -f "$cfgfile"; exit 1)
15684 cat << \_LT_EOF
>> "$cfgfile"
15686 # func_dirname file append nondir_replacement
15687 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15688 # otherwise set result to NONDIR_REPLACEMENT.
15692 */*) func_dirname_result
="${1%/*}${2}" ;;
15693 * ) func_dirname_result
="${3}" ;;
15697 # func_basename file
15700 func_basename_result
="${1##*/}"
15703 # func_dirname_and_basename file append nondir_replacement
15704 # perform func_basename and func_dirname in a single function
15706 # dirname: Compute the dirname of FILE. If nonempty,
15707 # add APPEND to the result, otherwise set result
15708 # to NONDIR_REPLACEMENT.
15709 # value returned in "$func_dirname_result"
15710 # basename: Compute filename of FILE.
15711 # value retuned in "$func_basename_result"
15712 # Implementation must be kept synchronized with func_dirname
15713 # and func_basename. For efficiency, we do not delegate to
15714 # those functions but instead duplicate the functionality here.
15715 func_dirname_and_basename
()
15718 */*) func_dirname_result
="${1%/*}${2}" ;;
15719 * ) func_dirname_result
="${3}" ;;
15721 func_basename_result
="${1##*/}"
15724 # func_stripname prefix suffix name
15725 # strip PREFIX and SUFFIX off of NAME.
15726 # PREFIX and SUFFIX must not contain globbing or regex special
15727 # characters, hashes, percent signs, but SUFFIX may contain a leading
15728 # dot (in which case that matches only a dot).
15731 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15732 # positional parameters, so assign one to ordinary parameter first.
15733 func_stripname_result
=${3}
15734 func_stripname_result
=${func_stripname_result#"${1}"}
15735 func_stripname_result
=${func_stripname_result%"${2}"}
15741 func_opt_split_opt
=${1%%=*}
15742 func_opt_split_arg
=${1#*=}
15749 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15750 *) func_lo2o_result
=${1} ;;
15754 # func_xform libobj-or-source
15757 func_xform_result
=${1%.*}.lo
15760 # func_arith arithmetic-term...
15763 func_arith_result
=$
(( $
* ))
15767 # STRING may not start with a hyphen.
15770 func_len_result
=${#1}
15775 *) # Bourne compatible functions.
15776 cat << \_LT_EOF
>> "$cfgfile"
15778 # func_dirname file append nondir_replacement
15779 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15780 # otherwise set result to NONDIR_REPLACEMENT.
15783 # Extract subdirectory from the argument.
15784 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15785 if test "X$func_dirname_result" = "X${1}"; then
15786 func_dirname_result
="${3}"
15788 func_dirname_result
="$func_dirname_result${2}"
15792 # func_basename file
15795 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15799 # func_stripname prefix suffix name
15800 # strip PREFIX and SUFFIX off of NAME.
15801 # PREFIX and SUFFIX must not contain globbing or regex special
15802 # characters, hashes, percent signs, but SUFFIX may contain a leading
15803 # dot (in which case that matches only a dot).
15804 # func_strip_suffix prefix name
15808 .
*) func_stripname_result
=`$ECHO "X${3}" \
15809 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15810 *) func_stripname_result
=`$ECHO "X${3}" \
15811 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15816 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15817 my_sed_long_arg
='1s/^-[^=]*=//'
15822 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15823 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15829 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15832 # func_xform libobj-or-source
15835 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15838 # func_arith arithmetic-term...
15841 func_arith_result
=`expr "$@"`
15845 # STRING may not start with a hyphen.
15848 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15854 case $lt_shell_append in
15856 cat << \_LT_EOF
>> "$cfgfile"
15858 # func_append var value
15859 # Append VALUE to the end of shell variable VAR.
15867 cat << \_LT_EOF
>> "$cfgfile"
15869 # func_append var value
15870 # Append VALUE to the end of shell variable VAR.
15881 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15882 ||
(rm -f "$cfgfile"; exit 1)
15884 mv -f "$cfgfile" "$ofile" ||
15885 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15889 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
15890 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
15893 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev
/null
; then
15894 as_fn_error
"po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15896 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15901 '"s|^| $ac_top_srcdir/|" \
15902 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
15904 sed '/^POTFILES =/,/[^\\]$/ {
15908 ' "po/Makefile.in" >"po/Makefile"
15909 rm -f "po/Makefile.tmp"
15910 mv "po/stamp-it.tmp" "po/stamp-it"
15919 ac_clean_files
=$ac_clean_files_save
15921 test $ac_write_fail = 0 ||
15922 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15925 # configure is writing to config.log, and then calls config.status.
15926 # config.status does its own redirection, appending to config.log.
15927 # Unfortunately, on DOS this fails, as config.log is still kept open
15928 # by configure, so config.status won't be able to write to it; its
15929 # output is simply discarded. So we exec the FD to /dev/null,
15930 # effectively closing config.log, so it can be properly (re)opened and
15931 # appended to by config.status. When coming back to configure, we
15932 # need to make the FD available again.
15933 if test "$no_create" != yes; then
15935 ac_config_status_args
=
15936 test "$silent" = yes &&
15937 ac_config_status_args
="$ac_config_status_args --quiet"
15939 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15941 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15942 # would make configure fail if this is the last instruction.
15943 $ac_cs_success || as_fn_exit $?
15945 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15947 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}