2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libgsf 1.14.21.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libgsf>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=libgsf
243 $0: about your system, including any error possibly output
244 $0: before this message. Then install a modern shell, or
245 $0: manually run the script under such a shell if you do
252 SHELL=${CONFIG_SHELL-/bin/sh}
254 # Unset more variables known to interfere with behavior of common tools.
255 CLICOLOR_FORCE= GREP_OPTIONS=
256 unset CLICOLOR_FORCE GREP_OPTIONS
258 ## --------------------- ##
259 ## M4sh Shell Functions. ##
260 ## --------------------- ##
263 # Portably unset VAR.
266 { eval $1=; unset $1;}
270 # as_fn_set_status STATUS
271 # -----------------------
272 # Set $? to STATUS, without forking.
280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
290 # Create "$as_dir" as a directory, including parents if necessary.
295 -*) as_dir=./$as_dir;;
297 test -d "$as_dir" || eval $as_mkdir_p || {
301 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
304 as_dirs="'$as_qdir' $as_dirs"
305 as_dir=`$as_dirname -- "$as_dir" ||
306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307 X"$as_dir" : 'X\(//\)[^/]' \| \
308 X"$as_dir" : 'X\(//\)$' \| \
309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310 $as_echo X"$as_dir" |
311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
328 test -d "$as_dir" && break
330 test -z "$as_dirs" || eval "mkdir $as_dirs"
331 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
335 # as_fn_append VAR VALUE
336 # ----------------------
337 # Append the text in VALUE to the end of the definition contained in VAR. Take
338 # advantage of any shell optimizations that allow amortized linear growth over
339 # repeated appends, instead of the typical quadratic growth present in naive
341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342 eval 'as_fn_append ()
355 # Perform arithmetic evaluation on the ARGs, and store the result in the
356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
357 # must be portable across $(()) and expr.
358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366 as_val=`expr "$@" || test $? -eq 1`
371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
372 # ----------------------------------------
373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375 # script with STATUS, using 1 if that was 0.
378 as_status=$1; test $as_status -eq 0 && as_status=1
380 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
383 $as_echo "$as_me: error: $2" >&2
384 as_fn_exit $as_status
387 if expr a : '\(a\)' >/dev/null 2>&1 &&
388 test "X`expr 00001 : '.*\(...\)'`" = X001; then
394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
406 as_me=`$as_basename -- "$0" ||
407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408 X"$0" : 'X\(//\)$' \| \
409 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
411 sed '/^.*\/\([^/][^/]*\)\/*$/{
425 # Avoid depending upon Character Ranges.
426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429 as_cr_digits='0123456789'
430 as_cr_alnum=$as_cr_Letters$as_cr_digits
433 as_lineno_1=$LINENO as_lineno_1a=$LINENO
434 as_lineno_2=$LINENO as_lineno_2a=$LINENO
435 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456 # Don't try to exec as it changes $[0], causing all sort of problems
457 # (the dirname of $[0] is not the place where we might find the
458 # original and so on. Autoconf is especially sensitive to this).
460 # Exit status is that of the last command.
464 ECHO_C= ECHO_N= ECHO_T=
465 case `echo -n x` in #(((((
467 case `echo 'xy\c'` in
468 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
470 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
477 rm -f conf$$ conf$$.exe conf$$.file
478 if test -d conf$$.dir; then
479 rm -f conf$$.dir/conf$$.file
482 mkdir conf$$.dir 2>/dev/null
484 if (echo >conf$$.file) 2>/dev/null; then
485 if ln -s conf$$.file conf$$ 2>/dev/null; then
487 # ... but there are two gotchas:
488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490 # In both cases, we have to default to `cp -p'.
491 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
493 elif ln conf$$.file conf$$ 2>/dev/null; then
501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502 rmdir conf$$.dir 2>/dev/null
504 if mkdir -p . 2>/dev/null; then
505 as_mkdir_p='mkdir -p "$as_dir"'
507 test -d ./-p && rmdir ./-p
511 if test -x / >/dev/null 2>&1; then
514 if ls -dL / >/dev/null 2>&1; then
521 if test -d "$1"; then
527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528 ???[sx]*):;;*)false;;esac;fi
532 as_executable_p=$as_test_x
534 # Sed expression to map a string onto a valid CPP name.
535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
537 # Sed expression to map a string onto a valid variable name.
538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
542 # Check that we are running under the correct shell.
543 SHELL=${CONFIG_SHELL-/bin/sh}
547 # Remove one level of quotation (which was required for Make).
548 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
553 if test "X$1" = X--no-reexec; then
554 # Discard the --no-reexec flag, and continue.
556 elif test "X$1" = X--fallback-echo; then
557 # Avoid inline document here, it may be left over
559 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
560 # Yippee, $ECHO works!
563 # Restart under the correct shell.
564 exec $SHELL "$0" --no-reexec ${1+"$@"}
567 if test "X$1" = X--fallback-echo; then
568 # used as fallback echo
576 # The HP-UX ksh and POSIX shell print the target directory to stdout
578 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
580 if test -z "$lt_ECHO"; then
581 if test "X${echo_test_string+set}" != Xset; then
582 # find a string as large as possible, as long as the shell can cope with it
583 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
584 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
585 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
586 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
593 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
594 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
595 test "X$echo_testing_string" = "X$echo_test_string"; then
598 # The Solaris, AIX, and Digital Unix default echo programs unquote
599 # backslashes. This makes it impossible to quote backslashes using
600 # echo "$something" | sed 's/\\/\\\\/g'
602 # So, first we look for a working echo in the user's PATH.
604 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
605 for dir in $PATH /usr/ucb; do
607 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
608 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
609 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
617 if test "X$ECHO" = Xecho; then
618 # We didn't find a better echo, so look for alternatives.
619 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
620 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
621 test "X$echo_testing_string" = "X$echo_test_string"; then
622 # This shell has a builtin print -r that does the trick.
624 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
625 test "X$CONFIG_SHELL" != X/bin/ksh; then
626 # If we have ksh, try running configure again with it.
627 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
628 export ORIGINAL_CONFIG_SHELL
629 CONFIG_SHELL=/bin/ksh
631 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
635 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
636 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
637 test "X$echo_testing_string" = "X$echo_test_string"; then
640 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
646 SHELL="$CONFIG_SHELL"
648 ECHO="$CONFIG_SHELL $0 --fallback-echo"
649 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
650 test "X$echo_testing_string" = 'X\t' &&
651 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
652 test "X$echo_testing_string" = "X$echo_test_string"; then
653 ECHO="$CONFIG_SHELL $0 --fallback-echo"
655 # maybe with a smaller string...
658 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
659 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
666 if test "$prev" != 'sed 50q "$0"'; then
667 echo_test_string=`eval $prev`
668 export echo_test_string
669 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
671 # Oops. We lost completely, so just stick with echo.
680 # Copy echo and quote the copy suitably for passing to libtool from
681 # the Makefile, instead of quoting the original, which is used later.
683 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
684 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
690 test -n "$DJDIR" || exec 7<&0 </dev/null
694 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
695 # so uname gets run too.
696 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
701 ac_default_prefix=/usr/local
703 ac_config_libobj_dir=.
710 # Identity of this package.
711 PACKAGE_NAME='libgsf'
712 PACKAGE_TARNAME='libgsf'
713 PACKAGE_VERSION='1.14.21'
714 PACKAGE_STRING='libgsf 1.14.21'
715 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=libgsf'
718 ac_unique_file="gsf/gsf.h"
719 # Factoring default headers for most tests.
720 ac_includes_default="\
722 #ifdef HAVE_SYS_TYPES_H
723 # include <sys/types.h>
725 #ifdef HAVE_SYS_STAT_H
726 # include <sys/stat.h>
732 # ifdef HAVE_STDLIB_H
737 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
742 #ifdef HAVE_STRINGS_H
743 # include <strings.h>
745 #ifdef HAVE_INTTYPES_H
746 # include <inttypes.h>
756 ac_subst_vars='am__EXEEXT_FALSE
762 GCONF_SCHEMAS_INSTALL_FALSE
763 GCONF_SCHEMAS_INSTALL_TRUE
764 GCONF_SCHEMA_FILE_DIR
765 GCONF_SCHEMA_CONFIG_SOURCE
767 WITH_LIBGSF_BONOBO_FALSE
768 WITH_LIBGSF_BONOBO_TRUE
769 WITH_LIBGSF_GNOMEVFS_FALSE
770 WITH_LIBGSF_GNOMEVFS_TRUE
771 WITH_LIBGSF_GNOME_FALSE
772 WITH_LIBGSF_GNOME_TRUE
803 GTK_DOC_INSTALLED_FALSE
804 GTK_DOC_INSTALLED_TRUE
805 GTK_DOC_USE_REBASE_FALSE
806 GTK_DOC_USE_REBASE_TRUE
807 GTK_DOC_USE_LIBTOOL_FALSE
808 GTK_DOC_USE_LIBTOOL_TRUE
809 GTK_DOC_BUILD_PDF_FALSE
810 GTK_DOC_BUILD_PDF_TRUE
811 GTK_DOC_BUILD_HTML_FALSE
812 GTK_DOC_BUILD_HTML_TRUE
819 CROSS_COMPILING_FALSE
852 INTLTOOL_SERVICE_RULE
854 INTLTOOL_SCHEMAS_RULE
856 INTLTOOL_XML_NOMERGE_RULE
861 INTLTOOL_SOUNDLIST_RULE
868 INTLTOOL_DIRECTORY_RULE
869 INTLTOOL_DESKTOP_RULE
924 MAINTAINER_MODE_FALSE
934 INSTALL_STRIP_PROGRAM
982 program_transform_name
995 enable_option_checking
996 enable_maintainer_mode
998 enable_dependency_tracking
1007 enable_compile_warnings
1022 with_gconf_schema_file_dir
1023 enable_schemas_install
1025 ac_precious_vars='build_alias
1045 LIBGSF_BONOBO_CFLAGS
1053 # Initialize some variables set by options.
1055 ac_init_version=false
1056 ac_unrecognized_opts=
1057 ac_unrecognized_sep=
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file=/dev/null
1067 program_transform_name=s,x,x,
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir='${exec_prefix}/bin'
1082 sbindir='${exec_prefix}/sbin'
1083 libexecdir='${exec_prefix}/libexec'
1084 datarootdir='${prefix}/share'
1085 datadir='${datarootdir}'
1086 sysconfdir='${prefix}/etc'
1087 sharedstatedir='${prefix}/com'
1088 localstatedir='${prefix}/var'
1089 includedir='${prefix}/include'
1090 oldincludedir='/usr/include'
1091 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir='${datarootdir}/info'
1097 libdir='${exec_prefix}/lib'
1098 localedir='${datarootdir}/locale'
1099 mandir='${datarootdir}/man'
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\$ac_option
1113 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1118 # Accept the important Cygnus configure options, so we can diagnose typos.
1120 case $ac_dashdash$ac_option in
1124 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1126 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1127 bindir=$ac_optarg ;;
1129 -build | --build | --buil | --bui | --bu)
1130 ac_prev=build_alias ;;
1131 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1132 build_alias=$ac_optarg ;;
1134 -cache-file | --cache-file | --cache-fil | --cache-fi \
1135 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1136 ac_prev=cache_file ;;
1137 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1138 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1139 cache_file=$ac_optarg ;;
1141 --config-cache | -C)
1142 cache_file=config.cache ;;
1144 -datadir | --datadir | --datadi | --datad)
1146 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1147 datadir=$ac_optarg ;;
1149 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1150 | --dataroo | --dataro | --datar)
1151 ac_prev=datarootdir ;;
1152 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1153 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1154 datarootdir=$ac_optarg ;;
1156 -disable-* | --disable-*)
1157 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1160 as_fn_error $? "invalid feature name: $ac_useropt"
1161 ac_useropt_orig=$ac_useropt
1162 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163 case $ac_user_opts in
1165 "enable_$ac_useropt"
1167 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1168 ac_unrecognized_sep=', ';;
1170 eval enable_$ac_useropt=no ;;
1172 -docdir | --docdir | --docdi | --doc | --do)
1174 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1175 docdir=$ac_optarg ;;
1177 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1179 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1180 dvidir=$ac_optarg ;;
1182 -enable-* | --enable-*)
1183 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1184 # Reject names that are not valid shell variable names.
1185 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186 as_fn_error $? "invalid feature name: $ac_useropt"
1187 ac_useropt_orig=$ac_useropt
1188 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189 case $ac_user_opts in
1191 "enable_$ac_useropt"
1193 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1194 ac_unrecognized_sep=', ';;
1196 eval enable_$ac_useropt=\$ac_optarg ;;
1198 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1199 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1200 | --exec | --exe | --ex)
1201 ac_prev=exec_prefix ;;
1202 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1203 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1204 | --exec=* | --exe=* | --ex=*)
1205 exec_prefix=$ac_optarg ;;
1207 -gas | --gas | --ga | --g)
1208 # Obsolete; use --with-gas.
1211 -help | --help | --hel | --he | -h)
1212 ac_init_help=long ;;
1213 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1214 ac_init_help=recursive ;;
1215 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1216 ac_init_help=short ;;
1218 -host | --host | --hos | --ho)
1219 ac_prev=host_alias ;;
1220 -host=* | --host=* | --hos=* | --ho=*)
1221 host_alias=$ac_optarg ;;
1223 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1225 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1227 htmldir=$ac_optarg ;;
1229 -includedir | --includedir | --includedi | --included | --include \
1230 | --includ | --inclu | --incl | --inc)
1231 ac_prev=includedir ;;
1232 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1233 | --includ=* | --inclu=* | --incl=* | --inc=*)
1234 includedir=$ac_optarg ;;
1236 -infodir | --infodir | --infodi | --infod | --info | --inf)
1238 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1239 infodir=$ac_optarg ;;
1241 -libdir | --libdir | --libdi | --libd)
1243 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1244 libdir=$ac_optarg ;;
1246 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1247 | --libexe | --libex | --libe)
1248 ac_prev=libexecdir ;;
1249 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1250 | --libexe=* | --libex=* | --libe=*)
1251 libexecdir=$ac_optarg ;;
1253 -localedir | --localedir | --localedi | --localed | --locale)
1254 ac_prev=localedir ;;
1255 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1256 localedir=$ac_optarg ;;
1258 -localstatedir | --localstatedir | --localstatedi | --localstated \
1259 | --localstate | --localstat | --localsta | --localst | --locals)
1260 ac_prev=localstatedir ;;
1261 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1262 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1263 localstatedir=$ac_optarg ;;
1265 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1267 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1268 mandir=$ac_optarg ;;
1270 -nfp | --nfp | --nf)
1271 # Obsolete; use --without-fp.
1274 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1275 | --no-cr | --no-c | -n)
1278 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1279 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1282 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1283 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1284 | --oldin | --oldi | --old | --ol | --o)
1285 ac_prev=oldincludedir ;;
1286 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1287 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1288 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1289 oldincludedir=$ac_optarg ;;
1291 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1293 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1294 prefix=$ac_optarg ;;
1296 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1297 | --program-pre | --program-pr | --program-p)
1298 ac_prev=program_prefix ;;
1299 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1300 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1301 program_prefix=$ac_optarg ;;
1303 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1304 | --program-suf | --program-su | --program-s)
1305 ac_prev=program_suffix ;;
1306 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1307 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1308 program_suffix=$ac_optarg ;;
1310 -program-transform-name | --program-transform-name \
1311 | --program-transform-nam | --program-transform-na \
1312 | --program-transform-n | --program-transform- \
1313 | --program-transform | --program-transfor \
1314 | --program-transfo | --program-transf \
1315 | --program-trans | --program-tran \
1316 | --progr-tra | --program-tr | --program-t)
1317 ac_prev=program_transform_name ;;
1318 -program-transform-name=* | --program-transform-name=* \
1319 | --program-transform-nam=* | --program-transform-na=* \
1320 | --program-transform-n=* | --program-transform-=* \
1321 | --program-transform=* | --program-transfor=* \
1322 | --program-transfo=* | --program-transf=* \
1323 | --program-trans=* | --program-tran=* \
1324 | --progr-tra=* | --program-tr=* | --program-t=*)
1325 program_transform_name=$ac_optarg ;;
1327 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1329 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1330 pdfdir=$ac_optarg ;;
1332 -psdir | --psdir | --psdi | --psd | --ps)
1334 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1337 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1338 | -silent | --silent | --silen | --sile | --sil)
1341 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1343 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1345 sbindir=$ac_optarg ;;
1347 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1348 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1349 | --sharedst | --shareds | --shared | --share | --shar \
1351 ac_prev=sharedstatedir ;;
1352 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1353 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1354 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1356 sharedstatedir=$ac_optarg ;;
1358 -site | --site | --sit)
1360 -site=* | --site=* | --sit=*)
1363 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1365 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1366 srcdir=$ac_optarg ;;
1368 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1369 | --syscon | --sysco | --sysc | --sys | --sy)
1370 ac_prev=sysconfdir ;;
1371 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1372 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1373 sysconfdir=$ac_optarg ;;
1375 -target | --target | --targe | --targ | --tar | --ta | --t)
1376 ac_prev=target_alias ;;
1377 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1378 target_alias=$ac_optarg ;;
1380 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1383 -version | --version | --versio | --versi | --vers | -V)
1384 ac_init_version=: ;;
1387 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1388 # Reject names that are not valid shell variable names.
1389 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1390 as_fn_error $? "invalid package name: $ac_useropt"
1391 ac_useropt_orig=$ac_useropt
1392 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1393 case $ac_user_opts in
1397 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1398 ac_unrecognized_sep=', ';;
1400 eval with_$ac_useropt=\$ac_optarg ;;
1402 -without-* | --without-*)
1403 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1404 # Reject names that are not valid shell variable names.
1405 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1406 as_fn_error $? "invalid package name: $ac_useropt"
1407 ac_useropt_orig=$ac_useropt
1408 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1409 case $ac_user_opts in
1413 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1414 ac_unrecognized_sep=', ';;
1416 eval with_$ac_useropt=no ;;
1419 # Obsolete; use --with-x.
1422 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1423 | --x-incl | --x-inc | --x-in | --x-i)
1424 ac_prev=x_includes ;;
1425 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1426 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1427 x_includes=$ac_optarg ;;
1429 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1430 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1431 ac_prev=x_libraries ;;
1432 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1433 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1434 x_libraries=$ac_optarg ;;
1436 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1437 Try \`$0 --help' for more information"
1441 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1442 # Reject names that are not valid shell variable names.
1443 case $ac_envvar in #(
1444 '' | [0-9]* | *[!_$as_cr_alnum]* )
1445 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1447 eval $ac_envvar=\$ac_optarg
1448 export $ac_envvar ;;
1451 # FIXME: should be removed in autoconf 3.0.
1452 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1453 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1454 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1455 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1461 if test -n "$ac_prev"; then
1462 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1463 as_fn_error $? "missing argument to $ac_option"
1466 if test -n "$ac_unrecognized_opts"; then
1467 case $enable_option_checking in
1469 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1470 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1474 # Check all directory arguments for consistency.
1475 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1476 datadir sysconfdir sharedstatedir localstatedir includedir \
1477 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1478 libdir localedir mandir
1480 eval ac_val=\$$ac_var
1481 # Remove trailing slashes.
1484 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1485 eval $ac_var=\$ac_val;;
1487 # Be sure to have absolute directory names.
1489 [\\/$]* | ?:[\\/]* ) continue;;
1490 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1492 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1495 # There might be people who depend on the old broken behavior: `$host'
1496 # used to hold the argument of --host etc.
1497 # FIXME: To remove some day.
1500 target=$target_alias
1502 # FIXME: To remove some day.
1503 if test "x$host_alias" != x; then
1504 if test "x$build_alias" = x; then
1505 cross_compiling=maybe
1506 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1507 If a cross compiler is detected then cross compile mode will be used" >&2
1508 elif test "x$build_alias" != "x$host_alias"; then
1514 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1516 test "$silent" = yes && exec 6>/dev/null
1519 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1520 ac_ls_di=`ls -di .` &&
1521 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1522 as_fn_error $? "working directory cannot be determined"
1523 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1524 as_fn_error $? "pwd does not report name of working directory"
1527 # Find the source files, if location was not specified.
1528 if test -z "$srcdir"; then
1529 ac_srcdir_defaulted=yes
1530 # Try the directory containing this script, then the parent directory.
1531 ac_confdir=`$as_dirname -- "$as_myself" ||
1532 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1533 X"$as_myself" : 'X\(//\)[^/]' \| \
1534 X"$as_myself" : 'X\(//\)$' \| \
1535 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1536 $as_echo X"$as_myself" |
1537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1555 if test ! -r "$srcdir/$ac_unique_file"; then
1559 ac_srcdir_defaulted=no
1561 if test ! -r "$srcdir/$ac_unique_file"; then
1562 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1563 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1565 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1567 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1569 # When building in place, set srcdir=.
1570 if test "$ac_abs_confdir" = "$ac_pwd"; then
1573 # Remove unnecessary trailing slashes from srcdir.
1574 # Double slashes in file names in object file debugging info
1575 # mess up M-x gdb in Emacs.
1577 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1579 for ac_var in $ac_precious_vars; do
1580 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1581 eval ac_env_${ac_var}_value=\$${ac_var}
1582 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1583 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1587 # Report the --help message.
1589 if test "$ac_init_help" = "long"; then
1590 # Omit some internal or obsolete options to make the list less imposing.
1591 # This message is too long to be a string in the A/UX 3.1 sh.
1593 \`configure' configures libgsf 1.14.21 to adapt to many kinds of systems.
1595 Usage: $0 [OPTION]... [VAR=VALUE]...
1597 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1598 VAR=VALUE. See below for descriptions of some of the useful variables.
1600 Defaults for the options are specified in brackets.
1603 -h, --help display this help and exit
1604 --help=short display options specific to this package
1605 --help=recursive display the short help of all the included packages
1606 -V, --version display version information and exit
1607 -q, --quiet, --silent do not print \`checking ...' messages
1608 --cache-file=FILE cache test results in FILE [disabled]
1609 -C, --config-cache alias for \`--cache-file=config.cache'
1610 -n, --no-create do not create output files
1611 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1613 Installation directories:
1614 --prefix=PREFIX install architecture-independent files in PREFIX
1615 [$ac_default_prefix]
1616 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1619 By default, \`make install' will install all the files in
1620 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1621 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1622 for instance \`--prefix=\$HOME'.
1624 For better control, use the options below.
1626 Fine tuning of the installation directories:
1627 --bindir=DIR user executables [EPREFIX/bin]
1628 --sbindir=DIR system admin executables [EPREFIX/sbin]
1629 --libexecdir=DIR program executables [EPREFIX/libexec]
1630 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1631 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1632 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1633 --libdir=DIR object code libraries [EPREFIX/lib]
1634 --includedir=DIR C header files [PREFIX/include]
1635 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1636 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1637 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1638 --infodir=DIR info documentation [DATAROOTDIR/info]
1639 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1640 --mandir=DIR man documentation [DATAROOTDIR/man]
1641 --docdir=DIR documentation root [DATAROOTDIR/doc/libgsf]
1642 --htmldir=DIR html documentation [DOCDIR]
1643 --dvidir=DIR dvi documentation [DOCDIR]
1644 --pdfdir=DIR pdf documentation [DOCDIR]
1645 --psdir=DIR ps documentation [DOCDIR]
1651 --program-prefix=PREFIX prepend PREFIX to installed program names
1652 --program-suffix=SUFFIX append SUFFIX to installed program names
1653 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1656 --build=BUILD configure for building on BUILD [guessed]
1657 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1661 if test -n "$ac_init_help"; then
1662 case $ac_init_help in
1663 short | recursive ) echo "Configuration of libgsf 1.14.21:";;
1668 --disable-option-checking ignore unrecognized --enable/--with options
1669 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1670 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1671 --enable-maintainer-mode enable make rules and dependencies not useful
1672 (and sometimes confusing) to the casual installer
1673 --enable-silent-rules less verbose build output (undo: `make V=1')
1674 --disable-silent-rules verbose build output (undo: `make V=0')
1675 --disable-dependency-tracking speeds up one-time build
1676 --enable-dependency-tracking do not reject slow dependency extractors
1677 --enable-shared[=PKGS] build shared libraries [default=yes]
1678 --enable-static[=PKGS] build static libraries [default=yes]
1679 --enable-fast-install[=PKGS]
1680 optimize for fast installation [default=yes]
1681 --disable-libtool-lock avoid locking (might break parallel builds)
1682 --disable-largefile omit support for large files
1683 --disable-nls do not use Native Language Support
1684 --enable-compile-warnings=[no/minimum/yes/maximum/error]
1685 Turn on compiler warnings
1686 --enable-iso-c Try to warn if code is not ISO C
1687 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1688 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1689 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1690 --disable-schemas-install
1691 Disable the schemas installation
1694 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1695 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1696 --with-pic try to use only PIC/non-PIC objects [default=use
1698 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1699 --with-html-dir=PATH path to installed docs
1700 --with-zlib=DIR use libz in DIR
1701 --{with,without}-python Build with the python support
1702 --{with,without}-bz2 Build additional wrappers for BZ2
1703 --{with,without}-gio Build additional wrappers for GIO
1704 --{with,without}-gnome-vfs Build wrappers for GNOME-VFS
1705 --without-bonobo disable the use of bonobo
1706 --without-gdk-pixbuf disable the use of gdk-pixbuf
1707 --without-gconf disable the use of gconf (default: auto)
1708 --with-gconf-source=sourceaddress
1709 Config database for installing schema files.
1710 --with-gconf-schema-file-dir=dir
1711 Directory for installing schema files.
1713 Some influential environment variables:
1714 CC C compiler command
1715 CFLAGS C compiler flags
1716 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1717 nonstandard directory <lib dir>
1718 LIBS libraries to pass to the linker, e.g. -l<library>
1719 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1720 you have headers in a nonstandard directory <include dir>
1722 PKG_CONFIG path to pkg-config utility
1724 directories to add to pkg-config's search path
1726 path overriding pkg-config's built-in search path
1728 C compiler flags for LIBGSF, overriding pkg-config
1729 LIBGSF_LIBS linker flags for LIBGSF, overriding pkg-config
1730 WINDRES The windres executable (used by win32 builds only).
1731 LIBEXE The lib.exe executable (used by win32 builds only).
1733 C compiler flags for PYGTK, overriding pkg-config
1734 PYGTK_LIBS linker flags for PYGTK, overriding pkg-config
1736 C compiler flags for LIBGSF_GIO, overriding pkg-config
1738 linker flags for LIBGSF_GIO, overriding pkg-config
1739 LIBGSF_BONOBO_CFLAGS
1740 C compiler flags for LIBGSF_BONOBO, overriding pkg-config
1742 linker flags for LIBGSF_BONOBO, overriding pkg-config
1744 C compiler flags for GDK_PIXBUF, overriding pkg-config
1746 linker flags for GDK_PIXBUF, overriding pkg-config
1748 C compiler flags for LIBGSF_GNOME, overriding pkg-config
1750 linker flags for LIBGSF_GNOME, overriding pkg-config
1752 Use these variables to override the choices made by `configure' or to help
1753 it to find libraries and programs with nonstandard names/locations.
1755 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libgsf>.
1760 if test "$ac_init_help" = "recursive"; then
1761 # If there are subdirs, report their specific --help.
1762 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1763 test -d "$ac_dir" ||
1764 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1769 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1771 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1772 # A ".." for each directory in $ac_dir_suffix.
1773 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1774 case $ac_top_builddir_sub in
1775 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1776 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1779 ac_abs_top_builddir=$ac_pwd
1780 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1781 # for backward compatibility:
1782 ac_top_builddir=$ac_top_build_prefix
1785 .) # We are building in place.
1787 ac_top_srcdir=$ac_top_builddir_sub
1788 ac_abs_top_srcdir=$ac_pwd ;;
1789 [\\/]* | ?:[\\/]* ) # Absolute name.
1790 ac_srcdir=$srcdir$ac_dir_suffix;
1791 ac_top_srcdir=$srcdir
1792 ac_abs_top_srcdir=$srcdir ;;
1794 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1795 ac_top_srcdir=$ac_top_build_prefix$srcdir
1796 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1798 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1800 cd "$ac_dir" || { ac_status=$?; continue; }
1801 # Check for guested configure.
1802 if test -f "$ac_srcdir/configure.gnu"; then
1804 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1805 elif test -f "$ac_srcdir/configure"; then
1807 $SHELL "$ac_srcdir/configure" --help=recursive
1809 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1811 cd "$ac_pwd" || { ac_status=$?; break; }
1815 test -n "$ac_init_help" && exit $ac_status
1816 if $ac_init_version; then
1818 libgsf configure 1.14.21
1819 generated by GNU Autoconf 2.68
1821 Copyright (C) 2010 Free Software Foundation, Inc.
1822 This configure script is free software; the Free Software Foundation
1823 gives unlimited permission to copy, distribute and modify it.
1828 ## ------------------------ ##
1829 ## Autoconf initialization. ##
1830 ## ------------------------ ##
1832 # ac_fn_c_try_compile LINENO
1833 # --------------------------
1834 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1835 ac_fn_c_try_compile ()
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 rm -f conftest.$ac_objext
1839 if { { ac_try="$ac_compile"
1841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842 *) ac_try_echo=$ac_try;;
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_compile") 2>conftest.err
1848 if test -s conftest.err; then
1849 grep -v '^ *+' conftest.err >conftest.er1
1850 cat conftest.er1 >&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && {
1855 test -z "$ac_c_werror_flag" ||
1856 test ! -s conftest.err
1857 } && test -s conftest.$ac_objext; then :
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 as_fn_set_status $ac_retval
1868 } # ac_fn_c_try_compile
1870 # ac_fn_c_try_link LINENO
1871 # -----------------------
1872 # Try to link conftest.$ac_ext, and return whether this succeeded.
1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876 rm -f conftest.$ac_objext conftest$ac_exeext
1877 if { { ac_try="$ac_link"
1879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1880 *) ac_try_echo=$ac_try;;
1882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_link") 2>conftest.err
1886 if test -s conftest.err; then
1887 grep -v '^ *+' conftest.err >conftest.er1
1888 cat conftest.er1 >&5
1889 mv -f conftest.er1 conftest.err
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; } && {
1893 test -z "$ac_c_werror_flag" ||
1894 test ! -s conftest.err
1895 } && test -s conftest$ac_exeext && {
1896 test "$cross_compiling" = yes ||
1897 $as_test_x conftest$ac_exeext
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1906 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1907 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1908 # interfere with the next link command; also delete a directory that is
1909 # left behind by Apple's compiler. We do this before executing the actions.
1910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1912 as_fn_set_status $ac_retval
1914 } # ac_fn_c_try_link
1916 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1917 # -------------------------------------------------------
1918 # Tests whether HEADER exists and can be compiled using the include files in
1919 # INCLUDES, setting the cache variable VAR accordingly.
1920 ac_fn_c_check_header_compile ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1924 $as_echo_n "checking for $2... " >&6; }
1925 if eval \${$3+:} false; then :
1926 $as_echo_n "(cached) " >&6
1928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1929 /* end confdefs.h. */
1933 if ac_fn_c_try_compile "$LINENO"; then :
1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942 $as_echo "$ac_res" >&6; }
1943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1945 } # ac_fn_c_check_header_compile
1947 # ac_fn_c_try_cpp LINENO
1948 # ----------------------
1949 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953 if { { ac_try="$ac_cpp conftest.$ac_ext"
1955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1956 *) ac_try_echo=$ac_try;;
1958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959 $as_echo "$ac_try_echo"; } >&5
1960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1962 if test -s conftest.err; then
1963 grep -v '^ *+' conftest.err >conftest.er1
1964 cat conftest.er1 >&5
1965 mv -f conftest.er1 conftest.err
1967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968 test $ac_status = 0; } > conftest.i && {
1969 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1970 test ! -s conftest.err
1974 $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1980 as_fn_set_status $ac_retval
1984 # ac_fn_c_try_run LINENO
1985 # ----------------------
1986 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1987 # that executables *can* be run.
1990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1991 if { { ac_try="$ac_link"
1993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1994 *) ac_try_echo=$ac_try;;
1996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1997 $as_echo "$ac_try_echo"; } >&5
1998 (eval "$ac_link") 2>&5
2000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2001 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2002 { { case "(($ac_try" in
2003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2004 *) ac_try_echo=$ac_try;;
2006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2007 $as_echo "$ac_try_echo"; } >&5
2008 (eval "$ac_try") 2>&5
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; }; }; then :
2014 $as_echo "$as_me: program exited with status $ac_status" >&5
2015 $as_echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.$ac_ext >&5
2018 ac_retval=$ac_status
2020 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2022 as_fn_set_status $ac_retval
2026 # ac_fn_c_check_func LINENO FUNC VAR
2027 # ----------------------------------
2028 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2029 ac_fn_c_check_func ()
2031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2033 $as_echo_n "checking for $2... " >&6; }
2034 if eval \${$3+:} false; then :
2035 $as_echo_n "(cached) " >&6
2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h. */
2039 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2041 #define $2 innocuous_$2
2043 /* System header to define __stub macros and hopefully few prototypes,
2044 which can conflict with char $2 (); below.
2045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2046 <limits.h> exists even on freestanding compilers. */
2049 # include <limits.h>
2051 # include <assert.h>
2056 /* Override any GCC internal prototype to avoid an error.
2057 Use char because int might match the return type of a GCC
2058 builtin and then its argument prototype would still apply. */
2063 /* The GNU C library defines this for functions which it implements
2064 to always fail with ENOSYS. Some functions are actually named
2065 something starting with __ and the normal name is an alias. */
2066 #if defined __stub_$2 || defined __stub___$2
2078 if ac_fn_c_try_link "$LINENO"; then :
2083 rm -f core conftest.err conftest.$ac_objext \
2084 conftest$ac_exeext conftest.$ac_ext
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088 $as_echo "$ac_res" >&6; }
2089 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2091 } # ac_fn_c_check_func
2093 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2094 # -------------------------------------------------------
2095 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2096 # the include files in INCLUDES and setting the cache variable VAR
2098 ac_fn_c_check_header_mongrel ()
2100 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2101 if eval \${$3+:} false; then :
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2103 $as_echo_n "checking for $2... " >&6; }
2104 if eval \${$3+:} false; then :
2105 $as_echo_n "(cached) " >&6
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2109 $as_echo "$ac_res" >&6; }
2111 # Is the header compilable?
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2113 $as_echo_n "checking $2 usability... " >&6; }
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2119 if ac_fn_c_try_compile "$LINENO"; then :
2120 ac_header_compiler=yes
2122 ac_header_compiler=no
2124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2126 $as_echo "$ac_header_compiler" >&6; }
2128 # Is the header present?
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2130 $as_echo_n "checking $2 presence... " >&6; }
2131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2132 /* end confdefs.h. */
2135 if ac_fn_c_try_cpp "$LINENO"; then :
2136 ac_header_preproc=yes
2138 ac_header_preproc=no
2140 rm -f conftest.err conftest.i conftest.$ac_ext
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2142 $as_echo "$ac_header_preproc" >&6; }
2144 # So? What about this header?
2145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2148 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2150 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2154 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2156 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2158 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2160 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2162 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2163 ( $as_echo "## --------------------------------------------------------------------- ##
2164 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=libgsf ##
2165 ## --------------------------------------------------------------------- ##"
2166 ) | sed "s/^/$as_me: WARNING: /" >&2
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2170 $as_echo_n "checking for $2... " >&6; }
2171 if eval \${$3+:} false; then :
2172 $as_echo_n "(cached) " >&6
2174 eval "$3=\$ac_header_compiler"
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; }
2180 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2182 } # ac_fn_c_check_header_mongrel
2184 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2185 # ---------------------------------------------
2186 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2188 ac_fn_c_check_decl ()
2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191 as_decl_name=`echo $2|sed 's/ *(.*//'`
2192 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2194 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2195 if eval \${$3+:} false; then :
2196 $as_echo_n "(cached) " >&6
2198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2199 /* end confdefs.h. */
2204 #ifndef $as_decl_name
2206 (void) $as_decl_use;
2208 (void) $as_decl_name;
2216 if ac_fn_c_try_compile "$LINENO"; then :
2221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2225 $as_echo "$ac_res" >&6; }
2226 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2228 } # ac_fn_c_check_decl
2230 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2231 # -------------------------------------------
2232 # Tests whether TYPE exists after having included INCLUDES, setting cache
2233 # variable VAR accordingly.
2234 ac_fn_c_check_type ()
2236 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2238 $as_echo_n "checking for $2... " >&6; }
2239 if eval \${$3+:} false; then :
2240 $as_echo_n "(cached) " >&6
2243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244 /* end confdefs.h. */
2255 if ac_fn_c_try_compile "$LINENO"; then :
2256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2257 /* end confdefs.h. */
2268 if ac_fn_c_try_compile "$LINENO"; then :
2273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2279 $as_echo "$ac_res" >&6; }
2280 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2282 } # ac_fn_c_check_type
2284 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2285 # ----------------------------------------------------
2286 # Tries to find if the field MEMBER exists in type AGGR, after including
2287 # INCLUDES, setting cache variable VAR accordingly.
2288 ac_fn_c_check_member ()
2290 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2292 $as_echo_n "checking for $2.$3... " >&6; }
2293 if eval \${$4+:} false; then :
2294 $as_echo_n "(cached) " >&6
2296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2297 /* end confdefs.h. */
2309 if ac_fn_c_try_compile "$LINENO"; then :
2312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2313 /* end confdefs.h. */
2319 if (sizeof ac_aggr.$3)
2325 if ac_fn_c_try_compile "$LINENO"; then :
2330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2336 $as_echo "$ac_res" >&6; }
2337 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2339 } # ac_fn_c_check_member
2340 cat >config.log <<_ACEOF
2341 This file contains any messages produced by compilers while
2342 running configure, to aid debugging if configure makes a mistake.
2344 It was created by libgsf $as_me 1.14.21, which was
2345 generated by GNU Autoconf 2.68. Invocation command line was
2357 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2358 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2359 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2360 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2361 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2363 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2364 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2366 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2367 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2368 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2369 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2370 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2371 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2372 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2380 test -z "$as_dir" && as_dir=.
2381 $as_echo "PATH: $as_dir"
2397 # Keep a trace of the command line.
2398 # Strip out --no-create and --no-recursion so they do not pile up.
2399 # Strip out --silent because we don't want to record it for future runs.
2400 # Also quote any args containing shell meta-characters.
2401 # Make two passes to allow for proper duplicate-argument suppression.
2405 ac_must_keep_next=false
2411 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2412 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2413 | -silent | --silent | --silen | --sile | --sil)
2416 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2419 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2421 as_fn_append ac_configure_args1 " '$ac_arg'"
2422 if test $ac_must_keep_next = true; then
2423 ac_must_keep_next=false # Got value, back to normal.
2426 *=* | --config-cache | -C | -disable-* | --disable-* \
2427 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2428 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2429 | -with-* | --with-* | -without-* | --without-* | --x)
2430 case "$ac_configure_args0 " in
2431 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2434 -* ) ac_must_keep_next=true ;;
2437 as_fn_append ac_configure_args " '$ac_arg'"
2442 { ac_configure_args0=; unset ac_configure_args0;}
2443 { ac_configure_args1=; unset ac_configure_args1;}
2445 # When interrupted or exit'd, cleanup temporary files, and complete
2446 # config.log. We remove comments because anyway the quotes in there
2447 # would cause problems or look ugly.
2448 # WARNING: Use '\'' to represent an apostrophe within the trap.
2449 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2450 trap 'exit_status=$?
2451 # Save into config.log some information that might help in debugging.
2455 $as_echo "## ---------------- ##
2456 ## Cache variables. ##
2457 ## ---------------- ##"
2459 # The following way of writing the cache mishandles newlines in values,
2461 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2462 eval ac_val=\$$ac_var
2466 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2467 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2470 _ | IFS | as_nl) ;; #(
2471 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2472 *) { eval $ac_var=; unset $ac_var;} ;;
2477 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2478 *${as_nl}ac_space=\ *)
2480 "s/'\''/'\''\\\\'\'''\''/g;
2481 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2484 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2491 $as_echo "## ----------------- ##
2492 ## Output variables. ##
2493 ## ----------------- ##"
2495 for ac_var in $ac_subst_vars
2497 eval ac_val=\$$ac_var
2499 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2501 $as_echo "$ac_var='\''$ac_val'\''"
2505 if test -n "$ac_subst_files"; then
2506 $as_echo "## ------------------- ##
2507 ## File substitutions. ##
2508 ## ------------------- ##"
2510 for ac_var in $ac_subst_files
2512 eval ac_val=\$$ac_var
2514 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2516 $as_echo "$ac_var='\''$ac_val'\''"
2521 if test -s confdefs.h; then
2522 $as_echo "## ----------- ##
2529 test "$ac_signal" != 0 &&
2530 $as_echo "$as_me: caught signal $ac_signal"
2531 $as_echo "$as_me: exit $exit_status"
2533 rm -f core *.core core.conftest.* &&
2534 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2537 for ac_signal in 1 2 13 15; do
2538 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2542 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2543 rm -f -r conftest* confdefs.h
2545 $as_echo "/* confdefs.h */" > confdefs.h
2547 # Predefined preprocessor variables.
2549 cat >>confdefs.h <<_ACEOF
2550 #define PACKAGE_NAME "$PACKAGE_NAME"
2553 cat >>confdefs.h <<_ACEOF
2554 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2557 cat >>confdefs.h <<_ACEOF
2558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2561 cat >>confdefs.h <<_ACEOF
2562 #define PACKAGE_STRING "$PACKAGE_STRING"
2565 cat >>confdefs.h <<_ACEOF
2566 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2569 cat >>confdefs.h <<_ACEOF
2570 #define PACKAGE_URL "$PACKAGE_URL"
2574 # Let the site file select an alternate cache file if it wants to.
2575 # Prefer an explicitly selected file to automatically selected ones.
2578 if test -n "$CONFIG_SITE"; then
2579 # We do not want a PATH search for config.site.
2580 case $CONFIG_SITE in #((
2581 -*) ac_site_file1=./$CONFIG_SITE;;
2582 */*) ac_site_file1=$CONFIG_SITE;;
2583 *) ac_site_file1=./$CONFIG_SITE;;
2585 elif test "x$prefix" != xNONE; then
2586 ac_site_file1=$prefix/share/config.site
2587 ac_site_file2=$prefix/etc/config.site
2589 ac_site_file1=$ac_default_prefix/share/config.site
2590 ac_site_file2=$ac_default_prefix/etc/config.site
2592 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2594 test "x$ac_site_file" = xNONE && continue
2595 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2597 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2598 sed 's/^/| /' "$ac_site_file" >&5
2600 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602 as_fn_error $? "failed to load site script $ac_site_file
2603 See \`config.log' for more details" "$LINENO" 5; }
2607 if test -r "$cache_file"; then
2608 # Some versions of bash will fail to source /dev/null (special files
2609 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2610 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2612 $as_echo "$as_me: loading cache $cache_file" >&6;}
2614 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2615 *) . "./$cache_file";;
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2620 $as_echo "$as_me: creating cache $cache_file" >&6;}
2624 as_fn_append ac_header_list " stdlib.h"
2625 as_fn_append ac_header_list " unistd.h"
2626 as_fn_append ac_header_list " sys/param.h"
2627 # Check that the precious variables saved in the cache have kept the same
2629 ac_cache_corrupted=false
2630 for ac_var in $ac_precious_vars; do
2631 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2632 eval ac_new_set=\$ac_env_${ac_var}_set
2633 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2634 eval ac_new_val=\$ac_env_${ac_var}_value
2635 case $ac_old_set,$ac_new_set in
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2638 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2639 ac_cache_corrupted=: ;;
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2642 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2643 ac_cache_corrupted=: ;;
2646 if test "x$ac_old_val" != "x$ac_new_val"; then
2647 # differences in whitespace do not lead to failure.
2648 ac_old_val_w=`echo x $ac_old_val`
2649 ac_new_val_w=`echo x $ac_new_val`
2650 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2652 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2653 ac_cache_corrupted=:
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2656 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2657 eval $ac_var=\$ac_old_val
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2660 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2662 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2665 # Pass precious variables to config.status.
2666 if test "$ac_new_set" = set; then
2668 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2669 *) ac_arg=$ac_var=$ac_new_val ;;
2671 case " $ac_configure_args " in
2672 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2673 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2677 if $ac_cache_corrupted; then
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2681 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2682 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2684 ## -------------------- ##
2685 ## Main body of script. ##
2686 ## -------------------- ##
2689 ac_cpp='$CPP $CPPFLAGS'
2690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2697 ACLOCAL_AMFLAGS="$ACLOCAL_FLAGS -I m4"
2700 LIBGSF_MAJOR_VERSION=1
2702 LIBGSF_MINOR_VERSION=14
2704 LIBGSF_MICRO_VERSION=21
2709 VERSION_INFO=114:21:0
2711 CURRENT_MINUS_AGE=114
2714 am__api_version='1.11'
2717 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2718 if test -f "$ac_dir/install-sh"; then
2720 ac_install_sh="$ac_aux_dir/install-sh -c"
2722 elif test -f "$ac_dir/install.sh"; then
2724 ac_install_sh="$ac_aux_dir/install.sh -c"
2726 elif test -f "$ac_dir/shtool"; then
2728 ac_install_sh="$ac_aux_dir/shtool install -c"
2732 if test -z "$ac_aux_dir"; then
2733 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2736 # These three variables are undocumented and unsupported,
2737 # and are intended to be withdrawn in a future Autoconf release.
2738 # They can cause serious problems if a builder's source tree is in a directory
2739 # whose full name contains unusual characters.
2740 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2741 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2742 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2745 # Find a good install program. We prefer a C program (faster),
2746 # so one script is as good as another. But avoid the broken or
2747 # incompatible versions:
2748 # SysV /etc/install, /usr/sbin/install
2749 # SunOS /usr/etc/install
2750 # IRIX /sbin/install
2752 # AmigaOS /C/install, which installs bootblocks on floppy discs
2753 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2754 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2755 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2756 # OS/2's system install, which has a completely different semantic
2757 # ./install, which can be erroneously created by make from ./install.sh.
2758 # Reject install programs that cannot install multiple files.
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2760 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2761 if test -z "$INSTALL"; then
2762 if ${ac_cv_path_install+:} false; then :
2763 $as_echo_n "(cached) " >&6
2765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2769 test -z "$as_dir" && as_dir=.
2770 # Account for people who put trailing slashes in PATH elements.
2771 case $as_dir/ in #((
2772 ./ | .// | /[cC]/* | \
2773 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2774 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2777 # OSF1 and SCO ODT 3.0 have their own names for install.
2778 # Don't use installbsd from OSF since it installs stuff as root
2780 for ac_prog in ginstall scoinst install; do
2781 for ac_exec_ext in '' $ac_executable_extensions; do
2782 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2783 if test $ac_prog = install &&
2784 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2785 # AIX install. It has an incompatible calling convention.
2787 elif test $ac_prog = install &&
2788 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2789 # program-specific install script used by HP pwplus--don't use.
2792 rm -rf conftest.one conftest.two conftest.dir
2793 echo one > conftest.one
2794 echo two > conftest.two
2796 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2797 test -s conftest.one && test -s conftest.two &&
2798 test -s conftest.dir/conftest.one &&
2799 test -s conftest.dir/conftest.two
2801 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2814 rm -rf conftest.one conftest.two conftest.dir
2817 if test "${ac_cv_path_install+set}" = set; then
2818 INSTALL=$ac_cv_path_install
2820 # As a last resort, use the slow shell script. Don't cache a
2821 # value for INSTALL within a source directory, because that will
2822 # break other packages using the cache if that directory is
2823 # removed, or if the value is a relative name.
2824 INSTALL=$ac_install_sh
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2828 $as_echo "$INSTALL" >&6; }
2830 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2831 # It thinks the first close brace ends the variable substitution.
2832 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2834 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2836 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2839 $as_echo_n "checking whether build environment is sane... " >&6; }
2842 echo timestamp > conftest.file
2843 # Reject unsafe characters in $srcdir or the absolute working directory
2844 # name. Accept space and tab only in the latter.
2848 *[\\\"\#\$\&\'\`$am_lf]*)
2849 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2852 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2853 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2856 # Do `set' in a subshell so we don't clobber the current shell's
2857 # arguments. Must try -L first in case configure is actually a
2858 # symlink; some systems play weird games with the mod time of symlinks
2859 # (eg FreeBSD returns the mod time of the symlink's containing
2862 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2863 if test "$*" = "X"; then
2865 set X `ls -t "$srcdir/configure" conftest.file`
2868 if test "$*" != "X $srcdir/configure conftest.file" \
2869 && test "$*" != "X conftest.file $srcdir/configure"; then
2871 # If neither matched, then we have a broken ls. This can happen
2872 # if, for instance, CONFIG_SHELL is bash and it inherits a
2873 # broken ls alias from the environment. This has actually
2874 # happened. Such a system could not be considered "sane".
2875 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2876 alias in your environment" "$LINENO" 5
2879 test "$2" = conftest.file
2885 as_fn_error $? "newly created file is older than distributed files!
2886 Check your system clock" "$LINENO" 5
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2889 $as_echo "yes" >&6; }
2890 test "$program_prefix" != NONE &&
2891 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2892 # Use a double $ so make ignores it.
2893 test "$program_suffix" != NONE &&
2894 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2895 # Double any \ or $.
2896 # By default was `s,x,x', remove it if useless.
2897 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2898 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2900 # expand $ac_aux_dir to an absolute path
2901 am_aux_dir=`cd $ac_aux_dir && pwd`
2903 if test x"${MISSING+set}" != xset; then
2906 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2908 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2911 # Use eval to expand $SHELL
2912 if eval "$MISSING --run true"; then
2913 am_missing_run="$MISSING --run "
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2917 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2920 if test x"${install_sh}" != xset; then
2923 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2925 install_sh="\${SHELL} $am_aux_dir/install-sh"
2929 # Installed binaries are usually stripped using `strip' when the user
2930 # run `make install-strip'. However `strip' might not be the right
2931 # tool to use in cross-compilation environments, therefore Automake
2932 # will honor the `STRIP' environment variable to overrule this program.
2933 if test "$cross_compiling" != no; then
2934 if test -n "$ac_tool_prefix"; then
2935 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2936 set dummy ${ac_tool_prefix}strip; ac_word=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_STRIP+:} false; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$STRIP"; then
2943 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir=.
2950 for ac_exec_ext in '' $ac_executable_extensions; do
2951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2952 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 STRIP=$ac_cv_prog_STRIP
2963 if test -n "$STRIP"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2965 $as_echo "$STRIP" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2973 if test -z "$ac_cv_prog_STRIP"; then
2975 # Extract the first word of "strip", so it can be a program name with args.
2976 set dummy strip; ac_word=$2
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978 $as_echo_n "checking for $ac_word... " >&6; }
2979 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2980 $as_echo_n "(cached) " >&6
2982 if test -n "$ac_ct_STRIP"; then
2983 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir=.
2990 for ac_exec_ext in '' $ac_executable_extensions; do
2991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2992 ac_cv_prog_ac_ct_STRIP="strip"
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3003 if test -n "$ac_ct_STRIP"; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3005 $as_echo "$ac_ct_STRIP" >&6; }
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 $as_echo "no" >&6; }
3011 if test "x$ac_ct_STRIP" = x; then
3014 case $cross_compiling:$ac_tool_warned in
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3018 ac_tool_warned=yes ;;
3023 STRIP="$ac_cv_prog_STRIP"
3027 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3030 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3031 if test -z "$MKDIR_P"; then
3032 if ${ac_cv_path_mkdir+:} false; then :
3033 $as_echo_n "(cached) " >&6
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3039 test -z "$as_dir" && as_dir=.
3040 for ac_prog in mkdir gmkdir; do
3041 for ac_exec_ext in '' $ac_executable_extensions; do
3042 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3043 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3044 'mkdir (GNU coreutils) '* | \
3045 'mkdir (coreutils) '* | \
3046 'mkdir (fileutils) '4.1*)
3047 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3057 test -d ./--version && rmdir ./--version
3058 if test "${ac_cv_path_mkdir+set}" = set; then
3059 MKDIR_P="$ac_cv_path_mkdir -p"
3061 # As a last resort, use the slow shell script. Don't cache a
3062 # value for MKDIR_P within a source directory, because that will
3063 # break other packages using the cache if that directory is
3064 # removed, or if the value is a relative name.
3065 MKDIR_P="$ac_install_sh -d"
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3069 $as_echo "$MKDIR_P" >&6; }
3073 [\\/$]* | ?:[\\/]*) ;;
3074 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3077 for ac_prog in gawk mawk nawk awk
3079 # Extract the first word of "$ac_prog", so it can be a program name with args.
3080 set dummy $ac_prog; ac_word=$2
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082 $as_echo_n "checking for $ac_word... " >&6; }
3083 if ${ac_cv_prog_AWK+:} false; then :
3084 $as_echo_n "(cached) " >&6
3086 if test -n "$AWK"; then
3087 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir=.
3094 for ac_exec_ext in '' $ac_executable_extensions; do
3095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3096 ac_cv_prog_AWK="$ac_prog"
3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3107 if test -n "$AWK"; then
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3109 $as_echo "$AWK" >&6; }
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3116 test -n "$AWK" && break
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3120 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3122 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3123 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3124 $as_echo_n "(cached) " >&6
3126 cat >conftest.make <<\_ACEOF
3129 @echo '@@@%%%=$(MAKE)=@@@%%%'
3131 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3132 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3134 eval ac_cv_prog_make_${ac_make}_set=yes;;
3136 eval ac_cv_prog_make_${ac_make}_set=no;;
3140 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3142 $as_echo "yes" >&6; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3146 $as_echo "no" >&6; }
3147 SET_MAKE="MAKE=${MAKE-make}"
3150 rm -rf .tst 2>/dev/null
3151 mkdir .tst 2>/dev/null
3152 if test -d .tst; then
3157 rmdir .tst 2>/dev/null
3159 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3160 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3161 # is not polluted with repeated "-I."
3162 am__isrc=' -I$(srcdir)'
3163 # test to see if srcdir already configured
3164 if test -f $srcdir/config.status; then
3165 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3169 # test whether we have cygpath
3170 if test -z "$CYGPATH_W"; then
3171 if (cygpath --version) >/dev/null 2>/dev/null; then
3172 CYGPATH_W='cygpath -w'
3179 # Define the identity of the package.
3184 cat >>confdefs.h <<_ACEOF
3185 #define PACKAGE "$PACKAGE"
3189 cat >>confdefs.h <<_ACEOF
3190 #define VERSION "$VERSION"
3193 # Some tools Automake needs.
3195 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3198 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3201 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3204 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3207 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3209 # We need awk for the "check" target. The system "awk" is bad on
3211 # Always define AMTAR for backward compatibility.
3213 AMTAR=${AMTAR-"${am_missing_run}tar"}
3215 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3222 ac_config_headers="$ac_config_headers gsf-config.h"
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3226 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3227 # Check whether --enable-maintainer-mode was given.
3228 if test "${enable_maintainer_mode+set}" = set; then :
3229 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3231 USE_MAINTAINER_MODE=no
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3235 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3236 if test $USE_MAINTAINER_MODE = yes; then
3237 MAINTAINER_MODE_TRUE=
3238 MAINTAINER_MODE_FALSE='#'
3240 MAINTAINER_MODE_TRUE='#'
3241 MAINTAINER_MODE_FALSE=
3244 MAINT=$MAINTAINER_MODE_TRUE
3248 # Check whether --enable-silent-rules was given.
3249 if test "${enable_silent_rules+set}" = set; then :
3250 enableval=$enable_silent_rules;
3253 case $enable_silent_rules in
3254 yes) AM_DEFAULT_VERBOSITY=0;;
3255 no) AM_DEFAULT_VERBOSITY=1;;
3256 *) AM_DEFAULT_VERBOSITY=0;;
3261 ACLOCAL_AMFLAGS=$ACLOCAL_FLAGS
3265 ac_cpp='$CPP $CPPFLAGS'
3266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3269 if test -n "$ac_tool_prefix"; then
3270 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3271 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273 $as_echo_n "checking for $ac_word... " >&6; }
3274 if ${ac_cv_prog_CC+:} false; then :
3275 $as_echo_n "(cached) " >&6
3277 if test -n "$CC"; then
3278 ac_cv_prog_CC="$CC" # Let the user override the test.
3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284 test -z "$as_dir" && as_dir=.
3285 for ac_exec_ext in '' $ac_executable_extensions; do
3286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3287 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3298 if test -n "$CC"; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3300 $as_echo "$CC" >&6; }
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3308 if test -z "$ac_cv_prog_CC"; then
3310 # Extract the first word of "gcc", so it can be a program name with args.
3311 set dummy gcc; ac_word=$2
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3313 $as_echo_n "checking for $ac_word... " >&6; }
3314 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3315 $as_echo_n "(cached) " >&6
3317 if test -n "$ac_ct_CC"; then
3318 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 test -z "$as_dir" && as_dir=.
3325 for ac_exec_ext in '' $ac_executable_extensions; do
3326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3327 ac_cv_prog_ac_ct_CC="gcc"
3328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3337 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3338 if test -n "$ac_ct_CC"; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3340 $as_echo "$ac_ct_CC" >&6; }
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3346 if test "x$ac_ct_CC" = x; then
3349 case $cross_compiling:$ac_tool_warned in
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3353 ac_tool_warned=yes ;;
3361 if test -z "$CC"; then
3362 if test -n "$ac_tool_prefix"; then
3363 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3364 set dummy ${ac_tool_prefix}cc; ac_word=$2
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3366 $as_echo_n "checking for $ac_word... " >&6; }
3367 if ${ac_cv_prog_CC+:} false; then :
3368 $as_echo_n "(cached) " >&6
3370 if test -n "$CC"; then
3371 ac_cv_prog_CC="$CC" # Let the user override the test.
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_CC="${ac_tool_prefix}cc"
3381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3391 if test -n "$CC"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3393 $as_echo "$CC" >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3402 if test -z "$CC"; then
3403 # Extract the first word of "cc", so it can be a program name with args.
3404 set dummy cc; ac_word=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if ${ac_cv_prog_CC+:} false; then :
3408 $as_echo_n "(cached) " >&6
3410 if test -n "$CC"; then
3411 ac_cv_prog_CC="$CC" # Let the user override the test.
3414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3418 test -z "$as_dir" && as_dir=.
3419 for ac_exec_ext in '' $ac_executable_extensions; do
3420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3421 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3422 ac_prog_rejected=yes
3426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3433 if test $ac_prog_rejected = yes; then
3434 # We found a bogon in the path, so make sure we never use it.
3435 set dummy $ac_cv_prog_CC
3437 if test $# != 0; then
3438 # We chose a different compiler from the bogus one.
3439 # However, it has the same basename, so the bogon will be chosen
3440 # first if we set CC to just the basename; use the full file name.
3442 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3448 if test -n "$CC"; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3450 $as_echo "$CC" >&6; }
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3458 if test -z "$CC"; then
3459 if test -n "$ac_tool_prefix"; then
3460 for ac_prog in cl.exe
3462 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3463 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465 $as_echo_n "checking for $ac_word... " >&6; }
3466 if ${ac_cv_prog_CC+:} false; then :
3467 $as_echo_n "(cached) " >&6
3469 if test -n "$CC"; then
3470 ac_cv_prog_CC="$CC" # Let the user override the test.
3472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3476 test -z "$as_dir" && as_dir=.
3477 for ac_exec_ext in '' $ac_executable_extensions; do
3478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3479 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3490 if test -n "$CC"; then
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3492 $as_echo "$CC" >&6; }
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495 $as_echo "no" >&6; }
3499 test -n "$CC" && break
3502 if test -z "$CC"; then
3504 for ac_prog in cl.exe
3506 # Extract the first word of "$ac_prog", so it can be a program name with args.
3507 set dummy $ac_prog; ac_word=$2
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3509 $as_echo_n "checking for $ac_word... " >&6; }
3510 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3511 $as_echo_n "(cached) " >&6
3513 if test -n "$ac_ct_CC"; then
3514 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3520 test -z "$as_dir" && as_dir=.
3521 for ac_exec_ext in '' $ac_executable_extensions; do
3522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3523 ac_cv_prog_ac_ct_CC="$ac_prog"
3524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3534 if test -n "$ac_ct_CC"; then
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3536 $as_echo "$ac_ct_CC" >&6; }
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3539 $as_echo "no" >&6; }
3543 test -n "$ac_ct_CC" && break
3546 if test "x$ac_ct_CC" = x; then
3549 case $cross_compiling:$ac_tool_warned in
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3553 ac_tool_warned=yes ;;
3562 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564 as_fn_error $? "no acceptable C compiler found in \$PATH
3565 See \`config.log' for more details" "$LINENO" 5; }
3567 # Provide some information about the compiler.
3568 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3571 for ac_option in --version -v -V -qversion; do
3572 { { ac_try="$ac_compiler $ac_option >&5"
3574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3575 *) ac_try_echo=$ac_try;;
3577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3578 $as_echo "$ac_try_echo"; } >&5
3579 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3581 if test -s conftest.err; then
3583 ... rest of stderr output deleted ...
3584 10q' conftest.err >conftest.er1
3585 cat conftest.er1 >&5
3587 rm -f conftest.er1 conftest.err
3588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3589 test $ac_status = 0; }
3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3603 ac_clean_files_save=$ac_clean_files
3604 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3605 # Try to create an executable without -o first, disregard a.out.
3606 # It will help us diagnose broken compilers, and finding out an intuition
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3609 $as_echo_n "checking whether the C compiler works... " >&6; }
3610 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3612 # The possible output files:
3613 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3616 for ac_file in $ac_files
3619 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3620 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3625 if { { ac_try="$ac_link_default"
3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3631 $as_echo "$ac_try_echo"; } >&5
3632 (eval "$ac_link_default") 2>&5
3634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3635 test $ac_status = 0; }; then :
3636 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3637 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3638 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3639 # so that the user can short-circuit this test for compilers unknown to
3641 for ac_file in $ac_files ''
3643 test -f "$ac_file" || continue
3645 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3648 # We found the default executable, but exeext='' is most
3652 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3654 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3656 # We set ac_cv_exeext here because the later test for it is not
3657 # safe: cross compilers may not add the suffix if given an `-o'
3658 # argument, so we may need to know it at that point already.
3659 # Even if this section looks crufty: it has the advantage of
3666 test "$ac_cv_exeext" = no && ac_cv_exeext=
3671 if test -z "$ac_file"; then :
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3673 $as_echo "no" >&6; }
3674 $as_echo "$as_me: failed program was:" >&5
3675 sed 's/^/| /' conftest.$ac_ext >&5
3677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3679 as_fn_error 77 "C compiler cannot create executables
3680 See \`config.log' for more details" "$LINENO" 5; }
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3683 $as_echo "yes" >&6; }
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3686 $as_echo_n "checking for C compiler default output file name... " >&6; }
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3688 $as_echo "$ac_file" >&6; }
3689 ac_exeext=$ac_cv_exeext
3691 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3692 ac_clean_files=$ac_clean_files_save
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3694 $as_echo_n "checking for suffix of executables... " >&6; }
3695 if { { ac_try="$ac_link"
3697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3698 *) ac_try_echo=$ac_try;;
3700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3701 $as_echo "$ac_try_echo"; } >&5
3702 (eval "$ac_link") 2>&5
3704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3705 test $ac_status = 0; }; then :
3706 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3707 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3708 # work properly (i.e., refer to `conftest.exe'), while it won't with
3710 for ac_file in conftest.exe conftest conftest.*; do
3711 test -f "$ac_file" || continue
3713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3714 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3722 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3723 See \`config.log' for more details" "$LINENO" 5; }
3725 rm -f conftest conftest$ac_cv_exeext
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3727 $as_echo "$ac_cv_exeext" >&6; }
3729 rm -f conftest.$ac_ext
3730 EXEEXT=$ac_cv_exeext
3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3738 FILE *f = fopen ("conftest.out", "w");
3739 return ferror (f) || fclose (f) != 0;
3745 ac_clean_files="$ac_clean_files conftest.out"
3746 # Check that the compiler produces executables we can run. If not, either
3747 # the compiler is broken, or we cross compile.
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3749 $as_echo_n "checking whether we are cross compiling... " >&6; }
3750 if test "$cross_compiling" != yes; then
3751 { { ac_try="$ac_link"
3753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3754 *) ac_try_echo=$ac_try;;
3756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3757 $as_echo "$ac_try_echo"; } >&5
3758 (eval "$ac_link") 2>&5
3760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3761 test $ac_status = 0; }
3762 if { ac_try='./conftest$ac_cv_exeext'
3763 { { case "(($ac_try" in
3764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3765 *) ac_try_echo=$ac_try;;
3767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3768 $as_echo "$ac_try_echo"; } >&5
3769 (eval "$ac_try") 2>&5
3771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3772 test $ac_status = 0; }; }; then
3775 if test "$cross_compiling" = maybe; then
3778 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3780 as_fn_error $? "cannot run C compiled programs.
3781 If you meant to cross compile, use \`--host'.
3782 See \`config.log' for more details" "$LINENO" 5; }
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3787 $as_echo "$cross_compiling" >&6; }
3789 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3790 ac_clean_files=$ac_clean_files_save
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3792 $as_echo_n "checking for suffix of object files... " >&6; }
3793 if ${ac_cv_objext+:} false; then :
3794 $as_echo_n "(cached) " >&6
3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h. */
3807 rm -f conftest.o conftest.obj
3808 if { { ac_try="$ac_compile"
3810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3811 *) ac_try_echo=$ac_try;;
3813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3814 $as_echo "$ac_try_echo"; } >&5
3815 (eval "$ac_compile") 2>&5
3817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3818 test $ac_status = 0; }; then :
3819 for ac_file in conftest.o conftest.obj conftest.*; do
3820 test -f "$ac_file" || continue;
3822 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3823 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3828 $as_echo "$as_me: failed program was:" >&5
3829 sed 's/^/| /' conftest.$ac_ext >&5
3831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3833 as_fn_error $? "cannot compute suffix of object files: cannot compile
3834 See \`config.log' for more details" "$LINENO" 5; }
3836 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3839 $as_echo "$ac_cv_objext" >&6; }
3840 OBJEXT=$ac_cv_objext
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3843 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3844 if ${ac_cv_c_compiler_gnu+:} false; then :
3845 $as_echo_n "(cached) " >&6
3847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h. */
3861 if ac_fn_c_try_compile "$LINENO"; then :
3866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3867 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3871 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3872 if test $ac_compiler_gnu = yes; then
3877 ac_test_CFLAGS=${CFLAGS+set}
3878 ac_save_CFLAGS=$CFLAGS
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3880 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3881 if ${ac_cv_prog_cc_g+:} false; then :
3882 $as_echo_n "(cached) " >&6
3884 ac_save_c_werror_flag=$ac_c_werror_flag
3885 ac_c_werror_flag=yes
3888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3889 /* end confdefs.h. */
3899 if ac_fn_c_try_compile "$LINENO"; then :
3903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h. */
3914 if ac_fn_c_try_compile "$LINENO"; then :
3917 ac_c_werror_flag=$ac_save_c_werror_flag
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3930 if ac_fn_c_try_compile "$LINENO"; then :
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3938 ac_c_werror_flag=$ac_save_c_werror_flag
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3941 $as_echo "$ac_cv_prog_cc_g" >&6; }
3942 if test "$ac_test_CFLAGS" = set; then
3943 CFLAGS=$ac_save_CFLAGS
3944 elif test $ac_cv_prog_cc_g = yes; then
3945 if test "$GCC" = yes; then
3951 if test "$GCC" = yes; then
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3958 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3959 if ${ac_cv_prog_cc_c89+:} false; then :
3960 $as_echo_n "(cached) " >&6
3962 ac_cv_prog_cc_c89=no
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3968 #include <sys/types.h>
3969 #include <sys/stat.h>
3970 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3971 struct buf { int x; };
3972 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3973 static char *e (p, i)
3979 static char *f (char * (*g) (char **, int), char **p, ...)
3984 s = g (p, va_arg (v,int));
3989 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3990 function prototypes and stuff, but not '\xHH' hex character constants.
3991 These don't provoke an error unfortunately, instead are silently treated
3992 as 'x'. The following induces an error, until -std is added to get
3993 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3994 array size at least. It's necessary to write '\x00'==0 to get something
3995 that's true only with -std. */
3996 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3998 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3999 inside strings and character constants. */
4001 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4003 int test (int i, double x);
4004 struct s1 {int (*f) (int a);};
4005 struct s2 {int (*f) (double a);};
4006 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4012 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4017 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4018 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4020 CC="$ac_save_CC $ac_arg"
4021 if ac_fn_c_try_compile "$LINENO"; then :
4022 ac_cv_prog_cc_c89=$ac_arg
4024 rm -f core conftest.err conftest.$ac_objext
4025 test "x$ac_cv_prog_cc_c89" != "xno" && break
4027 rm -f conftest.$ac_ext
4032 case "x$ac_cv_prog_cc_c89" in
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4035 $as_echo "none needed" >&6; } ;;
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4038 $as_echo "unsupported" >&6; } ;;
4040 CC="$CC $ac_cv_prog_cc_c89"
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4042 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4044 if test "x$ac_cv_prog_cc_c89" != xno; then :
4049 ac_cpp='$CPP $CPPFLAGS'
4050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4053 DEPDIR="${am__leading_dot}deps"
4055 ac_config_commands="$ac_config_commands depfiles"
4058 am_make=${MAKE-make}
4059 cat > confinc << 'END'
4061 @echo this is the am__doit target
4064 # If we don't find an include directive, just comment out the code.
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4066 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4070 # First try GNU make style include.
4071 echo "include confinc" > confmf
4072 # Ignore all kinds of additional output from `make'.
4073 case `$am_make -s -f confmf 2> /dev/null` in #(
4074 *the\ am__doit\ target*)
4080 # Now try BSD make style include.
4081 if test "$am__include" = "#"; then
4082 echo '.include "confinc"' > confmf
4083 case `$am_make -s -f confmf 2> /dev/null` in #(
4084 *the\ am__doit\ target*)
4085 am__include=.include
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4094 $as_echo "$_am_result" >&6; }
4095 rm -f confinc confmf
4097 # Check whether --enable-dependency-tracking was given.
4098 if test "${enable_dependency_tracking+set}" = set; then :
4099 enableval=$enable_dependency_tracking;
4102 if test "x$enable_dependency_tracking" != xno; then
4103 am_depcomp="$ac_aux_dir/depcomp"
4106 if test "x$enable_dependency_tracking" != xno; then
4116 depcc="$CC" am_compiler_list=
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4119 $as_echo_n "checking dependency style of $depcc... " >&6; }
4120 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4121 $as_echo_n "(cached) " >&6
4123 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4124 # We make a subdir and do the tests there. Otherwise we can end up
4125 # making bogus files that we don't know about and never remove. For
4126 # instance it was reported that on HP-UX the gcc test will end up
4127 # making a dummy file named `D' -- because `-MD' means `put the output
4130 # Copy depcomp to subdir because otherwise we won't find it if we're
4131 # using a relative directory.
4132 cp "$am_depcomp" conftest.dir
4134 # We will build objects and dependencies in a subdirectory because
4135 # it helps to detect inapplicable dependency modes. For instance
4136 # both Tru64's cc and ICC support -MD to output dependencies as a
4137 # side effect of compilation, but ICC will put the dependencies in
4138 # the current directory while Tru64 will put them in the object
4142 am_cv_CC_dependencies_compiler_type=none
4143 if test "$am_compiler_list" = ""; then
4144 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4147 case " $depcc " in #(
4148 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4151 for depmode in $am_compiler_list; do
4152 # Setup a source with many dependencies, because some compilers
4153 # like to wrap large dependency lists on column 80 (with \), and
4154 # we should not choose a depcomp mode which is confused by this.
4156 # We need to recreate these files for each test, as the compiler may
4157 # overwrite some of them when testing with obscure command lines.
4158 # This happens at least with the AIX C compiler.
4160 for i in 1 2 3 4 5 6; do
4161 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4162 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4163 # Solaris 8's {/usr,}/bin/sh.
4164 touch sub/conftst$i.h
4166 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4168 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4169 # mode. It turns out that the SunPro C++ compiler does not properly
4170 # handle `-M -o', and we need to detect this. Also, some Intel
4171 # versions had trouble with output in subdirs
4172 am__obj=sub/conftest.${OBJEXT-o}
4173 am__minus_obj="-o $am__obj"
4176 # This depmode causes a compiler race in universal mode.
4177 test "$am__universal" = false || continue
4180 # after this tag, mechanisms are not by side-effect, so they'll
4181 # only be used when explicitly requested
4182 if test "x$enable_dependency_tracking" = xyes; then
4188 msvisualcpp | msvcmsys)
4189 # This compiler won't grok `-c -o', but also, the minuso test has
4190 # not run yet. These depmodes are late enough in the game, and
4191 # so weak that their functioning should not be impacted.
4192 am__obj=conftest.${OBJEXT-o}
4197 if depmode=$depmode \
4198 source=sub/conftest.c object=$am__obj \
4199 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4200 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4201 >/dev/null 2>conftest.err &&
4202 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4203 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4204 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4205 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4206 # icc doesn't choke on unknown options, it will just issue warnings
4207 # or remarks (even with -Werror). So we grep stderr for any message
4208 # that says an option was ignored or not supported.
4209 # When given -MP, icc 7.0 and 7.1 complain thusly:
4210 # icc: Command line warning: ignoring option '-M'; no argument required
4211 # The diagnosis changed in icc 8.0:
4212 # icc: Command line remark: option '-MP' not supported
4213 if (grep 'ignoring option' conftest.err ||
4214 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4215 am_cv_CC_dependencies_compiler_type=$depmode
4224 am_cv_CC_dependencies_compiler_type=none
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4229 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4230 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4233 test "x$enable_dependency_tracking" != xno \
4234 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4236 am__fastdepCC_FALSE='#'
4238 am__fastdepCC_TRUE='#'
4239 am__fastdepCC_FALSE=
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4244 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4246 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4247 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4248 $as_echo_n "(cached) " >&6
4250 cat >conftest.make <<\_ACEOF
4253 @echo '@@@%%%=$(MAKE)=@@@%%%'
4255 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4256 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4258 eval ac_cv_prog_make_${ac_make}_set=yes;;
4260 eval ac_cv_prog_make_${ac_make}_set=no;;
4264 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4266 $as_echo "yes" >&6; }
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270 $as_echo "no" >&6; }
4271 SET_MAKE="MAKE=${MAKE-make}"
4274 # Make sure we can run config.sub.
4275 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4276 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4279 $as_echo_n "checking build system type... " >&6; }
4280 if ${ac_cv_build+:} false; then :
4281 $as_echo_n "(cached) " >&6
4283 ac_build_alias=$build_alias
4284 test "x$ac_build_alias" = x &&
4285 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4286 test "x$ac_build_alias" = x &&
4287 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4288 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4289 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4293 $as_echo "$ac_cv_build" >&6; }
4294 case $ac_cv_build in
4296 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4299 ac_save_IFS=$IFS; IFS='-'
4305 # Remember, the first character of IFS is used to create $*,
4306 # except with old shells:
4309 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4313 $as_echo_n "checking host system type... " >&6; }
4314 if ${ac_cv_host+:} false; then :
4315 $as_echo_n "(cached) " >&6
4317 if test "x$host_alias" = x; then
4318 ac_cv_host=$ac_cv_build
4320 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4321 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4326 $as_echo "$ac_cv_host" >&6; }
4329 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4332 ac_save_IFS=$IFS; IFS='-'
4338 # Remember, the first character of IFS is used to create $*,
4339 # except with old shells:
4342 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4345 enable_win32_dll=yes
4348 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4349 if test -n "$ac_tool_prefix"; then
4350 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4351 set dummy ${ac_tool_prefix}as; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_prog_AS+:} false; then :
4355 $as_echo_n "(cached) " >&6
4357 if test -n "$AS"; then
4358 ac_cv_prog_AS="$AS" # Let the user override the test.
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367 ac_cv_prog_AS="${ac_tool_prefix}as"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4378 if test -n "$AS"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4380 $as_echo "$AS" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4388 if test -z "$ac_cv_prog_AS"; then
4390 # Extract the first word of "as", so it can be a program name with args.
4391 set dummy as; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4395 $as_echo_n "(cached) " >&6
4397 if test -n "$ac_ct_AS"; then
4398 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4407 ac_cv_prog_ac_ct_AS="as"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4418 if test -n "$ac_ct_AS"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4420 $as_echo "$ac_ct_AS" >&6; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4426 if test "x$ac_ct_AS" = x; then
4429 case $cross_compiling:$ac_tool_warned in
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4433 ac_tool_warned=yes ;;
4441 if test -n "$ac_tool_prefix"; then
4442 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4443 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if ${ac_cv_prog_DLLTOOL+:} false; then :
4447 $as_echo_n "(cached) " >&6
4449 if test -n "$DLLTOOL"; then
4450 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 test -z "$as_dir" && as_dir=.
4457 for ac_exec_ext in '' $ac_executable_extensions; do
4458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4459 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 DLLTOOL=$ac_cv_prog_DLLTOOL
4470 if test -n "$DLLTOOL"; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4472 $as_echo "$DLLTOOL" >&6; }
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4480 if test -z "$ac_cv_prog_DLLTOOL"; then
4481 ac_ct_DLLTOOL=$DLLTOOL
4482 # Extract the first word of "dlltool", so it can be a program name with args.
4483 set dummy dlltool; ac_word=$2
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4485 $as_echo_n "checking for $ac_word... " >&6; }
4486 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4487 $as_echo_n "(cached) " >&6
4489 if test -n "$ac_ct_DLLTOOL"; then
4490 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4496 test -z "$as_dir" && as_dir=.
4497 for ac_exec_ext in '' $ac_executable_extensions; do
4498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4499 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4509 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4510 if test -n "$ac_ct_DLLTOOL"; then
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4512 $as_echo "$ac_ct_DLLTOOL" >&6; }
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515 $as_echo "no" >&6; }
4518 if test "x$ac_ct_DLLTOOL" = x; then
4521 case $cross_compiling:$ac_tool_warned in
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4525 ac_tool_warned=yes ;;
4527 DLLTOOL=$ac_ct_DLLTOOL
4530 DLLTOOL="$ac_cv_prog_DLLTOOL"
4533 if test -n "$ac_tool_prefix"; then
4534 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4535 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537 $as_echo_n "checking for $ac_word... " >&6; }
4538 if ${ac_cv_prog_OBJDUMP+:} false; then :
4539 $as_echo_n "(cached) " >&6
4541 if test -n "$OBJDUMP"; then
4542 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 test -z "$as_dir" && as_dir=.
4549 for ac_exec_ext in '' $ac_executable_extensions; do
4550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4551 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 OBJDUMP=$ac_cv_prog_OBJDUMP
4562 if test -n "$OBJDUMP"; then
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4564 $as_echo "$OBJDUMP" >&6; }
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 $as_echo "no" >&6; }
4572 if test -z "$ac_cv_prog_OBJDUMP"; then
4573 ac_ct_OBJDUMP=$OBJDUMP
4574 # Extract the first word of "objdump", so it can be a program name with args.
4575 set dummy objdump; ac_word=$2
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577 $as_echo_n "checking for $ac_word... " >&6; }
4578 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4579 $as_echo_n "(cached) " >&6
4581 if test -n "$ac_ct_OBJDUMP"; then
4582 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588 test -z "$as_dir" && as_dir=.
4589 for ac_exec_ext in '' $ac_executable_extensions; do
4590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4591 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4602 if test -n "$ac_ct_OBJDUMP"; then
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4604 $as_echo "$ac_ct_OBJDUMP" >&6; }
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607 $as_echo "no" >&6; }
4610 if test "x$ac_ct_OBJDUMP" = x; then
4613 case $cross_compiling:$ac_tool_warned in
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4617 ac_tool_warned=yes ;;
4619 OBJDUMP=$ac_ct_OBJDUMP
4622 OBJDUMP="$ac_cv_prog_OBJDUMP"
4628 test -z "$AS" && AS=as
4634 test -z "$DLLTOOL" && DLLTOOL=dlltool
4640 test -z "$OBJDUMP" && OBJDUMP=objdump
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4651 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4656 macro_version='2.2.6b'
4657 macro_revision='1.3018'
4671 ltmain="$ac_aux_dir/ltmain.sh"
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4674 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4675 if ${ac_cv_path_SED+:} false; then :
4676 $as_echo_n "(cached) " >&6
4678 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4679 for ac_i in 1 2 3 4 5 6 7; do
4680 ac_script="$ac_script$as_nl$ac_script"
4682 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4683 { ac_script=; unset ac_script;}
4684 if test -z "$SED"; then
4685 ac_path_SED_found=false
4686 # Loop through the user's path and test for each of PROGNAME-LIST
4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691 test -z "$as_dir" && as_dir=.
4692 for ac_prog in sed gsed; do
4693 for ac_exec_ext in '' $ac_executable_extensions; do
4694 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4695 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4696 # Check for GNU ac_path_SED and select it if it is found.
4697 # Check for GNU $ac_path_SED
4698 case `"$ac_path_SED" --version 2>&1` in
4700 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4703 $as_echo_n 0123456789 >"conftest.in"
4706 cat "conftest.in" "conftest.in" >"conftest.tmp"
4707 mv "conftest.tmp" "conftest.in"
4708 cp "conftest.in" "conftest.nl"
4709 $as_echo '' >> "conftest.nl"
4710 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4711 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4712 as_fn_arith $ac_count + 1 && ac_count=$as_val
4713 if test $ac_count -gt ${ac_path_SED_max-0}; then
4714 # Best one so far, save it but keep looking for a better one
4715 ac_cv_path_SED="$ac_path_SED"
4716 ac_path_SED_max=$ac_count
4718 # 10*(2^10) chars as input seems more than enough
4719 test $ac_count -gt 10 && break
4721 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4724 $ac_path_SED_found && break 3
4729 if test -z "$ac_cv_path_SED"; then
4730 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4738 $as_echo "$ac_cv_path_SED" >&6; }
4739 SED="$ac_cv_path_SED"
4742 test -z "$SED" && SED=sed
4743 Xsed="$SED -e 1s/^X//"
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4756 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4757 if ${ac_cv_path_GREP+:} false; then :
4758 $as_echo_n "(cached) " >&6
4760 if test -z "$GREP"; then
4761 ac_path_GREP_found=false
4762 # Loop through the user's path and test for each of PROGNAME-LIST
4763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4767 test -z "$as_dir" && as_dir=.
4768 for ac_prog in grep ggrep; do
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4771 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4772 # Check for GNU ac_path_GREP and select it if it is found.
4773 # Check for GNU $ac_path_GREP
4774 case `"$ac_path_GREP" --version 2>&1` in
4776 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4779 $as_echo_n 0123456789 >"conftest.in"
4782 cat "conftest.in" "conftest.in" >"conftest.tmp"
4783 mv "conftest.tmp" "conftest.in"
4784 cp "conftest.in" "conftest.nl"
4785 $as_echo 'GREP' >> "conftest.nl"
4786 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4787 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4788 as_fn_arith $ac_count + 1 && ac_count=$as_val
4789 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4790 # Best one so far, save it but keep looking for a better one
4791 ac_cv_path_GREP="$ac_path_GREP"
4792 ac_path_GREP_max=$ac_count
4794 # 10*(2^10) chars as input seems more than enough
4795 test $ac_count -gt 10 && break
4797 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4800 $ac_path_GREP_found && break 3
4805 if test -z "$ac_cv_path_GREP"; then
4806 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4809 ac_cv_path_GREP=$GREP
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4814 $as_echo "$ac_cv_path_GREP" >&6; }
4815 GREP="$ac_cv_path_GREP"
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4819 $as_echo_n "checking for egrep... " >&6; }
4820 if ${ac_cv_path_EGREP+:} false; then :
4821 $as_echo_n "(cached) " >&6
4823 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4824 then ac_cv_path_EGREP="$GREP -E"
4826 if test -z "$EGREP"; then
4827 ac_path_EGREP_found=false
4828 # Loop through the user's path and test for each of PROGNAME-LIST
4829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4830 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4833 test -z "$as_dir" && as_dir=.
4834 for ac_prog in egrep; do
4835 for ac_exec_ext in '' $ac_executable_extensions; do
4836 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4837 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4838 # Check for GNU ac_path_EGREP and select it if it is found.
4839 # Check for GNU $ac_path_EGREP
4840 case `"$ac_path_EGREP" --version 2>&1` in
4842 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4845 $as_echo_n 0123456789 >"conftest.in"
4848 cat "conftest.in" "conftest.in" >"conftest.tmp"
4849 mv "conftest.tmp" "conftest.in"
4850 cp "conftest.in" "conftest.nl"
4851 $as_echo 'EGREP' >> "conftest.nl"
4852 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4853 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4854 as_fn_arith $ac_count + 1 && ac_count=$as_val
4855 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4856 # Best one so far, save it but keep looking for a better one
4857 ac_cv_path_EGREP="$ac_path_EGREP"
4858 ac_path_EGREP_max=$ac_count
4860 # 10*(2^10) chars as input seems more than enough
4861 test $ac_count -gt 10 && break
4863 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4866 $ac_path_EGREP_found && break 3
4871 if test -z "$ac_cv_path_EGREP"; then
4872 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4875 ac_cv_path_EGREP=$EGREP
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4881 $as_echo "$ac_cv_path_EGREP" >&6; }
4882 EGREP="$ac_cv_path_EGREP"
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4886 $as_echo_n "checking for fgrep... " >&6; }
4887 if ${ac_cv_path_FGREP+:} false; then :
4888 $as_echo_n "(cached) " >&6
4890 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4891 then ac_cv_path_FGREP="$GREP -F"
4893 if test -z "$FGREP"; then
4894 ac_path_FGREP_found=false
4895 # Loop through the user's path and test for each of PROGNAME-LIST
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4900 test -z "$as_dir" && as_dir=.
4901 for ac_prog in fgrep; do
4902 for ac_exec_ext in '' $ac_executable_extensions; do
4903 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4904 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4905 # Check for GNU ac_path_FGREP and select it if it is found.
4906 # Check for GNU $ac_path_FGREP
4907 case `"$ac_path_FGREP" --version 2>&1` in
4909 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4912 $as_echo_n 0123456789 >"conftest.in"
4915 cat "conftest.in" "conftest.in" >"conftest.tmp"
4916 mv "conftest.tmp" "conftest.in"
4917 cp "conftest.in" "conftest.nl"
4918 $as_echo 'FGREP' >> "conftest.nl"
4919 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4920 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4921 as_fn_arith $ac_count + 1 && ac_count=$as_val
4922 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4923 # Best one so far, save it but keep looking for a better one
4924 ac_cv_path_FGREP="$ac_path_FGREP"
4925 ac_path_FGREP_max=$ac_count
4927 # 10*(2^10) chars as input seems more than enough
4928 test $ac_count -gt 10 && break
4930 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4933 $ac_path_FGREP_found && break 3
4938 if test -z "$ac_cv_path_FGREP"; then
4939 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4942 ac_cv_path_FGREP=$FGREP
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4948 $as_echo "$ac_cv_path_FGREP" >&6; }
4949 FGREP="$ac_cv_path_FGREP"
4952 test -z "$GREP" && GREP=grep
4972 # Check whether --with-gnu-ld was given.
4973 if test "${with_gnu_ld+set}" = set; then :
4974 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4980 if test "$GCC" = yes; then
4981 # Check if gcc -print-prog-name=ld gives a path.
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4983 $as_echo_n "checking for ld used by $CC... " >&6; }
4986 # gcc leaves a trailing carriage return which upsets mingw
4987 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4989 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4992 # Accept absolute paths.
4994 re_direlt='/[^/][^/]*/\.\./'
4995 # Canonicalize the pathname of ld
4996 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4997 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4998 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5000 test -z "$LD" && LD="$ac_prog"
5003 # If it fails, then pretend we aren't using GCC.
5007 # If it is relative, then search for the first ld in PATH.
5011 elif test "$with_gnu_ld" = yes; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5013 $as_echo_n "checking for GNU ld... " >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5016 $as_echo_n "checking for non-GNU ld... " >&6; }
5018 if ${lt_cv_path_LD+:} false; then :
5019 $as_echo_n "(cached) " >&6
5021 if test -z "$LD"; then
5022 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5023 for ac_dir in $PATH; do
5025 test -z "$ac_dir" && ac_dir=.
5026 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5027 lt_cv_path_LD="$ac_dir/$ac_prog"
5028 # Check to see if the program is GNU ld. I'd rather use --version,
5029 # but apparently some variants of GNU ld only accept -v.
5030 # Break only if it was the GNU/non-GNU ld that we prefer.
5031 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5032 *GNU* | *'with BFD'*)
5033 test "$with_gnu_ld" != no && break
5036 test "$with_gnu_ld" != yes && break
5043 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5048 if test -n "$LD"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5050 $as_echo "$LD" >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5055 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5057 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5058 if ${lt_cv_prog_gnu_ld+:} false; then :
5059 $as_echo_n "(cached) " >&6
5061 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5062 case `$LD -v 2>&1 </dev/null` in
5063 *GNU* | *'with BFD'*)
5064 lt_cv_prog_gnu_ld=yes
5067 lt_cv_prog_gnu_ld=no
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5072 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5073 with_gnu_ld=$lt_cv_prog_gnu_ld
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5084 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5085 if ${lt_cv_path_NM+:} false; then :
5086 $as_echo_n "(cached) " >&6
5088 if test -n "$NM"; then
5089 # Let the user override the test.
5092 lt_nm_to_check="${ac_tool_prefix}nm"
5093 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5094 lt_nm_to_check="$lt_nm_to_check nm"
5096 for lt_tmp_nm in $lt_nm_to_check; do
5097 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5098 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5100 test -z "$ac_dir" && ac_dir=.
5101 tmp_nm="$ac_dir/$lt_tmp_nm"
5102 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5103 # Check to see if the nm accepts a BSD-compat flag.
5104 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5105 # nm: unknown option "B" ignored
5106 # Tru64's nm complains that /dev/null is an invalid object file
5107 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5108 */dev/null* | *'Invalid file or object type'*)
5109 lt_cv_path_NM="$tmp_nm -B"
5113 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5115 lt_cv_path_NM="$tmp_nm -p"
5119 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5120 continue # so that we can try to find one that supports BSD flags
5129 : ${lt_cv_path_NM=no}
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5133 $as_echo "$lt_cv_path_NM" >&6; }
5134 if test "$lt_cv_path_NM" != "no"; then
5137 # Didn't find any BSD compatible name lister, look for dumpbin.
5138 if test -n "$ac_tool_prefix"; then
5139 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5141 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5142 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144 $as_echo_n "checking for $ac_word... " >&6; }
5145 if ${ac_cv_prog_DUMPBIN+:} false; then :
5146 $as_echo_n "(cached) " >&6
5148 if test -n "$DUMPBIN"; then
5149 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5168 DUMPBIN=$ac_cv_prog_DUMPBIN
5169 if test -n "$DUMPBIN"; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5171 $as_echo "$DUMPBIN" >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5178 test -n "$DUMPBIN" && break
5181 if test -z "$DUMPBIN"; then
5182 ac_ct_DUMPBIN=$DUMPBIN
5183 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5185 # Extract the first word of "$ac_prog", so it can be a program name with args.
5186 set dummy $ac_prog; ac_word=$2
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188 $as_echo_n "checking for $ac_word... " >&6; }
5189 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5190 $as_echo_n "(cached) " >&6
5192 if test -n "$ac_ct_DUMPBIN"; then
5193 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199 test -z "$as_dir" && as_dir=.
5200 for ac_exec_ext in '' $ac_executable_extensions; do
5201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5202 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5213 if test -n "$ac_ct_DUMPBIN"; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5215 $as_echo "$ac_ct_DUMPBIN" >&6; }
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218 $as_echo "no" >&6; }
5222 test -n "$ac_ct_DUMPBIN" && break
5225 if test "x$ac_ct_DUMPBIN" = x; then
5228 case $cross_compiling:$ac_tool_warned in
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5232 ac_tool_warned=yes ;;
5234 DUMPBIN=$ac_ct_DUMPBIN
5239 if test "$DUMPBIN" != ":"; then
5243 test -z "$NM" && NM=nm
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5251 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5252 if ${lt_cv_nm_interface+:} false; then :
5253 $as_echo_n "(cached) " >&6
5255 lt_cv_nm_interface="BSD nm"
5256 echo "int some_variable = 0;" > conftest.$ac_ext
5257 (eval echo "\"\$as_me:5257: $ac_compile\"" >&5)
5258 (eval "$ac_compile" 2>conftest.err)
5259 cat conftest.err >&5
5260 (eval echo "\"\$as_me:5260: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5261 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5262 cat conftest.err >&5
5263 (eval echo "\"\$as_me:5263: output\"" >&5)
5264 cat conftest.out >&5
5265 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5266 lt_cv_nm_interface="MS dumpbin"
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5271 $as_echo "$lt_cv_nm_interface" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5274 $as_echo_n "checking whether ln -s works... " >&6; }
5276 if test "$LN_S" = "ln -s"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5278 $as_echo "yes" >&6; }
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5281 $as_echo "no, using $LN_S" >&6; }
5284 # find the maximum length of command line arguments
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5286 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5287 if ${lt_cv_sys_max_cmd_len+:} false; then :
5288 $as_echo_n "(cached) " >&6
5295 # On DJGPP, this test can blow up pretty badly due to problems in libc
5296 # (any single argument exceeding 2000 bytes causes a buffer overrun
5297 # during glob expansion). Even if it were fixed, the result of this
5298 # check would be larger than it should be.
5299 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5303 # Under GNU Hurd, this test is not required because there is
5304 # no limit to the length of command line arguments.
5305 # Libtool will interpret -1 as no limit whatsoever
5306 lt_cv_sys_max_cmd_len=-1;
5309 cygwin* | mingw* | cegcc*)
5310 # On Win9x/ME, this test blows up -- it succeeds, but takes
5311 # about 5 minutes as the teststring grows exponentially.
5312 # Worse, since 9x/ME are not pre-emptively multitasking,
5313 # you end up with a "frozen" computer, even though with patience
5314 # the test eventually succeeds (with a max line length of 256k).
5315 # Instead, let's just punt: use the minimum linelength reported by
5316 # all of the supported platforms: 8192 (on NT/2K/XP).
5317 lt_cv_sys_max_cmd_len=8192;
5321 # On AmigaOS with pdksh, this test takes hours, literally.
5322 # So we just punt and use a minimum line length of 8192.
5323 lt_cv_sys_max_cmd_len=8192;
5326 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5327 # This has been around since 386BSD, at least. Likely further.
5328 if test -x /sbin/sysctl; then
5329 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5330 elif test -x /usr/sbin/sysctl; then
5331 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5333 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5335 # And add a safety zone
5336 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5337 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5341 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5342 lt_cv_sys_max_cmd_len=196608
5346 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5347 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5348 # nice to cause kernel panics so lets avoid the loop below.
5349 # First set a reasonable default.
5350 lt_cv_sys_max_cmd_len=16384
5352 if test -x /sbin/sysconfig; then
5353 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5354 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5359 lt_cv_sys_max_cmd_len=102400
5361 sysv5* | sco5v6* | sysv4.2uw2*)
5362 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5363 if test -n "$kargmax"; then
5364 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5366 lt_cv_sys_max_cmd_len=32768
5370 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5371 if test -n "$lt_cv_sys_max_cmd_len"; then
5372 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5373 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5375 # Make teststring a little bigger before we do anything with it.
5376 # a 1K string should be a reasonable start.
5377 for i in 1 2 3 4 5 6 7 8 ; do
5378 teststring=$teststring$teststring
5380 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5381 # If test is not a shell built-in, we'll probably end up computing a
5382 # maximum length that is only half of the actual maximum length, but
5384 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5385 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5386 test $i != 17 # 1/2 MB should be enough
5389 teststring=$teststring$teststring
5391 # Only check the string length outside the loop.
5392 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5394 # Add a significant safety factor because C++ compilers can tack on
5395 # massive amounts of additional arguments before passing them to the
5396 # linker. It appears as though 1/2 is a usable value.
5397 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5404 if test -n $lt_cv_sys_max_cmd_len ; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5406 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5409 $as_echo "none" >&6; }
5411 max_cmd_len=$lt_cv_sys_max_cmd_len
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5423 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5424 # Try some XSI features
5427 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5429 && eval 'test $(( 1 + 1 )) -eq 2 \
5430 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5433 $as_echo "$xsi_shell" >&6; }
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5437 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5439 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5441 && lt_shell_append=yes
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5443 $as_echo "$lt_shell_append" >&6; }
5446 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5456 # test EBCDIC or ASCII
5457 case `echo X|tr X '\101'` in
5458 A) # ASCII based system
5459 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5460 lt_SP2NL='tr \040 \012'
5461 lt_NL2SP='tr \015\012 \040\040'
5463 *) # EBCDIC based system
5464 lt_SP2NL='tr \100 \n'
5465 lt_NL2SP='tr \r\n \100\100'
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5478 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5479 if ${lt_cv_ld_reload_flag+:} false; then :
5480 $as_echo_n "(cached) " >&6
5482 lt_cv_ld_reload_flag='-r'
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5485 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5486 reload_flag=$lt_cv_ld_reload_flag
5487 case $reload_flag in
5489 *) reload_flag=" $reload_flag" ;;
5491 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5494 if test "$GCC" = yes; then
5495 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5497 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5510 if test -n "$ac_tool_prefix"; then
5511 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5512 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514 $as_echo_n "checking for $ac_word... " >&6; }
5515 if ${ac_cv_prog_OBJDUMP+:} false; then :
5516 $as_echo_n "(cached) " >&6
5518 if test -n "$OBJDUMP"; then
5519 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 test -z "$as_dir" && as_dir=.
5526 for ac_exec_ext in '' $ac_executable_extensions; do
5527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5528 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5538 OBJDUMP=$ac_cv_prog_OBJDUMP
5539 if test -n "$OBJDUMP"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5541 $as_echo "$OBJDUMP" >&6; }
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5549 if test -z "$ac_cv_prog_OBJDUMP"; then
5550 ac_ct_OBJDUMP=$OBJDUMP
5551 # Extract the first word of "objdump", so it can be a program name with args.
5552 set dummy objdump; ac_word=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5556 $as_echo_n "(cached) " >&6
5558 if test -n "$ac_ct_OBJDUMP"; then
5559 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565 test -z "$as_dir" && as_dir=.
5566 for ac_exec_ext in '' $ac_executable_extensions; do
5567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5568 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5579 if test -n "$ac_ct_OBJDUMP"; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5581 $as_echo "$ac_ct_OBJDUMP" >&6; }
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 $as_echo "no" >&6; }
5587 if test "x$ac_ct_OBJDUMP" = x; then
5590 case $cross_compiling:$ac_tool_warned in
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5594 ac_tool_warned=yes ;;
5596 OBJDUMP=$ac_ct_OBJDUMP
5599 OBJDUMP="$ac_cv_prog_OBJDUMP"
5602 test -z "$OBJDUMP" && OBJDUMP=objdump
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5610 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5611 if ${lt_cv_deplibs_check_method+:} false; then :
5612 $as_echo_n "(cached) " >&6
5614 lt_cv_file_magic_cmd='$MAGIC_CMD'
5615 lt_cv_file_magic_test_file=
5616 lt_cv_deplibs_check_method='unknown'
5617 # Need to set the preceding variable on all platforms that support
5618 # interlibrary dependencies.
5619 # 'none' -- dependencies not supported.
5620 # `unknown' -- same as none, but documents that we really don't know.
5621 # 'pass_all' -- all dependencies passed with no checks.
5622 # 'test_compile' -- check by making test program.
5623 # 'file_magic [[regex]]' -- check by looking for files in library path
5624 # which responds to the $file_magic_cmd with a given extended regex.
5625 # If you have `file' or equivalent on your system and you're not sure
5626 # whether `pass_all' will *always* work, you probably want this one.
5630 lt_cv_deplibs_check_method=pass_all
5634 lt_cv_deplibs_check_method=pass_all
5638 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5639 lt_cv_file_magic_cmd='/usr/bin/file -L'
5640 lt_cv_file_magic_test_file=/shlib/libc.so
5644 # func_win32_libid is a shell function defined in ltmain.sh
5645 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5646 lt_cv_file_magic_cmd='func_win32_libid'
5650 # Base MSYS/MinGW do not provide the 'file' command needed by
5651 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5652 # unless we find 'file', for example because we are cross-compiling.
5653 if ( file / ) >/dev/null 2>&1; then
5654 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5655 lt_cv_file_magic_cmd='func_win32_libid'
5657 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5658 lt_cv_file_magic_cmd='$OBJDUMP -f'
5663 # use the weaker test based on 'objdump'. See mingw*.
5664 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5665 lt_cv_file_magic_cmd='$OBJDUMP -f'
5668 darwin* | rhapsody*)
5669 lt_cv_deplibs_check_method=pass_all
5672 freebsd* | dragonfly*)
5673 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5676 # Not sure whether the presence of OpenBSD here was a mistake.
5677 # Let's accept both of them until this is cleared up.
5678 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5679 lt_cv_file_magic_cmd=/usr/bin/file
5680 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5684 lt_cv_deplibs_check_method=pass_all
5689 lt_cv_deplibs_check_method=pass_all
5692 hpux10.20* | hpux11*)
5693 lt_cv_file_magic_cmd=/usr/bin/file
5696 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5697 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5700 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]'
5701 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5704 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5705 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5711 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5712 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5715 irix5* | irix6* | nonstopux*)
5717 *-32|*"-32 ") libmagic=32-bit;;
5718 *-n32|*"-n32 ") libmagic=N32;;
5719 *-64|*"-64 ") libmagic=64-bit;;
5720 *) libmagic=never-match;;
5722 lt_cv_deplibs_check_method=pass_all
5725 # This must be Linux ELF.
5726 linux* | k*bsd*-gnu)
5727 lt_cv_deplibs_check_method=pass_all
5731 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5732 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5734 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5739 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5740 lt_cv_file_magic_cmd=/usr/bin/file
5741 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5745 lt_cv_deplibs_check_method=pass_all
5749 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5750 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5752 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5756 osf3* | osf4* | osf5*)
5757 lt_cv_deplibs_check_method=pass_all
5761 lt_cv_deplibs_check_method=pass_all
5765 lt_cv_deplibs_check_method=pass_all
5768 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5769 lt_cv_deplibs_check_method=pass_all
5773 case $host_vendor in
5775 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]'
5776 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5779 lt_cv_deplibs_check_method=pass_all
5782 lt_cv_file_magic_cmd='/bin/file'
5783 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5786 lt_cv_file_magic_cmd='/bin/file'
5787 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5788 lt_cv_file_magic_test_file=/lib/libc.so
5791 lt_cv_deplibs_check_method=pass_all
5794 lt_cv_deplibs_check_method=pass_all
5800 lt_cv_deplibs_check_method=pass_all
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5806 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5807 file_magic_cmd=$lt_cv_file_magic_cmd
5808 deplibs_check_method=$lt_cv_deplibs_check_method
5809 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5822 if test -n "$ac_tool_prefix"; then
5823 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5824 set dummy ${ac_tool_prefix}ar; ac_word=$2
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5826 $as_echo_n "checking for $ac_word... " >&6; }
5827 if ${ac_cv_prog_AR+:} false; then :
5828 $as_echo_n "(cached) " >&6
5830 if test -n "$AR"; then
5831 ac_cv_prog_AR="$AR" # Let the user override the test.
5833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 test -z "$as_dir" && as_dir=.
5838 for ac_exec_ext in '' $ac_executable_extensions; do
5839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5840 ac_cv_prog_AR="${ac_tool_prefix}ar"
5841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 if test -n "$AR"; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5853 $as_echo "$AR" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5856 $as_echo "no" >&6; }
5861 if test -z "$ac_cv_prog_AR"; then
5863 # Extract the first word of "ar", so it can be a program name with args.
5864 set dummy ar; ac_word=$2
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5866 $as_echo_n "checking for $ac_word... " >&6; }
5867 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5868 $as_echo_n "(cached) " >&6
5870 if test -n "$ac_ct_AR"; then
5871 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 test -z "$as_dir" && as_dir=.
5878 for ac_exec_ext in '' $ac_executable_extensions; do
5879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5880 ac_cv_prog_ac_ct_AR="ar"
5881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5891 if test -n "$ac_ct_AR"; then
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5893 $as_echo "$ac_ct_AR" >&6; }
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5896 $as_echo "no" >&6; }
5899 if test "x$ac_ct_AR" = x; then
5902 case $cross_compiling:$ac_tool_warned in
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5906 ac_tool_warned=yes ;;
5914 test -z "$AR" && AR=ar
5915 test -z "$AR_FLAGS" && AR_FLAGS=cru
5927 if test -n "$ac_tool_prefix"; then
5928 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5929 set dummy ${ac_tool_prefix}strip; ac_word=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if ${ac_cv_prog_STRIP+:} false; then :
5933 $as_echo_n "(cached) " >&6
5935 if test -n "$STRIP"; then
5936 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5942 test -z "$as_dir" && as_dir=.
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5945 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5955 STRIP=$ac_cv_prog_STRIP
5956 if test -n "$STRIP"; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5958 $as_echo "$STRIP" >&6; }
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5966 if test -z "$ac_cv_prog_STRIP"; then
5968 # Extract the first word of "strip", so it can be a program name with args.
5969 set dummy strip; ac_word=$2
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5971 $as_echo_n "checking for $ac_word... " >&6; }
5972 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5973 $as_echo_n "(cached) " >&6
5975 if test -n "$ac_ct_STRIP"; then
5976 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 test -z "$as_dir" && as_dir=.
5983 for ac_exec_ext in '' $ac_executable_extensions; do
5984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5985 ac_cv_prog_ac_ct_STRIP="strip"
5986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5996 if test -n "$ac_ct_STRIP"; then
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5998 $as_echo "$ac_ct_STRIP" >&6; }
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }
6004 if test "x$ac_ct_STRIP" = x; then
6007 case $cross_compiling:$ac_tool_warned in
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6011 ac_tool_warned=yes ;;
6016 STRIP="$ac_cv_prog_STRIP"
6019 test -z "$STRIP" && STRIP=:
6026 if test -n "$ac_tool_prefix"; then
6027 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6028 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6030 $as_echo_n "checking for $ac_word... " >&6; }
6031 if ${ac_cv_prog_RANLIB+:} false; then :
6032 $as_echo_n "(cached) " >&6
6034 if test -n "$RANLIB"; then
6035 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6041 test -z "$as_dir" && as_dir=.
6042 for ac_exec_ext in '' $ac_executable_extensions; do
6043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6044 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6054 RANLIB=$ac_cv_prog_RANLIB
6055 if test -n "$RANLIB"; then
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6057 $as_echo "$RANLIB" >&6; }
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6060 $as_echo "no" >&6; }
6065 if test -z "$ac_cv_prog_RANLIB"; then
6066 ac_ct_RANLIB=$RANLIB
6067 # Extract the first word of "ranlib", so it can be a program name with args.
6068 set dummy ranlib; ac_word=$2
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 $as_echo_n "checking for $ac_word... " >&6; }
6071 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6072 $as_echo_n "(cached) " >&6
6074 if test -n "$ac_ct_RANLIB"; then
6075 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081 test -z "$as_dir" && as_dir=.
6082 for ac_exec_ext in '' $ac_executable_extensions; do
6083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6084 ac_cv_prog_ac_ct_RANLIB="ranlib"
6085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6094 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6095 if test -n "$ac_ct_RANLIB"; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6097 $as_echo "$ac_ct_RANLIB" >&6; }
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 $as_echo "no" >&6; }
6103 if test "x$ac_ct_RANLIB" = x; then
6106 case $cross_compiling:$ac_tool_warned in
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6110 ac_tool_warned=yes ;;
6112 RANLIB=$ac_ct_RANLIB
6115 RANLIB="$ac_cv_prog_RANLIB"
6118 test -z "$RANLIB" && RANLIB=:
6125 # Determine commands to create old-style static archives.
6126 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6127 old_postinstall_cmds='chmod 644 $oldlib'
6128 old_postuninstall_cmds=
6130 if test -n "$RANLIB"; then
6133 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6136 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6139 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6175 # If no C compiler was specified, use CC.
6178 # If no C compiler flags were specified, use CFLAGS.
6179 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6181 # Allow CC to be a program name with arguments.
6185 # Check for command to grab the raw symbol name followed by C symbol from nm.
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6187 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6188 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6189 $as_echo_n "(cached) " >&6
6192 # These are sane defaults that work on at least a few old systems.
6193 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6195 # Character class describing NM global symbol codes.
6196 symcode='[BCDEGRST]'
6198 # Regexp to match symbols that can be accessed directly from C.
6199 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6201 # Define system-specific variables.
6206 cygwin* | mingw* | pw32* | cegcc*)
6207 symcode='[ABCDGISTW]'
6210 if test "$host_cpu" = ia64; then
6211 symcode='[ABCDEGRST]'
6215 symcode='[BCDEGRST]'
6218 symcode='[BCDEGQRST]'
6229 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6237 # If we're using GNU nm, then use its standard symbol codes.
6238 case `$NM -V 2>&1` in
6239 *GNU* | *'with BFD'*)
6240 symcode='[ABCDGIRSTW]' ;;
6243 # Transform an extracted symbol line into a proper C declaration.
6244 # Some systems (esp. on ia64) link data and code symbols differently,
6245 # so use this general approach.
6246 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6248 # Transform an extracted symbol line into symbol name and symbol address
6249 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6250 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'"
6252 # Handle CRLF in mingw tool chain
6256 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6260 # Try without a prefix underscore, then with it.
6261 for ac_symprfx in "" "_"; do
6263 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6264 symxfrm="\\1 $ac_symprfx\\2 \\2"
6266 # Write the raw and C identifiers.
6267 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6268 # Fake it for dumpbin and say T for any non-static function
6269 # and D for any global variable.
6270 # Also find C++ and __fastcall symbols from MSVC++,
6271 # which start with @ or ?.
6272 lt_cv_sys_global_symbol_pipe="$AWK '"\
6273 " {last_section=section; section=\$ 3};"\
6274 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6275 " \$ 0!~/External *\|/{next};"\
6276 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6277 " {if(hide[section]) next};"\
6278 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6279 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6280 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6281 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6282 " ' prfx=^$ac_symprfx"
6284 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6287 # Check to see that the pipe works correctly.
6291 cat > conftest.$ac_ext <<_LT_EOF
6296 void nm_test_func(void);
6297 void nm_test_func(void){}
6301 int main(){nm_test_var='a';nm_test_func();return(0);}
6304 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6305 (eval $ac_compile) 2>&5
6307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6308 test $ac_status = 0; }; then
6309 # Now try to grab the symbols.
6311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6312 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6315 test $ac_status = 0; } && test -s "$nlist"; then
6316 # Try sorting and uniquifying the output.
6317 if sort "$nlist" | uniq > "$nlist"T; then
6318 mv -f "$nlist"T "$nlist"
6323 # Make sure that we snagged all the symbols we need.
6324 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6325 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6326 cat <<_LT_EOF > conftest.$ac_ext
6332 # Now generate the symbol file.
6333 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6335 cat <<_LT_EOF >> conftest.$ac_ext
6337 /* The mapping between symbol names and symbols. */
6342 lt__PROGRAM__LTX_preloaded_symbols[] =
6344 { "@PROGRAM@", (void *) 0 },
6346 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6347 cat <<\_LT_EOF >> conftest.$ac_ext
6351 /* This works around a problem in FreeBSD linker */
6352 #ifdef FREEBSD_WORKAROUND
6353 static const void *lt_preloaded_setup() {
6354 return lt__PROGRAM__LTX_preloaded_symbols;
6362 # Now try linking the two files.
6363 mv conftest.$ac_objext conftstm.$ac_objext
6364 lt_save_LIBS="$LIBS"
6365 lt_save_CFLAGS="$CFLAGS"
6366 LIBS="conftstm.$ac_objext"
6367 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6368 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6369 (eval $ac_link) 2>&5
6371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6372 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6375 LIBS="$lt_save_LIBS"
6376 CFLAGS="$lt_save_CFLAGS"
6378 echo "cannot find nm_test_func in $nlist" >&5
6381 echo "cannot find nm_test_var in $nlist" >&5
6384 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6387 echo "$progname: failed program was:" >&5
6388 cat conftest.$ac_ext >&5
6390 rm -rf conftest* conftst*
6392 # Do not use the global_symbol_pipe unless it works.
6393 if test "$pipe_works" = yes; then
6396 lt_cv_sys_global_symbol_pipe=
6402 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6403 lt_cv_sys_global_symbol_to_cdecl=
6405 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6407 $as_echo "failed" >&6; }
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6410 $as_echo "ok" >&6; }
6435 # Check whether --enable-libtool-lock was given.
6436 if test "${enable_libtool_lock+set}" = set; then :
6437 enableval=$enable_libtool_lock;
6440 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6442 # Some flags need to be propagated to the compiler or linker for good
6446 # Find out which ABI we are using.
6447 echo 'int i;' > conftest.$ac_ext
6448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6449 (eval $ac_compile) 2>&5
6451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6452 test $ac_status = 0; }; then
6453 case `/usr/bin/file conftest.$ac_objext` in
6465 # Find out which ABI we are using.
6466 echo '#line 6466 "configure"' > conftest.$ac_ext
6467 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6468 (eval $ac_compile) 2>&5
6470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6471 test $ac_status = 0; }; then
6472 if test "$lt_cv_prog_gnu_ld" = yes; then
6473 case `/usr/bin/file conftest.$ac_objext` in
6475 LD="${LD-ld} -melf32bsmip"
6478 LD="${LD-ld} -melf32bmipn32"
6481 LD="${LD-ld} -melf64bmip"
6485 case `/usr/bin/file conftest.$ac_objext` in
6501 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6502 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6503 # Find out which ABI we are using.
6504 echo 'int i;' > conftest.$ac_ext
6505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6506 (eval $ac_compile) 2>&5
6508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6509 test $ac_status = 0; }; then
6510 case `/usr/bin/file conftest.o` in
6513 x86_64-*kfreebsd*-gnu)
6514 LD="${LD-ld} -m elf_i386_fbsd"
6517 LD="${LD-ld} -m elf_i386"
6519 ppc64-*linux*|powerpc64-*linux*)
6520 LD="${LD-ld} -m elf32ppclinux"
6523 LD="${LD-ld} -m elf_s390"
6526 LD="${LD-ld} -m elf32_sparc"
6532 x86_64-*kfreebsd*-gnu)
6533 LD="${LD-ld} -m elf_x86_64_fbsd"
6536 LD="${LD-ld} -m elf_x86_64"
6538 ppc*-*linux*|powerpc*-*linux*)
6539 LD="${LD-ld} -m elf64ppc"
6541 s390*-*linux*|s390*-*tpf*)
6542 LD="${LD-ld} -m elf64_s390"
6545 LD="${LD-ld} -m elf64_sparc"
6555 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6556 SAVE_CFLAGS="$CFLAGS"
6557 CFLAGS="$CFLAGS -belf"
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6559 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6560 if ${lt_cv_cc_needs_belf+:} false; then :
6561 $as_echo_n "(cached) " >&6
6564 ac_cpp='$CPP $CPPFLAGS'
6565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6580 if ac_fn_c_try_link "$LINENO"; then :
6581 lt_cv_cc_needs_belf=yes
6583 lt_cv_cc_needs_belf=no
6585 rm -f core conftest.err conftest.$ac_objext \
6586 conftest$ac_exeext conftest.$ac_ext
6588 ac_cpp='$CPP $CPPFLAGS'
6589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6595 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6596 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6597 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6598 CFLAGS="$SAVE_CFLAGS"
6602 # Find out which ABI we are using.
6603 echo 'int i;' > conftest.$ac_ext
6604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6605 (eval $ac_compile) 2>&5
6607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6608 test $ac_status = 0; }; then
6609 case `/usr/bin/file conftest.o` in
6611 case $lt_cv_prog_gnu_ld in
6612 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6614 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6626 need_locks="$enable_libtool_lock"
6630 rhapsody* | darwin*)
6631 if test -n "$ac_tool_prefix"; then
6632 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6633 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6635 $as_echo_n "checking for $ac_word... " >&6; }
6636 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6637 $as_echo_n "(cached) " >&6
6639 if test -n "$DSYMUTIL"; then
6640 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646 test -z "$as_dir" && as_dir=.
6647 for ac_exec_ext in '' $ac_executable_extensions; do
6648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6649 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6659 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6660 if test -n "$DSYMUTIL"; then
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6662 $as_echo "$DSYMUTIL" >&6; }
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665 $as_echo "no" >&6; }
6670 if test -z "$ac_cv_prog_DSYMUTIL"; then
6671 ac_ct_DSYMUTIL=$DSYMUTIL
6672 # Extract the first word of "dsymutil", so it can be a program name with args.
6673 set dummy dsymutil; ac_word=$2
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6675 $as_echo_n "checking for $ac_word... " >&6; }
6676 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6677 $as_echo_n "(cached) " >&6
6679 if test -n "$ac_ct_DSYMUTIL"; then
6680 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6686 test -z "$as_dir" && as_dir=.
6687 for ac_exec_ext in '' $ac_executable_extensions; do
6688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6689 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6699 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6700 if test -n "$ac_ct_DSYMUTIL"; then
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6702 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6705 $as_echo "no" >&6; }
6708 if test "x$ac_ct_DSYMUTIL" = x; then
6711 case $cross_compiling:$ac_tool_warned in
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6715 ac_tool_warned=yes ;;
6717 DSYMUTIL=$ac_ct_DSYMUTIL
6720 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6723 if test -n "$ac_tool_prefix"; then
6724 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6725 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6727 $as_echo_n "checking for $ac_word... " >&6; }
6728 if ${ac_cv_prog_NMEDIT+:} false; then :
6729 $as_echo_n "(cached) " >&6
6731 if test -n "$NMEDIT"; then
6732 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6738 test -z "$as_dir" && as_dir=.
6739 for ac_exec_ext in '' $ac_executable_extensions; do
6740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6741 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6751 NMEDIT=$ac_cv_prog_NMEDIT
6752 if test -n "$NMEDIT"; then
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6754 $as_echo "$NMEDIT" >&6; }
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6757 $as_echo "no" >&6; }
6762 if test -z "$ac_cv_prog_NMEDIT"; then
6763 ac_ct_NMEDIT=$NMEDIT
6764 # Extract the first word of "nmedit", so it can be a program name with args.
6765 set dummy nmedit; ac_word=$2
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6767 $as_echo_n "checking for $ac_word... " >&6; }
6768 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6769 $as_echo_n "(cached) " >&6
6771 if test -n "$ac_ct_NMEDIT"; then
6772 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 test -z "$as_dir" && as_dir=.
6779 for ac_exec_ext in '' $ac_executable_extensions; do
6780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6781 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6791 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6792 if test -n "$ac_ct_NMEDIT"; then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6794 $as_echo "$ac_ct_NMEDIT" >&6; }
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6797 $as_echo "no" >&6; }
6800 if test "x$ac_ct_NMEDIT" = x; then
6803 case $cross_compiling:$ac_tool_warned in
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6807 ac_tool_warned=yes ;;
6809 NMEDIT=$ac_ct_NMEDIT
6812 NMEDIT="$ac_cv_prog_NMEDIT"
6815 if test -n "$ac_tool_prefix"; then
6816 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6817 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6819 $as_echo_n "checking for $ac_word... " >&6; }
6820 if ${ac_cv_prog_LIPO+:} false; then :
6821 $as_echo_n "(cached) " >&6
6823 if test -n "$LIPO"; then
6824 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6830 test -z "$as_dir" && as_dir=.
6831 for ac_exec_ext in '' $ac_executable_extensions; do
6832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6833 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6843 LIPO=$ac_cv_prog_LIPO
6844 if test -n "$LIPO"; then
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6846 $as_echo "$LIPO" >&6; }
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849 $as_echo "no" >&6; }
6854 if test -z "$ac_cv_prog_LIPO"; then
6856 # Extract the first word of "lipo", so it can be a program name with args.
6857 set dummy lipo; ac_word=$2
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 $as_echo_n "checking for $ac_word... " >&6; }
6860 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6861 $as_echo_n "(cached) " >&6
6863 if test -n "$ac_ct_LIPO"; then
6864 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6870 test -z "$as_dir" && as_dir=.
6871 for ac_exec_ext in '' $ac_executable_extensions; do
6872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6873 ac_cv_prog_ac_ct_LIPO="lipo"
6874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6883 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6884 if test -n "$ac_ct_LIPO"; then
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6886 $as_echo "$ac_ct_LIPO" >&6; }
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6889 $as_echo "no" >&6; }
6892 if test "x$ac_ct_LIPO" = x; then
6895 case $cross_compiling:$ac_tool_warned in
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6899 ac_tool_warned=yes ;;
6904 LIPO="$ac_cv_prog_LIPO"
6907 if test -n "$ac_tool_prefix"; then
6908 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6909 set dummy ${ac_tool_prefix}otool; ac_word=$2
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6911 $as_echo_n "checking for $ac_word... " >&6; }
6912 if ${ac_cv_prog_OTOOL+:} false; then :
6913 $as_echo_n "(cached) " >&6
6915 if test -n "$OTOOL"; then
6916 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6922 test -z "$as_dir" && as_dir=.
6923 for ac_exec_ext in '' $ac_executable_extensions; do
6924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6925 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6935 OTOOL=$ac_cv_prog_OTOOL
6936 if test -n "$OTOOL"; then
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6938 $as_echo "$OTOOL" >&6; }
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6941 $as_echo "no" >&6; }
6946 if test -z "$ac_cv_prog_OTOOL"; then
6948 # Extract the first word of "otool", so it can be a program name with args.
6949 set dummy otool; ac_word=$2
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6951 $as_echo_n "checking for $ac_word... " >&6; }
6952 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6953 $as_echo_n "(cached) " >&6
6955 if test -n "$ac_ct_OTOOL"; then
6956 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962 test -z "$as_dir" && as_dir=.
6963 for ac_exec_ext in '' $ac_executable_extensions; do
6964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6965 ac_cv_prog_ac_ct_OTOOL="otool"
6966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6976 if test -n "$ac_ct_OTOOL"; then
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6978 $as_echo "$ac_ct_OTOOL" >&6; }
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6981 $as_echo "no" >&6; }
6984 if test "x$ac_ct_OTOOL" = x; then
6987 case $cross_compiling:$ac_tool_warned in
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6991 ac_tool_warned=yes ;;
6996 OTOOL="$ac_cv_prog_OTOOL"
6999 if test -n "$ac_tool_prefix"; then
7000 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7001 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7003 $as_echo_n "checking for $ac_word... " >&6; }
7004 if ${ac_cv_prog_OTOOL64+:} false; then :
7005 $as_echo_n "(cached) " >&6
7007 if test -n "$OTOOL64"; then
7008 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014 test -z "$as_dir" && as_dir=.
7015 for ac_exec_ext in '' $ac_executable_extensions; do
7016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7017 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7027 OTOOL64=$ac_cv_prog_OTOOL64
7028 if test -n "$OTOOL64"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7030 $as_echo "$OTOOL64" >&6; }
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7033 $as_echo "no" >&6; }
7038 if test -z "$ac_cv_prog_OTOOL64"; then
7039 ac_ct_OTOOL64=$OTOOL64
7040 # Extract the first word of "otool64", so it can be a program name with args.
7041 set dummy otool64; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7045 $as_echo_n "(cached) " >&6
7047 if test -n "$ac_ct_OTOOL64"; then
7048 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 test -z "$as_dir" && as_dir=.
7055 for ac_exec_ext in '' $ac_executable_extensions; do
7056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7057 ac_cv_prog_ac_ct_OTOOL64="otool64"
7058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7067 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7068 if test -n "$ac_ct_OTOOL64"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7070 $as_echo "$ac_ct_OTOOL64" >&6; }
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7076 if test "x$ac_ct_OTOOL64" = x; then
7079 case $cross_compiling:$ac_tool_warned in
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7083 ac_tool_warned=yes ;;
7085 OTOOL64=$ac_ct_OTOOL64
7088 OTOOL64="$ac_cv_prog_OTOOL64"
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7118 $as_echo_n "checking for -single_module linker flag... " >&6; }
7119 if ${lt_cv_apple_cc_single_mod+:} false; then :
7120 $as_echo_n "(cached) " >&6
7122 lt_cv_apple_cc_single_mod=no
7123 if test -z "${LT_MULTI_MODULE}"; then
7124 # By default we will add the -single_module flag. You can override
7125 # by either setting the environment variable LT_MULTI_MODULE
7126 # non-empty at configure time, or by adding -multi_module to the
7128 rm -rf libconftest.dylib*
7129 echo "int foo(void){return 1;}" > conftest.c
7130 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7131 -dynamiclib -Wl,-single_module conftest.c" >&5
7132 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7133 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7135 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7136 lt_cv_apple_cc_single_mod=yes
7138 cat conftest.err >&5
7140 rm -rf libconftest.dylib*
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7145 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7147 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7148 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7149 $as_echo_n "(cached) " >&6
7151 lt_cv_ld_exported_symbols_list=no
7152 save_LDFLAGS=$LDFLAGS
7153 echo "_main" > conftest.sym
7154 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7156 /* end confdefs.h. */
7166 if ac_fn_c_try_link "$LINENO"; then :
7167 lt_cv_ld_exported_symbols_list=yes
7169 lt_cv_ld_exported_symbols_list=no
7171 rm -f core conftest.err conftest.$ac_objext \
7172 conftest$ac_exeext conftest.$ac_ext
7173 LDFLAGS="$save_LDFLAGS"
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7177 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7179 rhapsody* | darwin1.[012])
7180 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7182 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7183 darwin*) # darwin 5.x on
7184 # if running on 10.5 or later, the deployment target defaults
7185 # to the OS version, if on x86, and 10.4, the deployment
7186 # target defaults to 10.4. Don't you love it?
7187 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7188 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7189 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7191 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7193 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7197 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7198 _lt_dar_single_mod='$single_module'
7200 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7201 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7203 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7205 if test "$DSYMUTIL" != ":"; then
7206 _lt_dsymutil='~$DSYMUTIL $lib || :'
7214 ac_cpp='$CPP $CPPFLAGS'
7215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7219 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7220 # On Suns, sometimes $CPP names a directory.
7221 if test -n "$CPP" && test -d "$CPP"; then
7224 if test -z "$CPP"; then
7225 if ${ac_cv_prog_CPP+:} false; then :
7226 $as_echo_n "(cached) " >&6
7228 # Double quotes because CPP needs to be expanded
7229 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7232 for ac_c_preproc_warn_flag in '' yes
7234 # Use a header file that comes with gcc, so configuring glibc
7235 # with a fresh cross-compiler works.
7236 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7237 # <limits.h> exists even on freestanding compilers.
7238 # On the NeXT, cc -E runs the code through the compiler's parser,
7239 # not just through cpp. "Syntax error" is here to catch this case.
7240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h. */
7243 # include <limits.h>
7245 # include <assert.h>
7249 if ac_fn_c_try_cpp "$LINENO"; then :
7252 # Broken: fails on valid input.
7255 rm -f conftest.err conftest.i conftest.$ac_ext
7257 # OK, works on sane cases. Now check whether nonexistent headers
7258 # can be detected and how.
7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7260 /* end confdefs.h. */
7261 #include <ac_nonexistent.h>
7263 if ac_fn_c_try_cpp "$LINENO"; then :
7264 # Broken: success on invalid input.
7267 # Passes both tests.
7271 rm -f conftest.err conftest.i conftest.$ac_ext
7274 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7275 rm -f conftest.i conftest.err conftest.$ac_ext
7276 if $ac_preproc_ok; then :
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7289 $as_echo "$CPP" >&6; }
7291 for ac_c_preproc_warn_flag in '' yes
7293 # Use a header file that comes with gcc, so configuring glibc
7294 # with a fresh cross-compiler works.
7295 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7296 # <limits.h> exists even on freestanding compilers.
7297 # On the NeXT, cc -E runs the code through the compiler's parser,
7298 # not just through cpp. "Syntax error" is here to catch this case.
7299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7300 /* end confdefs.h. */
7302 # include <limits.h>
7304 # include <assert.h>
7308 if ac_fn_c_try_cpp "$LINENO"; then :
7311 # Broken: fails on valid input.
7314 rm -f conftest.err conftest.i conftest.$ac_ext
7316 # OK, works on sane cases. Now check whether nonexistent headers
7317 # can be detected and how.
7318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7319 /* end confdefs.h. */
7320 #include <ac_nonexistent.h>
7322 if ac_fn_c_try_cpp "$LINENO"; then :
7323 # Broken: success on invalid input.
7326 # Passes both tests.
7330 rm -f conftest.err conftest.i conftest.$ac_ext
7333 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7334 rm -f conftest.i conftest.err conftest.$ac_ext
7335 if $ac_preproc_ok; then :
7338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7340 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7341 See \`config.log' for more details" "$LINENO" 5; }
7345 ac_cpp='$CPP $CPPFLAGS'
7346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7352 $as_echo_n "checking for ANSI C header files... " >&6; }
7353 if ${ac_cv_header_stdc+:} false; then :
7354 $as_echo_n "(cached) " >&6
7356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7357 /* end confdefs.h. */
7371 if ac_fn_c_try_compile "$LINENO"; then :
7372 ac_cv_header_stdc=yes
7374 ac_cv_header_stdc=no
7376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7378 if test $ac_cv_header_stdc = yes; then
7379 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7381 /* end confdefs.h. */
7385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7386 $EGREP "memchr" >/dev/null 2>&1; then :
7389 ac_cv_header_stdc=no
7395 if test $ac_cv_header_stdc = yes; then
7396 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7398 /* end confdefs.h. */
7402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7403 $EGREP "free" >/dev/null 2>&1; then :
7406 ac_cv_header_stdc=no
7412 if test $ac_cv_header_stdc = yes; then
7413 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7414 if test "$cross_compiling" = yes; then :
7417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7418 /* end confdefs.h. */
7421 #if ((' ' & 0x0FF) == 0x020)
7422 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7423 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7425 # define ISLOWER(c) \
7426 (('a' <= (c) && (c) <= 'i') \
7427 || ('j' <= (c) && (c) <= 'r') \
7428 || ('s' <= (c) && (c) <= 'z'))
7429 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7432 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7437 for (i = 0; i < 256; i++)
7438 if (XOR (islower (i), ISLOWER (i))
7439 || toupper (i) != TOUPPER (i))
7444 if ac_fn_c_try_run "$LINENO"; then :
7447 ac_cv_header_stdc=no
7449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7450 conftest.$ac_objext conftest.beam conftest.$ac_ext
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7456 $as_echo "$ac_cv_header_stdc" >&6; }
7457 if test $ac_cv_header_stdc = yes; then
7459 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7463 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7464 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7465 inttypes.h stdint.h unistd.h
7467 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7468 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7470 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7471 cat >>confdefs.h <<_ACEOF
7472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7480 for ac_header in dlfcn.h
7482 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7484 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7485 cat >>confdefs.h <<_ACEOF
7486 #define HAVE_DLFCN_H 1
7503 # Check whether --enable-shared was given.
7504 if test "${enable_shared+set}" = set; then :
7505 enableval=$enable_shared; p=${PACKAGE-default}
7507 yes) enable_shared=yes ;;
7508 no) enable_shared=no ;;
7511 # Look at the argument we got. We use all the common list separators.
7512 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7513 for pkg in $enableval; do
7515 if test "X$pkg" = "X$p"; then
7534 # Check whether --enable-static was given.
7535 if test "${enable_static+set}" = set; then :
7536 enableval=$enable_static; p=${PACKAGE-default}
7538 yes) enable_static=yes ;;
7539 no) enable_static=no ;;
7542 # Look at the argument we got. We use all the common list separators.
7543 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7544 for pkg in $enableval; do
7546 if test "X$pkg" = "X$p"; then
7566 # Check whether --with-pic was given.
7567 if test "${with_pic+set}" = set; then :
7568 withval=$with_pic; pic_mode="$withval"
7574 test -z "$pic_mode" && pic_mode=default
7582 # Check whether --enable-fast-install was given.
7583 if test "${enable_fast_install+set}" = set; then :
7584 enableval=$enable_fast_install; p=${PACKAGE-default}
7586 yes) enable_fast_install=yes ;;
7587 no) enable_fast_install=no ;;
7589 enable_fast_install=no
7590 # Look at the argument we got. We use all the common list separators.
7591 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7592 for pkg in $enableval; do
7594 if test "X$pkg" = "X$p"; then
7595 enable_fast_install=yes
7602 enable_fast_install=yes
7615 # This can be used to rebuild libtool when needed
7616 LIBTOOL_DEPS="$ltmain"
7618 # Always use our own libtool.
7619 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7645 test -z "$LN_S" && LN_S="ln -s"
7660 if test -n "${ZSH_VERSION+set}" ; then
7661 setopt NO_GLOB_SUBST
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7665 $as_echo_n "checking for objdir... " >&6; }
7666 if ${lt_cv_objdir+:} false; then :
7667 $as_echo_n "(cached) " >&6
7669 rm -f .libs 2>/dev/null
7670 mkdir .libs 2>/dev/null
7671 if test -d .libs; then
7674 # MS-DOS does not allow filenames that begin with a dot.
7677 rmdir .libs 2>/dev/null
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7680 $as_echo "$lt_cv_objdir" >&6; }
7681 objdir=$lt_cv_objdir
7687 cat >>confdefs.h <<_ACEOF
7688 #define LT_OBJDIR "$lt_cv_objdir/"
7709 # AIX sometimes has problems with the GCC collect2 program. For some
7710 # reason, if we set the COLLECT_NAMES environment variable, the problems
7711 # vanish in a puff of smoke.
7712 if test "X${COLLECT_NAMES+set}" != Xset; then
7714 export COLLECT_NAMES
7719 # Sed substitution that helps us do robust quoting. It backslashifies
7720 # metacharacters that are still active within double-quoted strings.
7721 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7723 # Same as above, but do not quote variable references.
7724 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7726 # Sed substitution to delay expansion of an escaped shell variable in a
7727 # double_quote_subst'ed string.
7728 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7730 # Sed substitution to delay expansion of an escaped single quote.
7731 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7733 # Sed substitution to avoid accidental globbing in evaled expressions
7734 no_glob_subst='s/\*/\\\*/g'
7738 can_build_shared=yes
7740 # All known linkers require a `.a' archive for static linking (except MSVC,
7741 # which needs '.lib').
7744 with_gnu_ld="$lt_cv_prog_gnu_ld"
7747 old_CFLAGS="$CFLAGS"
7749 # Set sane defaults for various variables
7750 test -z "$CC" && CC=cc
7751 test -z "$LTCC" && LTCC=$CC
7752 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7753 test -z "$LD" && LD=ld
7754 test -z "$ac_objext" && ac_objext=o
7756 for cc_temp in $compiler""; do
7758 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7759 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7764 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7767 # Only perform the check for file, if the check method requires it
7768 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7769 case $deplibs_check_method in
7771 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7773 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7774 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7775 $as_echo_n "(cached) " >&6
7779 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7782 lt_save_MAGIC_CMD="$MAGIC_CMD"
7783 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7784 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7785 for ac_dir in $ac_dummy; do
7787 test -z "$ac_dir" && ac_dir=.
7788 if test -f $ac_dir/${ac_tool_prefix}file; then
7789 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7790 if test -n "$file_magic_test_file"; then
7791 case $deplibs_check_method in
7793 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7794 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7795 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7796 $EGREP "$file_magic_regex" > /dev/null; then
7801 *** Warning: the command libtool uses to detect shared libraries,
7802 *** $file_magic_cmd, produces output that libtool cannot recognize.
7803 *** The result is that libtool may fail to recognize shared libraries
7804 *** as such. This will affect the creation of libtool libraries that
7805 *** depend on shared libraries, but programs linked with such libtool
7806 *** libraries will work regardless of this problem. Nevertheless, you
7807 *** may want to report the problem to your system manager and/or to
7808 *** bug-libtool@gnu.org
7818 MAGIC_CMD="$lt_save_MAGIC_CMD"
7823 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7824 if test -n "$MAGIC_CMD"; then
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7826 $as_echo "$MAGIC_CMD" >&6; }
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7829 $as_echo "no" >&6; }
7836 if test -z "$lt_cv_path_MAGIC_CMD"; then
7837 if test -n "$ac_tool_prefix"; then
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7839 $as_echo_n "checking for file... " >&6; }
7840 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7841 $as_echo_n "(cached) " >&6
7845 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7848 lt_save_MAGIC_CMD="$MAGIC_CMD"
7849 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7850 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7851 for ac_dir in $ac_dummy; do
7853 test -z "$ac_dir" && ac_dir=.
7854 if test -f $ac_dir/file; then
7855 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7856 if test -n "$file_magic_test_file"; then
7857 case $deplibs_check_method in
7859 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7860 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7861 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7862 $EGREP "$file_magic_regex" > /dev/null; then
7867 *** Warning: the command libtool uses to detect shared libraries,
7868 *** $file_magic_cmd, produces output that libtool cannot recognize.
7869 *** The result is that libtool may fail to recognize shared libraries
7870 *** as such. This will affect the creation of libtool libraries that
7871 *** depend on shared libraries, but programs linked with such libtool
7872 *** libraries will work regardless of this problem. Nevertheless, you
7873 *** may want to report the problem to your system manager and/or to
7874 *** bug-libtool@gnu.org
7884 MAGIC_CMD="$lt_save_MAGIC_CMD"
7889 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7890 if test -n "$MAGIC_CMD"; then
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7892 $as_echo "$MAGIC_CMD" >&6; }
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7895 $as_echo "no" >&6; }
7908 # Use C for the default configuration in the libtool script
7912 ac_cpp='$CPP $CPPFLAGS'
7913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7918 # Source file extension for C test sources.
7921 # Object file extension for compiled C test sources.
7925 # Code to be used in simple compile tests
7926 lt_simple_compile_test_code="int some_variable = 0;"
7928 # Code to be used in simple link tests
7929 lt_simple_link_test_code='int main(){return(0);}'
7937 # If no C compiler was specified, use CC.
7940 # If no C compiler flags were specified, use CFLAGS.
7941 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7943 # Allow CC to be a program name with arguments.
7946 # Save the default compiler, since it gets overwritten when the other
7947 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7948 compiler_DEFAULT=$CC
7950 # save warnings/boilerplate of simple test code
7951 ac_outfile=conftest.$ac_objext
7952 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7953 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7954 _lt_compiler_boilerplate=`cat conftest.err`
7957 ac_outfile=conftest.$ac_objext
7958 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7959 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7960 _lt_linker_boilerplate=`cat conftest.err`
7965 ## There is no encapsulation within the following macros, do not change
7966 ## the running order or otherwise move them around unless you know exactly
7967 ## what you are doing...
7968 if test -n "$compiler"; then
7970 lt_prog_compiler_no_builtin_flag=
7972 if test "$GCC" = yes; then
7973 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7976 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7977 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7978 $as_echo_n "(cached) " >&6
7980 lt_cv_prog_compiler_rtti_exceptions=no
7981 ac_outfile=conftest.$ac_objext
7982 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7983 lt_compiler_flag="-fno-rtti -fno-exceptions"
7984 # Insert the option either (1) after the last *FLAGS variable, or
7985 # (2) before a word containing "conftest.", or (3) at the end.
7986 # Note that $ac_compile itself does not contain backslashes and begins
7987 # with a dollar sign (not a hyphen), so the echo should work correctly.
7988 # The option is referenced via a variable to avoid confusing sed.
7989 lt_compile=`echo "$ac_compile" | $SED \
7990 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7991 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7992 -e 's:$: $lt_compiler_flag:'`
7993 (eval echo "\"\$as_me:7993: $lt_compile\"" >&5)
7994 (eval "$lt_compile" 2>conftest.err)
7996 cat conftest.err >&5
7997 echo "$as_me:7997: \$? = $ac_status" >&5
7998 if (exit $ac_status) && test -s "$ac_outfile"; then
7999 # The compiler can only warn and ignore the option if not recognized
8000 # So say no if there are warnings other than the usual output.
8001 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8002 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8003 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8004 lt_cv_prog_compiler_rtti_exceptions=yes
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8011 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8013 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8014 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8026 lt_prog_compiler_wl=
8027 lt_prog_compiler_pic=
8028 lt_prog_compiler_static=
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8031 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8033 if test "$GCC" = yes; then
8034 lt_prog_compiler_wl='-Wl,'
8035 lt_prog_compiler_static='-static'
8039 # All AIX code is PIC.
8040 if test "$host_cpu" = ia64; then
8041 # AIX 5 now supports IA64 processor
8042 lt_prog_compiler_static='-Bstatic'
8049 # see comment about AmigaOS4 .so support
8050 lt_prog_compiler_pic='-fPIC'
8053 # FIXME: we need at least 68020 code to build shared libraries, but
8054 # adding the `-m68020' flag to GCC prevents building anything better,
8056 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8061 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8062 # PIC is the default for these OSes.
8065 mingw* | cygwin* | pw32* | os2* | cegcc*)
8066 # This hack is so that the source file can tell whether it is being
8067 # built for inclusion in a dll (and should export symbols for example).
8068 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8069 # (--disable-auto-import) libraries
8070 lt_prog_compiler_pic='-DDLL_EXPORT'
8073 darwin* | rhapsody*)
8074 # PIC is the default on this platform
8075 # Common symbols not allowed in MH_DYLIB files
8076 lt_prog_compiler_pic='-fno-common'
8080 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8081 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8082 # sets the default TLS model and affects inlining.
8088 lt_prog_compiler_pic='-fPIC'
8094 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8095 # Instead, we relocate shared libraries at runtime.
8099 # Just because we use GCC doesn't mean we suddenly get shared libraries
8100 # on systems that don't support them.
8101 lt_prog_compiler_can_build_shared=no
8106 # QNX uses GNU C++, but need to define -shared option too, otherwise
8108 lt_prog_compiler_pic='-fPIC -shared'
8112 if test -d /usr/nec; then
8113 lt_prog_compiler_pic=-Kconform_pic
8118 lt_prog_compiler_pic='-fPIC'
8122 # PORTME Check for flag to pass linker flags through the system compiler.
8125 lt_prog_compiler_wl='-Wl,'
8126 if test "$host_cpu" = ia64; then
8127 # AIX 5 now supports IA64 processor
8128 lt_prog_compiler_static='-Bstatic'
8130 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8134 mingw* | cygwin* | pw32* | os2* | cegcc*)
8135 # This hack is so that the source file can tell whether it is being
8136 # built for inclusion in a dll (and should export symbols for example).
8137 lt_prog_compiler_pic='-DDLL_EXPORT'
8140 hpux9* | hpux10* | hpux11*)
8141 lt_prog_compiler_wl='-Wl,'
8142 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8149 lt_prog_compiler_pic='+Z'
8152 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8153 lt_prog_compiler_static='${wl}-a ${wl}archive'
8156 irix5* | irix6* | nonstopux*)
8157 lt_prog_compiler_wl='-Wl,'
8158 # PIC (with -KPIC) is the default.
8159 lt_prog_compiler_static='-non_shared'
8162 linux* | k*bsd*-gnu)
8163 case $cc_basename in
8164 # old Intel for x86_64 which still supported -KPIC.
8166 lt_prog_compiler_wl='-Wl,'
8167 lt_prog_compiler_pic='-KPIC'
8168 lt_prog_compiler_static='-static'
8170 # icc used to be incompatible with GCC.
8171 # ICC 10 doesn't accept -KPIC any more.
8173 lt_prog_compiler_wl='-Wl,'
8174 lt_prog_compiler_pic='-fPIC'
8175 lt_prog_compiler_static='-static'
8177 # Lahey Fortran 8.1.
8179 lt_prog_compiler_wl='-Wl,'
8180 lt_prog_compiler_pic='--shared'
8181 lt_prog_compiler_static='--static'
8183 pgcc* | pgf77* | pgf90* | pgf95*)
8184 # Portland Group compilers (*not* the Pentium gcc compiler,
8185 # which looks to be a dead project)
8186 lt_prog_compiler_wl='-Wl,'
8187 lt_prog_compiler_pic='-fpic'
8188 lt_prog_compiler_static='-Bstatic'
8191 lt_prog_compiler_wl='-Wl,'
8192 # All Alpha code is PIC.
8193 lt_prog_compiler_static='-non_shared'
8196 # IBM XL C 8.0/Fortran 10.1 on PPC
8197 lt_prog_compiler_wl='-Wl,'
8198 lt_prog_compiler_pic='-qpic'
8199 lt_prog_compiler_static='-qstaticlink'
8202 case `$CC -V 2>&1 | sed 5q` in
8205 lt_prog_compiler_pic='-KPIC'
8206 lt_prog_compiler_static='-Bstatic'
8207 lt_prog_compiler_wl='-Wl,'
8210 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8211 lt_prog_compiler_pic='-KPIC'
8212 lt_prog_compiler_static='-Bstatic'
8213 lt_prog_compiler_wl=''
8221 lt_prog_compiler_pic='-KPIC'
8222 lt_prog_compiler_static='-Bstatic'
8226 # QNX uses GNU C++, but need to define -shared option too, otherwise
8228 lt_prog_compiler_pic='-fPIC -shared'
8231 osf3* | osf4* | osf5*)
8232 lt_prog_compiler_wl='-Wl,'
8233 # All OSF/1 code is PIC.
8234 lt_prog_compiler_static='-non_shared'
8238 lt_prog_compiler_static='-non_shared'
8242 lt_prog_compiler_pic='-KPIC'
8243 lt_prog_compiler_static='-Bstatic'
8244 case $cc_basename in
8246 lt_prog_compiler_wl='-Qoption ld ';;
8248 lt_prog_compiler_wl='-Wl,';;
8253 lt_prog_compiler_wl='-Qoption ld '
8254 lt_prog_compiler_pic='-PIC'
8255 lt_prog_compiler_static='-Bstatic'
8258 sysv4 | sysv4.2uw2* | sysv4.3*)
8259 lt_prog_compiler_wl='-Wl,'
8260 lt_prog_compiler_pic='-KPIC'
8261 lt_prog_compiler_static='-Bstatic'
8265 if test -d /usr/nec ;then
8266 lt_prog_compiler_pic='-Kconform_pic'
8267 lt_prog_compiler_static='-Bstatic'
8271 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8272 lt_prog_compiler_wl='-Wl,'
8273 lt_prog_compiler_pic='-KPIC'
8274 lt_prog_compiler_static='-Bstatic'
8278 lt_prog_compiler_wl='-Wl,'
8279 lt_prog_compiler_can_build_shared=no
8283 lt_prog_compiler_pic='-pic'
8284 lt_prog_compiler_static='-Bstatic'
8288 lt_prog_compiler_can_build_shared=no
8294 # For platforms which do not support PIC, -DPIC is meaningless:
8296 lt_prog_compiler_pic=
8299 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8303 $as_echo "$lt_prog_compiler_pic" >&6; }
8311 # Check to make sure the PIC flag actually works.
8313 if test -n "$lt_prog_compiler_pic"; then
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8315 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8316 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8317 $as_echo_n "(cached) " >&6
8319 lt_cv_prog_compiler_pic_works=no
8320 ac_outfile=conftest.$ac_objext
8321 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8322 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8323 # Insert the option either (1) after the last *FLAGS variable, or
8324 # (2) before a word containing "conftest.", or (3) at the end.
8325 # Note that $ac_compile itself does not contain backslashes and begins
8326 # with a dollar sign (not a hyphen), so the echo should work correctly.
8327 # The option is referenced via a variable to avoid confusing sed.
8328 lt_compile=`echo "$ac_compile" | $SED \
8329 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8330 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8331 -e 's:$: $lt_compiler_flag:'`
8332 (eval echo "\"\$as_me:8332: $lt_compile\"" >&5)
8333 (eval "$lt_compile" 2>conftest.err)
8335 cat conftest.err >&5
8336 echo "$as_me:8336: \$? = $ac_status" >&5
8337 if (exit $ac_status) && test -s "$ac_outfile"; then
8338 # The compiler can only warn and ignore the option if not recognized
8339 # So say no if there are warnings other than the usual output.
8340 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8341 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8342 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8343 lt_cv_prog_compiler_pic_works=yes
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8350 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8352 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8353 case $lt_prog_compiler_pic in
8355 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8358 lt_prog_compiler_pic=
8359 lt_prog_compiler_can_build_shared=no
8370 # Check to make sure the static flag actually works.
8372 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8374 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8375 if ${lt_cv_prog_compiler_static_works+:} false; then :
8376 $as_echo_n "(cached) " >&6
8378 lt_cv_prog_compiler_static_works=no
8379 save_LDFLAGS="$LDFLAGS"
8380 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8381 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8382 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8383 # The linker can only warn and ignore the option if not recognized
8384 # So say no if there are warnings
8385 if test -s conftest.err; then
8386 # Append any errors to the config.log.
8387 cat conftest.err 1>&5
8388 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8389 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8390 if diff conftest.exp conftest.er2 >/dev/null; then
8391 lt_cv_prog_compiler_static_works=yes
8394 lt_cv_prog_compiler_static_works=yes
8398 LDFLAGS="$save_LDFLAGS"
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8402 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8404 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8407 lt_prog_compiler_static=
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8417 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8418 if ${lt_cv_prog_compiler_c_o+:} false; then :
8419 $as_echo_n "(cached) " >&6
8421 lt_cv_prog_compiler_c_o=no
8422 $RM -r conftest 2>/dev/null
8426 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8428 lt_compiler_flag="-o out/conftest2.$ac_objext"
8429 # Insert the option either (1) after the last *FLAGS variable, or
8430 # (2) before a word containing "conftest.", or (3) at the end.
8431 # Note that $ac_compile itself does not contain backslashes and begins
8432 # with a dollar sign (not a hyphen), so the echo should work correctly.
8433 lt_compile=`echo "$ac_compile" | $SED \
8434 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8435 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8436 -e 's:$: $lt_compiler_flag:'`
8437 (eval echo "\"\$as_me:8437: $lt_compile\"" >&5)
8438 (eval "$lt_compile" 2>out/conftest.err)
8440 cat out/conftest.err >&5
8441 echo "$as_me:8441: \$? = $ac_status" >&5
8442 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8444 # The compiler can only warn and ignore the option if not recognized
8445 # So say no if there are warnings
8446 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8447 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8448 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8449 lt_cv_prog_compiler_c_o=yes
8454 # SGI C++ compiler will create directory out/ii_files/ for
8455 # template instantiation
8456 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8457 $RM out/* && rmdir out
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8464 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8472 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8473 if ${lt_cv_prog_compiler_c_o+:} false; then :
8474 $as_echo_n "(cached) " >&6
8476 lt_cv_prog_compiler_c_o=no
8477 $RM -r conftest 2>/dev/null
8481 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8483 lt_compiler_flag="-o out/conftest2.$ac_objext"
8484 # Insert the option either (1) after the last *FLAGS variable, or
8485 # (2) before a word containing "conftest.", or (3) at the end.
8486 # Note that $ac_compile itself does not contain backslashes and begins
8487 # with a dollar sign (not a hyphen), so the echo should work correctly.
8488 lt_compile=`echo "$ac_compile" | $SED \
8489 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8490 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8491 -e 's:$: $lt_compiler_flag:'`
8492 (eval echo "\"\$as_me:8492: $lt_compile\"" >&5)
8493 (eval "$lt_compile" 2>out/conftest.err)
8495 cat out/conftest.err >&5
8496 echo "$as_me:8496: \$? = $ac_status" >&5
8497 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8499 # The compiler can only warn and ignore the option if not recognized
8500 # So say no if there are warnings
8501 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8502 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8503 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8504 lt_cv_prog_compiler_c_o=yes
8509 # SGI C++ compiler will create directory out/ii_files/ for
8510 # template instantiation
8511 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8512 $RM out/* && rmdir out
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8519 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8524 hard_links="nottested"
8525 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8526 # do not overwrite the value of need_locks provided by the user
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8528 $as_echo_n "checking if we can lock with hard links... " >&6; }
8531 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8533 ln conftest.a conftest.b 2>&5 || hard_links=no
8534 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8536 $as_echo "$hard_links" >&6; }
8537 if test "$hard_links" = no; then
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8539 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8552 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8555 allow_undefined_flag=
8556 always_export_symbols=no
8558 archive_expsym_cmds=
8559 compiler_needs_object=no
8560 enable_shared_with_static_runtimes=no
8561 export_dynamic_flag_spec=
8562 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8563 hardcode_automatic=no
8565 hardcode_direct_absolute=no
8566 hardcode_libdir_flag_spec=
8567 hardcode_libdir_flag_spec_ld=
8568 hardcode_libdir_separator=
8570 hardcode_shlibpath_var=unsupported
8572 link_all_deplibs=unknown
8575 old_archive_from_new_cmds=
8576 old_archive_from_expsyms_cmds=
8577 thread_safe_flag_spec=
8578 whole_archive_flag_spec=
8579 # include_expsyms should be a list of space-separated symbols to be *always*
8580 # included in the symbol list
8582 # exclude_expsyms can be an extended regexp of symbols to exclude
8583 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8584 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8585 # as well as any symbol that contains `d'.
8586 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8587 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8588 # platforms (ab)use it in PIC code, but their linkers get confused if
8589 # the symbol is explicitly referenced. Since portable code cannot
8590 # rely on this symbol name, it's probably fine to never include it in
8591 # preloaded symbol tables.
8592 # Exclude shared library initialization/finalization symbols.
8593 extract_expsyms_cmds=
8596 cygwin* | mingw* | pw32* | cegcc*)
8597 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8598 # When not using gcc, we currently assume that we are using
8599 # Microsoft Visual C++.
8600 if test "$GCC" != yes; then
8605 # we just hope/assume this is gcc and not c89 (= MSVC++)
8614 if test "$with_gnu_ld" = yes; then
8615 # If archive_cmds runs LD, not CC, wlarc should be empty
8618 # Set some defaults for GNU ld with shared library support. These
8619 # are reset later if shared libraries are not supported. Putting them
8620 # here allows them to be overridden if necessary.
8621 runpath_var=LD_RUN_PATH
8622 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8623 export_dynamic_flag_spec='${wl}--export-dynamic'
8624 # ancient GNU ld didn't support --whole-archive et. al.
8625 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8626 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8628 whole_archive_flag_spec=
8630 supports_anon_versioning=no
8631 case `$LD -v 2>&1` in
8632 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8633 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8634 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8635 *\ 2.11.*) ;; # other 2.11 versions
8636 *) supports_anon_versioning=yes ;;
8639 # See if GNU ld supports shared libraries.
8642 # On AIX/PPC, the GNU linker is very broken
8643 if test "$host_cpu" != ia64; then
8647 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8648 *** to be unable to reliably create shared libraries on AIX.
8649 *** Therefore, libtool is disabling shared libraries support. If you
8650 *** really care for shared libraries, you may want to modify your PATH
8651 *** so that a non-GNU linker is found, and then restart.
8660 # see comment about AmigaOS4 .so support
8661 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8662 archive_expsym_cmds=''
8665 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)'
8666 hardcode_libdir_flag_spec='-L$libdir'
8667 hardcode_minus_L=yes
8673 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8674 allow_undefined_flag=unsupported
8675 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8676 # support --undefined. This deserves some investigation. FIXME
8677 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8683 cygwin* | mingw* | pw32* | cegcc*)
8684 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8685 # as there is no search path for DLLs.
8686 hardcode_libdir_flag_spec='-L$libdir'
8687 allow_undefined_flag=unsupported
8688 always_export_symbols=no
8689 enable_shared_with_static_runtimes=yes
8690 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8692 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8693 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8694 # If the export-symbols file already is a .def file (1st line
8695 # is EXPORTS), use it as is; otherwise, prepend...
8696 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8697 cp $export_symbols $output_objdir/$soname.def;
8699 echo EXPORTS > $output_objdir/$soname.def;
8700 cat $export_symbols >> $output_objdir/$soname.def;
8702 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8710 hardcode_shlibpath_var=no
8711 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8712 export_dynamic_flag_spec='${wl}-E'
8713 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8714 # Instead, shared libraries are loaded at an image base (0x10000000 by
8715 # default) and relocated if they conflict, which is a slow very memory
8716 # consuming and fragmenting process. To avoid this, we pick a random,
8717 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8718 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8719 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8720 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'
8723 gnu* | linux* | tpf* | k*bsd*-gnu)
8725 if test "$host_os" = linux-dietlibc; then
8726 case $cc_basename in
8727 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8730 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8731 && test "$tmp_diet" = no
8734 tmp_sharedflag='-shared'
8735 case $cc_basename,$host_cpu in
8736 pgcc*) # Portland Group C compiler
8737 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'
8738 tmp_addflag=' $pic_flag'
8740 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8741 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'
8742 tmp_addflag=' $pic_flag -Mnomain' ;;
8743 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8744 tmp_addflag=' -i_dynamic' ;;
8745 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8746 tmp_addflag=' -i_dynamic -nofor_main' ;;
8747 ifc* | ifort*) # Intel Fortran compiler
8748 tmp_addflag=' -nofor_main' ;;
8749 lf95*) # Lahey Fortran 8.1
8750 whole_archive_flag_spec=
8751 tmp_sharedflag='--shared' ;;
8752 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8753 tmp_sharedflag='-qmkshrobj'
8756 case `$CC -V 2>&1 | sed 5q` in
8757 *Sun\ C*) # Sun C 5.9
8758 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'
8759 compiler_needs_object=yes
8760 tmp_sharedflag='-G' ;;
8761 *Sun\ F*) # Sun Fortran 8.3
8762 tmp_sharedflag='-G' ;;
8764 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8766 if test "x$supports_anon_versioning" = xyes; then
8767 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8768 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8769 echo "local: *; };" >> $output_objdir/$libname.ver~
8770 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8773 case $cc_basename in
8775 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8776 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8777 hardcode_libdir_flag_spec=
8778 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8779 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8780 if test "x$supports_anon_versioning" = xyes; then
8781 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8782 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8783 echo "local: *; };" >> $output_objdir/$libname.ver~
8784 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8794 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8795 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8798 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8799 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8804 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8808 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8809 *** create shared libraries on Solaris systems. Therefore, libtool
8810 *** is disabling shared libraries support. We urge you to upgrade GNU
8811 *** binutils to release 2.9.1 or newer. Another option is to modify
8812 *** your PATH or compiler configuration so that the native linker is
8813 *** used, and then restart.
8816 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8817 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8818 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8824 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8825 case `$LD -v 2>&1` in
8826 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8830 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8831 *** reliably create shared libraries on SCO systems. Therefore, libtool
8832 *** is disabling shared libraries support. We urge you to upgrade GNU
8833 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8834 *** your PATH or compiler configuration so that the native linker is
8835 *** used, and then restart.
8840 # For security reasons, it is highly recommended that you always
8841 # use absolute paths for naming shared libraries, and exclude the
8842 # DT_RUNPATH tag from executables and libraries. But doing so
8843 # requires that you compile everything twice, which is a pain.
8844 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8845 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8846 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8847 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8856 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8859 hardcode_shlibpath_var=no
8863 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8864 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8865 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8872 if test "$ld_shlibs" = no; then
8874 hardcode_libdir_flag_spec=
8875 export_dynamic_flag_spec=
8876 whole_archive_flag_spec=
8879 # PORTME fill in a description of your system's linker (not GNU ld)
8882 allow_undefined_flag=unsupported
8883 always_export_symbols=yes
8884 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'
8885 # Note: this linker hardcodes the directories in LIBPATH if there
8886 # are no directories specified by -L.
8887 hardcode_minus_L=yes
8888 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8889 # Neither direct hardcoding nor static linking is supported with a
8891 hardcode_direct=unsupported
8896 if test "$host_cpu" = ia64; then
8897 # On IA64, the linker does run time linking by default, so we don't
8898 # have to do anything special.
8899 aix_use_runtimelinking=no
8900 exp_sym_flag='-Bexport'
8903 # If we're using GNU nm, then we don't want the "-C" option.
8904 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8905 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8906 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'
8908 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'
8910 aix_use_runtimelinking=no
8912 # Test if we are trying to use run time linking or normal
8913 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8914 # need to do runtime linking.
8915 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8916 for ld_flag in $LDFLAGS; do
8917 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8918 aix_use_runtimelinking=yes
8925 exp_sym_flag='-bexport'
8926 no_entry_flag='-bnoentry'
8929 # When large executables or shared objects are built, AIX ld can
8930 # have problems creating the table of contents. If linking a library
8931 # or program results in "error TOC overflow" add -mminimal-toc to
8932 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8933 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8937 hardcode_direct_absolute=yes
8938 hardcode_libdir_separator=':'
8939 link_all_deplibs=yes
8940 file_list_spec='${wl}-f,'
8942 if test "$GCC" = yes; then
8943 case $host_os in aix4.[012]|aix4.[012].*)
8944 # We only want to do this on AIX 4.2 and lower, the check
8945 # below for broken collect2 doesn't work under 4.3+
8946 collect2name=`${CC} -print-prog-name=collect2`
8947 if test -f "$collect2name" &&
8948 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8950 # We have reworked collect2
8953 # We have old collect2
8954 hardcode_direct=unsupported
8955 # It fails to find uninstalled libraries when the uninstalled
8956 # path is not listed in the libpath. Setting hardcode_minus_L
8957 # to unsupported forces relinking
8958 hardcode_minus_L=yes
8959 hardcode_libdir_flag_spec='-L$libdir'
8960 hardcode_libdir_separator=
8964 shared_flag='-shared'
8965 if test "$aix_use_runtimelinking" = yes; then
8966 shared_flag="$shared_flag "'${wl}-G'
8970 if test "$host_cpu" = ia64; then
8971 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8972 # chokes on -Wl,-G. The following line is correct:
8975 if test "$aix_use_runtimelinking" = yes; then
8976 shared_flag='${wl}-G'
8978 shared_flag='${wl}-bM:SRE'
8983 export_dynamic_flag_spec='${wl}-bexpall'
8984 # It seems that -bexpall does not export symbols beginning with
8985 # underscore (_), so it is better to generate a list of symbols to export.
8986 always_export_symbols=yes
8987 if test "$aix_use_runtimelinking" = yes; then
8988 # Warning - without using the other runtime loading flags (-brtl),
8989 # -berok will link without error, but may produce a broken library.
8990 allow_undefined_flag='-berok'
8991 # Determine the default libpath from the value encoded in an
8993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8994 /* end confdefs.h. */
9004 if ac_fn_c_try_link "$LINENO"; then :
9006 lt_aix_libpath_sed='
9007 /Import File Strings/,/^$/ {
9013 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9014 # Check for a 64-bit object if we didn't find anything.
9015 if test -z "$aix_libpath"; then
9016 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9019 rm -f core conftest.err conftest.$ac_objext \
9020 conftest$ac_exeext conftest.$ac_ext
9021 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9023 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9024 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"
9026 if test "$host_cpu" = ia64; then
9027 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9028 allow_undefined_flag="-z nodefs"
9029 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"
9031 # Determine the default libpath from the value encoded in an
9033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9034 /* end confdefs.h. */
9044 if ac_fn_c_try_link "$LINENO"; then :
9046 lt_aix_libpath_sed='
9047 /Import File Strings/,/^$/ {
9053 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9054 # Check for a 64-bit object if we didn't find anything.
9055 if test -z "$aix_libpath"; then
9056 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9059 rm -f core conftest.err conftest.$ac_objext \
9060 conftest$ac_exeext conftest.$ac_ext
9061 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9063 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9064 # Warning - without using the other run time loading flags,
9065 # -berok will link without error, but may produce a broken library.
9066 no_undefined_flag=' ${wl}-bernotok'
9067 allow_undefined_flag=' ${wl}-berok'
9068 # Exported symbols can be pulled into shared objects from archives
9069 whole_archive_flag_spec='$convenience'
9070 archive_cmds_need_lc=yes
9071 # This is similar to how AIX traditionally builds its shared libraries.
9072 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'
9080 # see comment about AmigaOS4 .so support
9081 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9082 archive_expsym_cmds=''
9085 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)'
9086 hardcode_libdir_flag_spec='-L$libdir'
9087 hardcode_minus_L=yes
9093 export_dynamic_flag_spec=-rdynamic
9096 cygwin* | mingw* | pw32* | cegcc*)
9097 # When not using gcc, we currently assume that we are using
9098 # Microsoft Visual C++.
9099 # hardcode_libdir_flag_spec is actually meaningless, as there is
9100 # no search path for DLLs.
9101 hardcode_libdir_flag_spec=' '
9102 allow_undefined_flag=unsupported
9103 # Tell ltmain to make .lib files, not .a files.
9105 # Tell ltmain to make .dll files, not .so files.
9107 # FIXME: Setting linknames here is a bad hack.
9108 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9109 # The linker will automatically build a .lib file if we build a DLL.
9110 old_archive_from_new_cmds='true'
9111 # FIXME: Should let the user specify the lib program.
9112 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9113 fix_srcfile_path='`cygpath -w "$srcfile"`'
9114 enable_shared_with_static_runtimes=yes
9117 darwin* | rhapsody*)
9120 archive_cmds_need_lc=no
9122 hardcode_automatic=yes
9123 hardcode_shlibpath_var=unsupported
9124 whole_archive_flag_spec=''
9125 link_all_deplibs=yes
9126 allow_undefined_flag="$_lt_dar_allow_undefined"
9127 case $cc_basename in
9128 ifort*) _lt_dar_can_shared=yes ;;
9129 *) _lt_dar_can_shared=$GCC ;;
9131 if test "$_lt_dar_can_shared" = "yes"; then
9132 output_verbose_link_cmd=echo
9133 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9134 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9135 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}"
9136 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}"
9145 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9146 hardcode_libdir_flag_spec='-L$libdir'
9147 hardcode_shlibpath_var=no
9154 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9155 # support. Future versions do this automatically, but an explicit c++rt0.o
9156 # does not break anything, and helps significantly (at the cost of a little
9159 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9160 hardcode_libdir_flag_spec='-R$libdir'
9162 hardcode_shlibpath_var=no
9165 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9167 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9169 hardcode_minus_L=yes
9170 hardcode_shlibpath_var=no
9173 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9174 freebsd* | dragonfly*)
9175 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9176 hardcode_libdir_flag_spec='-R$libdir'
9178 hardcode_shlibpath_var=no
9182 if test "$GCC" = yes; then
9183 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'
9185 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'
9187 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9188 hardcode_libdir_separator=:
9191 # hardcode_minus_L: Not really in the search PATH,
9192 # but as the default location of the library.
9193 hardcode_minus_L=yes
9194 export_dynamic_flag_spec='${wl}-E'
9198 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9199 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9201 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9203 if test "$with_gnu_ld" = no; then
9204 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9205 hardcode_libdir_flag_spec_ld='+b $libdir'
9206 hardcode_libdir_separator=:
9208 hardcode_direct_absolute=yes
9209 export_dynamic_flag_spec='${wl}-E'
9210 # hardcode_minus_L: Not really in the search PATH,
9211 # but as the default location of the library.
9212 hardcode_minus_L=yes
9217 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9220 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9223 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9226 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9232 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9235 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9238 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9242 if test "$with_gnu_ld" = no; then
9243 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9244 hardcode_libdir_separator=:
9249 hardcode_shlibpath_var=no
9253 hardcode_direct_absolute=yes
9254 export_dynamic_flag_spec='${wl}-E'
9256 # hardcode_minus_L: Not really in the search PATH,
9257 # but as the default location of the library.
9258 hardcode_minus_L=yes
9264 irix5* | irix6* | nonstopux*)
9265 if test "$GCC" = yes; then
9266 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'
9267 # Try to use the -exported_symbol ld option, if it does not
9268 # work, assume that -exports_file does not work either and
9269 # implicitly export all symbols.
9270 save_LDFLAGS="$LDFLAGS"
9271 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9274 int foo (void) { return 0; }
9276 if ac_fn_c_try_link "$LINENO"; then :
9278 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'
9281 rm -f core conftest.err conftest.$ac_objext \
9282 conftest$ac_exeext conftest.$ac_ext
9283 LDFLAGS="$save_LDFLAGS"
9285 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'
9286 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'
9288 archive_cmds_need_lc='no'
9289 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9290 hardcode_libdir_separator=:
9292 link_all_deplibs=yes
9296 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9297 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9299 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9301 hardcode_libdir_flag_spec='-R$libdir'
9303 hardcode_shlibpath_var=no
9307 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9309 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9310 hardcode_libdir_separator=:
9311 hardcode_shlibpath_var=no
9318 if test -f /usr/libexec/ld.so; then
9320 hardcode_shlibpath_var=no
9321 hardcode_direct_absolute=yes
9322 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9323 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9324 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9325 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9326 export_dynamic_flag_spec='${wl}-E'
9329 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9330 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9331 hardcode_libdir_flag_spec='-R$libdir'
9334 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9335 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9345 hardcode_libdir_flag_spec='-L$libdir'
9346 hardcode_minus_L=yes
9347 allow_undefined_flag=unsupported
9348 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'
9349 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9353 if test "$GCC" = yes; then
9354 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9355 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'
9357 allow_undefined_flag=' -expect_unresolved \*'
9358 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'
9360 archive_cmds_need_lc='no'
9361 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9362 hardcode_libdir_separator=:
9365 osf4* | osf5*) # as osf3* with the addition of -msym flag
9366 if test "$GCC" = yes; then
9367 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9368 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'
9369 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9371 allow_undefined_flag=' -expect_unresolved \*'
9372 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'
9373 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~
9374 $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'
9376 # Both c and cxx compiler support -rpath directly
9377 hardcode_libdir_flag_spec='-rpath $libdir'
9379 archive_cmds_need_lc='no'
9380 hardcode_libdir_separator=:
9384 no_undefined_flag=' -z defs'
9385 if test "$GCC" = yes; then
9387 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9388 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9389 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9391 case `$CC -V 2>&1` in
9394 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9395 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9396 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9400 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9401 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9402 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9406 hardcode_libdir_flag_spec='-R$libdir'
9407 hardcode_shlibpath_var=no
9409 solaris2.[0-5] | solaris2.[0-5].*) ;;
9411 # The compiler driver will combine and reorder linker options,
9412 # but understands `-z linker_flag'. GCC discards it without `$wl',
9413 # but is careful enough not to reorder.
9414 # Supported since Solaris 2.6 (maybe 2.5.1?)
9415 if test "$GCC" = yes; then
9416 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9418 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9422 link_all_deplibs=yes
9426 if test "x$host_vendor" = xsequent; then
9427 # Use $CC to link under sequent, because it throws in some extra .o
9428 # files that make .init and .fini sections work.
9429 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9431 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9433 hardcode_libdir_flag_spec='-L$libdir'
9435 hardcode_minus_L=yes
9436 hardcode_shlibpath_var=no
9440 case $host_vendor in
9442 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9443 hardcode_direct=yes # is this really true???
9446 ## LD is ld it makes a PLAMLIB
9447 ## CC just makes a GrossModule.
9448 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9449 reload_cmds='$CC -r -o $output$reload_objs'
9453 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9454 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9457 runpath_var='LD_RUN_PATH'
9458 hardcode_shlibpath_var=no
9462 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9463 hardcode_shlibpath_var=no
9464 export_dynamic_flag_spec='-Bexport'
9468 if test -d /usr/nec; then
9469 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9470 hardcode_shlibpath_var=no
9471 runpath_var=LD_RUN_PATH
9472 hardcode_runpath_var=yes
9477 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9478 no_undefined_flag='${wl}-z,text'
9479 archive_cmds_need_lc=no
9480 hardcode_shlibpath_var=no
9481 runpath_var='LD_RUN_PATH'
9483 if test "$GCC" = yes; then
9484 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9485 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9487 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9488 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9492 sysv5* | sco3.2v5* | sco5v6*)
9493 # Note: We can NOT use -z defs as we might desire, because we do not
9494 # link with -lc, and that would cause any symbols used from libc to
9495 # always be unresolved, which means just about no library would
9496 # ever link correctly. If we're not using GNU ld we use -z text
9497 # though, which does catch some bad symbols but isn't as heavy-handed
9499 no_undefined_flag='${wl}-z,text'
9500 allow_undefined_flag='${wl}-z,nodefs'
9501 archive_cmds_need_lc=no
9502 hardcode_shlibpath_var=no
9503 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9504 hardcode_libdir_separator=':'
9505 link_all_deplibs=yes
9506 export_dynamic_flag_spec='${wl}-Bexport'
9507 runpath_var='LD_RUN_PATH'
9509 if test "$GCC" = yes; then
9510 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9511 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9513 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9514 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9519 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9520 hardcode_libdir_flag_spec='-L$libdir'
9521 hardcode_shlibpath_var=no
9529 if test x$host_vendor = xsni; then
9531 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9532 export_dynamic_flag_spec='${wl}-Blargedynsym'
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9539 $as_echo "$ld_shlibs" >&6; }
9540 test "$ld_shlibs" = no && can_build_shared=no
9542 with_gnu_ld=$with_gnu_ld
9559 # Do we need to explicitly link libc?
9561 case "x$archive_cmds_need_lc" in
9563 # Assume -lc should be added
9564 archive_cmds_need_lc=yes
9566 if test "$enable_shared" = yes && test "$GCC" = yes; then
9567 case $archive_cmds in
9569 # FIXME: we may have to deal with multi-command sequences.
9572 # Test whether the compiler implicitly links with -lc since on some
9573 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9574 # to ld, don't add -lc before -lgcc.
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9576 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9578 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9580 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9581 (eval $ac_compile) 2>&5
9583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9584 test $ac_status = 0; } 2>conftest.err; then
9587 libobjs=conftest.$ac_objext
9589 wl=$lt_prog_compiler_wl
9590 pic_flag=$lt_prog_compiler_pic
9596 lt_save_allow_undefined_flag=$allow_undefined_flag
9597 allow_undefined_flag=
9598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9599 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9602 test $ac_status = 0; }
9604 archive_cmds_need_lc=no
9606 archive_cmds_need_lc=yes
9608 allow_undefined_flag=$lt_save_allow_undefined_flag
9610 cat conftest.err 1>&5
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9614 $as_echo "$archive_cmds_need_lc" >&6; }
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9778 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9780 if test "$GCC" = yes; then
9782 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9783 *) lt_awk_arg="/^libraries:/" ;;
9785 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9786 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9787 # if the path contains ";" then we assume it to be the separator
9788 # otherwise default to the standard path separator (i.e. ":") - it is
9789 # assumed that no part of a normal pathname contains ";" but that should
9790 # okay in the real world where ";" in dirpaths is itself problematic.
9791 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9793 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9795 # Ok, now we have the path, separated by spaces, we can step through it
9796 # and add multilib dir if necessary.
9797 lt_tmp_lt_search_path_spec=
9798 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9799 for lt_sys_path in $lt_search_path_spec; do
9800 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9801 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9803 test -d "$lt_sys_path" && \
9804 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9807 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9808 BEGIN {RS=" "; FS="/|\n";} {
9811 for (lt_i = NF; lt_i > 0; lt_i--) {
9812 if ($lt_i != "" && $lt_i != ".") {
9813 if ($lt_i == "..") {
9816 if (lt_count == 0) {
9817 lt_foo="/" $lt_i lt_foo;
9824 if (lt_foo != "") { lt_freq[lt_foo]++; }
9825 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9827 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9829 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9832 libname_spec='lib$name'
9840 shlibpath_overrides_runpath=unknown
9842 dynamic_linker="$host_os ld.so"
9843 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9844 need_lib_prefix=unknown
9845 hardcode_into_libs=no
9847 # when you set need_version to no, make sure it does not cause -set_version
9848 # flags to be left without arguments
9849 need_version=unknown
9854 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9855 shlibpath_var=LIBPATH
9857 # AIX 3 has no versioning support, so we append a major version to the name.
9858 soname_spec='${libname}${release}${shared_ext}$major'
9865 hardcode_into_libs=yes
9866 if test "$host_cpu" = ia64; then
9867 # AIX 5 supports IA64
9868 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9869 shlibpath_var=LD_LIBRARY_PATH
9871 # With GCC up to 2.95.x, collect2 would create an import file
9872 # for dependence libraries. The import file would start with
9873 # the line `#! .'. This would cause the generated library to
9874 # depend on `.', always an invalid library. This was fixed in
9875 # development snapshots of GCC prior to 3.0.
9877 aix4 | aix4.[01] | aix4.[01].*)
9878 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9880 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9887 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9888 # soname into executable. Probably we can add versioning support to
9889 # collect2, so additional links can be useful in future.
9890 if test "$aix_use_runtimelinking" = yes; then
9891 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9892 # instead of lib<name>.a to let people know that these are not
9893 # typical AIX shared libraries.
9894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9896 # We preserve .a as extension for shared libraries through AIX4.2
9897 # and later when we are not doing run time linking.
9898 library_names_spec='${libname}${release}.a $libname.a'
9899 soname_spec='${libname}${release}${shared_ext}$major'
9901 shlibpath_var=LIBPATH
9908 # Since July 2007 AmigaOS4 officially supports .so libraries.
9909 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9913 library_names_spec='$libname.ixlibrary $libname.a'
9914 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9915 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'
9921 library_names_spec='${libname}${shared_ext}'
9922 dynamic_linker="$host_os ld.so"
9923 shlibpath_var=LIBRARY_PATH
9929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9930 soname_spec='${libname}${release}${shared_ext}$major'
9931 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9932 shlibpath_var=LD_LIBRARY_PATH
9933 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9934 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9935 # the default ld.so.conf also contains /usr/contrib/lib and
9936 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9937 # libtool to hard-code these into programs
9940 cygwin* | mingw* | pw32* | cegcc*)
9941 version_type=windows
9946 case $GCC,$host_os in
9947 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9948 library_names_spec='$libname.dll.a'
9949 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9950 postinstall_cmds='base_file=`basename \${file}`~
9951 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9952 dldir=$destdir/`dirname \$dlpath`~
9953 test -d \$dldir || mkdir -p \$dldir~
9954 $install_prog $dir/$dlname \$dldir/$dlname~
9955 chmod a+x \$dldir/$dlname~
9956 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9957 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9959 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9960 dlpath=$dir/\$dldll~
9962 shlibpath_overrides_runpath=yes
9966 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9967 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9968 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9971 # MinGW DLLs use traditional 'lib' prefix
9972 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9973 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9974 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9975 # It is most probably a Windows format PATH printed by
9976 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9977 # path with ; separators, and with drive letters. We can handle the
9978 # drive letters (cygwin fileutils understands them), so leave them,
9979 # especially as we might pass files found there to a mingw objdump,
9980 # which wouldn't understand a cygwinified path. Ahh.
9981 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9983 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9987 # pw32 DLLs use 'pw' prefix rather than 'lib'
9988 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9994 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9997 dynamic_linker='Win32 ld.exe'
9998 # FIXME: first we should search . and the directory the executable is in
10002 darwin* | rhapsody*)
10003 dynamic_linker="$host_os dyld"
10004 version_type=darwin
10007 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10008 soname_spec='${libname}${release}${major}$shared_ext'
10009 shlibpath_overrides_runpath=yes
10010 shlibpath_var=DYLD_LIBRARY_PATH
10011 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10013 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10014 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10022 soname_spec='${libname}${release}${shared_ext}$major'
10023 shlibpath_var=LD_LIBRARY_PATH
10030 freebsd* | dragonfly*)
10031 # DragonFly does not have aout. When/if they implement a new
10032 # versioning mechanism, adjust this.
10033 if test -x /usr/bin/objformat; then
10034 objformat=`/usr/bin/objformat`
10037 freebsd[123]*) objformat=aout ;;
10038 *) objformat=elf ;;
10041 version_type=freebsd-$objformat
10042 case $version_type in
10044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10049 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10053 shlibpath_var=LD_LIBRARY_PATH
10056 shlibpath_overrides_runpath=yes
10058 freebsd3.[01]* | freebsdelf3.[01]*)
10059 shlibpath_overrides_runpath=yes
10060 hardcode_into_libs=yes
10062 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10063 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10064 shlibpath_overrides_runpath=no
10065 hardcode_into_libs=yes
10067 *) # from 4.6 on, and DragonFly
10068 shlibpath_overrides_runpath=yes
10069 hardcode_into_libs=yes
10078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10079 soname_spec='${libname}${release}${shared_ext}$major'
10080 shlibpath_var=LD_LIBRARY_PATH
10081 hardcode_into_libs=yes
10084 hpux9* | hpux10* | hpux11*)
10085 # Give a soname corresponding to the major version so that dld.sl refuses to
10086 # link against other versions.
10093 hardcode_into_libs=yes
10094 dynamic_linker="$host_os dld.so"
10095 shlibpath_var=LD_LIBRARY_PATH
10096 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10098 soname_spec='${libname}${release}${shared_ext}$major'
10099 if test "X$HPUX_IA64_MODE" = X32; then
10100 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10102 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10104 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10108 hardcode_into_libs=yes
10109 dynamic_linker="$host_os dld.sl"
10110 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10111 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10113 soname_spec='${libname}${release}${shared_ext}$major'
10114 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10115 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10119 dynamic_linker="$host_os dld.sl"
10120 shlibpath_var=SHLIB_PATH
10121 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10122 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10123 soname_spec='${libname}${release}${shared_ext}$major'
10126 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10127 postinstall_cmds='chmod 555 $lib'
10134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10135 soname_spec='${libname}${release}${shared_ext}$major'
10136 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10137 shlibpath_var=LD_LIBRARY_PATH
10138 shlibpath_overrides_runpath=no
10139 hardcode_into_libs=yes
10142 irix5* | irix6* | nonstopux*)
10144 nonstopux*) version_type=nonstopux ;;
10146 if test "$lt_cv_prog_gnu_ld" = yes; then
10154 soname_spec='${libname}${release}${shared_ext}$major'
10155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10157 irix5* | nonstopux*)
10158 libsuff= shlibsuff=
10161 case $LD in # libtool.m4 will add one of these switches to LD
10162 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10163 libsuff= shlibsuff= libmagic=32-bit;;
10164 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10165 libsuff=32 shlibsuff=N32 libmagic=N32;;
10166 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10167 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10168 *) libsuff= shlibsuff= libmagic=never-match;;
10172 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10173 shlibpath_overrides_runpath=no
10174 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10175 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10176 hardcode_into_libs=yes
10179 # No shared lib support for Linux oldld, aout, or coff.
10180 linux*oldld* | linux*aout* | linux*coff*)
10184 # This must be Linux ELF.
10185 linux* | k*bsd*-gnu)
10189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10190 soname_spec='${libname}${release}${shared_ext}$major'
10191 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10192 shlibpath_var=LD_LIBRARY_PATH
10193 shlibpath_overrides_runpath=no
10194 # Some binutils ld are patched to set DT_RUNPATH
10195 save_LDFLAGS=$LDFLAGS
10196 save_libdir=$libdir
10197 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10198 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10210 if ac_fn_c_try_link "$LINENO"; then :
10211 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10212 shlibpath_overrides_runpath=yes
10215 rm -f core conftest.err conftest.$ac_objext \
10216 conftest$ac_exeext conftest.$ac_ext
10217 LDFLAGS=$save_LDFLAGS
10218 libdir=$save_libdir
10220 # This implies no fast_install, which is unacceptable.
10221 # Some rework will be needed to allow for fast_install
10222 # before this can be enabled.
10223 hardcode_into_libs=yes
10225 # Append ld.so.conf contents to the search path
10226 if test -f /etc/ld.so.conf; then
10227 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' ' '`
10228 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10231 # We used to test for /lib/ld.so.1 and disable shared libraries on
10232 # powerpc, because MkLinux only supported shared libraries with the
10233 # GNU dynamic linker. Since this was broken with cross compilers,
10234 # most powerpc-linux boxes support dynamic linking these days and
10235 # people can always --disable-shared, the test was removed, and we
10236 # assume the GNU/Linux dynamic linker is in use.
10237 dynamic_linker='GNU/Linux ld.so'
10244 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10246 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10247 dynamic_linker='NetBSD (a.out) ld.so'
10249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10250 soname_spec='${libname}${release}${shared_ext}$major'
10251 dynamic_linker='NetBSD ld.elf_so'
10253 shlibpath_var=LD_LIBRARY_PATH
10254 shlibpath_overrides_runpath=yes
10255 hardcode_into_libs=yes
10260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10261 shlibpath_var=LD_LIBRARY_PATH
10262 shlibpath_overrides_runpath=yes
10269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10270 soname_spec='${libname}${release}${shared_ext}$major'
10271 shlibpath_var=LD_LIBRARY_PATH
10272 shlibpath_overrides_runpath=no
10273 hardcode_into_libs=yes
10274 dynamic_linker='ldqnx.so'
10279 sys_lib_dlsearch_path_spec="/usr/lib"
10281 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10283 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10284 *) need_version=no ;;
10286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10287 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10288 shlibpath_var=LD_LIBRARY_PATH
10289 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10291 openbsd2.[89] | openbsd2.[89].*)
10292 shlibpath_overrides_runpath=no
10295 shlibpath_overrides_runpath=yes
10299 shlibpath_overrides_runpath=yes
10304 libname_spec='$name'
10307 library_names_spec='$libname${shared_ext} $libname.a'
10308 dynamic_linker='OS/2 ld.exe'
10309 shlibpath_var=LIBPATH
10312 osf3* | osf4* | osf5*)
10316 soname_spec='${libname}${release}${shared_ext}$major'
10317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10318 shlibpath_var=LD_LIBRARY_PATH
10319 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10320 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10332 soname_spec='${libname}${release}${shared_ext}$major'
10333 shlibpath_var=LD_LIBRARY_PATH
10334 shlibpath_overrides_runpath=yes
10335 hardcode_into_libs=yes
10336 # ldd complains unless libraries are executable
10337 postinstall_cmds='chmod +x $lib'
10342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10343 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10344 shlibpath_var=LD_LIBRARY_PATH
10345 shlibpath_overrides_runpath=yes
10346 if test "$with_gnu_ld" = yes; then
10354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10355 soname_spec='${libname}${release}${shared_ext}$major'
10356 shlibpath_var=LD_LIBRARY_PATH
10357 case $host_vendor in
10359 shlibpath_overrides_runpath=no
10361 runpath_var=LD_RUN_PATH
10369 shlibpath_overrides_runpath=no
10370 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10376 if test -d /usr/nec ;then
10378 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10379 soname_spec='$libname${shared_ext}.$major'
10380 shlibpath_var=LD_LIBRARY_PATH
10384 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10385 version_type=freebsd-elf
10388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10389 soname_spec='${libname}${release}${shared_ext}$major'
10390 shlibpath_var=LD_LIBRARY_PATH
10391 shlibpath_overrides_runpath=yes
10392 hardcode_into_libs=yes
10393 if test "$with_gnu_ld" = yes; then
10394 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10396 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10399 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10403 sys_lib_dlsearch_path_spec='/usr/lib'
10407 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10412 shlibpath_var=LD_LIBRARY_PATH
10413 shlibpath_overrides_runpath=no
10414 hardcode_into_libs=yes
10419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10420 soname_spec='${libname}${release}${shared_ext}$major'
10421 shlibpath_var=LD_LIBRARY_PATH
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10429 $as_echo "$dynamic_linker" >&6; }
10430 test "$dynamic_linker" = no && can_build_shared=no
10432 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10433 if test "$GCC" = yes; then
10434 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10437 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10438 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10440 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10441 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10531 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10533 if test -n "$hardcode_libdir_flag_spec" ||
10534 test -n "$runpath_var" ||
10535 test "X$hardcode_automatic" = "Xyes" ; then
10537 # We can hardcode non-existent directories.
10538 if test "$hardcode_direct" != no &&
10539 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10540 # have to relink, otherwise we might link with an installed library
10541 # when we should be linking with a yet-to-be-installed one
10542 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10543 test "$hardcode_minus_L" != no; then
10544 # Linking always hardcodes the temporary library directory.
10545 hardcode_action=relink
10547 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10548 hardcode_action=immediate
10551 # We cannot hardcode anything, or else we can only hardcode existing
10553 hardcode_action=unsupported
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10556 $as_echo "$hardcode_action" >&6; }
10558 if test "$hardcode_action" = relink ||
10559 test "$inherit_rpath" = yes; then
10560 # Fast installation is not supported
10561 enable_fast_install=no
10562 elif test "$shlibpath_overrides_runpath" = yes ||
10563 test "$enable_shared" = no; then
10564 # Fast installation is not necessary
10565 enable_fast_install=needless
10573 if test "x$enable_dlopen" != xyes; then
10574 enable_dlopen=unknown
10575 enable_dlopen_self=unknown
10576 enable_dlopen_self_static=unknown
10583 lt_cv_dlopen="load_add_on"
10585 lt_cv_dlopen_self=yes
10588 mingw* | pw32* | cegcc*)
10589 lt_cv_dlopen="LoadLibrary"
10594 lt_cv_dlopen="dlopen"
10599 # if libdl is installed we need to link against it
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10601 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10602 if ${ac_cv_lib_dl_dlopen+:} false; then :
10603 $as_echo_n "(cached) " >&6
10605 ac_check_lib_save_LIBS=$LIBS
10607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10610 /* Override any GCC internal prototype to avoid an error.
10611 Use char because int might match the return type of a GCC
10612 builtin and then its argument prototype would still apply. */
10625 if ac_fn_c_try_link "$LINENO"; then :
10626 ac_cv_lib_dl_dlopen=yes
10628 ac_cv_lib_dl_dlopen=no
10630 rm -f core conftest.err conftest.$ac_objext \
10631 conftest$ac_exeext conftest.$ac_ext
10632 LIBS=$ac_check_lib_save_LIBS
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10635 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10636 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10637 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10640 lt_cv_dlopen="dyld"
10642 lt_cv_dlopen_self=yes
10649 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10650 if test "x$ac_cv_func_shl_load" = xyes; then :
10651 lt_cv_dlopen="shl_load"
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10654 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10655 if ${ac_cv_lib_dld_shl_load+:} false; then :
10656 $as_echo_n "(cached) " >&6
10658 ac_check_lib_save_LIBS=$LIBS
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10673 return shl_load ();
10678 if ac_fn_c_try_link "$LINENO"; then :
10679 ac_cv_lib_dld_shl_load=yes
10681 ac_cv_lib_dld_shl_load=no
10683 rm -f core conftest.err conftest.$ac_objext \
10684 conftest$ac_exeext conftest.$ac_ext
10685 LIBS=$ac_check_lib_save_LIBS
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10688 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10689 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10690 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10692 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10693 if test "x$ac_cv_func_dlopen" = xyes; then :
10694 lt_cv_dlopen="dlopen"
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10697 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10698 if ${ac_cv_lib_dl_dlopen+:} false; then :
10699 $as_echo_n "(cached) " >&6
10701 ac_check_lib_save_LIBS=$LIBS
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10706 /* Override any GCC internal prototype to avoid an error.
10707 Use char because int might match the return type of a GCC
10708 builtin and then its argument prototype would still apply. */
10721 if ac_fn_c_try_link "$LINENO"; then :
10722 ac_cv_lib_dl_dlopen=yes
10724 ac_cv_lib_dl_dlopen=no
10726 rm -f core conftest.err conftest.$ac_objext \
10727 conftest$ac_exeext conftest.$ac_ext
10728 LIBS=$ac_check_lib_save_LIBS
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10731 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10732 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10733 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10736 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10737 if ${ac_cv_lib_svld_dlopen+:} false; then :
10738 $as_echo_n "(cached) " >&6
10740 ac_check_lib_save_LIBS=$LIBS
10741 LIBS="-lsvld $LIBS"
10742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10743 /* end confdefs.h. */
10745 /* Override any GCC internal prototype to avoid an error.
10746 Use char because int might match the return type of a GCC
10747 builtin and then its argument prototype would still apply. */
10760 if ac_fn_c_try_link "$LINENO"; then :
10761 ac_cv_lib_svld_dlopen=yes
10763 ac_cv_lib_svld_dlopen=no
10765 rm -f core conftest.err conftest.$ac_objext \
10766 conftest$ac_exeext conftest.$ac_ext
10767 LIBS=$ac_check_lib_save_LIBS
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10770 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10771 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10772 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10775 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10776 if ${ac_cv_lib_dld_dld_link+:} false; then :
10777 $as_echo_n "(cached) " >&6
10779 ac_check_lib_save_LIBS=$LIBS
10781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10782 /* end confdefs.h. */
10784 /* Override any GCC internal prototype to avoid an error.
10785 Use char because int might match the return type of a GCC
10786 builtin and then its argument prototype would still apply. */
10794 return dld_link ();
10799 if ac_fn_c_try_link "$LINENO"; then :
10800 ac_cv_lib_dld_dld_link=yes
10802 ac_cv_lib_dld_dld_link=no
10804 rm -f core conftest.err conftest.$ac_objext \
10805 conftest$ac_exeext conftest.$ac_ext
10806 LIBS=$ac_check_lib_save_LIBS
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10809 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10810 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10811 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10832 if test "x$lt_cv_dlopen" != xno; then
10838 case $lt_cv_dlopen in
10840 save_CPPFLAGS="$CPPFLAGS"
10841 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10843 save_LDFLAGS="$LDFLAGS"
10844 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10847 LIBS="$lt_cv_dlopen_libs $LIBS"
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10850 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10851 if ${lt_cv_dlopen_self+:} false; then :
10852 $as_echo_n "(cached) " >&6
10854 if test "$cross_compiling" = yes; then :
10855 lt_cv_dlopen_self=cross
10857 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10858 lt_status=$lt_dlunknown
10859 cat > conftest.$ac_ext <<_LT_EOF
10860 #line 10860 "configure"
10861 #include "confdefs.h"
10870 # define LT_DLGLOBAL RTLD_GLOBAL
10873 # define LT_DLGLOBAL DL_GLOBAL
10875 # define LT_DLGLOBAL 0
10879 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10880 find out it does not work in some platform. */
10881 #ifndef LT_DLLAZY_OR_NOW
10883 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10886 # define LT_DLLAZY_OR_NOW DL_LAZY
10889 # define LT_DLLAZY_OR_NOW RTLD_NOW
10892 # define LT_DLLAZY_OR_NOW DL_NOW
10894 # define LT_DLLAZY_OR_NOW 0
10901 void fnord() { int i=42;}
10904 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10905 int status = $lt_dlunknown;
10909 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10910 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10911 /* dlclose (self); */
10919 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10920 (eval $ac_link) 2>&5
10922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10923 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10924 (./conftest; exit; ) >&5 2>/dev/null
10926 case x$lt_status in
10927 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10928 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10929 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10932 # compilation failed
10933 lt_cv_dlopen_self=no
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10941 $as_echo "$lt_cv_dlopen_self" >&6; }
10943 if test "x$lt_cv_dlopen_self" = xyes; then
10944 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10946 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10947 if ${lt_cv_dlopen_self_static+:} false; then :
10948 $as_echo_n "(cached) " >&6
10950 if test "$cross_compiling" = yes; then :
10951 lt_cv_dlopen_self_static=cross
10953 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10954 lt_status=$lt_dlunknown
10955 cat > conftest.$ac_ext <<_LT_EOF
10956 #line 10956 "configure"
10957 #include "confdefs.h"
10966 # define LT_DLGLOBAL RTLD_GLOBAL
10969 # define LT_DLGLOBAL DL_GLOBAL
10971 # define LT_DLGLOBAL 0
10975 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10976 find out it does not work in some platform. */
10977 #ifndef LT_DLLAZY_OR_NOW
10979 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10982 # define LT_DLLAZY_OR_NOW DL_LAZY
10985 # define LT_DLLAZY_OR_NOW RTLD_NOW
10988 # define LT_DLLAZY_OR_NOW DL_NOW
10990 # define LT_DLLAZY_OR_NOW 0
10997 void fnord() { int i=42;}
11000 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11001 int status = $lt_dlunknown;
11005 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11006 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11007 /* dlclose (self); */
11015 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11016 (eval $ac_link) 2>&5
11018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11019 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11020 (./conftest; exit; ) >&5 2>/dev/null
11022 case x$lt_status in
11023 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11024 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11025 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11028 # compilation failed
11029 lt_cv_dlopen_self_static=no
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11037 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11040 CPPFLAGS="$save_CPPFLAGS"
11041 LDFLAGS="$save_LDFLAGS"
11046 case $lt_cv_dlopen_self in
11047 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11048 *) enable_dlopen_self=unknown ;;
11051 case $lt_cv_dlopen_self_static in
11052 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11053 *) enable_dlopen_self_static=unknown ;;
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11076 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11077 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11078 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11079 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11081 $as_echo "yes" >&6; }
11083 # FIXME - insert some real tests, host_os isn't really good enough
11086 if test -n "$STRIP" ; then
11087 striplib="$STRIP -x"
11088 old_striplib="$STRIP -S"
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11090 $as_echo "yes" >&6; }
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11093 $as_echo "no" >&6; }
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11098 $as_echo "no" >&6; }
11114 # Report which library types will actually be built
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11116 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11118 $as_echo "$can_build_shared" >&6; }
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11121 $as_echo_n "checking whether to build shared libraries... " >&6; }
11122 test "$can_build_shared" = "no" && enable_shared=no
11124 # On AIX, shared libraries and static libraries use the same namespace, and
11125 # are all built from PIC.
11128 test "$enable_shared" = yes && enable_static=no
11129 if test -n "$RANLIB"; then
11130 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11131 postinstall_cmds='$RANLIB $lib'
11136 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11137 test "$enable_shared" = yes && enable_static=no
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11142 $as_echo "$enable_shared" >&6; }
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11145 $as_echo_n "checking whether to build static libraries... " >&6; }
11146 # Make sure either enable_shared or enable_static is yes.
11147 test "$enable_shared" = yes || enable_static=yes
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11149 $as_echo "$enable_static" >&6; }
11156 ac_cpp='$CPP $CPPFLAGS'
11157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11175 ac_config_commands="$ac_config_commands libtool"
11180 # Only expand once:
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
11185 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
11186 if ${ac_cv_sys_largefile_source+:} false; then :
11187 $as_echo_n "(cached) " >&6
11190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11191 /* end confdefs.h. */
11192 #include <sys/types.h> /* for off_t */
11197 int (*fp) (FILE *, off_t, int) = fseeko;
11198 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
11203 if ac_fn_c_try_link "$LINENO"; then :
11204 ac_cv_sys_largefile_source=no; break
11206 rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11210 #define _LARGEFILE_SOURCE 1
11211 #include <sys/types.h> /* for off_t */
11216 int (*fp) (FILE *, off_t, int) = fseeko;
11217 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
11222 if ac_fn_c_try_link "$LINENO"; then :
11223 ac_cv_sys_largefile_source=1; break
11225 rm -f core conftest.err conftest.$ac_objext \
11226 conftest$ac_exeext conftest.$ac_ext
11227 ac_cv_sys_largefile_source=unknown
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
11232 $as_echo "$ac_cv_sys_largefile_source" >&6; }
11233 case $ac_cv_sys_largefile_source in #(
11236 cat >>confdefs.h <<_ACEOF
11237 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
11243 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
11244 # in glibc 2.1.3, but that breaks too many other things.
11245 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
11246 if test $ac_cv_sys_largefile_source != unknown; then
11248 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
11252 # Check whether --enable-largefile was given.
11253 if test "${enable_largefile+set}" = set; then :
11254 enableval=$enable_largefile;
11257 if test "$enable_largefile" != no; then
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11260 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11261 if ${ac_cv_sys_largefile_CC+:} false; then :
11262 $as_echo_n "(cached) " >&6
11264 ac_cv_sys_largefile_CC=no
11265 if test "$GCC" != yes; then
11268 # IRIX 6.2 and later do not support large files by default,
11269 # so use the C compiler's -n32 option if that helps.
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h. */
11272 #include <sys/types.h>
11273 /* Check that off_t can represent 2**63 - 1 correctly.
11274 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11275 since some C++ compilers masquerading as C compilers
11276 incorrectly reject 9223372036854775807. */
11277 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11278 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11279 && LARGE_OFF_T % 2147483647 == 1)
11289 if ac_fn_c_try_compile "$LINENO"; then :
11292 rm -f core conftest.err conftest.$ac_objext
11294 if ac_fn_c_try_compile "$LINENO"; then :
11295 ac_cv_sys_largefile_CC=' -n32'; break
11297 rm -f core conftest.err conftest.$ac_objext
11301 rm -f conftest.$ac_ext
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11305 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11306 if test "$ac_cv_sys_largefile_CC" != no; then
11307 CC=$CC$ac_cv_sys_largefile_CC
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11311 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11312 if ${ac_cv_sys_file_offset_bits+:} false; then :
11313 $as_echo_n "(cached) " >&6
11316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11318 #include <sys/types.h>
11319 /* Check that off_t can represent 2**63 - 1 correctly.
11320 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11321 since some C++ compilers masquerading as C compilers
11322 incorrectly reject 9223372036854775807. */
11323 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11324 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11325 && LARGE_OFF_T % 2147483647 == 1)
11335 if ac_fn_c_try_compile "$LINENO"; then :
11336 ac_cv_sys_file_offset_bits=no; break
11338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11341 #define _FILE_OFFSET_BITS 64
11342 #include <sys/types.h>
11343 /* Check that off_t can represent 2**63 - 1 correctly.
11344 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11345 since some C++ compilers masquerading as C compilers
11346 incorrectly reject 9223372036854775807. */
11347 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11348 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11349 && LARGE_OFF_T % 2147483647 == 1)
11359 if ac_fn_c_try_compile "$LINENO"; then :
11360 ac_cv_sys_file_offset_bits=64; break
11362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11363 ac_cv_sys_file_offset_bits=unknown
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11368 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11369 case $ac_cv_sys_file_offset_bits in #(
11372 cat >>confdefs.h <<_ACEOF
11373 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11378 if test $ac_cv_sys_file_offset_bits = unknown; then
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11380 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11381 if ${ac_cv_sys_large_files+:} false; then :
11382 $as_echo_n "(cached) " >&6
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11387 #include <sys/types.h>
11388 /* Check that off_t can represent 2**63 - 1 correctly.
11389 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11390 since some C++ compilers masquerading as C compilers
11391 incorrectly reject 9223372036854775807. */
11392 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11393 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11394 && LARGE_OFF_T % 2147483647 == 1)
11404 if ac_fn_c_try_compile "$LINENO"; then :
11405 ac_cv_sys_large_files=no; break
11407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11410 #define _LARGE_FILES 1
11411 #include <sys/types.h>
11412 /* Check that off_t can represent 2**63 - 1 correctly.
11413 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11414 since some C++ compilers masquerading as C compilers
11415 incorrectly reject 9223372036854775807. */
11416 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11417 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11418 && LARGE_OFF_T % 2147483647 == 1)
11428 if ac_fn_c_try_compile "$LINENO"; then :
11429 ac_cv_sys_large_files=1; break
11431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11432 ac_cv_sys_large_files=unknown
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11437 $as_echo "$ac_cv_sys_large_files" >&6; }
11438 case $ac_cv_sys_large_files in #(
11441 cat >>confdefs.h <<_ACEOF
11442 #define _LARGE_FILES $ac_cv_sys_large_files
11450 # Extract the first word of "pkg-config", so it can be a program name with args.
11451 set dummy pkg-config; ac_word=$2
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11453 $as_echo_n "checking for $ac_word... " >&6; }
11454 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11455 $as_echo_n "(cached) " >&6
11457 case $PKG_CONFIG in
11459 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11463 for as_dir in $PATH
11466 test -z "$as_dir" && as_dir=.
11467 for ac_exec_ext in '' $ac_executable_extensions; do
11468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11469 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11477 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11481 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11482 if test -n "$PKG_CONFIG"; then
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11484 $as_echo "$PKG_CONFIG" >&6; }
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11487 $as_echo "no" >&6; }
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11495 $as_echo_n "checking whether NLS is requested... " >&6; }
11496 # Check whether --enable-nls was given.
11497 if test "${enable_nls+set}" = set; then :
11498 enableval=$enable_nls; USE_NLS=$enableval
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11504 $as_echo "$USE_NLS" >&6; }
11509 case "$am__api_version" in
11511 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
11517 if test -n "0.35.0"; then
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
11519 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
11521 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11522 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
11523 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
11526 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
11527 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
11528 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
11531 # Extract the first word of "intltool-update", so it can be a program name with args.
11532 set dummy intltool-update; ac_word=$2
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11534 $as_echo_n "checking for $ac_word... " >&6; }
11535 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
11536 $as_echo_n "(cached) " >&6
11538 case $INTLTOOL_UPDATE in
11540 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
11543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11544 for as_dir in $PATH
11547 test -z "$as_dir" && as_dir=.
11548 for ac_exec_ext in '' $ac_executable_extensions; do
11549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11550 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
11551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11561 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
11562 if test -n "$INTLTOOL_UPDATE"; then
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
11564 $as_echo "$INTLTOOL_UPDATE" >&6; }
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11567 $as_echo "no" >&6; }
11571 # Extract the first word of "intltool-merge", so it can be a program name with args.
11572 set dummy intltool-merge; ac_word=$2
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11574 $as_echo_n "checking for $ac_word... " >&6; }
11575 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
11576 $as_echo_n "(cached) " >&6
11578 case $INTLTOOL_MERGE in
11580 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
11583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11584 for as_dir in $PATH
11587 test -z "$as_dir" && as_dir=.
11588 for ac_exec_ext in '' $ac_executable_extensions; do
11589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11590 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
11591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11601 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
11602 if test -n "$INTLTOOL_MERGE"; then
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
11604 $as_echo "$INTLTOOL_MERGE" >&6; }
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11607 $as_echo "no" >&6; }
11611 # Extract the first word of "intltool-extract", so it can be a program name with args.
11612 set dummy intltool-extract; ac_word=$2
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11614 $as_echo_n "checking for $ac_word... " >&6; }
11615 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
11616 $as_echo_n "(cached) " >&6
11618 case $INTLTOOL_EXTRACT in
11620 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
11623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11624 for as_dir in $PATH
11627 test -z "$as_dir" && as_dir=.
11628 for ac_exec_ext in '' $ac_executable_extensions; do
11629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11630 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
11631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11641 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
11642 if test -n "$INTLTOOL_EXTRACT"; then
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
11644 $as_echo "$INTLTOOL_EXTRACT" >&6; }
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11647 $as_echo "no" >&6; }
11651 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
11652 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
11655 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 $< $@'
11656 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 $< $@'
11657 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 $< $@'
11658 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 $< $@'
11659 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
11660 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 $< $@'
11661 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 $< $@'
11662 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 $< $@'
11663 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 $< $@'
11664 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 $< $@'
11665 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 $< $@'
11666 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
11667 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 $< $@'
11668 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 $< $@'
11669 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 $< $@'
11670 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 $< $@'
11671 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 $< $@'
11672 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 $< $@'
11673 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 $< $@'
11771 # Check the gettext tools to make sure they are GNU
11772 # Extract the first word of "xgettext", so it can be a program name with args.
11773 set dummy xgettext; ac_word=$2
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11775 $as_echo_n "checking for $ac_word... " >&6; }
11776 if ${ac_cv_path_XGETTEXT+:} false; then :
11777 $as_echo_n "(cached) " >&6
11781 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11785 for as_dir in $PATH
11788 test -z "$as_dir" && as_dir=.
11789 for ac_exec_ext in '' $ac_executable_extensions; do
11790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11791 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
11792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11802 XGETTEXT=$ac_cv_path_XGETTEXT
11803 if test -n "$XGETTEXT"; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11805 $as_echo "$XGETTEXT" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808 $as_echo "no" >&6; }
11812 # Extract the first word of "msgmerge", so it can be a program name with args.
11813 set dummy msgmerge; ac_word=$2
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11815 $as_echo_n "checking for $ac_word... " >&6; }
11816 if ${ac_cv_path_MSGMERGE+:} false; then :
11817 $as_echo_n "(cached) " >&6
11821 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11825 for as_dir in $PATH
11828 test -z "$as_dir" && as_dir=.
11829 for ac_exec_ext in '' $ac_executable_extensions; do
11830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11831 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
11832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11842 MSGMERGE=$ac_cv_path_MSGMERGE
11843 if test -n "$MSGMERGE"; then
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11845 $as_echo "$MSGMERGE" >&6; }
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11848 $as_echo "no" >&6; }
11852 # Extract the first word of "msgfmt", so it can be a program name with args.
11853 set dummy msgfmt; ac_word=$2
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11855 $as_echo_n "checking for $ac_word... " >&6; }
11856 if ${ac_cv_path_MSGFMT+:} false; then :
11857 $as_echo_n "(cached) " >&6
11861 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11865 for as_dir in $PATH
11868 test -z "$as_dir" && as_dir=.
11869 for ac_exec_ext in '' $ac_executable_extensions; do
11870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11871 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
11872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11882 MSGFMT=$ac_cv_path_MSGFMT
11883 if test -n "$MSGFMT"; then
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11885 $as_echo "$MSGFMT" >&6; }
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11888 $as_echo "no" >&6; }
11892 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11893 set dummy gmsgfmt; ac_word=$2
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11895 $as_echo_n "checking for $ac_word... " >&6; }
11896 if ${ac_cv_path_GMSGFMT+:} false; then :
11897 $as_echo_n "(cached) " >&6
11901 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11905 for as_dir in $PATH
11908 test -z "$as_dir" && as_dir=.
11909 for ac_exec_ext in '' $ac_executable_extensions; do
11910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11911 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11919 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11923 GMSGFMT=$ac_cv_path_GMSGFMT
11924 if test -n "$GMSGFMT"; then
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11926 $as_echo "$GMSGFMT" >&6; }
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11929 $as_echo "no" >&6; }
11933 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
11934 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
11936 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
11937 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
11938 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
11939 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
11940 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
11943 # Extract the first word of "perl", so it can be a program name with args.
11944 set dummy perl; ac_word=$2
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11946 $as_echo_n "checking for $ac_word... " >&6; }
11947 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
11948 $as_echo_n "(cached) " >&6
11950 case $INTLTOOL_PERL in
11952 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
11955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11956 for as_dir in $PATH
11959 test -z "$as_dir" && as_dir=.
11960 for ac_exec_ext in '' $ac_executable_extensions; do
11961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11962 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
11963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11973 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
11974 if test -n "$INTLTOOL_PERL"; then
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
11976 $as_echo "$INTLTOOL_PERL" >&6; }
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11979 $as_echo "no" >&6; }
11983 if test -z "$INTLTOOL_PERL"; then
11984 as_fn_error $? "perl not found" "$LINENO" 5
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
11987 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
11988 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
11989 if test $? -ne 0; then
11990 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
11992 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
11994 $as_echo "$IT_PERL_VERSION" >&6; }
11996 if test "x" != "xno-xml"; then
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
11998 $as_echo_n "checking for XML::Parser... " >&6; }
11999 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12001 $as_echo "ok" >&6; }
12003 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12007 # Substitute ALL_LINGUAS so we can use it in po/Makefile
12010 # Set DATADIRNAME correctly if it is not set yet
12011 # (copied from glib-gettext.m4)
12012 if test -z "$DATADIRNAME"; then
12013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12019 extern int _nl_msg_cat_cntr;
12020 return _nl_msg_cat_cntr
12025 if ac_fn_c_try_link "$LINENO"; then :
12030 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12031 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12043 rm -f core conftest.err conftest.$ac_objext \
12044 conftest$ac_exeext conftest.$ac_ext
12053 for ac_header in locale.h
12055 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12056 if test "x$ac_cv_header_locale_h" = xyes; then :
12057 cat >>confdefs.h <<_ACEOF
12058 #define HAVE_LOCALE_H 1
12065 if test $ac_cv_header_locale_h = yes; then
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12067 $as_echo_n "checking for LC_MESSAGES... " >&6; }
12068 if ${am_cv_val_LC_MESSAGES+:} false; then :
12069 $as_echo_n "(cached) " >&6
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12073 #include <locale.h>
12082 if ac_fn_c_try_link "$LINENO"; then :
12083 am_cv_val_LC_MESSAGES=yes
12085 am_cv_val_LC_MESSAGES=no
12087 rm -f core conftest.err conftest.$ac_objext \
12088 conftest$ac_exeext conftest.$ac_ext
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12091 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12092 if test $am_cv_val_LC_MESSAGES = yes; then
12094 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12101 gt_cv_have_gettext=no
12107 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12108 if test "x$ac_cv_header_libintl_h" = xyes; then :
12109 gt_cv_func_dgettext_libintl="no"
12110 libintl_extra_libs=""
12113 # First check in libc
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12116 $as_echo_n "checking for ngettext in libc... " >&6; }
12117 if ${gt_cv_func_ngettext_libc+:} false; then :
12118 $as_echo_n "(cached) " >&6
12120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12121 /* end confdefs.h. */
12123 #include <libintl.h>
12128 return !ngettext ("","", 1)
12133 if ac_fn_c_try_link "$LINENO"; then :
12134 gt_cv_func_ngettext_libc=yes
12136 gt_cv_func_ngettext_libc=no
12138 rm -f core conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12143 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
12145 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12147 $as_echo_n "checking for dgettext in libc... " >&6; }
12148 if ${gt_cv_func_dgettext_libc+:} false; then :
12149 $as_echo_n "(cached) " >&6
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 #include <libintl.h>
12159 return !dgettext ("","")
12164 if ac_fn_c_try_link "$LINENO"; then :
12165 gt_cv_func_dgettext_libc=yes
12167 gt_cv_func_dgettext_libc=no
12169 rm -f core conftest.err conftest.$ac_objext \
12170 conftest$ac_exeext conftest.$ac_ext
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12174 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
12177 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12178 for ac_func in bind_textdomain_codeset
12180 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12181 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12182 cat >>confdefs.h <<_ACEOF
12183 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12192 # If we don't have everything we want, check in libintl
12194 if test "$gt_cv_func_dgettext_libc" != "yes" \
12195 || test "$gt_cv_func_ngettext_libc" != "yes" \
12196 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12199 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12200 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
12201 $as_echo_n "(cached) " >&6
12203 ac_check_lib_save_LIBS=$LIBS
12204 LIBS="-lintl $LIBS"
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12208 /* Override any GCC internal prototype to avoid an error.
12209 Use char because int might match the return type of a GCC
12210 builtin and then its argument prototype would still apply. */
12214 char bindtextdomain ();
12218 return bindtextdomain ();
12223 if ac_fn_c_try_link "$LINENO"; then :
12224 ac_cv_lib_intl_bindtextdomain=yes
12226 ac_cv_lib_intl_bindtextdomain=no
12228 rm -f core conftest.err conftest.$ac_objext \
12229 conftest$ac_exeext conftest.$ac_ext
12230 LIBS=$ac_check_lib_save_LIBS
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12233 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12234 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12236 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12237 if ${ac_cv_lib_intl_ngettext+:} false; then :
12238 $as_echo_n "(cached) " >&6
12240 ac_check_lib_save_LIBS=$LIBS
12241 LIBS="-lintl $LIBS"
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12245 /* Override any GCC internal prototype to avoid an error.
12246 Use char because int might match the return type of a GCC
12247 builtin and then its argument prototype would still apply. */
12255 return ngettext ();
12260 if ac_fn_c_try_link "$LINENO"; then :
12261 ac_cv_lib_intl_ngettext=yes
12263 ac_cv_lib_intl_ngettext=no
12265 rm -f core conftest.err conftest.$ac_objext \
12266 conftest$ac_exeext conftest.$ac_ext
12267 LIBS=$ac_check_lib_save_LIBS
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12270 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12271 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12273 $as_echo_n "checking for dgettext in -lintl... " >&6; }
12274 if ${ac_cv_lib_intl_dgettext+:} false; then :
12275 $as_echo_n "(cached) " >&6
12277 ac_check_lib_save_LIBS=$LIBS
12278 LIBS="-lintl $LIBS"
12279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h. */
12282 /* Override any GCC internal prototype to avoid an error.
12283 Use char because int might match the return type of a GCC
12284 builtin and then its argument prototype would still apply. */
12292 return dgettext ();
12297 if ac_fn_c_try_link "$LINENO"; then :
12298 ac_cv_lib_intl_dgettext=yes
12300 ac_cv_lib_intl_dgettext=no
12302 rm -f core conftest.err conftest.$ac_objext \
12303 conftest$ac_exeext conftest.$ac_ext
12304 LIBS=$ac_check_lib_save_LIBS
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12307 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12308 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
12309 gt_cv_func_dgettext_libintl=yes
12317 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12319 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12323 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12324 if ${ac_cv_lib_intl_ngettext+:} false; then :
12325 $as_echo_n "(cached) " >&6
12327 ac_check_lib_save_LIBS=$LIBS
12328 LIBS="-lintl -liconv $LIBS"
12329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h. */
12332 /* Override any GCC internal prototype to avoid an error.
12333 Use char because int might match the return type of a GCC
12334 builtin and then its argument prototype would still apply. */
12342 return ngettext ();
12347 if ac_fn_c_try_link "$LINENO"; then :
12348 ac_cv_lib_intl_ngettext=yes
12350 ac_cv_lib_intl_ngettext=no
12352 rm -f core conftest.err conftest.$ac_objext \
12353 conftest$ac_exeext conftest.$ac_ext
12354 LIBS=$ac_check_lib_save_LIBS
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12357 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12358 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12360 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
12361 if ${ac_cv_lib_intl_dcgettext+:} false; then :
12362 $as_echo_n "(cached) " >&6
12364 ac_check_lib_save_LIBS=$LIBS
12365 LIBS="-lintl -liconv $LIBS"
12366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12369 /* Override any GCC internal prototype to avoid an error.
12370 Use char because int might match the return type of a GCC
12371 builtin and then its argument prototype would still apply. */
12379 return dcgettext ();
12384 if ac_fn_c_try_link "$LINENO"; then :
12385 ac_cv_lib_intl_dcgettext=yes
12387 ac_cv_lib_intl_dcgettext=no
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 LIBS=$ac_check_lib_save_LIBS
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12394 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12395 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
12396 gt_cv_func_dgettext_libintl=yes
12397 libintl_extra_libs=-liconv
12409 # If we found libintl, then check in it for bind_textdomain_codeset();
12410 # we'll prefer libc if neither have bind_textdomain_codeset(),
12411 # and both have dgettext and ngettext
12413 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12414 glib_save_LIBS="$LIBS"
12415 LIBS="$LIBS -lintl $libintl_extra_libs"
12416 unset ac_cv_func_bind_textdomain_codeset
12417 for ac_func in bind_textdomain_codeset
12419 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12420 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12421 cat >>confdefs.h <<_ACEOF
12422 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12428 LIBS="$glib_save_LIBS"
12430 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12431 gt_cv_func_dgettext_libc=no
12433 if test "$gt_cv_func_dgettext_libc" = "yes" \
12434 && test "$gt_cv_func_ngettext_libc" = "yes"; then
12435 gt_cv_func_dgettext_libintl=no
12441 if test "$gt_cv_func_dgettext_libc" = "yes" \
12442 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
12443 gt_cv_have_gettext=yes
12446 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12447 INTLLIBS="-lintl $libintl_extra_libs"
12450 if test "$gt_cv_have_gettext" = "yes"; then
12452 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
12454 # Extract the first word of "msgfmt", so it can be a program name with args.
12455 set dummy msgfmt; ac_word=$2
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12457 $as_echo_n "checking for $ac_word... " >&6; }
12458 if ${ac_cv_path_MSGFMT+:} false; then :
12459 $as_echo_n "(cached) " >&6
12463 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12466 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12467 for ac_dir in $PATH; do
12468 test -z "$ac_dir" && ac_dir=.
12469 if test -f $ac_dir/$ac_word; then
12470 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12471 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12477 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12481 MSGFMT="$ac_cv_path_MSGFMT"
12482 if test "$MSGFMT" != "no"; then
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12484 $as_echo "$MSGFMT" >&6; }
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12487 $as_echo "no" >&6; }
12489 if test "$MSGFMT" != "no"; then
12490 glib_save_LIBS="$LIBS"
12491 LIBS="$LIBS $INTLLIBS"
12492 for ac_func in dcgettext
12494 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12495 if test "x$ac_cv_func_dcgettext" = xyes; then :
12496 cat >>confdefs.h <<_ACEOF
12497 #define HAVE_DCGETTEXT 1
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
12505 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
12506 cat >conftest.foo <<_ACEOF
12510 "Content-Type: text/plain; charset=UTF-8\n"
12511 "Project-Id-Version: test 1.0\n"
12512 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
12513 "Last-Translator: test <foo@bar.xx>\n"
12514 "Language-Team: C <LL@li.org>\n"
12515 "MIME-Version: 1.0\n"
12516 "Content-Transfer-Encoding: 8bit\n"
12519 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
12520 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
12522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12523 test $ac_status = 0; }; then
12524 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12525 $as_echo "yes" >&6; }
12526 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12527 $as_echo "no" >&6; }
12528 echo "$as_me: failed input was:" >&5
12529 sed 's/^/| /' conftest.foo >&5
12532 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12533 set dummy gmsgfmt; ac_word=$2
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12535 $as_echo_n "checking for $ac_word... " >&6; }
12536 if ${ac_cv_path_GMSGFMT+:} false; then :
12537 $as_echo_n "(cached) " >&6
12541 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12545 for as_dir in $PATH
12548 test -z "$as_dir" && as_dir=.
12549 for ac_exec_ext in '' $ac_executable_extensions; do
12550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12551 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12559 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12563 GMSGFMT=$ac_cv_path_GMSGFMT
12564 if test -n "$GMSGFMT"; then
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12566 $as_echo "$GMSGFMT" >&6; }
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12569 $as_echo "no" >&6; }
12573 # Extract the first word of "xgettext", so it can be a program name with args.
12574 set dummy xgettext; ac_word=$2
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12576 $as_echo_n "checking for $ac_word... " >&6; }
12577 if ${ac_cv_path_XGETTEXT+:} false; then :
12578 $as_echo_n "(cached) " >&6
12580 case "$XGETTEXT" in
12582 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12585 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12586 for ac_dir in $PATH; do
12587 test -z "$ac_dir" && ac_dir=.
12588 if test -f $ac_dir/$ac_word; then
12589 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
12590 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
12596 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12600 XGETTEXT="$ac_cv_path_XGETTEXT"
12601 if test "$XGETTEXT" != ":"; then
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12603 $as_echo "$XGETTEXT" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12606 $as_echo "no" >&6; }
12609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h. */
12615 extern int _nl_msg_cat_cntr;
12616 return _nl_msg_cat_cntr
12621 if ac_fn_c_try_link "$LINENO"; then :
12627 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12628 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12643 rm -f core conftest.err conftest.$ac_objext \
12644 conftest$ac_exeext conftest.$ac_ext
12645 LIBS="$glib_save_LIBS"
12648 gt_cv_have_gettext=no
12656 if test "$gt_cv_have_gettext" = "yes" ; then
12658 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
12662 if test "$XGETTEXT" != ":"; then
12663 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12667 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12672 # We need to process the po/ directory.
12675 ac_config_commands="$ac_config_commands default-1"
12678 for lang in $ALL_LINGUAS; do
12679 GMOFILES="$GMOFILES $lang.gmo"
12680 POFILES="$POFILES $lang.po"
12695 if test "$gt_cv_have_gettext" = "yes"; then
12696 if test "x$ALL_LINGUAS" = "x"; then
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12700 $as_echo_n "checking for catalogs to be installed... " >&6; }
12702 for presentlang in $ALL_LINGUAS; do
12704 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12705 desiredlanguages="$LINGUAS"
12707 desiredlanguages="$ALL_LINGUAS"
12709 for desiredlang in $desiredlanguages; do
12710 # Use the presentlang catalog if desiredlang is
12711 # a. equal to presentlang, or
12712 # b. a variant of presentlang (because in this case,
12713 # presentlang can be used as a fallback for messages
12714 # which are not translated in the desiredlang catalog).
12715 case "$desiredlang" in
12716 "$presentlang"*) useit=yes;;
12719 if test $useit = yes; then
12720 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
12723 LINGUAS=$NEW_LINGUAS
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12725 $as_echo "$LINGUAS" >&6; }
12728 if test -n "$LINGUAS"; then
12729 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
12734 if test -n "$ac_aux_dir"; then
12735 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
12737 if test -z "$MKINSTALLDIRS"; then
12738 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12742 test -d po || mkdir po
12743 if test "x$srcdir" != "x."; then
12744 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12745 posrcprefix="$srcdir/"
12747 posrcprefix="../$srcdir/"
12753 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12754 < $srcdir/po/POTFILES.in > po/POTFILES
12757 GETTEXT_PACKAGE=libgsf
12760 cat >>confdefs.h <<_ACEOF
12761 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12767 gobject-2.0 >= 2.6.0
12772 libxml-2.0 >= 2.4.16
12774 libgsf_gnome_reqs="
12783 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12784 if test -n "$ac_tool_prefix"; then
12785 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12786 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12788 $as_echo_n "checking for $ac_word... " >&6; }
12789 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12790 $as_echo_n "(cached) " >&6
12792 case $PKG_CONFIG in
12794 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12798 for as_dir in $PATH
12801 test -z "$as_dir" && as_dir=.
12802 for ac_exec_ext in '' $ac_executable_extensions; do
12803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12804 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12815 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12816 if test -n "$PKG_CONFIG"; then
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12818 $as_echo "$PKG_CONFIG" >&6; }
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12821 $as_echo "no" >&6; }
12826 if test -z "$ac_cv_path_PKG_CONFIG"; then
12827 ac_pt_PKG_CONFIG=$PKG_CONFIG
12828 # Extract the first word of "pkg-config", so it can be a program name with args.
12829 set dummy pkg-config; ac_word=$2
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12831 $as_echo_n "checking for $ac_word... " >&6; }
12832 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12833 $as_echo_n "(cached) " >&6
12835 case $ac_pt_PKG_CONFIG in
12837 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12841 for as_dir in $PATH
12844 test -z "$as_dir" && as_dir=.
12845 for ac_exec_ext in '' $ac_executable_extensions; do
12846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12847 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12858 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12859 if test -n "$ac_pt_PKG_CONFIG"; then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12861 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12864 $as_echo "no" >&6; }
12867 if test "x$ac_pt_PKG_CONFIG" = x; then
12870 case $cross_compiling:$ac_tool_warned in
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12874 ac_tool_warned=yes ;;
12876 PKG_CONFIG=$ac_pt_PKG_CONFIG
12879 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12883 if test -n "$PKG_CONFIG"; then
12884 _pkg_min_version=0.9.0
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12886 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12887 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12889 $as_echo "yes" >&6; }
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12892 $as_echo "no" >&6; }
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSF" >&5
12899 $as_echo_n "checking for LIBGSF... " >&6; }
12901 if test -n "$LIBGSF_CFLAGS"; then
12902 pkg_cv_LIBGSF_CFLAGS="$LIBGSF_CFLAGS"
12903 elif test -n "$PKG_CONFIG"; then
12904 if test -n "$PKG_CONFIG" && \
12905 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libgsf_reqs\""; } >&5
12906 ($PKG_CONFIG --exists --print-errors "$libgsf_reqs") 2>&5
12908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12909 test $ac_status = 0; }; then
12910 pkg_cv_LIBGSF_CFLAGS=`$PKG_CONFIG --cflags "$libgsf_reqs" 2>/dev/null`
12917 if test -n "$LIBGSF_LIBS"; then
12918 pkg_cv_LIBGSF_LIBS="$LIBGSF_LIBS"
12919 elif test -n "$PKG_CONFIG"; then
12920 if test -n "$PKG_CONFIG" && \
12921 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libgsf_reqs\""; } >&5
12922 ($PKG_CONFIG --exists --print-errors "$libgsf_reqs") 2>&5
12924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12925 test $ac_status = 0; }; then
12926 pkg_cv_LIBGSF_LIBS=`$PKG_CONFIG --libs "$libgsf_reqs" 2>/dev/null`
12936 if test $pkg_failed = yes; then
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12938 $as_echo "no" >&6; }
12940 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12941 _pkg_short_errors_supported=yes
12943 _pkg_short_errors_supported=no
12945 if test $_pkg_short_errors_supported = yes; then
12946 LIBGSF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$libgsf_reqs" 2>&1`
12948 LIBGSF_PKG_ERRORS=`$PKG_CONFIG --print-errors "$libgsf_reqs" 2>&1`
12950 # Put the nasty error message in config.log where it belongs
12951 echo "$LIBGSF_PKG_ERRORS" >&5
12953 as_fn_error $? "Package requirements ($libgsf_reqs) were not met:
12957 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12958 installed software in a non-standard prefix.
12960 Alternatively, you may set the environment variables LIBGSF_CFLAGS
12961 and LIBGSF_LIBS to avoid the need to call pkg-config.
12962 See the pkg-config man page for more details." "$LINENO" 5
12963 elif test $pkg_failed = untried; then
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12965 $as_echo "no" >&6; }
12966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12968 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12969 is in your PATH or set the PKG_CONFIG environment variable to the full
12970 path to pkg-config.
12972 Alternatively, you may set the environment variables LIBGSF_CFLAGS
12973 and LIBGSF_LIBS to avoid the need to call pkg-config.
12974 See the pkg-config man page for more details.
12976 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12977 See \`config.log' for more details" "$LINENO" 5; }
12979 LIBGSF_CFLAGS=$pkg_cv_LIBGSF_CFLAGS
12980 LIBGSF_LIBS=$pkg_cv_LIBGSF_LIBS
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12982 $as_echo "yes" >&6; }
12986 ## this should come after `AC_PROG_CC'
12989 # Check whether --enable-compile-warnings was given.
12990 if test "${enable_compile_warnings+set}" = set; then :
12991 enableval=$enable_compile_warnings;
12993 enable_compile_warnings="yes"
12998 if test "x$GCC" != xyes; then
12999 enable_compile_warnings=no
13003 realsave_CFLAGS="$CFLAGS"
13005 case "$enable_compile_warnings" in
13010 warning_flags="-Wall"
13013 warning_flags="-Wall -Wmissing-prototypes"
13016 warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
13017 CFLAGS="$warning_flags $CFLAGS"
13018 for option in -Wno-sign-compare; do
13019 SAVE_CFLAGS="$CFLAGS"
13020 CFLAGS="$CFLAGS $option"
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
13022 $as_echo_n "checking whether gcc understands $option... " >&6; }
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13034 if ac_fn_c_try_compile "$LINENO"; then :
13039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13040 CFLAGS="$SAVE_CFLAGS"
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
13042 $as_echo "$has_option" >&6; }
13043 if test $has_option = yes; then
13044 warning_flags="$warning_flags $option"
13050 if test "$enable_compile_warnings" = "error" ; then
13051 warning_flags="$warning_flags -Werror"
13055 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
13058 CFLAGS="$realsave_CFLAGS"
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
13060 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
13062 $as_echo "$warning_flags" >&6; }
13064 # Check whether --enable-iso-c was given.
13065 if test "${enable_iso_c+set}" = set; then :
13066 enableval=$enable_iso_c;
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
13073 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
13075 if test "x$enable_iso_c" != "xno"; then
13076 if test "x$GCC" = "xyes"; then
13077 case " $CFLAGS " in
13078 *\ \ -ansi\ \ *) ;;
13079 *) complCFLAGS="$complCFLAGS -ansi" ;;
13081 case " $CFLAGS " in
13082 *\ \ -pedantic\ \ *) ;;
13083 *) complCFLAGS="$complCFLAGS -pedantic" ;;
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
13088 $as_echo "$complCFLAGS" >&6; }
13090 WARN_CFLAGS="$warning_flags $complCFLAGS"
13093 CFLAGS="$CFLAGS $WARN_CFLAGS -DG_DISABLE_DEPRECATED"
13094 if test "$GCC" = "yes"; then
13095 for option in -Wno-system-headers -Wfloat-equal -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wformat=2 -Wnested-externs -Winline -Wdeclaration-after-statement -Wundef -W -Wmissing-noreturn -Wmissing-format-attribute -Wno-pointer-sign \
13096 -Wbitwise -Wcast-to-as -Wdefault-bitfield-sign -Wdo-while -Wparen-string -Wptr-subtraction-blows -Wreturn-void -Wtypesign ; do
13097 SAVE_CFLAGS="$CFLAGS"
13098 CFLAGS="$CFLAGS $option"
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
13100 $as_echo_n "checking whether gcc understands $option... " >&6; }
13101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13102 /* end confdefs.h. */
13112 if ac_fn_c_try_compile "$LINENO"; then :
13117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13118 if test $has_option = no; then
13119 CFLAGS="$SAVE_CFLAGS"
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
13122 $as_echo "$has_option" >&6; }
13129 ac_fn_c_check_decl "$LINENO" "fdopen" "ac_cv_have_decl_fdopen" "$ac_includes_default"
13130 if test "x$ac_cv_have_decl_fdopen" = xyes; then :
13136 if test $fdopen_works = no ; then
13137 unset ac_cv_have_decl_fdopen
13138 CFLAGS="$CFLAGS -D_POSIX_SOURCE"
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: adding -D_POSIX_SOURCE to CFLAGS" >&5
13140 $as_echo "$as_me: adding -D_POSIX_SOURCE to CFLAGS" >&6;}
13141 ac_fn_c_check_decl "$LINENO" "fdopen" "ac_cv_have_decl_fdopen" "$ac_includes_default"
13142 if test "x$ac_cv_have_decl_fdopen" = xyes; then :
13148 if test $fdopen_works = no ; then
13149 as_fn_error $? "fdopen is not available" "$LINENO" 5
13153 # Unfortunately, -D_POSIX_SOURCE turns off struct timeval on Solaris
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct timeval is available" >&5
13155 $as_echo_n "checking whether struct timeval is available... " >&6; }
13157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13158 /* end confdefs.h. */
13159 #include <sys/time.h>
13168 if ac_fn_c_try_compile "$LINENO"; then :
13169 struct_timeval_works=yes
13171 struct_timeval_works=no
13173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13174 test $struct_timeval_works = yes && break
13175 # Try this for the second attempt:
13176 test $try = 1 && CFLAGS="$CFLAGS -D__EXTENSIONS__"
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $struct_timeval_works" >&5
13179 $as_echo "$struct_timeval_works" >&6; }
13180 if test $struct_timeval_works = no ; then
13181 as_fn_error $? "struct timeval is not available" "$LINENO" 5
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -D_BSD_SOURCE is needed for caddr_t" >&5
13185 $as_echo_n "checking whether -D_BSD_SOURCE is needed for caddr_t... " >&6; }
13186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13187 /* end confdefs.h. */
13188 #include <sys/types.h>
13197 if ac_fn_c_try_compile "$LINENO"; then :
13202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $need_bsd1" >&5
13204 $as_echo "$need_bsd1" >&6; }
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -D_BSD_SOURCE is needed for lstat" >&5
13207 $as_echo_n "checking whether -D_BSD_SOURCE is needed for lstat... " >&6; }
13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13210 #include <sys/types.h>
13211 #include <sys/stat.h>
13212 #include <unistd.h>
13221 if ac_fn_c_try_link "$LINENO"; then :
13226 rm -f core conftest.err conftest.$ac_objext \
13227 conftest$ac_exeext conftest.$ac_ext
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $need_bsd2" >&5
13229 $as_echo "$need_bsd2" >&6; }
13230 if test $need_bsd1 = yes -o $need_bsd2 = yes; then
13231 CFLAGS="$CFLAGS -D_BSD_SOURCE"
13234 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13235 if test "x$ac_cv_type_mode_t" = xyes; then :
13239 cat >>confdefs.h <<_ACEOF
13245 for ac_header in fcntl.h malloc.h unistd.h io.h sys/statfs.h sys/param.h sys/mount.h
13247 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13248 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13249 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13250 cat >>confdefs.h <<_ACEOF
13251 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13261 for ac_header in $ac_header_list
13263 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13264 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13266 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13267 cat >>confdefs.h <<_ACEOF
13268 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13282 for ac_func in getpagesize
13284 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
13285 if test "x$ac_cv_func_getpagesize" = xyes; then :
13286 cat >>confdefs.h <<_ACEOF
13287 #define HAVE_GETPAGESIZE 1
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
13294 $as_echo_n "checking for working mmap... " >&6; }
13295 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
13296 $as_echo_n "(cached) " >&6
13298 if test "$cross_compiling" = yes; then :
13299 ac_cv_func_mmap_fixed_mapped=no
13301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13303 $ac_includes_default
13304 /* malloc might have been renamed as rpl_malloc. */
13307 /* Thanks to Mike Haertel and Jim Avera for this test.
13308 Here is a matrix of mmap possibilities:
13309 mmap private not fixed
13310 mmap private fixed at somewhere currently unmapped
13311 mmap private fixed at somewhere already mapped
13312 mmap shared not fixed
13313 mmap shared fixed at somewhere currently unmapped
13314 mmap shared fixed at somewhere already mapped
13315 For private mappings, we should verify that changes cannot be read()
13316 back from the file, nor mmap's back from the file at a different
13317 address. (There have been systems where private was not correctly
13318 implemented like the infamous i386 svr4.0, and systems where the
13319 VM page cache was not coherent with the file system buffer cache
13320 like early versions of FreeBSD and possibly contemporary NetBSD.)
13321 For shared mappings, we should conversely verify that changes get
13322 propagated back to all the places they're supposed to be.
13324 Grep wants private fixed already mapped.
13325 The main things grep needs to know about mmap are:
13326 * does it exist and is it safe to write into the mmap'd area
13327 * how to use it (BSD variants) */
13330 #include <sys/mman.h>
13332 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
13336 /* This mess was copied from the GNU getpagesize.h. */
13337 #ifndef HAVE_GETPAGESIZE
13338 # ifdef _SC_PAGESIZE
13339 # define getpagesize() sysconf(_SC_PAGESIZE)
13340 # else /* no _SC_PAGESIZE */
13341 # ifdef HAVE_SYS_PARAM_H
13342 # include <sys/param.h>
13343 # ifdef EXEC_PAGESIZE
13344 # define getpagesize() EXEC_PAGESIZE
13345 # else /* no EXEC_PAGESIZE */
13347 # define getpagesize() NBPG * CLSIZE
13350 # endif /* no CLSIZE */
13351 # else /* no NBPG */
13353 # define getpagesize() NBPC
13354 # else /* no NBPC */
13356 # define getpagesize() PAGESIZE
13357 # endif /* PAGESIZE */
13358 # endif /* no NBPC */
13359 # endif /* no NBPG */
13360 # endif /* no EXEC_PAGESIZE */
13361 # else /* no HAVE_SYS_PARAM_H */
13362 # define getpagesize() 8192 /* punt totally */
13363 # endif /* no HAVE_SYS_PARAM_H */
13364 # endif /* no _SC_PAGESIZE */
13366 #endif /* no HAVE_GETPAGESIZE */
13371 char *data, *data2, *data3;
13372 const char *cdata2;
13376 pagesize = getpagesize ();
13378 /* First, make a file with some known garbage in it. */
13379 data = (char *) malloc (pagesize);
13382 for (i = 0; i < pagesize; ++i)
13383 *(data + i) = rand ();
13385 fd = creat ("conftest.mmap", 0600);
13388 if (write (fd, data, pagesize) != pagesize)
13392 /* Next, check that the tail of a page is zero-filled. File must have
13393 non-zero length, otherwise we risk SIGBUS for entire page. */
13394 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
13398 if (write (fd2, cdata2, 1) != 1)
13400 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
13401 if (data2 == MAP_FAILED)
13403 for (i = 0; i < pagesize; ++i)
13407 if (munmap (data2, pagesize))
13410 /* Next, try to mmap the file at a fixed address which already has
13411 something else allocated at it. If we can, also make sure that
13412 we see the same garbage. */
13413 fd = open ("conftest.mmap", O_RDWR);
13416 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13417 MAP_PRIVATE | MAP_FIXED, fd, 0L))
13419 for (i = 0; i < pagesize; ++i)
13420 if (*(data + i) != *(data2 + i))
13423 /* Finally, make sure that changes to the mapped area do not
13424 percolate back to the file as seen by read(). (This is a bug on
13425 some variants of i386 svr4.0.) */
13426 for (i = 0; i < pagesize; ++i)
13427 *(data2 + i) = *(data2 + i) + 1;
13428 data3 = (char *) malloc (pagesize);
13431 if (read (fd, data3, pagesize) != pagesize)
13433 for (i = 0; i < pagesize; ++i)
13434 if (*(data + i) != *(data3 + i))
13440 if ac_fn_c_try_run "$LINENO"; then :
13441 ac_cv_func_mmap_fixed_mapped=yes
13443 ac_cv_func_mmap_fixed_mapped=no
13445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13446 conftest.$ac_objext conftest.beam conftest.$ac_ext
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
13451 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
13452 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13454 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
13457 rm -f conftest.mmap conftest.txt
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking form of statfs" >&5
13461 $as_echo_n "checking form of statfs... " >&6; }
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13464 #ifdef HAVE_SYS_STATFS_H
13465 #include <sys/statfs.h>
13467 #ifdef HAVE_SYS_PARAM_H
13468 #include <sys/param.h>
13470 #ifdef HAVE_SYS_MOUNT_H
13471 #include <sys/mount.h>
13476 struct statfs buf; (void)(2*statfs("xyz",&buf));
13481 if ac_fn_c_try_compile "$LINENO"; then :
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2-arg, linux-style" >&5
13483 $as_echo "2-arg, linux-style" >&6; }
13485 $as_echo "#define HAVE_2ARG_STATFS 1" >>confdefs.h
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none, or unknown" >&5
13489 $as_echo "none, or unknown" >&6; }
13491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13493 for ac_func in chown setrlimit
13495 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13496 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13497 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13498 cat >>confdefs.h <<_ACEOF
13499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13506 for ac_func in gmtime_r
13508 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
13509 if test "x$ac_cv_func_gmtime_r" = xyes; then :
13510 cat >>confdefs.h <<_ACEOF
13511 #define HAVE_GMTIME_R 1
13515 for ac_func in gmtime
13517 ac_fn_c_check_func "$LINENO" "gmtime" "ac_cv_func_gmtime"
13518 if test "x$ac_cv_func_gmtime" = xyes; then :
13519 cat >>confdefs.h <<_ACEOF
13520 #define HAVE_GMTIME 1
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please note that gmtime_r() is missing and I will use gmtime() which is not thread safe ***" >&5
13523 $as_echo "$as_me: WARNING: *** Please note that gmtime_r() is missing and I will use gmtime() which is not thread safe ***" >&2;}
13525 as_fn_error $? "Neither gmtime_r or gmtime is available" "$LINENO" 5
13533 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
13535 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
13537 cat >>confdefs.h <<_ACEOF
13538 #define HAVE_STRUCT_TM_TM_GMTOFF 1
13545 SAVE_CFLAGS=$CFLAGS
13547 CFLAGS="$CFLAGS $LIBGSF_CFLAGS"
13548 LIBS="$LIBGSF_LIBS $LIBS"
13549 for ac_func in g_base64_encode
13551 ac_fn_c_check_func "$LINENO" "g_base64_encode" "ac_cv_func_g_base64_encode"
13552 if test "x$ac_cv_func_g_base64_encode" = xyes; then :
13553 cat >>confdefs.h <<_ACEOF
13554 #define HAVE_G_BASE64_ENCODE 1
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g_chmod" >&5
13561 $as_echo_n "checking for g_chmod... " >&6; }
13562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13563 /* end confdefs.h. */
13564 #include <glib/gstdio.h>
13568 (void)g_chmod("/xxx",0777);
13573 if ac_fn_c_try_link "$LINENO"; then :
13575 $as_echo "#define HAVE_G_CHMOD 1" >>confdefs.h
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13578 $as_echo "yes" >&6; }
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13581 $as_echo "no" >&6; }
13583 rm -f core conftest.err conftest.$ac_objext \
13584 conftest$ac_exeext conftest.$ac_ext
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g_access" >&5
13586 $as_echo_n "checking for g_access... " >&6; }
13587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h. */
13589 #include <glib/gstdio.h>
13593 (void)g_access("/xxx",0777);
13598 if ac_fn_c_try_link "$LINENO"; then :
13600 $as_echo "#define HAVE_G_ACCESS 1" >>confdefs.h
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13603 $as_echo "yes" >&6; }
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13606 $as_echo "no" >&6; }
13608 rm -f core conftest.err conftest.$ac_objext \
13609 conftest$ac_exeext conftest.$ac_ext
13610 CFLAGS=$SAVE_CFLAGS
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether macro S_ISREG is available" >&5
13614 $as_echo_n "checking whether macro S_ISREG is available... " >&6; }
13615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h. */
13617 #include <sys/types.h>
13618 #include <sys/stat.h>
13627 if ac_fn_c_try_compile "$LINENO"; then :
13631 $as_echo "#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)" >>confdefs.h
13635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $macro_s_isreg" >&5
13637 $as_echo "$macro_s_isreg" >&6; }
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Win32 platform" >&5
13640 $as_echo_n "checking for Win32 platform... " >&6; }
13643 mingw* | pw32* | cygwin*)
13646 if test -n "$ac_tool_prefix"; then
13647 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
13648 set dummy ${ac_tool_prefix}windres; ac_word=$2
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13650 $as_echo_n "checking for $ac_word... " >&6; }
13651 if ${ac_cv_prog_WINDRES+:} false; then :
13652 $as_echo_n "(cached) " >&6
13654 if test -n "$WINDRES"; then
13655 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
13657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13658 for as_dir in $PATH
13661 test -z "$as_dir" && as_dir=.
13662 for ac_exec_ext in '' $ac_executable_extensions; do
13663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13664 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
13665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13674 WINDRES=$ac_cv_prog_WINDRES
13675 if test -n "$WINDRES"; then
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
13677 $as_echo "$WINDRES" >&6; }
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13680 $as_echo "no" >&6; }
13685 if test -z "$ac_cv_prog_WINDRES"; then
13686 ac_ct_WINDRES=$WINDRES
13687 # Extract the first word of "windres", so it can be a program name with args.
13688 set dummy windres; ac_word=$2
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13690 $as_echo_n "checking for $ac_word... " >&6; }
13691 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
13692 $as_echo_n "(cached) " >&6
13694 if test -n "$ac_ct_WINDRES"; then
13695 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
13697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13698 for as_dir in $PATH
13701 test -z "$as_dir" && as_dir=.
13702 for ac_exec_ext in '' $ac_executable_extensions; do
13703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13704 ac_cv_prog_ac_ct_WINDRES="windres"
13705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13714 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
13715 if test -n "$ac_ct_WINDRES"; then
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
13717 $as_echo "$ac_ct_WINDRES" >&6; }
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13720 $as_echo "no" >&6; }
13723 if test "x$ac_ct_WINDRES" = x; then
13726 case $cross_compiling:$ac_tool_warned in
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13730 ac_tool_warned=yes ;;
13732 WINDRES=$ac_ct_WINDRES
13735 WINDRES="$ac_cv_prog_WINDRES"
13739 # Extract the first word of "lib.exe", so it can be a program name with args.
13740 set dummy lib.exe; ac_word=$2
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13742 $as_echo_n "checking for $ac_word... " >&6; }
13743 if ${ac_cv_prog_LIBEXE+:} false; then :
13744 $as_echo_n "(cached) " >&6
13746 if test -n "$LIBEXE"; then
13747 ac_cv_prog_LIBEXE="$LIBEXE" # Let the user override the test.
13749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13750 for as_dir in $PATH
13753 test -z "$as_dir" && as_dir=.
13754 for ac_exec_ext in '' $ac_executable_extensions; do
13755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13756 ac_cv_prog_LIBEXE="yes"
13757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13764 test -z "$ac_cv_prog_LIBEXE" && ac_cv_prog_LIBEXE="no"
13767 LIBEXE=$ac_cv_prog_LIBEXE
13768 if test -n "$LIBEXE"; then
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBEXE" >&5
13770 $as_echo "$LIBEXE" >&6; }
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13773 $as_echo "no" >&6; }
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_win32" >&5
13780 $as_echo "$with_win32" >&6; }
13781 if test $with_win32 = yes; then
13783 WITH_WIN32_FALSE='#'
13785 WITH_WIN32_TRUE='#'
13789 if test x$LIBEXE = xyes; then
13791 HAVE_LIBEXE_FALSE='#'
13793 HAVE_LIBEXE_TRUE='#'
13797 if test x"$cross_compiling" != "xno"; then
13798 CROSS_COMPILING_TRUE=
13799 CROSS_COMPILING_FALSE='#'
13801 CROSS_COMPILING_TRUE='#'
13802 CROSS_COMPILING_FALSE=
13806 ##################################################
13807 # Checks for gtk-doc and docbook-tools
13808 ##################################################
13809 gtk_doc_installed=true
13810 #ifdef([GTK_DOC_CHECK],[GTK_DOC_CHECK([1.0])],[gtk_doc_installed=false])
13811 # I would have liked to conditionalize this, but
13812 # that appears to break other things http://bugzilla.gnome.org/show_bug.cgi?id=156399
13815 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13816 set dummy gtkdoc-check; ac_word=$2
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13818 $as_echo_n "checking for $ac_word... " >&6; }
13819 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
13820 $as_echo_n "(cached) " >&6
13822 case $GTKDOC_CHECK in
13824 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
13827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13828 for as_dir in $PATH
13831 test -z "$as_dir" && as_dir=.
13832 for ac_exec_ext in '' $ac_executable_extensions; do
13833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13834 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
13835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13845 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
13846 if test -n "$GTKDOC_CHECK"; then
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13848 $as_echo "$GTKDOC_CHECK" >&6; }
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13851 $as_echo "no" >&6; }
13855 for ac_prog in gtkdoc-rebase
13857 # Extract the first word of "$ac_prog", so it can be a program name with args.
13858 set dummy $ac_prog; ac_word=$2
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13860 $as_echo_n "checking for $ac_word... " >&6; }
13861 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13862 $as_echo_n "(cached) " >&6
13864 case $GTKDOC_REBASE in
13866 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13870 for as_dir in $PATH
13873 test -z "$as_dir" && as_dir=.
13874 for ac_exec_ext in '' $ac_executable_extensions; do
13875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13876 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13887 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13888 if test -n "$GTKDOC_REBASE"; then
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13890 $as_echo "$GTKDOC_REBASE" >&6; }
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13893 $as_echo "no" >&6; }
13897 test -n "$GTKDOC_REBASE" && break
13899 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13901 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13902 set dummy gtkdoc-mkpdf; ac_word=$2
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13904 $as_echo_n "checking for $ac_word... " >&6; }
13905 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13906 $as_echo_n "(cached) " >&6
13908 case $GTKDOC_MKPDF in
13910 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13914 for as_dir in $PATH
13917 test -z "$as_dir" && as_dir=.
13918 for ac_exec_ext in '' $ac_executable_extensions; do
13919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13920 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13931 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13932 if test -n "$GTKDOC_MKPDF"; then
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13934 $as_echo "$GTKDOC_MKPDF" >&6; }
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13937 $as_echo "no" >&6; }
13943 # Check whether --with-html-dir was given.
13944 if test "${with_html_dir+set}" = set; then :
13945 withval=$with_html_dir;
13947 with_html_dir='${datadir}/gtk-doc/html'
13950 HTML_DIR="$with_html_dir"
13953 # Check whether --enable-gtk-doc was given.
13954 if test "${enable_gtk_doc+set}" = set; then :
13955 enableval=$enable_gtk_doc;
13961 if test x$enable_gtk_doc = xyes; then
13962 if test -n "$PKG_CONFIG" && \
13963 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
13964 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
13966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13967 test $ac_status = 0; }; then
13970 as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13975 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13977 $as_echo "$enable_gtk_doc" >&6; }
13979 # Check whether --enable-gtk-doc-html was given.
13980 if test "${enable_gtk_doc_html+set}" = set; then :
13981 enableval=$enable_gtk_doc_html;
13983 enable_gtk_doc_html=yes
13986 # Check whether --enable-gtk-doc-pdf was given.
13987 if test "${enable_gtk_doc_pdf+set}" = set; then :
13988 enableval=$enable_gtk_doc_pdf;
13990 enable_gtk_doc_pdf=no
13994 if test -z "$GTKDOC_MKPDF"; then
13995 enable_gtk_doc_pdf=no
13999 if test x$enable_gtk_doc = xyes; then
14000 ENABLE_GTK_DOC_TRUE=
14001 ENABLE_GTK_DOC_FALSE='#'
14003 ENABLE_GTK_DOC_TRUE='#'
14004 ENABLE_GTK_DOC_FALSE=
14007 if test x$enable_gtk_doc_html = xyes; then
14008 GTK_DOC_BUILD_HTML_TRUE=
14009 GTK_DOC_BUILD_HTML_FALSE='#'
14011 GTK_DOC_BUILD_HTML_TRUE='#'
14012 GTK_DOC_BUILD_HTML_FALSE=
14015 if test x$enable_gtk_doc_pdf = xyes; then
14016 GTK_DOC_BUILD_PDF_TRUE=
14017 GTK_DOC_BUILD_PDF_FALSE='#'
14019 GTK_DOC_BUILD_PDF_TRUE='#'
14020 GTK_DOC_BUILD_PDF_FALSE=
14023 if test -n "$LIBTOOL"; then
14024 GTK_DOC_USE_LIBTOOL_TRUE=
14025 GTK_DOC_USE_LIBTOOL_FALSE='#'
14027 GTK_DOC_USE_LIBTOOL_TRUE='#'
14028 GTK_DOC_USE_LIBTOOL_FALSE=
14031 if test -n "$GTKDOC_REBASE"; then
14032 GTK_DOC_USE_REBASE_TRUE=
14033 GTK_DOC_USE_REBASE_FALSE='#'
14035 GTK_DOC_USE_REBASE_TRUE='#'
14036 GTK_DOC_USE_REBASE_FALSE=
14040 if $gtk_doc_installed; then
14041 GTK_DOC_INSTALLED_TRUE=
14042 GTK_DOC_INSTALLED_FALSE='#'
14044 GTK_DOC_INSTALLED_TRUE='#'
14045 GTK_DOC_INSTALLED_FALSE=
14050 _cppflags=$CPPFLAGS
14053 Z_DIR= Z_LIBS= Z_CPPFLAGS=
14056 # Check whether --with-zlib was given.
14057 if test "${with_zlib+set}" = set; then :
14058 withval=$with_zlib; case $withval in
14061 CPPFLAGS="${CPPFLAGS} -I$withval/include"
14062 LDFLAGS="${LDFLAGS} -L$withval/lib"
14068 if test "x$with_zlib" != xno; then
14070 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14071 if test "x$ac_cv_header_zlib_h" = xyes; then :
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
14073 $as_echo_n "checking for gzread in -lz... " >&6; }
14074 if ${ac_cv_lib_z_gzread+:} false; then :
14075 $as_echo_n "(cached) " >&6
14077 ac_check_lib_save_LIBS=$LIBS
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14082 /* Override any GCC internal prototype to avoid an error.
14083 Use char because int might match the return type of a GCC
14084 builtin and then its argument prototype would still apply. */
14097 if ac_fn_c_try_link "$LINENO"; then :
14098 ac_cv_lib_z_gzread=yes
14100 ac_cv_lib_z_gzread=no
14102 rm -f core conftest.err conftest.$ac_objext \
14103 conftest$ac_exeext conftest.$ac_ext
14104 LIBS=$ac_check_lib_save_LIBS
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
14107 $as_echo "$ac_cv_lib_z_gzread" >&6; }
14108 if test "x$ac_cv_lib_z_gzread" = xyes; then :
14116 if test "$with_zlib" = no; then
14117 as_fn_error $? "*** zlib is required" "$LINENO" 5
14119 if test "x$Z_DIR" != "x"; then
14120 Z_CPPFLAGS="-I$Z_DIR/include"
14122 *-*-solaris*) Z_LIBS="-L$Z_DIR/lib -R$Z_DIR/lib -lz" ;;
14123 *) Z_LIBS="-L$Z_DIR/lib -lz" ;;
14131 CPPFLAGS=${_cppflags}
14132 LDFLAGS=${_ldflags}
14137 # Check whether --with-python was given.
14138 if test "${with_python+set}" = set; then :
14139 withval=$with_python; if test "x$withval" = xno; then
14146 if test "x$test_python" = xtrue ; then
14152 # Find any Python interpreter.
14153 if test -z "$PYTHON"; then
14154 for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
14156 # Extract the first word of "$ac_prog", so it can be a program name with args.
14157 set dummy $ac_prog; ac_word=$2
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14159 $as_echo_n "checking for $ac_word... " >&6; }
14160 if ${ac_cv_path_PYTHON+:} false; then :
14161 $as_echo_n "(cached) " >&6
14165 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14169 for as_dir in $PATH
14172 test -z "$as_dir" && as_dir=.
14173 for ac_exec_ext in '' $ac_executable_extensions; do
14174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14175 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14186 PYTHON=$ac_cv_path_PYTHON
14187 if test -n "$PYTHON"; then
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14189 $as_echo "$PYTHON" >&6; }
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14192 $as_echo "no" >&6; }
14196 test -n "$PYTHON" && break
14198 test -n "$PYTHON" || PYTHON=":"
14201 am_display_PYTHON=python
14204 if test "$PYTHON" = :; then
14205 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14210 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14211 if ${am_cv_python_version+:} false; then :
14212 $as_echo_n "(cached) " >&6
14214 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14217 $as_echo "$am_cv_python_version" >&6; }
14218 PYTHON_VERSION=$am_cv_python_version
14222 PYTHON_PREFIX='${prefix}'
14224 PYTHON_EXEC_PREFIX='${exec_prefix}'
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14229 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14230 if ${am_cv_python_platform+:} false; then :
14231 $as_echo_n "(cached) " >&6
14233 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14236 $as_echo "$am_cv_python_platform" >&6; }
14237 PYTHON_PLATFORM=$am_cv_python_platform
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14243 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14244 if ${am_cv_python_pythondir+:} false; then :
14245 $as_echo_n "(cached) " >&6
14247 if test "x$prefix" = xNONE
14249 am_py_prefix=$ac_default_prefix
14251 am_py_prefix=$prefix
14253 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
14254 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14255 case $am_cv_python_pythondir in
14257 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14258 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14261 case $am_py_prefix in
14264 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14272 $as_echo "$am_cv_python_pythondir" >&6; }
14273 pythondir=$am_cv_python_pythondir
14277 pkgpythondir=\${pythondir}/$PACKAGE
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14281 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14282 if ${am_cv_python_pyexecdir+:} false; then :
14283 $as_echo_n "(cached) " >&6
14285 if test "x$exec_prefix" = xNONE
14287 am_py_exec_prefix=$am_py_prefix
14289 am_py_exec_prefix=$exec_prefix
14291 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
14292 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14293 case $am_cv_python_pyexecdir in
14294 $am_py_exec_prefix*)
14295 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14296 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14299 case $am_py_exec_prefix in
14302 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14310 $as_echo "$am_cv_python_pyexecdir" >&6; }
14311 pyexecdir=$am_cv_python_pyexecdir
14315 pkgpyexecdir=\${pyexecdir}/$PACKAGE
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
14325 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
14326 py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
14327 py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
14328 PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
14329 if test "$py_prefix" != "$py_exec_prefix"; then
14330 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
14333 save_CPPFLAGS="$CPPFLAGS"
14334 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
14335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14337 #include <Python.h>
14339 if ac_fn_c_try_cpp "$LINENO"; then :
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14341 $as_echo "found" >&6; }
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14345 $as_echo "not found" >&6; }
14346 pygobject_msg="NO. Missing python headers"
14348 rm -f conftest.err conftest.i conftest.$ac_ext
14349 CPPFLAGS="$save_CPPFLAGS"
14352 if test "$pygobject_msg" = test; then
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGTK" >&5
14356 $as_echo_n "checking for PYGTK... " >&6; }
14358 if test -n "$PYGTK_CFLAGS"; then
14359 pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS"
14360 elif test -n "$PKG_CONFIG"; then
14361 if test -n "$PKG_CONFIG" && \
14362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.10.0\""; } >&5
14363 ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.10.0") 2>&5
14365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14366 test $ac_status = 0; }; then
14367 pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygobject-2.0 >= 2.10.0" 2>/dev/null`
14374 if test -n "$PYGTK_LIBS"; then
14375 pkg_cv_PYGTK_LIBS="$PYGTK_LIBS"
14376 elif test -n "$PKG_CONFIG"; then
14377 if test -n "$PKG_CONFIG" && \
14378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.10.0\""; } >&5
14379 ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.10.0") 2>&5
14381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14382 test $ac_status = 0; }; then
14383 pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygobject-2.0 >= 2.10.0" 2>/dev/null`
14393 if test $pkg_failed = yes; then
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14395 $as_echo "no" >&6; }
14397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14398 _pkg_short_errors_supported=yes
14400 _pkg_short_errors_supported=no
14402 if test $_pkg_short_errors_supported = yes; then
14403 PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pygobject-2.0 >= 2.10.0" 2>&1`
14405 PYGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "pygobject-2.0 >= 2.10.0" 2>&1`
14407 # Put the nasty error message in config.log where it belongs
14408 echo "$PYGTK_PKG_ERRORS" >&5
14410 pygobject_msg="NO. pygtk problem"
14411 elif test $pkg_failed = untried; then
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14413 $as_echo "no" >&6; }
14414 pygobject_msg="NO. pygtk problem"
14416 PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
14417 PYGTK_LIBS=$pkg_cv_PYGTK_LIBS
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14419 $as_echo "yes" >&6; }
14424 if test "$pygobject_msg" = test; then
14425 # Extract the first word of "pygtk-codegen-2.0", so it can be a program name with args.
14426 set dummy pygtk-codegen-2.0; ac_word=$2
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14428 $as_echo_n "checking for $ac_word... " >&6; }
14429 if ${ac_cv_path_PYGTK_CODEGEN+:} false; then :
14430 $as_echo_n "(cached) " >&6
14432 case $PYGTK_CODEGEN in
14434 ac_cv_path_PYGTK_CODEGEN="$PYGTK_CODEGEN" # Let the user override the test with a path.
14437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14438 for as_dir in $PATH
14441 test -z "$as_dir" && as_dir=.
14442 for ac_exec_ext in '' $ac_executable_extensions; do
14443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14444 ac_cv_path_PYGTK_CODEGEN="$as_dir/$ac_word$ac_exec_ext"
14445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14452 test -z "$ac_cv_path_PYGTK_CODEGEN" && ac_cv_path_PYGTK_CODEGEN="no"
14456 PYGTK_CODEGEN=$ac_cv_path_PYGTK_CODEGEN
14457 if test -n "$PYGTK_CODEGEN"; then
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYGTK_CODEGEN" >&5
14459 $as_echo "$PYGTK_CODEGEN" >&6; }
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14462 $as_echo "no" >&6; }
14466 if test "$PYGTK_CODEGEN" = no; then
14467 pygobject_msg="NO. Missing pygtk-codegen-2.0"
14471 if test "$pygobject_msg" = test; then
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pygobject_msg" >&5
14475 $as_echo "$pygobject_msg" >&6; }
14480 if test "$pygobject_msg" = yes; then
14482 WITH_PYTHON_FALSE='#'
14484 WITH_PYTHON_TRUE='#'
14493 # Check whether --with-bz2 was given.
14494 if test "${with_bz2+set}" = set; then :
14495 withval=$with_bz2; if test "x$withval" = xno; then
14503 if test "x$test_bz2" = xtrue ; then
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking usable libbz2" >&5
14505 $as_echo_n "checking usable libbz2... " >&6; }
14510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h. */
14515 #undef HAVE_STDLIB_H
14519 return BZ2_bzDecompressInit (NULL, 0, 0);
14523 if ac_fn_c_try_link "$LINENO"; then :
14528 rm -f core conftest.err conftest.$ac_objext \
14529 conftest$ac_exeext conftest.$ac_ext
14532 if test "$bz2_ok" = yes; then
14534 $as_echo "#define HAVE_BZ2 1" >>confdefs.h
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bz2_ok" >&5
14538 $as_echo "$bz2_ok" >&6; }
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** BZ2 support disabled (BZ2 header or library not found) ***" >&5
14541 $as_echo "$as_me: WARNING: *** BZ2 support disabled (BZ2 header or library not found) ***" >&2;}
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BZ2 support disabled, as requested (Use --with-bz2 to enable)" >&5
14545 $as_echo "$as_me: WARNING: BZ2 support disabled, as requested (Use --with-bz2 to enable)" >&2;}
14553 # Check whether --with-gio was given.
14554 if test "${with_gio+set}" = set; then :
14555 withval=$with_gio; case $withval in
14556 yes) want_gio=yes;;
14563 if test $want_gio = no ; then
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GIO support disabled, as requested (Use --with-gio to enable)" >&5
14565 $as_echo "$as_me: WARNING: GIO support disabled, as requested (Use --with-gio to enable)" >&2;}
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSF_GIO" >&5
14570 $as_echo_n "checking for LIBGSF_GIO... " >&6; }
14572 if test -n "$LIBGSF_GIO_CFLAGS"; then
14573 pkg_cv_LIBGSF_GIO_CFLAGS="$LIBGSF_GIO_CFLAGS"
14574 elif test -n "$PKG_CONFIG"; then
14575 if test -n "$PKG_CONFIG" && \
14576 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
14577 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
14579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14580 test $ac_status = 0; }; then
14581 pkg_cv_LIBGSF_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
14588 if test -n "$LIBGSF_GIO_LIBS"; then
14589 pkg_cv_LIBGSF_GIO_LIBS="$LIBGSF_GIO_LIBS"
14590 elif test -n "$PKG_CONFIG"; then
14591 if test -n "$PKG_CONFIG" && \
14592 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
14593 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
14595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14596 test $ac_status = 0; }; then
14597 pkg_cv_LIBGSF_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
14607 if test $pkg_failed = yes; then
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14609 $as_echo "no" >&6; }
14611 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14612 _pkg_short_errors_supported=yes
14614 _pkg_short_errors_supported=no
14616 if test $_pkg_short_errors_supported = yes; then
14617 LIBGSF_GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0" 2>&1`
14619 LIBGSF_GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0" 2>&1`
14621 # Put the nasty error message in config.log where it belongs
14622 echo "$LIBGSF_GIO_PKG_ERRORS" >&5
14624 if test $want_gio = yes; then
14625 as_fn_error $? "GIO support requested, but not available." "$LINENO" 5
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GIO support disabled, unable to find required version of GIO" >&5
14628 $as_echo "$as_me: WARNING: GIO support disabled, unable to find required version of GIO" >&2;}
14630 elif test $pkg_failed = untried; then
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14632 $as_echo "no" >&6; }
14633 if test $want_gio = yes; then
14634 as_fn_error $? "GIO support requested, but not available." "$LINENO" 5
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GIO support disabled, unable to find required version of GIO" >&5
14637 $as_echo "$as_me: WARNING: GIO support disabled, unable to find required version of GIO" >&2;}
14640 LIBGSF_GIO_CFLAGS=$pkg_cv_LIBGSF_GIO_CFLAGS
14641 LIBGSF_GIO_LIBS=$pkg_cv_LIBGSF_GIO_LIBS
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14643 $as_echo "yes" >&6; }
14647 if test $have_gio = yes; then
14661 want_gnome_vfs=auto
14663 # Check whether --with-gnome_vfs was given.
14664 if test "${with_gnome_vfs+set}" = set; then :
14665 withval=$with_gnome_vfs; case $withval in
14666 yes) want_gnome_vfs=yes;;
14667 no) want_gnome_vfs=no;;
14671 if test $want_gnome_vfs = auto -a "$want_gio" = yes; then
14675 if test $want_gnome_vfs = yes; then
14676 if test "$want_gio" = yes; then
14677 CFLAGS="$CFLAGS -DLIBGSF_GNOMEVFS_VIA_GIO"
14679 GNOMEVFS_REQ="gnome-vfs-2.0 >= 2.2.0 gnome-vfs-module-2.0 >= 2.2.0"
14680 libgsf_gnome_reqs="$libgsf_gnome_reqs $GNOMEVFS_REQ"
14688 # Check whether --with-bonobo was given.
14689 if test "${with_bonobo+set}" = set; then :
14690 withval=$with_bonobo; case "${withval}" in
14691 yes) want_bonobo=yes ;;
14692 no) want_bonobo=no ;;
14693 *) as_fn_error $? "bad value ${withval} for --with-bonobo" "$LINENO" 5 ;;
14699 BONOBO_REQ="libbonobo-2.0 >= 2.0.0"
14701 if test $want_bonobo = no ; then
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bonobo support disabled, as requested (Use --with-bonobo to enable)" >&5
14703 $as_echo "$as_me: WARNING: Bonobo support disabled, as requested (Use --with-bonobo to enable)" >&2;}
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSF_BONOBO" >&5
14708 $as_echo_n "checking for LIBGSF_BONOBO... " >&6; }
14710 if test -n "$LIBGSF_BONOBO_CFLAGS"; then
14711 pkg_cv_LIBGSF_BONOBO_CFLAGS="$LIBGSF_BONOBO_CFLAGS"
14712 elif test -n "$PKG_CONFIG"; then
14713 if test -n "$PKG_CONFIG" && \
14714 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$BONOBO_REQ\""; } >&5
14715 ($PKG_CONFIG --exists --print-errors "$BONOBO_REQ") 2>&5
14717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14718 test $ac_status = 0; }; then
14719 pkg_cv_LIBGSF_BONOBO_CFLAGS=`$PKG_CONFIG --cflags "$BONOBO_REQ" 2>/dev/null`
14726 if test -n "$LIBGSF_BONOBO_LIBS"; then
14727 pkg_cv_LIBGSF_BONOBO_LIBS="$LIBGSF_BONOBO_LIBS"
14728 elif test -n "$PKG_CONFIG"; then
14729 if test -n "$PKG_CONFIG" && \
14730 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$BONOBO_REQ\""; } >&5
14731 ($PKG_CONFIG --exists --print-errors "$BONOBO_REQ") 2>&5
14733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14734 test $ac_status = 0; }; then
14735 pkg_cv_LIBGSF_BONOBO_LIBS=`$PKG_CONFIG --libs "$BONOBO_REQ" 2>/dev/null`
14745 if test $pkg_failed = yes; then
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14747 $as_echo "no" >&6; }
14749 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14750 _pkg_short_errors_supported=yes
14752 _pkg_short_errors_supported=no
14754 if test $_pkg_short_errors_supported = yes; then
14755 LIBGSF_BONOBO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$BONOBO_REQ" 2>&1`
14757 LIBGSF_BONOBO_PKG_ERRORS=`$PKG_CONFIG --print-errors "$BONOBO_REQ" 2>&1`
14759 # Put the nasty error message in config.log where it belongs
14760 echo "$LIBGSF_BONOBO_PKG_ERRORS" >&5
14762 if test $want_bonobo = yes; then
14763 as_fn_error $? "Bonobo support requested, but not available." "$LINENO" 5
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bonobo support disabled, unable to find required version" >&5
14766 $as_echo "$as_me: WARNING: Bonobo support disabled, unable to find required version" >&2;}
14768 elif test $pkg_failed = untried; then
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14770 $as_echo "no" >&6; }
14771 if test $want_bonobo = yes; then
14772 as_fn_error $? "Bonobo support requested, but not available." "$LINENO" 5
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bonobo support disabled, unable to find required version" >&5
14775 $as_echo "$as_me: WARNING: Bonobo support disabled, unable to find required version" >&2;}
14778 LIBGSF_BONOBO_CFLAGS=$pkg_cv_LIBGSF_BONOBO_CFLAGS
14779 LIBGSF_BONOBO_LIBS=$pkg_cv_LIBGSF_BONOBO_LIBS
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14781 $as_echo "yes" >&6; }
14786 if test $have_bonobo = yes; then
14787 libgsf_gnome_reqs="$libgsf_gnome_reqs $BONOBO_REQ"
14796 # Check whether --with-gdk_pixbuf was given.
14797 if test "${with_gdk_pixbuf+set}" = set; then :
14798 withval=$with_gdk_pixbuf; case "${withval}" in
14799 yes) want_gdk_pixbuf=yes ;;
14800 no) want_gdk_pixbuf=no ;;
14801 *) as_fn_error $? "bad value ${withval} for --with-gdk-pixbuf" "$LINENO" 5 ;;
14804 want_gdk_pixbuf=auto
14807 if test $want_gdk_pixbuf = no ; then
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gdk-pixbuf support disabled, as requested (Use --with-gdk-pixbuf to enable)" >&5
14809 $as_echo "$as_me: WARNING: gdk-pixbuf support disabled, as requested (Use --with-gdk-pixbuf to enable)" >&2;}
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5
14814 $as_echo_n "checking for GDK_PIXBUF... " >&6; }
14816 if test -n "$GDK_PIXBUF_CFLAGS"; then
14817 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
14818 elif test -n "$PKG_CONFIG"; then
14819 if test -n "$PKG_CONFIG" && \
14820 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\""; } >&5
14821 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
14823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14824 test $ac_status = 0; }; then
14825 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0" 2>/dev/null`
14832 if test -n "$GDK_PIXBUF_LIBS"; then
14833 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
14834 elif test -n "$PKG_CONFIG"; then
14835 if test -n "$PKG_CONFIG" && \
14836 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\""; } >&5
14837 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
14839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14840 test $ac_status = 0; }; then
14841 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0" 2>/dev/null`
14851 if test $pkg_failed = yes; then
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14853 $as_echo "no" >&6; }
14855 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14856 _pkg_short_errors_supported=yes
14858 _pkg_short_errors_supported=no
14860 if test $_pkg_short_errors_supported = yes; then
14861 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gdk-pixbuf-2.0" 2>&1`
14863 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gdk-pixbuf-2.0" 2>&1`
14865 # Put the nasty error message in config.log where it belongs
14866 echo "$GDK_PIXBUF_PKG_ERRORS" >&5
14868 if test $want_gdk_pixbuf = yes; then
14869 as_fn_error $? "gdk-pixbuf support requested, but not available." "$LINENO" 5
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gdk-pixbuf support disabled, unable to find required version" >&5
14872 $as_echo "$as_me: WARNING: gdk-pixbuf support disabled, unable to find required version" >&2;}
14874 elif test $pkg_failed = untried; then
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14876 $as_echo "no" >&6; }
14877 if test $want_gdk_pixbuf = yes; then
14878 as_fn_error $? "gdk-pixbuf support requested, but not available." "$LINENO" 5
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gdk-pixbuf support disabled, unable to find required version" >&5
14881 $as_echo "$as_me: WARNING: gdk-pixbuf support disabled, unable to find required version" >&2;}
14884 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
14885 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14887 $as_echo "yes" >&6; }
14889 $as_echo "#define HAVE_GDK_PIXBUF 1" >>confdefs.h
14895 if test $want_gnome = no ; then
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNOME support disabled, as requested (Use --with-gnome-vfs and/or --with-bonobo to enable)" >&5
14897 $as_echo "$as_me: WARNING: GNOME support disabled, as requested (Use --with-gnome-vfs and/or --with-bonobo to enable)" >&2;}
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSF_GNOME" >&5
14902 $as_echo_n "checking for LIBGSF_GNOME... " >&6; }
14904 if test -n "$LIBGSF_GNOME_CFLAGS"; then
14905 pkg_cv_LIBGSF_GNOME_CFLAGS="$LIBGSF_GNOME_CFLAGS"
14906 elif test -n "$PKG_CONFIG"; then
14907 if test -n "$PKG_CONFIG" && \
14908 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libgsf_gnome_reqs\""; } >&5
14909 ($PKG_CONFIG --exists --print-errors "$libgsf_gnome_reqs") 2>&5
14911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14912 test $ac_status = 0; }; then
14913 pkg_cv_LIBGSF_GNOME_CFLAGS=`$PKG_CONFIG --cflags "$libgsf_gnome_reqs" 2>/dev/null`
14920 if test -n "$LIBGSF_GNOME_LIBS"; then
14921 pkg_cv_LIBGSF_GNOME_LIBS="$LIBGSF_GNOME_LIBS"
14922 elif test -n "$PKG_CONFIG"; then
14923 if test -n "$PKG_CONFIG" && \
14924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$libgsf_gnome_reqs\""; } >&5
14925 ($PKG_CONFIG --exists --print-errors "$libgsf_gnome_reqs") 2>&5
14927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14928 test $ac_status = 0; }; then
14929 pkg_cv_LIBGSF_GNOME_LIBS=`$PKG_CONFIG --libs "$libgsf_gnome_reqs" 2>/dev/null`
14939 if test $pkg_failed = yes; then
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14941 $as_echo "no" >&6; }
14943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14944 _pkg_short_errors_supported=yes
14946 _pkg_short_errors_supported=no
14948 if test $_pkg_short_errors_supported = yes; then
14949 LIBGSF_GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$libgsf_gnome_reqs" 2>&1`
14951 LIBGSF_GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors "$libgsf_gnome_reqs" 2>&1`
14953 # Put the nasty error message in config.log where it belongs
14954 echo "$LIBGSF_GNOME_PKG_ERRORS" >&5
14956 as_fn_error $? "GNOME support requested, but not available." "$LINENO" 5
14957 elif test $pkg_failed = untried; then
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14959 $as_echo "no" >&6; }
14960 as_fn_error $? "GNOME support requested, but not available." "$LINENO" 5
14962 LIBGSF_GNOME_CFLAGS=$pkg_cv_LIBGSF_GNOME_CFLAGS
14963 LIBGSF_GNOME_LIBS=$pkg_cv_LIBGSF_GNOME_LIBS
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14965 $as_echo "yes" >&6; }
14969 if test $have_gnome = yes; then
14970 WITH_LIBGSF_GNOME_TRUE=
14971 WITH_LIBGSF_GNOME_FALSE='#'
14973 WITH_LIBGSF_GNOME_TRUE='#'
14974 WITH_LIBGSF_GNOME_FALSE=
14977 if test $want_gnome_vfs = yes; then
14978 WITH_LIBGSF_GNOMEVFS_TRUE=
14979 WITH_LIBGSF_GNOMEVFS_FALSE='#'
14981 WITH_LIBGSF_GNOMEVFS_TRUE='#'
14982 WITH_LIBGSF_GNOMEVFS_FALSE=
14985 if test $have_bonobo = yes; then
14986 WITH_LIBGSF_BONOBO_TRUE=
14987 WITH_LIBGSF_BONOBO_FALSE='#'
14989 WITH_LIBGSF_BONOBO_TRUE='#'
14990 WITH_LIBGSF_BONOBO_FALSE=
14994 # ===================
14995 # GConf configuration
14997 # Check whether --with-gconf was given.
14998 if test "${with_gconf+set}" = set; then :
14999 withval=$with_gconf;
15005 if test "$with_gconf" != "no"; then :
15007 if test -n "$PKG_CONFIG" && \
15008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.24.0\""; } >&5
15009 ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.24.0") 2>&5
15011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15012 test $ac_status = 0; }; then
15014 # Extract the first word of "gconftool-2", so it can be a program name with args.
15015 set dummy gconftool-2; ac_word=$2
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15017 $as_echo_n "checking for $ac_word... " >&6; }
15018 if ${ac_cv_prog_GCONFTOOL+:} false; then :
15019 $as_echo_n "(cached) " >&6
15021 if test -n "$GCONFTOOL"; then
15022 ac_cv_prog_GCONFTOOL="$GCONFTOOL" # Let the user override the test.
15024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15025 for as_dir in $PATH
15028 test -z "$as_dir" && as_dir=.
15029 for ac_exec_ext in '' $ac_executable_extensions; do
15030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15031 ac_cv_prog_GCONFTOOL="gconftool-2"
15032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15039 test -z "$ac_cv_prog_GCONFTOOL" && ac_cv_prog_GCONFTOOL="no"
15042 GCONFTOOL=$ac_cv_prog_GCONFTOOL
15043 if test -n "$GCONFTOOL"; then
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
15045 $as_echo "$GCONFTOOL" >&6; }
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15048 $as_echo "no" >&6; }
15052 if test "$GCONFTOOL" = "no"; then :
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: thumbnailer will not be built, unable to find gconftool-2" >&5
15055 $as_echo "$as_me: WARNING: thumbnailer will not be built, unable to find gconftool-2" >&2;}
15072 if test "$have_gconf" = "yes"; then :
15076 if test "$with_gconf" = "yes"; then :
15077 as_fn_error $? "gconf support requested, but not available." "$LINENO" 5
15083 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
15084 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
15086 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
15090 # Check whether --with-gconf-source was given.
15091 if test "${with_gconf_source+set}" = set; then :
15092 withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
15098 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
15100 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
15101 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
15105 # Check whether --with-gconf-schema-file-dir was given.
15106 if test "${with_gconf_schema_file_dir+set}" = set; then :
15107 withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
15113 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
15115 # Check whether --enable-schemas-install was given.
15116 if test "${enable_schemas_install+set}" = set; then :
15117 enableval=$enable_schemas_install; case ${enableval} in
15119 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
15123 if test "$enable_schemas_install" != no; then
15124 GCONF_SCHEMAS_INSTALL_TRUE=
15125 GCONF_SCHEMAS_INSTALL_FALSE='#'
15127 GCONF_SCHEMAS_INSTALL_TRUE='#'
15128 GCONF_SCHEMAS_INSTALL_FALSE=
15132 if test "$have_gconf" = "yes"; then
15134 WITH_GCONF_FALSE='#'
15136 WITH_GCONF_TRUE='#'
15141 # ===================
15143 LDFLAGS="-no-undefined $LDFLAGS"
15145 ac_config_files="$ac_config_files Makefile m4/Makefile doc/Makefile gsf/Makefile gsf-gnome/Makefile gsf-win32/Makefile tests/Makefile tools/Makefile python/Makefile thumbnailer/Makefile po/Makefile.in gsf/version.c doc/version.xml libgsf-1.pc libgsf-1.spec libgsf-gnome-1.pc libgsf-gnome-1.spec libgsf-win32-1.pc libgsf-zip"
15147 cat >confcache <<\_ACEOF
15148 # This file is a shell script that caches the results of configure
15149 # tests run on this system so they can be shared between configure
15150 # scripts and configure runs, see configure's option --config-cache.
15151 # It is not useful on other systems. If it contains results you don't
15152 # want to keep, you may remove or edit it.
15154 # config.status only pays attention to the cache file if you give it
15155 # the --recheck option to rerun configure.
15157 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15158 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15159 # following values.
15163 # The following way of writing the cache mishandles newlines in values,
15164 # but we know of no workaround that is simple, portable, and efficient.
15165 # So, we kill variables containing newlines.
15166 # Ultrix sh set writes to stderr and can't be redirected directly,
15167 # and sets the high bit in the cache file unless we assign to the vars.
15169 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15170 eval ac_val=\$$ac_var
15174 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15175 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15178 _ | IFS | as_nl) ;; #(
15179 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15180 *) { eval $ac_var=; unset $ac_var;} ;;
15186 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15187 *${as_nl}ac_space=\ *)
15188 # `set' does not quote correctly, so add quotes: double-quote
15189 # substitution turns \\\\ into \\, and sed turns \\ into \.
15192 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15195 # `set' quotes correctly as required by POSIX, so do not add quotes.
15196 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15205 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15207 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15209 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15210 if test -w "$cache_file"; then
15211 if test "x$cache_file" != "x/dev/null"; then
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15213 $as_echo "$as_me: updating cache $cache_file" >&6;}
15214 if test ! -f "$cache_file" || test -h "$cache_file"; then
15215 cat confcache >"$cache_file"
15217 case $cache_file in #(
15219 mv -f confcache "$cache_file"$$ &&
15220 mv -f "$cache_file"$$ "$cache_file" ;; #(
15222 mv -f confcache "$cache_file" ;;
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15228 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15233 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15234 # Let make expand exec_prefix.
15235 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15237 DEFS=-DHAVE_CONFIG_H
15242 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15243 # 1. Remove the extension, and $U if already installed.
15244 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15245 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15246 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15247 # will be set to the directory where LIBOBJS objects are built.
15248 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15249 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15251 LIBOBJS=$ac_libobjs
15253 LTLIBOBJS=$ac_ltlibobjs
15256 if test -n "$EXEEXT"; then
15258 am__EXEEXT_FALSE='#'
15260 am__EXEEXT_TRUE='#'
15264 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15265 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15266 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15268 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15269 as_fn_error $? "conditional \"AMDEP\" was never defined.
15270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15272 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15273 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15277 ac_config_commands="$ac_config_commands po/stamp-it"
15280 if test -z "${WITH_WIN32_TRUE}" && test -z "${WITH_WIN32_FALSE}"; then
15281 as_fn_error $? "conditional \"WITH_WIN32\" was never defined.
15282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15284 if test -z "${HAVE_LIBEXE_TRUE}" && test -z "${HAVE_LIBEXE_FALSE}"; then
15285 as_fn_error $? "conditional \"HAVE_LIBEXE\" was never defined.
15286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15288 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
15289 as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
15290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15292 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15293 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15296 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15297 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15300 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15301 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15304 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15305 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15308 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15309 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15312 if test -z "${GTK_DOC_INSTALLED_TRUE}" && test -z "${GTK_DOC_INSTALLED_FALSE}"; then
15313 as_fn_error $? "conditional \"GTK_DOC_INSTALLED\" was never defined.
15314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15316 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
15317 as_fn_error $? "conditional \"WITH_PYTHON\" was never defined.
15318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15320 if test -z "${WITH_GIO_TRUE}" && test -z "${WITH_GIO_FALSE}"; then
15321 as_fn_error $? "conditional \"WITH_GIO\" was never defined.
15322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15324 if test -z "${WITH_LIBGSF_GNOME_TRUE}" && test -z "${WITH_LIBGSF_GNOME_FALSE}"; then
15325 as_fn_error $? "conditional \"WITH_LIBGSF_GNOME\" was never defined.
15326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15328 if test -z "${WITH_LIBGSF_GNOMEVFS_TRUE}" && test -z "${WITH_LIBGSF_GNOMEVFS_FALSE}"; then
15329 as_fn_error $? "conditional \"WITH_LIBGSF_GNOMEVFS\" was never defined.
15330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15332 if test -z "${WITH_LIBGSF_BONOBO_TRUE}" && test -z "${WITH_LIBGSF_BONOBO_FALSE}"; then
15333 as_fn_error $? "conditional \"WITH_LIBGSF_BONOBO\" was never defined.
15334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15336 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
15337 as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
15338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15340 if test -z "${WITH_GCONF_TRUE}" && test -z "${WITH_GCONF_FALSE}"; then
15341 as_fn_error $? "conditional \"WITH_GCONF\" was never defined.
15342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15345 : "${CONFIG_STATUS=./config.status}"
15347 ac_clean_files_save=$ac_clean_files
15348 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15350 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15352 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15354 # Generated by $as_me.
15355 # Run this file to recreate the current configuration.
15356 # Compiler output produced by configure, useful for debugging
15357 # configure, is in config.log if it exists.
15360 ac_cs_recheck=false
15363 SHELL=\${CONFIG_SHELL-$SHELL}
15366 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15367 ## -------------------- ##
15368 ## M4sh Initialization. ##
15369 ## -------------------- ##
15371 # Be more Bourne compatible
15372 DUALCASE=1; export DUALCASE # for MKS sh
15373 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15376 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15377 # is contrary to our usage. Disable this feature.
15378 alias -g '${1+"$@"}'='"$@"'
15379 setopt NO_GLOB_SUBST
15381 case `(set -o) 2>/dev/null` in #(
15393 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15394 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15395 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15396 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15397 # Prefer a ksh shell builtin over an external printf program on Solaris,
15398 # but without wasting forks for bash or zsh.
15399 if test -z "$BASH_VERSION$ZSH_VERSION" \
15400 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15401 as_echo='print -r --'
15402 as_echo_n='print -rn --'
15403 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15404 as_echo='printf %s\n'
15405 as_echo_n='printf %s'
15407 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15408 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15409 as_echo_n='/usr/ucb/echo -n'
15411 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15412 as_echo_n_body='eval
15416 expr "X$arg" : "X\\(.*\\)$as_nl";
15417 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15419 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15421 export as_echo_n_body
15422 as_echo_n='sh -c $as_echo_n_body as_echo'
15424 export as_echo_body
15425 as_echo='sh -c $as_echo_body as_echo'
15428 # The user is always right.
15429 if test "${PATH_SEPARATOR+set}" != set; then
15431 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15432 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15439 # We need space, tab and new line, in precisely that order. Quoting is
15440 # there to prevent editors from complaining about space-tab.
15441 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15442 # splitting by setting IFS to empty value.)
15445 # Find who we are. Look in the path if we contain no directory separator.
15448 *[\\/]* ) as_myself=$0 ;;
15449 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15450 for as_dir in $PATH
15453 test -z "$as_dir" && as_dir=.
15454 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15460 # We did not find ourselves, most probably we were run as `sh COMMAND'
15461 # in which case we are not to be found in the path.
15462 if test "x$as_myself" = x; then
15465 if test ! -f "$as_myself"; then
15466 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15470 # Unset variables that we do not need and which cause bugs (e.g. in
15471 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15472 # suppresses any "Segmentation fault" message there. '((' could
15473 # trigger a bug in pdksh 5.2.14.
15474 for as_var in BASH_ENV ENV MAIL MAILPATH
15475 do eval test x\${$as_var+set} = xset \
15476 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15489 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15492 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15493 # ----------------------------------------
15494 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15495 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15496 # script with STATUS, using 1 if that was 0.
15499 as_status=$1; test $as_status -eq 0 && as_status=1
15501 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15502 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15504 $as_echo "$as_me: error: $2" >&2
15505 as_fn_exit $as_status
15509 # as_fn_set_status STATUS
15510 # -----------------------
15511 # Set $? to STATUS, without forking.
15512 as_fn_set_status ()
15515 } # as_fn_set_status
15517 # as_fn_exit STATUS
15518 # -----------------
15519 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15523 as_fn_set_status $1
15529 # Portably unset VAR.
15532 { eval $1=; unset $1;}
15534 as_unset=as_fn_unset
15535 # as_fn_append VAR VALUE
15536 # ----------------------
15537 # Append the text in VALUE to the end of the definition contained in VAR. Take
15538 # advantage of any shell optimizations that allow amortized linear growth over
15539 # repeated appends, instead of the typical quadratic growth present in naive
15541 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15542 eval 'as_fn_append ()
15553 # as_fn_arith ARG...
15554 # ------------------
15555 # Perform arithmetic evaluation on the ARGs, and store the result in the
15556 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15557 # must be portable across $(()) and expr.
15558 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15559 eval 'as_fn_arith ()
15566 as_val=`expr "$@" || test $? -eq 1`
15571 if expr a : '\(a\)' >/dev/null 2>&1 &&
15572 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15578 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15579 as_basename=basename
15584 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15590 as_me=`$as_basename -- "$0" ||
15591 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15592 X"$0" : 'X\(//\)$' \| \
15593 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15595 sed '/^.*\/\([^/][^/]*\)\/*$/{
15609 # Avoid depending upon Character Ranges.
15610 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15611 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15612 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15613 as_cr_digits='0123456789'
15614 as_cr_alnum=$as_cr_Letters$as_cr_digits
15616 ECHO_C= ECHO_N= ECHO_T=
15617 case `echo -n x` in #(((((
15619 case `echo 'xy\c'` in
15620 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15622 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15629 rm -f conf$$ conf$$.exe conf$$.file
15630 if test -d conf$$.dir; then
15631 rm -f conf$$.dir/conf$$.file
15634 mkdir conf$$.dir 2>/dev/null
15636 if (echo >conf$$.file) 2>/dev/null; then
15637 if ln -s conf$$.file conf$$ 2>/dev/null; then
15639 # ... but there are two gotchas:
15640 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15641 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15642 # In both cases, we have to default to `cp -p'.
15643 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15645 elif ln conf$$.file conf$$ 2>/dev/null; then
15653 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15654 rmdir conf$$.dir 2>/dev/null
15659 # Create "$as_dir" as a directory, including parents if necessary.
15664 -*) as_dir=./$as_dir;;
15666 test -d "$as_dir" || eval $as_mkdir_p || {
15670 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15671 *) as_qdir=$as_dir;;
15673 as_dirs="'$as_qdir' $as_dirs"
15674 as_dir=`$as_dirname -- "$as_dir" ||
15675 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15676 X"$as_dir" : 'X\(//\)[^/]' \| \
15677 X"$as_dir" : 'X\(//\)$' \| \
15678 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15679 $as_echo X"$as_dir" |
15680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15684 /^X\(\/\/\)[^/].*/{
15697 test -d "$as_dir" && break
15699 test -z "$as_dirs" || eval "mkdir $as_dirs"
15700 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15704 if mkdir -p . 2>/dev/null; then
15705 as_mkdir_p='mkdir -p "$as_dir"'
15707 test -d ./-p && rmdir ./-p
15711 if test -x / >/dev/null 2>&1; then
15712 as_test_x='test -x'
15714 if ls -dL / >/dev/null 2>&1; then
15721 if test -d "$1"; then
15727 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15728 ???[sx]*):;;*)false;;esac;fi
15732 as_executable_p=$as_test_x
15734 # Sed expression to map a string onto a valid CPP name.
15735 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15737 # Sed expression to map a string onto a valid variable name.
15738 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15742 ## ----------------------------------- ##
15743 ## Main body of $CONFIG_STATUS script. ##
15744 ## ----------------------------------- ##
15746 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15749 # Save the log message, to keep $0 and so on meaningful, and to
15750 # report actual input values of CONFIG_FILES etc. instead of their
15751 # values after options handling.
15753 This file was extended by libgsf $as_me 1.14.21, which was
15754 generated by GNU Autoconf 2.68. Invocation command line was
15756 CONFIG_FILES = $CONFIG_FILES
15757 CONFIG_HEADERS = $CONFIG_HEADERS
15758 CONFIG_LINKS = $CONFIG_LINKS
15759 CONFIG_COMMANDS = $CONFIG_COMMANDS
15762 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15767 case $ac_config_files in *"
15768 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15771 case $ac_config_headers in *"
15772 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15777 # Files that config.status was made for.
15778 config_files="$ac_config_files"
15779 config_headers="$ac_config_headers"
15780 config_commands="$ac_config_commands"
15784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15786 \`$as_me' instantiates files and other configuration actions
15787 from templates according to the current configuration. Unless the files
15788 and actions are specified as TAGs, all are instantiated by default.
15790 Usage: $0 [OPTION]... [TAG]...
15792 -h, --help print this help, then exit
15793 -V, --version print version number and configuration settings, then exit
15794 --config print configuration, then exit
15795 -q, --quiet, --silent
15796 do not print progress messages
15797 -d, --debug don't remove temporary files
15798 --recheck update $as_me by reconfiguring in the same conditions
15799 --file=FILE[:TEMPLATE]
15800 instantiate the configuration file FILE
15801 --header=FILE[:TEMPLATE]
15802 instantiate the configuration header FILE
15804 Configuration files:
15807 Configuration headers:
15810 Configuration commands:
15813 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libgsf>."
15816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15817 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15819 libgsf config.status 1.14.21
15820 configured by $0, generated by GNU Autoconf 2.68,
15821 with options \\"\$ac_cs_config\\"
15823 Copyright (C) 2010 Free Software Foundation, Inc.
15824 This config.status script is free software; the Free Software Foundation
15825 gives unlimited permission to copy, distribute and modify it."
15832 test -n "\$AWK" || AWK=awk
15835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15836 # The default lists apply if the user does not specify any file.
15842 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15843 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15847 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15859 # Handling of the options.
15860 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15862 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15863 $as_echo "$ac_cs_version"; exit ;;
15864 --config | --confi | --conf | --con | --co | --c )
15865 $as_echo "$ac_cs_config"; exit ;;
15866 --debug | --debu | --deb | --de | --d | -d )
15868 --file | --fil | --fi | --f )
15871 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15872 '') as_fn_error $? "missing file argument" ;;
15874 as_fn_append CONFIG_FILES " '$ac_optarg'"
15875 ac_need_defaults=false;;
15876 --header | --heade | --head | --hea )
15879 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15881 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15882 ac_need_defaults=false;;
15884 # Conflict between --help and --header
15885 as_fn_error $? "ambiguous option: \`$1'
15886 Try \`$0 --help' for more information.";;
15887 --help | --hel | -h )
15888 $as_echo "$ac_cs_usage"; exit ;;
15889 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15890 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15893 # This is an error.
15894 -*) as_fn_error $? "unrecognized option: \`$1'
15895 Try \`$0 --help' for more information." ;;
15897 *) as_fn_append ac_config_targets " $1"
15898 ac_need_defaults=false ;;
15904 ac_configure_extra_args=
15906 if $ac_cs_silent; then
15908 ac_configure_extra_args="$ac_configure_extra_args --silent"
15912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15913 if \$ac_cs_recheck; then
15914 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15916 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15917 CONFIG_SHELL='$SHELL'
15918 export CONFIG_SHELL
15923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15927 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15928 ## Running $as_me. ##
15934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15938 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15941 # The HP-UX ksh and POSIX shell print the target directory to stdout
15942 # if CDPATH is set.
15943 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15945 sed_quote_subst='$sed_quote_subst'
15946 double_quote_subst='$double_quote_subst'
15947 delay_variable_subst='$delay_variable_subst'
15948 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
15949 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15950 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15951 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15952 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15953 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15954 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15955 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15956 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15957 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15958 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15959 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15960 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15961 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15962 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15963 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15964 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15965 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15966 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15967 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15968 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15969 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15970 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15971 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15972 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15973 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15974 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15975 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15976 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15977 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15978 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15979 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15980 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15981 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15982 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15983 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15984 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15985 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15986 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15987 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15988 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15989 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15990 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15991 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15992 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15993 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15994 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"`'
15995 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"`'
15996 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15997 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15998 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15999 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16000 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16001 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16002 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16003 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16004 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16005 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16006 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16007 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16008 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16009 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16010 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16011 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16012 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16013 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16014 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16015 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16016 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16017 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16018 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16019 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16020 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16021 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16022 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16023 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16024 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16025 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16026 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16027 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16028 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16029 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16030 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16031 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16032 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16033 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16034 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16035 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16036 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16037 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16038 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16039 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16040 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16041 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16042 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16043 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16044 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16045 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16046 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16047 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16048 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16049 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16050 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16051 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16052 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16053 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16054 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16055 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16056 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16057 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16058 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16059 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16060 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16061 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16062 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16063 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16064 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16065 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16066 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16067 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16070 LTCFLAGS='$LTCFLAGS'
16071 compiler='$compiler_DEFAULT'
16073 # Quote evaled strings.
16084 deplibs_check_method \
16093 lt_cv_sys_global_symbol_pipe \
16094 lt_cv_sys_global_symbol_to_cdecl \
16095 lt_cv_sys_global_symbol_to_c_name_address \
16096 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16099 lt_prog_compiler_no_builtin_flag \
16100 lt_prog_compiler_wl \
16101 lt_prog_compiler_pic \
16102 lt_prog_compiler_static \
16103 lt_cv_prog_compiler_c_o \
16111 export_dynamic_flag_spec \
16112 whole_archive_flag_spec \
16113 compiler_needs_object \
16115 allow_undefined_flag \
16116 no_undefined_flag \
16117 hardcode_libdir_flag_spec \
16118 hardcode_libdir_flag_spec_ld \
16119 hardcode_libdir_separator \
16124 variables_saved_for_relink \
16126 library_names_spec \
16131 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16132 *[\\\\\\\`\\"\\\$]*)
16133 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16136 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16141 # Double-quote double-evaled strings.
16142 for var in reload_cmds \
16143 old_postinstall_cmds \
16144 old_postuninstall_cmds \
16146 extract_expsyms_cmds \
16147 old_archive_from_new_cmds \
16148 old_archive_from_expsyms_cmds \
16150 archive_expsym_cmds \
16152 module_expsym_cmds \
16153 export_symbols_cmds \
16156 postuninstall_cmds \
16158 sys_lib_search_path_spec \
16159 sys_lib_dlsearch_path_spec; do
16160 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16161 *[\\\\\\\`\\"\\\$]*)
16162 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16165 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16170 # Fix-up fallback echo if it was mangled by the above quoting rules.
16172 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16176 ac_aux_dir='$ac_aux_dir'
16177 xsi_shell='$xsi_shell'
16178 lt_shell_append='$lt_shell_append'
16180 # See if we are running on zsh, and set the options which allow our
16181 # commands through without removal of \ escapes INIT.
16182 if test -n "\${ZSH_VERSION+set}" ; then
16183 setopt NO_GLOB_SUBST
16189 TIMESTAMP='$TIMESTAMP'
16199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16201 # Handling of arguments.
16202 for ac_config_target in $ac_config_targets
16204 case $ac_config_target in
16205 "gsf-config.h") CONFIG_HEADERS="$CONFIG_HEADERS gsf-config.h" ;;
16206 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16207 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16208 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16209 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16210 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
16211 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16212 "gsf/Makefile") CONFIG_FILES="$CONFIG_FILES gsf/Makefile" ;;
16213 "gsf-gnome/Makefile") CONFIG_FILES="$CONFIG_FILES gsf-gnome/Makefile" ;;
16214 "gsf-win32/Makefile") CONFIG_FILES="$CONFIG_FILES gsf-win32/Makefile" ;;
16215 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16216 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16217 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
16218 "thumbnailer/Makefile") CONFIG_FILES="$CONFIG_FILES thumbnailer/Makefile" ;;
16219 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16220 "gsf/version.c") CONFIG_FILES="$CONFIG_FILES gsf/version.c" ;;
16221 "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;;
16222 "libgsf-1.pc") CONFIG_FILES="$CONFIG_FILES libgsf-1.pc" ;;
16223 "libgsf-1.spec") CONFIG_FILES="$CONFIG_FILES libgsf-1.spec" ;;
16224 "libgsf-gnome-1.pc") CONFIG_FILES="$CONFIG_FILES libgsf-gnome-1.pc" ;;
16225 "libgsf-gnome-1.spec") CONFIG_FILES="$CONFIG_FILES libgsf-gnome-1.spec" ;;
16226 "libgsf-win32-1.pc") CONFIG_FILES="$CONFIG_FILES libgsf-win32-1.pc" ;;
16227 "libgsf-zip") CONFIG_FILES="$CONFIG_FILES libgsf-zip" ;;
16228 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16230 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16235 # If the user did not use the arguments to specify the items to instantiate,
16236 # then the envvar interface is used. Set only those that are not.
16237 # We use the long form for the default assignment because of an extremely
16238 # bizarre bug on SunOS 4.1.3.
16239 if $ac_need_defaults; then
16240 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16241 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16242 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16245 # Have a temporary directory for convenience. Make it in the build tree
16246 # simply because there is no reason against having it here, and in addition,
16247 # creating and moving files from /tmp can sometimes cause problems.
16248 # Hook for its removal unless debugging.
16249 # Note that there is a small window in which the directory will not be cleaned:
16250 # after its creation but before its name has been assigned to `$tmp'.
16254 trap 'exit_status=$?
16255 : "${ac_tmp:=$tmp}"
16256 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16258 trap 'as_fn_exit 1' 1 2 13 15
16260 # Create a (secure) tmp directory for tmp files.
16263 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16267 tmp=./conf$$-$RANDOM
16268 (umask 077 && mkdir "$tmp")
16269 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16272 # Set up the scripts for CONFIG_FILES section.
16273 # No need to generate them if there are no CONFIG_FILES.
16274 # This happens for instance with `./config.status config.h'.
16275 if test -n "$CONFIG_FILES"; then
16278 ac_cr=`echo X | tr X '\015'`
16279 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16280 # But we know of no other shell where ac_cr would be empty at this
16281 # point, so we can use a bashism as a fallback.
16282 if test "x$ac_cr" = x; then
16283 eval ac_cr=\$\'\\r\'
16285 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16286 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16289 ac_cs_awk_cr=$ac_cr
16292 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16297 echo "cat >conf$$subs.awk <<_ACEOF" &&
16298 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16300 } >conf$$subs.sh ||
16301 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16302 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16304 for ac_last_try in false false false false false :; do
16305 . ./conf$$subs.sh ||
16306 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16308 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16309 if test $ac_delim_n = $ac_delim_num; then
16311 elif $ac_last_try; then
16312 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16314 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16317 rm -f conf$$subs.sh
16319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16320 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16324 s/^/S["/; s/!.*/"]=/
16334 s/\(.\{148\}\)..*/\1/
16336 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16341 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16348 s/\(.\{148\}\)..*/\1/
16350 s/["\\]/\\&/g; s/^/"/; s/$/"/
16354 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16359 ' <conf$$subs.awk | sed '
16364 ' >>$CONFIG_STATUS || ac_write_fail=1
16365 rm -f conf$$subs.awk
16366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16368 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16369 for (key in S) S_is_set[key] = 1
16375 nfields = split(line, field, "@")
16377 len = length(field[1])
16378 for (i = 2; i < nfields; i++) {
16380 keylen = length(key)
16381 if (S_is_set[key]) {
16383 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16384 len += length(value) + length(field[++i])
16395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16396 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16397 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16400 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16401 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16404 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16405 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16406 # trailing colons and then remove the whole line if VPATH becomes empty
16407 # (actually we leave an empty line to preserve line numbers).
16408 if test "x$srcdir" = x.; then
16409 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16428 fi # test -n "$CONFIG_FILES"
16430 # Set up the scripts for CONFIG_HEADERS section.
16431 # No need to generate them if there are no CONFIG_HEADERS.
16432 # This happens for instance with `./config.status Makefile'.
16433 if test -n "$CONFIG_HEADERS"; then
16434 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16438 # Transform confdefs.h into an awk script `defines.awk', embedded as
16439 # here-document in config.status, that substitutes the proper values into
16440 # config.h.in to produce config.h.
16442 # Create a delimiter string that does not exist in confdefs.h, to ease
16443 # handling of long lines.
16445 for ac_last_try in false false :; do
16446 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16447 if test -z "$ac_tt"; then
16449 elif $ac_last_try; then
16450 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16452 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16456 # For the awk script, D is an array of macro values keyed by name,
16457 # likewise P contains macro parameters if any. Preserve backslash
16458 # newline sequences.
16460 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16462 s/.\{148\}/&'"$ac_delim"'/g
16465 s/^[ ]*#[ ]*define[ ][ ]*/ /
16472 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16474 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16478 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16479 D["\1"]=" \3\\\\\\n"\\/p
16481 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16486 s/.\{148\}/&'"$ac_delim"'/g
16491 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16494 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16496 ' <confdefs.h | sed '
16497 s/'"$ac_delim"'/"\\\
16498 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16501 for (key in D) D_is_set[key] = 1
16504 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16506 split(line, arg, " ")
16507 if (arg[1] == "#") {
16511 defundef = substr(arg[1], 2)
16514 split(mac1, mac2, "(") #)
16516 prefix = substr(line, 1, index(line, defundef) - 1)
16517 if (D_is_set[macro]) {
16518 # Preserve the white space surrounding the "#".
16519 print prefix "define", macro P[macro] D[macro]
16522 # Replace #undef with comments. This is necessary, for example,
16523 # in the case of _POSIX_SOURCE, which is predefined and required
16524 # on some systems where configure will not decide to define it.
16525 if (defundef == "undef") {
16526 print "/*", prefix defundef, macro, "*/"
16534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16535 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16536 fi # test -n "$CONFIG_HEADERS"
16539 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16544 :[FHLC]) ac_mode=$ac_tag; continue;;
16546 case $ac_mode$ac_tag in
16548 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16549 :[FH]-) ac_tag=-:-;;
16550 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16567 -) ac_f="$ac_tmp/stdin";;
16568 *) # Look for the file first in the build tree, then in the source tree
16569 # (if the path is not absolute). The absolute path cannot be DOS-style,
16570 # because $ac_f cannot contain `:'.
16574 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16576 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16578 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16579 as_fn_append ac_file_inputs " '$ac_f'"
16582 # Let's still pretend it is `configure' which instantiates (i.e., don't
16583 # use $as_me), people would be surprised to read:
16584 # /* config.h. Generated by config.status. */
16585 configure_input='Generated from '`
16586 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16588 if test x"$ac_file" != x-; then
16589 configure_input="$ac_file. $configure_input"
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16591 $as_echo "$as_me: creating $ac_file" >&6;}
16593 # Neutralize special characters interpreted by sed in replacement strings.
16594 case $configure_input in #(
16595 *\&* | *\|* | *\\* )
16596 ac_sed_conf_input=`$as_echo "$configure_input" |
16597 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16598 *) ac_sed_conf_input=$configure_input;;
16602 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16603 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16608 ac_dir=`$as_dirname -- "$ac_file" ||
16609 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16610 X"$ac_file" : 'X\(//\)[^/]' \| \
16611 X"$ac_file" : 'X\(//\)$' \| \
16612 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16613 $as_echo X"$ac_file" |
16614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16618 /^X\(\/\/\)[^/].*/{
16631 as_dir="$ac_dir"; as_fn_mkdir_p
16635 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16637 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16638 # A ".." for each directory in $ac_dir_suffix.
16639 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16640 case $ac_top_builddir_sub in
16641 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16642 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16645 ac_abs_top_builddir=$ac_pwd
16646 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16647 # for backward compatibility:
16648 ac_top_builddir=$ac_top_build_prefix
16651 .) # We are building in place.
16653 ac_top_srcdir=$ac_top_builddir_sub
16654 ac_abs_top_srcdir=$ac_pwd ;;
16655 [\\/]* | ?:[\\/]* ) # Absolute name.
16656 ac_srcdir=$srcdir$ac_dir_suffix;
16657 ac_top_srcdir=$srcdir
16658 ac_abs_top_srcdir=$srcdir ;;
16659 *) # Relative name.
16660 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16661 ac_top_srcdir=$ac_top_build_prefix$srcdir
16662 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16664 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16674 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16675 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16677 ac_MKDIR_P=$MKDIR_P
16679 [\\/$]* | ?:[\\/]* ) ;;
16680 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16685 # If the template does not know about datarootdir, expand it.
16686 # FIXME: This hack should be removed a few years after 2.60.
16687 ac_datarootdir_hack=; ac_datarootdir_seen=
16698 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16699 *datarootdir*) ac_datarootdir_seen=yes;;
16700 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16702 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16705 ac_datarootdir_hack='
16706 s&@datadir@&$datadir&g
16707 s&@docdir@&$docdir&g
16708 s&@infodir@&$infodir&g
16709 s&@localedir@&$localedir&g
16710 s&@mandir@&$mandir&g
16711 s&\\\${datarootdir}&$datarootdir&g' ;;
16715 # Neutralize VPATH when `$srcdir' = `.'.
16716 # Shell code in configure.ac might set extrasub.
16717 # FIXME: do we really want to maintain this feature?
16718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16719 ac_sed_extra="$ac_vpsub
16722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16724 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16725 s|@configure_input@|$ac_sed_conf_input|;t t
16726 s&@top_builddir@&$ac_top_builddir_sub&;t t
16727 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16728 s&@srcdir@&$ac_srcdir&;t t
16729 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16730 s&@top_srcdir@&$ac_top_srcdir&;t t
16731 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16732 s&@builddir@&$ac_builddir&;t t
16733 s&@abs_builddir@&$ac_abs_builddir&;t t
16734 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16735 s&@INSTALL@&$ac_INSTALL&;t t
16736 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16737 $ac_datarootdir_hack
16739 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16740 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16742 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16743 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16744 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16745 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16747 which seems to be undefined. Please make sure it is defined" >&5
16748 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16749 which seems to be undefined. Please make sure it is defined" >&2;}
16751 rm -f "$ac_tmp/stdin"
16753 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16754 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16756 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16762 if test x"$ac_file" != x-; then
16764 $as_echo "/* $configure_input */" \
16765 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16766 } >"$ac_tmp/config.h" \
16767 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16768 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16770 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16773 mv "$ac_tmp/config.h" "$ac_file" \
16774 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16777 $as_echo "/* $configure_input */" \
16778 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16779 || as_fn_error $? "could not create -" "$LINENO" 5
16781 # Compute "$ac_file"'s index in $config_headers.
16784 for _am_header in $config_headers :; do
16785 case $_am_header in
16786 $_am_arg | $_am_arg:* )
16789 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16792 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16793 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16794 X"$_am_arg" : 'X\(//\)[^/]' \| \
16795 X"$_am_arg" : 'X\(//\)$' \| \
16796 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16797 $as_echo X"$_am_arg" |
16798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16802 /^X\(\/\/\)[^/].*/{
16814 s/.*/./; q'`/stamp-h$_am_stamp_count
16817 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16818 $as_echo "$as_me: executing $ac_file commands" >&6;}
16823 case $ac_file$ac_mode in
16824 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16825 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16826 # are listed without --file. Let's play safe and only enable the eval
16827 # if we detect the quoting.
16828 case $CONFIG_FILES in
16829 *\'*) eval set x "$CONFIG_FILES" ;;
16830 *) set x $CONFIG_FILES ;;
16835 # Strip MF so we end up with the name of the file.
16836 mf=`echo "$mf" | sed -e 's/:.*$//'`
16837 # Check whether this is an Automake generated Makefile or not.
16838 # We used to match only the files named `Makefile.in', but
16839 # some people rename them; so instead we look at the file content.
16840 # Grep'ing the first line is not enough: some people post-process
16841 # each Makefile.in and add a new line on top of each file to say so.
16842 # Grep'ing the whole file is not good either: AIX grep has a line
16843 # limit of 2048, but all sed's we know have understand at least 4000.
16844 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16845 dirpart=`$as_dirname -- "$mf" ||
16846 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16847 X"$mf" : 'X\(//\)[^/]' \| \
16848 X"$mf" : 'X\(//\)$' \| \
16849 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16855 /^X\(\/\/\)[^/].*/{
16871 # Extract the definition of DEPDIR, am__include, and am__quote
16872 # from the Makefile without running `make'.
16873 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16874 test -z "$DEPDIR" && continue
16875 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16876 test -z "am__include" && continue
16877 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16878 # When using ansi2knr, U may be empty or an underscore; expand it
16879 U=`sed -n 's/^U = //p' < "$mf"`
16880 # Find all dependency output files, they are included files with
16881 # $(DEPDIR) in their names. We invoke sed twice because it is the
16882 # simplest approach to changing $(DEPDIR) to its actual value in the
16884 for file in `sed -n "
16885 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16886 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16887 # Make sure the directory exists.
16888 test -f "$dirpart/$file" && continue
16889 fdir=`$as_dirname -- "$file" ||
16890 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16891 X"$file" : 'X\(//\)[^/]' \| \
16892 X"$file" : 'X\(//\)$' \| \
16893 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16894 $as_echo X"$file" |
16895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16899 /^X\(\/\/\)[^/].*/{
16912 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16913 # echo "creating $dirpart/$file"
16914 echo '# dummy' > "$dirpart/$file"
16921 # See if we are running on zsh, and set the options which allow our
16922 # commands through without removal of \ escapes.
16923 if test -n "${ZSH_VERSION+set}" ; then
16924 setopt NO_GLOB_SUBST
16927 cfgfile="${ofile}T"
16928 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16931 cat <<_LT_EOF >> "$cfgfile"
16934 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16935 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16936 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16938 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16939 # 2006, 2007, 2008 Free Software Foundation, Inc.
16940 # Written by Gordon Matzigkeit, 1996
16942 # This file is part of GNU Libtool.
16944 # GNU Libtool is free software; you can redistribute it and/or
16945 # modify it under the terms of the GNU General Public License as
16946 # published by the Free Software Foundation; either version 2 of
16947 # the License, or (at your option) any later version.
16949 # As a special exception to the GNU General Public License,
16950 # if you distribute this file as part of a program or library that
16951 # is built using GNU Libtool, you may include this file under the
16952 # same distribution terms that you use for the rest of that program.
16954 # GNU Libtool is distributed in the hope that it will be useful,
16955 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16956 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16957 # GNU General Public License for more details.
16959 # You should have received a copy of the GNU General Public License
16960 # along with GNU Libtool; see the file COPYING. If not, a copy
16961 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16962 # obtained by writing to the Free Software Foundation, Inc.,
16963 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16966 # The names of the tagged configurations supported by this script.
16969 # ### BEGIN LIBTOOL CONFIG
16971 # Assembler program.
16974 # DLL creation program.
16977 # Object dumper program.
16980 # Which release of libtool.m4 was used?
16981 macro_version=$macro_version
16982 macro_revision=$macro_revision
16984 # Whether or not to build shared libraries.
16985 build_libtool_libs=$enable_shared
16987 # Whether or not to build static libraries.
16988 build_old_libs=$enable_static
16990 # What type of objects to build.
16993 # Whether or not to optimize for fast installation.
16994 fast_install=$enable_fast_install
16997 host_alias=$host_alias
17001 # The build system.
17002 build_alias=$build_alias
17006 # A sed program that does not truncate output.
17009 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17010 Xsed="\$SED -e 1s/^X//"
17012 # A grep program that handles long lines.
17018 # A literal string matcher.
17021 # A BSD- or MS-compatible name lister.
17024 # Whether we need soft or hard links.
17027 # What is the maximum length of a command?
17028 max_cmd_len=$max_cmd_len
17030 # Object file suffix (normally "o").
17033 # Executable file suffix (normally "").
17036 # whether the shell understands "unset".
17039 # turn spaces into newlines.
17042 # turn newlines into spaces.
17045 # How to create reloadable object files.
17046 reload_flag=$lt_reload_flag
17047 reload_cmds=$lt_reload_cmds
17049 # Method to check whether dependent libraries are shared objects.
17050 deplibs_check_method=$lt_deplibs_check_method
17052 # Command to use when deplibs_check_method == "file_magic".
17053 file_magic_cmd=$lt_file_magic_cmd
17057 AR_FLAGS=$lt_AR_FLAGS
17059 # A symbol stripping program.
17062 # Commands used to install an old-style archive.
17064 old_postinstall_cmds=$lt_old_postinstall_cmds
17065 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17070 # LTCC compiler flags.
17071 LTCFLAGS=$lt_CFLAGS
17073 # Take the output of nm and produce a listing of raw symbols and C names.
17074 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17076 # Transform the output of nm in a proper C declaration.
17077 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17079 # Transform the output of nm in a C name address pair.
17080 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17082 # Transform the output of nm in a C name address pair when lib prefix is needed.
17083 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17085 # The name of the directory that contains temporary libtool files.
17088 # Shell to use when invoking shell scripts.
17091 # An echo program that does not interpret backslashes.
17094 # Used to examine libraries when file_magic_cmd begins with "file".
17095 MAGIC_CMD=$MAGIC_CMD
17097 # Must we lock files when doing compilation?
17098 need_locks=$lt_need_locks
17100 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17101 DSYMUTIL=$lt_DSYMUTIL
17103 # Tool to change global to local symbols on Mac OS X.
17106 # Tool to manipulate fat objects and archives on Mac OS X.
17109 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17112 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17113 OTOOL64=$lt_OTOOL64
17115 # Old archive suffix (normally "a").
17118 # Shared library suffix (normally ".so").
17119 shrext_cmds=$lt_shrext_cmds
17121 # The commands to extract the exported symbol list from a shared archive.
17122 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17124 # Variables whose values should be saved in libtool wrapper scripts and
17125 # restored at link time.
17126 variables_saved_for_relink=$lt_variables_saved_for_relink
17128 # Do we need the "lib" prefix for modules?
17129 need_lib_prefix=$need_lib_prefix
17131 # Do we need a version for libraries?
17132 need_version=$need_version
17134 # Library versioning type.
17135 version_type=$version_type
17137 # Shared library runtime path variable.
17138 runpath_var=$runpath_var
17140 # Shared library path variable.
17141 shlibpath_var=$shlibpath_var
17143 # Is shlibpath searched before the hard-coded library search path?
17144 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17146 # Format of library name prefix.
17147 libname_spec=$lt_libname_spec
17149 # List of archive names. First name is the real one, the rest are links.
17150 # The last name is the one that the linker finds with -lNAME
17151 library_names_spec=$lt_library_names_spec
17153 # The coded name of the library, if different from the real name.
17154 soname_spec=$lt_soname_spec
17156 # Command to use after installation of a shared archive.
17157 postinstall_cmds=$lt_postinstall_cmds
17159 # Command to use after uninstallation of a shared archive.
17160 postuninstall_cmds=$lt_postuninstall_cmds
17162 # Commands used to finish a libtool library installation in a directory.
17163 finish_cmds=$lt_finish_cmds
17165 # As "finish_cmds", except a single script fragment to be evaled but
17167 finish_eval=$lt_finish_eval
17169 # Whether we should hardcode library paths into libraries.
17170 hardcode_into_libs=$hardcode_into_libs
17172 # Compile-time system search path for libraries.
17173 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17175 # Run-time system search path for libraries.
17176 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17178 # Whether dlopen is supported.
17179 dlopen_support=$enable_dlopen
17181 # Whether dlopen of programs is supported.
17182 dlopen_self=$enable_dlopen_self
17184 # Whether dlopen of statically linked programs is supported.
17185 dlopen_self_static=$enable_dlopen_self_static
17187 # Commands to strip libraries.
17188 old_striplib=$lt_old_striplib
17189 striplib=$lt_striplib
17192 # The linker used to build libraries.
17195 # Commands used to build an old-style archive.
17196 old_archive_cmds=$lt_old_archive_cmds
17198 # A language specific compiler.
17201 # Is the compiler the GNU compiler?
17204 # Compiler flag to turn off builtin functions.
17205 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17207 # How to pass a linker flag through the compiler.
17208 wl=$lt_lt_prog_compiler_wl
17210 # Additional compiler flags for building library objects.
17211 pic_flag=$lt_lt_prog_compiler_pic
17213 # Compiler flag to prevent dynamic linking.
17214 link_static_flag=$lt_lt_prog_compiler_static
17216 # Does compiler simultaneously support -c and -o options?
17217 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17219 # Whether or not to add -lc for building shared libraries.
17220 build_libtool_need_lc=$archive_cmds_need_lc
17222 # Whether or not to disallow shared libs when runtime libs are static.
17223 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17225 # Compiler flag to allow reflexive dlopens.
17226 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17228 # Compiler flag to generate shared objects directly from archives.
17229 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17231 # Whether the compiler copes with passing no objects directly.
17232 compiler_needs_object=$lt_compiler_needs_object
17234 # Create an old-style archive from a shared archive.
17235 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17237 # Create a temporary old-style archive to link instead of a shared archive.
17238 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17240 # Commands used to build a shared archive.
17241 archive_cmds=$lt_archive_cmds
17242 archive_expsym_cmds=$lt_archive_expsym_cmds
17244 # Commands used to build a loadable module if different from building
17245 # a shared archive.
17246 module_cmds=$lt_module_cmds
17247 module_expsym_cmds=$lt_module_expsym_cmds
17249 # Whether we are building with GNU ld or not.
17250 with_gnu_ld=$lt_with_gnu_ld
17252 # Flag that allows shared libraries with undefined symbols to be built.
17253 allow_undefined_flag=$lt_allow_undefined_flag
17255 # Flag that enforces no undefined symbols.
17256 no_undefined_flag=$lt_no_undefined_flag
17258 # Flag to hardcode \$libdir into a binary during linking.
17259 # This must work even if \$libdir does not exist
17260 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17262 # If ld is used when linking, flag to hardcode \$libdir into a binary
17263 # during linking. This must work even if \$libdir does not exist.
17264 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17266 # Whether we need a single "-rpath" flag with a separated argument.
17267 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17269 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17270 # DIR into the resulting binary.
17271 hardcode_direct=$hardcode_direct
17273 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17274 # DIR into the resulting binary and the resulting library dependency is
17275 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17276 # library is relocated.
17277 hardcode_direct_absolute=$hardcode_direct_absolute
17279 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17280 # into the resulting binary.
17281 hardcode_minus_L=$hardcode_minus_L
17283 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17284 # into the resulting binary.
17285 hardcode_shlibpath_var=$hardcode_shlibpath_var
17287 # Set to "yes" if building a shared library automatically hardcodes DIR
17288 # into the library and all subsequent libraries and executables linked
17290 hardcode_automatic=$hardcode_automatic
17292 # Set to yes if linker adds runtime paths of dependent libraries
17293 # to runtime path list.
17294 inherit_rpath=$inherit_rpath
17296 # Whether libtool must link a program against all its dependency libraries.
17297 link_all_deplibs=$link_all_deplibs
17299 # Fix the shell variable \$srcfile for the compiler.
17300 fix_srcfile_path=$lt_fix_srcfile_path
17302 # Set to "yes" if exported symbols are required.
17303 always_export_symbols=$always_export_symbols
17305 # The commands to list exported symbols.
17306 export_symbols_cmds=$lt_export_symbols_cmds
17308 # Symbols that should not be listed in the preloaded symbols.
17309 exclude_expsyms=$lt_exclude_expsyms
17311 # Symbols that must always be exported.
17312 include_expsyms=$lt_include_expsyms
17314 # Commands necessary for linking programs (against libraries) with templates.
17315 prelink_cmds=$lt_prelink_cmds
17317 # Specify filename containing input files.
17318 file_list_spec=$lt_file_list_spec
17320 # How to hardcode a shared library path into an executable.
17321 hardcode_action=$hardcode_action
17323 # ### END LIBTOOL CONFIG
17329 cat <<\_LT_EOF >> "$cfgfile"
17330 # AIX sometimes has problems with the GCC collect2 program. For some
17331 # reason, if we set the COLLECT_NAMES environment variable, the problems
17332 # vanish in a puff of smoke.
17333 if test "X${COLLECT_NAMES+set}" != Xset; then
17335 export COLLECT_NAMES
17342 ltmain="$ac_aux_dir/ltmain.sh"
17345 # We use sed instead of cat because bash on DJGPP gets confused if
17346 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17347 # text mode, it properly converts lines to CR/LF. This bash problem
17348 # is reportedly fixed, but why not run on old versions too?
17349 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17350 || (rm -f "$cfgfile"; exit 1)
17354 cat << \_LT_EOF >> "$cfgfile"
17356 # func_dirname file append nondir_replacement
17357 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17358 # otherwise set result to NONDIR_REPLACEMENT.
17362 */*) func_dirname_result="${1%/*}${2}" ;;
17363 * ) func_dirname_result="${3}" ;;
17367 # func_basename file
17370 func_basename_result="${1##*/}"
17373 # func_dirname_and_basename file append nondir_replacement
17374 # perform func_basename and func_dirname in a single function
17376 # dirname: Compute the dirname of FILE. If nonempty,
17377 # add APPEND to the result, otherwise set result
17378 # to NONDIR_REPLACEMENT.
17379 # value returned in "$func_dirname_result"
17380 # basename: Compute filename of FILE.
17381 # value retuned in "$func_basename_result"
17382 # Implementation must be kept synchronized with func_dirname
17383 # and func_basename. For efficiency, we do not delegate to
17384 # those functions but instead duplicate the functionality here.
17385 func_dirname_and_basename ()
17388 */*) func_dirname_result="${1%/*}${2}" ;;
17389 * ) func_dirname_result="${3}" ;;
17391 func_basename_result="${1##*/}"
17394 # func_stripname prefix suffix name
17395 # strip PREFIX and SUFFIX off of NAME.
17396 # PREFIX and SUFFIX must not contain globbing or regex special
17397 # characters, hashes, percent signs, but SUFFIX may contain a leading
17398 # dot (in which case that matches only a dot).
17401 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17402 # positional parameters, so assign one to ordinary parameter first.
17403 func_stripname_result=${3}
17404 func_stripname_result=${func_stripname_result#"${1}"}
17405 func_stripname_result=${func_stripname_result%"${2}"}
17411 func_opt_split_opt=${1%%=*}
17412 func_opt_split_arg=${1#*=}
17419 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17420 *) func_lo2o_result=${1} ;;
17424 # func_xform libobj-or-source
17427 func_xform_result=${1%.*}.lo
17430 # func_arith arithmetic-term...
17433 func_arith_result=$(( $* ))
17437 # STRING may not start with a hyphen.
17440 func_len_result=${#1}
17445 *) # Bourne compatible functions.
17446 cat << \_LT_EOF >> "$cfgfile"
17448 # func_dirname file append nondir_replacement
17449 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17450 # otherwise set result to NONDIR_REPLACEMENT.
17453 # Extract subdirectory from the argument.
17454 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17455 if test "X$func_dirname_result" = "X${1}"; then
17456 func_dirname_result="${3}"
17458 func_dirname_result="$func_dirname_result${2}"
17462 # func_basename file
17465 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17469 # func_stripname prefix suffix name
17470 # strip PREFIX and SUFFIX off of NAME.
17471 # PREFIX and SUFFIX must not contain globbing or regex special
17472 # characters, hashes, percent signs, but SUFFIX may contain a leading
17473 # dot (in which case that matches only a dot).
17474 # func_strip_suffix prefix name
17478 .*) func_stripname_result=`$ECHO "X${3}" \
17479 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17480 *) func_stripname_result=`$ECHO "X${3}" \
17481 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17486 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17487 my_sed_long_arg='1s/^-[^=]*=//'
17492 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17493 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17499 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17502 # func_xform libobj-or-source
17505 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17508 # func_arith arithmetic-term...
17511 func_arith_result=`expr "$@"`
17515 # STRING may not start with a hyphen.
17518 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17524 case $lt_shell_append in
17526 cat << \_LT_EOF >> "$cfgfile"
17528 # func_append var value
17529 # Append VALUE to the end of shell variable VAR.
17537 cat << \_LT_EOF >> "$cfgfile"
17539 # func_append var value
17540 # Append VALUE to the end of shell variable VAR.
17551 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17552 || (rm -f "$cfgfile"; exit 1)
17554 mv -f "$cfgfile" "$ofile" ||
17555 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17559 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17560 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17563 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17564 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17566 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17571 '"s|^| $ac_top_srcdir/|" \
17572 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17574 sed '/^POTFILES =/,/[^\\]$/ {
17578 ' "po/Makefile.in" >"po/Makefile"
17579 rm -f "po/Makefile.tmp"
17580 mv "po/stamp-it.tmp" "po/stamp-it"
17589 ac_clean_files=$ac_clean_files_save
17591 test $ac_write_fail = 0 ||
17592 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17595 # configure is writing to config.log, and then calls config.status.
17596 # config.status does its own redirection, appending to config.log.
17597 # Unfortunately, on DOS this fails, as config.log is still kept open
17598 # by configure, so config.status won't be able to write to it; its
17599 # output is simply discarded. So we exec the FD to /dev/null,
17600 # effectively closing config.log, so it can be properly (re)opened and
17601 # appended to by config.status. When coming back to configure, we
17602 # need to make the FD available again.
17603 if test "$no_create" != yes; then
17605 ac_config_status_args=
17606 test "$silent" = yes &&
17607 ac_config_status_args="$ac_config_status_args --quiet"
17609 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17611 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17612 # would make configure fail if this is the last instruction.
17613 $ac_cs_success || as_fn_exit 1
17615 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17617 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Configured $PACKAGE $VERSION" >&5
17622 $as_echo "Configured $PACKAGE $VERSION" >&6; }