2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for glabels 3.0.0.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=glabels
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
572 PACKAGE_NAME='glabels'
573 PACKAGE_TARNAME='glabels'
574 PACKAGE_VERSION='3.0.0'
575 PACKAGE_STRING='glabels 3.0.0'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glabels'
579 ac_unique_file="src/glabels.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
616 ac_subst_vars='am__EXEEXT_FALSE
632 DISABLE_DEPRECATED_CFLAGS
660 LIBGLBARCODE_API_VERSION
661 LIBGLABELS_API_VERSION
665 GTK_UPDATE_ICON_CACHE
672 GSETTINGS_DISABLE_SCHEMAS_COMPILE
673 GTK_DOC_USE_REBASE_FALSE
674 GTK_DOC_USE_REBASE_TRUE
675 GTK_DOC_USE_LIBTOOL_FALSE
676 GTK_DOC_USE_LIBTOOL_TRUE
677 GTK_DOC_BUILD_PDF_FALSE
678 GTK_DOC_BUILD_PDF_TRUE
679 GTK_DOC_BUILD_HTML_FALSE
680 GTK_DOC_BUILD_HTML_TRUE
687 HAVE_GNOME_DOC_UTILS_FALSE
688 HAVE_GNOME_DOC_UTILS_TRUE
689 DISTCHECK_CONFIGURE_FLAGS
752 INTLTOOL_SERVICE_RULE
754 INTLTOOL_SCHEMAS_RULE
756 INTLTOOL_XML_NOMERGE_RULE
761 INTLTOOL_SOUNDLIST_RULE
768 INTLTOOL_DIRECTORY_RULE
769 INTLTOOL_DESKTOP_RULE
777 MAINTAINER_MODE_FALSE
787 INSTALL_STRIP_PROGRAM
829 program_transform_name
842 enable_option_checking
843 enable_maintainer_mode
846 enable_dependency_tracking
862 enable_schemas_compile
863 enable_compile_warnings
872 ac_precious_vars='build_alias
898 # Initialize some variables set by options.
900 ac_init_version=false
901 ac_unrecognized_opts=
903 # The variables have the same names as the options, with
904 # dashes changed to underlines.
912 program_transform_name=s,x,x,
920 # Installation directory options.
921 # These are left unexpanded so users can "make install exec_prefix=/foo"
922 # and all the variables that are supposed to be based on exec_prefix
923 # by default will actually change.
924 # Use braces instead of parens because sh, perl, etc. also accept them.
925 # (The list follows the same order as the GNU Coding Standards.)
926 bindir='${exec_prefix}/bin'
927 sbindir='${exec_prefix}/sbin'
928 libexecdir='${exec_prefix}/libexec'
929 datarootdir='${prefix}/share'
930 datadir='${datarootdir}'
931 sysconfdir='${prefix}/etc'
932 sharedstatedir='${prefix}/com'
933 localstatedir='${prefix}/var'
934 includedir='${prefix}/include'
935 oldincludedir='/usr/include'
936 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
937 infodir='${datarootdir}/info'
942 libdir='${exec_prefix}/lib'
943 localedir='${datarootdir}/locale'
944 mandir='${datarootdir}/man'
950 # If the previous option needs an argument, assign it.
951 if test -n "$ac_prev"; then
952 eval $ac_prev=\$ac_option
958 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
963 # Accept the important Cygnus configure options, so we can diagnose typos.
965 case $ac_dashdash$ac_option in
969 -bindir | --bindir | --bindi | --bind | --bin | --bi)
971 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
974 -build | --build | --buil | --bui | --bu)
975 ac_prev=build_alias ;;
976 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
977 build_alias=$ac_optarg ;;
979 -cache-file | --cache-file | --cache-fil | --cache-fi \
980 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
981 ac_prev=cache_file ;;
982 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
983 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
984 cache_file=$ac_optarg ;;
987 cache_file=config.cache ;;
989 -datadir | --datadir | --datadi | --datad)
991 -datadir=* | --datadir=* | --datadi=* | --datad=*)
992 datadir=$ac_optarg ;;
994 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
995 | --dataroo | --dataro | --datar)
996 ac_prev=datarootdir ;;
997 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
998 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
999 datarootdir=$ac_optarg ;;
1001 -disable-* | --disable-*)
1002 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005 as_fn_error $? "invalid feature name: $ac_useropt"
1006 ac_useropt_orig=$ac_useropt
1007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008 case $ac_user_opts in
1010 "enable_$ac_useropt"
1012 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1013 ac_unrecognized_sep=', ';;
1015 eval enable_$ac_useropt=no ;;
1017 -docdir | --docdir | --docdi | --doc | --do)
1019 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1020 docdir=$ac_optarg ;;
1022 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1024 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1025 dvidir=$ac_optarg ;;
1027 -enable-* | --enable-*)
1028 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031 as_fn_error $? "invalid feature name: $ac_useropt"
1032 ac_useropt_orig=$ac_useropt
1033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034 case $ac_user_opts in
1036 "enable_$ac_useropt"
1038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1039 ac_unrecognized_sep=', ';;
1041 eval enable_$ac_useropt=\$ac_optarg ;;
1043 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1044 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1045 | --exec | --exe | --ex)
1046 ac_prev=exec_prefix ;;
1047 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1048 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1049 | --exec=* | --exe=* | --ex=*)
1050 exec_prefix=$ac_optarg ;;
1052 -gas | --gas | --ga | --g)
1053 # Obsolete; use --with-gas.
1056 -help | --help | --hel | --he | -h)
1057 ac_init_help=long ;;
1058 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1059 ac_init_help=recursive ;;
1060 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1061 ac_init_help=short ;;
1063 -host | --host | --hos | --ho)
1064 ac_prev=host_alias ;;
1065 -host=* | --host=* | --hos=* | --ho=*)
1066 host_alias=$ac_optarg ;;
1068 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1070 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1072 htmldir=$ac_optarg ;;
1074 -includedir | --includedir | --includedi | --included | --include \
1075 | --includ | --inclu | --incl | --inc)
1076 ac_prev=includedir ;;
1077 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1078 | --includ=* | --inclu=* | --incl=* | --inc=*)
1079 includedir=$ac_optarg ;;
1081 -infodir | --infodir | --infodi | --infod | --info | --inf)
1083 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1084 infodir=$ac_optarg ;;
1086 -libdir | --libdir | --libdi | --libd)
1088 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1089 libdir=$ac_optarg ;;
1091 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1092 | --libexe | --libex | --libe)
1093 ac_prev=libexecdir ;;
1094 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1095 | --libexe=* | --libex=* | --libe=*)
1096 libexecdir=$ac_optarg ;;
1098 -localedir | --localedir | --localedi | --localed | --locale)
1099 ac_prev=localedir ;;
1100 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1101 localedir=$ac_optarg ;;
1103 -localstatedir | --localstatedir | --localstatedi | --localstated \
1104 | --localstate | --localstat | --localsta | --localst | --locals)
1105 ac_prev=localstatedir ;;
1106 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1107 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1108 localstatedir=$ac_optarg ;;
1110 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1112 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1113 mandir=$ac_optarg ;;
1115 -nfp | --nfp | --nf)
1116 # Obsolete; use --without-fp.
1119 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1120 | --no-cr | --no-c | -n)
1123 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1124 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1127 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1128 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1129 | --oldin | --oldi | --old | --ol | --o)
1130 ac_prev=oldincludedir ;;
1131 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1132 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1133 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1134 oldincludedir=$ac_optarg ;;
1136 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1138 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1139 prefix=$ac_optarg ;;
1141 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1142 | --program-pre | --program-pr | --program-p)
1143 ac_prev=program_prefix ;;
1144 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1145 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1146 program_prefix=$ac_optarg ;;
1148 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1149 | --program-suf | --program-su | --program-s)
1150 ac_prev=program_suffix ;;
1151 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1152 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1153 program_suffix=$ac_optarg ;;
1155 -program-transform-name | --program-transform-name \
1156 | --program-transform-nam | --program-transform-na \
1157 | --program-transform-n | --program-transform- \
1158 | --program-transform | --program-transfor \
1159 | --program-transfo | --program-transf \
1160 | --program-trans | --program-tran \
1161 | --progr-tra | --program-tr | --program-t)
1162 ac_prev=program_transform_name ;;
1163 -program-transform-name=* | --program-transform-name=* \
1164 | --program-transform-nam=* | --program-transform-na=* \
1165 | --program-transform-n=* | --program-transform-=* \
1166 | --program-transform=* | --program-transfor=* \
1167 | --program-transfo=* | --program-transf=* \
1168 | --program-trans=* | --program-tran=* \
1169 | --progr-tra=* | --program-tr=* | --program-t=*)
1170 program_transform_name=$ac_optarg ;;
1172 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1174 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1175 pdfdir=$ac_optarg ;;
1177 -psdir | --psdir | --psdi | --psd | --ps)
1179 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1183 | -silent | --silent | --silen | --sile | --sil)
1186 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1188 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1190 sbindir=$ac_optarg ;;
1192 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1193 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1194 | --sharedst | --shareds | --shared | --share | --shar \
1196 ac_prev=sharedstatedir ;;
1197 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1198 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1199 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1201 sharedstatedir=$ac_optarg ;;
1203 -site | --site | --sit)
1205 -site=* | --site=* | --sit=*)
1208 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1210 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1211 srcdir=$ac_optarg ;;
1213 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1214 | --syscon | --sysco | --sysc | --sys | --sy)
1215 ac_prev=sysconfdir ;;
1216 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1217 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1218 sysconfdir=$ac_optarg ;;
1220 -target | --target | --targe | --targ | --tar | --ta | --t)
1221 ac_prev=target_alias ;;
1222 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1223 target_alias=$ac_optarg ;;
1225 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1228 -version | --version | --versio | --versi | --vers | -V)
1229 ac_init_version=: ;;
1232 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1233 # Reject names that are not valid shell variable names.
1234 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1235 as_fn_error $? "invalid package name: $ac_useropt"
1236 ac_useropt_orig=$ac_useropt
1237 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1238 case $ac_user_opts in
1242 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1243 ac_unrecognized_sep=', ';;
1245 eval with_$ac_useropt=\$ac_optarg ;;
1247 -without-* | --without-*)
1248 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1249 # Reject names that are not valid shell variable names.
1250 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1251 as_fn_error $? "invalid package name: $ac_useropt"
1252 ac_useropt_orig=$ac_useropt
1253 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1254 case $ac_user_opts in
1258 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1259 ac_unrecognized_sep=', ';;
1261 eval with_$ac_useropt=no ;;
1264 # Obsolete; use --with-x.
1267 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1268 | --x-incl | --x-inc | --x-in | --x-i)
1269 ac_prev=x_includes ;;
1270 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1271 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1272 x_includes=$ac_optarg ;;
1274 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1275 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1276 ac_prev=x_libraries ;;
1277 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1278 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1279 x_libraries=$ac_optarg ;;
1281 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1282 Try \`$0 --help' for more information"
1286 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1287 # Reject names that are not valid shell variable names.
1288 case $ac_envvar in #(
1289 '' | [0-9]* | *[!_$as_cr_alnum]* )
1290 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1292 eval $ac_envvar=\$ac_optarg
1293 export $ac_envvar ;;
1296 # FIXME: should be removed in autoconf 3.0.
1297 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1298 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1299 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1300 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1306 if test -n "$ac_prev"; then
1307 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1308 as_fn_error $? "missing argument to $ac_option"
1311 if test -n "$ac_unrecognized_opts"; then
1312 case $enable_option_checking in
1314 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1315 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1319 # Check all directory arguments for consistency.
1320 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1321 datadir sysconfdir sharedstatedir localstatedir includedir \
1322 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1323 libdir localedir mandir
1325 eval ac_val=\$$ac_var
1326 # Remove trailing slashes.
1329 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1330 eval $ac_var=\$ac_val;;
1332 # Be sure to have absolute directory names.
1334 [\\/$]* | ?:[\\/]* ) continue;;
1335 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1337 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1340 # There might be people who depend on the old broken behavior: `$host'
1341 # used to hold the argument of --host etc.
1342 # FIXME: To remove some day.
1345 target=$target_alias
1347 # FIXME: To remove some day.
1348 if test "x$host_alias" != x; then
1349 if test "x$build_alias" = x; then
1350 cross_compiling=maybe
1351 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1352 If a cross compiler is detected then cross compile mode will be used" >&2
1353 elif test "x$build_alias" != "x$host_alias"; then
1359 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1361 test "$silent" = yes && exec 6>/dev/null
1364 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1365 ac_ls_di=`ls -di .` &&
1366 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1367 as_fn_error $? "working directory cannot be determined"
1368 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1369 as_fn_error $? "pwd does not report name of working directory"
1372 # Find the source files, if location was not specified.
1373 if test -z "$srcdir"; then
1374 ac_srcdir_defaulted=yes
1375 # Try the directory containing this script, then the parent directory.
1376 ac_confdir=`$as_dirname -- "$as_myself" ||
1377 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1378 X"$as_myself" : 'X\(//\)[^/]' \| \
1379 X"$as_myself" : 'X\(//\)$' \| \
1380 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1381 $as_echo X"$as_myself" |
1382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1400 if test ! -r "$srcdir/$ac_unique_file"; then
1404 ac_srcdir_defaulted=no
1406 if test ! -r "$srcdir/$ac_unique_file"; then
1407 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1408 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1410 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1412 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1414 # When building in place, set srcdir=.
1415 if test "$ac_abs_confdir" = "$ac_pwd"; then
1418 # Remove unnecessary trailing slashes from srcdir.
1419 # Double slashes in file names in object file debugging info
1420 # mess up M-x gdb in Emacs.
1422 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1424 for ac_var in $ac_precious_vars; do
1425 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1426 eval ac_env_${ac_var}_value=\$${ac_var}
1427 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1428 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1432 # Report the --help message.
1434 if test "$ac_init_help" = "long"; then
1435 # Omit some internal or obsolete options to make the list less imposing.
1436 # This message is too long to be a string in the A/UX 3.1 sh.
1438 \`configure' configures glabels 3.0.0 to adapt to many kinds of systems.
1440 Usage: $0 [OPTION]... [VAR=VALUE]...
1442 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1443 VAR=VALUE. See below for descriptions of some of the useful variables.
1445 Defaults for the options are specified in brackets.
1448 -h, --help display this help and exit
1449 --help=short display options specific to this package
1450 --help=recursive display the short help of all the included packages
1451 -V, --version display version information and exit
1452 -q, --quiet, --silent do not print \`checking ...' messages
1453 --cache-file=FILE cache test results in FILE [disabled]
1454 -C, --config-cache alias for \`--cache-file=config.cache'
1455 -n, --no-create do not create output files
1456 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1458 Installation directories:
1459 --prefix=PREFIX install architecture-independent files in PREFIX
1460 [$ac_default_prefix]
1461 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1464 By default, \`make install' will install all the files in
1465 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1466 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1467 for instance \`--prefix=\$HOME'.
1469 For better control, use the options below.
1471 Fine tuning of the installation directories:
1472 --bindir=DIR user executables [EPREFIX/bin]
1473 --sbindir=DIR system admin executables [EPREFIX/sbin]
1474 --libexecdir=DIR program executables [EPREFIX/libexec]
1475 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1476 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1477 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1478 --libdir=DIR object code libraries [EPREFIX/lib]
1479 --includedir=DIR C header files [PREFIX/include]
1480 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1481 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1482 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1483 --infodir=DIR info documentation [DATAROOTDIR/info]
1484 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1485 --mandir=DIR man documentation [DATAROOTDIR/man]
1486 --docdir=DIR documentation root [DATAROOTDIR/doc/glabels]
1487 --htmldir=DIR html documentation [DOCDIR]
1488 --dvidir=DIR dvi documentation [DOCDIR]
1489 --pdfdir=DIR pdf documentation [DOCDIR]
1490 --psdir=DIR ps documentation [DOCDIR]
1496 --program-prefix=PREFIX prepend PREFIX to installed program names
1497 --program-suffix=SUFFIX append SUFFIX to installed program names
1498 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1501 --build=BUILD configure for building on BUILD [guessed]
1502 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1506 if test -n "$ac_init_help"; then
1507 case $ac_init_help in
1508 short | recursive ) echo "Configuration of glabels 3.0.0:";;
1513 --disable-option-checking ignore unrecognized --enable/--with options
1514 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1515 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1516 --enable-maintainer-mode enable make rules and dependencies not useful
1517 (and sometimes confusing) to the casual installer
1518 --enable-silent-rules less verbose build output (undo: `make V=1')
1519 --disable-silent-rules verbose build output (undo: `make V=0')
1520 --disable-nls do not use Native Language Support
1521 --disable-dependency-tracking speeds up one-time build
1522 --enable-dependency-tracking do not reject slow dependency extractors
1523 --enable-shared[=PKGS] build shared libraries [default=yes]
1524 --enable-static[=PKGS] build static libraries [default=yes]
1525 --enable-fast-install[=PKGS]
1526 optimize for fast installation [default=yes]
1527 --disable-libtool-lock avoid locking (might break parallel builds)
1528 --disable-scrollkeeper do not make updates to the scrollkeeper database
1529 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1530 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1531 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1532 --disable-schemas-compile
1533 Disable regeneration of gschemas.compiled on install
1534 --enable-compile-warnings=[no/minimum/yes/maximum/error]
1535 Turn on compiler warnings
1536 --enable-iso-c Try to warn if code is not ISO C
1537 --enable-deprecations warn about deprecated usages [default=no]
1540 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1541 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1542 --with-pic try to use only PIC/non-PIC objects [default=use
1544 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1545 --with-sysroot=DIR Search for dependent libraries within DIR
1546 (or the compiler's sysroot if not specified).
1547 --with-help-dir=DIR path to help docs
1548 --with-omf-dir=DIR path to OMF files
1549 --with-help-formats=FORMATS
1551 --with-html-dir=PATH path to installed docs
1552 --without-libebook build without Evolution Data Server support
1553 --without-libbarcode build without GNU Barcode support
1554 --without-libzint build without Zint Barcode support
1555 --without-libqrencode build without QR code support
1556 --without-libiec16022 build without IEC 16022 support
1558 Some influential environment variables:
1559 CC C compiler command
1560 CFLAGS C compiler flags
1561 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1562 nonstandard directory <lib dir>
1563 LIBS libraries to pass to the linker, e.g. -l<library>
1564 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1565 you have headers in a nonstandard directory <include dir>
1566 PKG_CONFIG path to pkg-config utility
1568 directories to add to pkg-config's search path
1570 path overriding pkg-config's built-in search path
1573 C compiler flags for GLABELS, overriding pkg-config
1575 linker flags for GLABELS, overriding pkg-config
1577 C compiler flags for LIBGLABELS, overriding pkg-config
1579 linker flags for LIBGLABELS, overriding pkg-config
1581 C compiler flags for LIBGLBARCODE, overriding pkg-config
1583 linker flags for LIBGLBARCODE, overriding pkg-config
1585 C compiler flags for LIBEBOOK, overriding pkg-config
1587 linker flags for LIBEBOOK, overriding pkg-config
1589 C compiler flags for LIBQRENCODE, overriding pkg-config
1591 linker flags for LIBQRENCODE, overriding pkg-config
1593 C compiler flags for LIBIEC16022, overriding pkg-config
1595 linker flags for LIBIEC16022, overriding pkg-config
1597 Use these variables to override the choices made by `configure' or to help
1598 it to find libraries and programs with nonstandard names/locations.
1600 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
1605 if test "$ac_init_help" = "recursive"; then
1606 # If there are subdirs, report their specific --help.
1607 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1608 test -d "$ac_dir" ||
1609 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1614 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1617 # A ".." for each directory in $ac_dir_suffix.
1618 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1619 case $ac_top_builddir_sub in
1620 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1624 ac_abs_top_builddir=$ac_pwd
1625 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1626 # for backward compatibility:
1627 ac_top_builddir=$ac_top_build_prefix
1630 .) # We are building in place.
1632 ac_top_srcdir=$ac_top_builddir_sub
1633 ac_abs_top_srcdir=$ac_pwd ;;
1634 [\\/]* | ?:[\\/]* ) # Absolute name.
1635 ac_srcdir=$srcdir$ac_dir_suffix;
1636 ac_top_srcdir=$srcdir
1637 ac_abs_top_srcdir=$srcdir ;;
1639 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1640 ac_top_srcdir=$ac_top_build_prefix$srcdir
1641 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1643 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1645 cd "$ac_dir" || { ac_status=$?; continue; }
1646 # Check for guested configure.
1647 if test -f "$ac_srcdir/configure.gnu"; then
1649 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1650 elif test -f "$ac_srcdir/configure"; then
1652 $SHELL "$ac_srcdir/configure" --help=recursive
1654 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1656 cd "$ac_pwd" || { ac_status=$?; break; }
1660 test -n "$ac_init_help" && exit $ac_status
1661 if $ac_init_version; then
1663 glabels configure 3.0.0
1664 generated by GNU Autoconf 2.68
1666 Copyright (C) 2010 Free Software Foundation, Inc.
1667 This configure script is free software; the Free Software Foundation
1668 gives unlimited permission to copy, distribute and modify it.
1673 ## ------------------------ ##
1674 ## Autoconf initialization. ##
1675 ## ------------------------ ##
1677 # ac_fn_c_try_compile LINENO
1678 # --------------------------
1679 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1680 ac_fn_c_try_compile ()
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 rm -f conftest.$ac_objext
1684 if { { ac_try="$ac_compile"
1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_compile") 2>conftest.err
1693 if test -s conftest.err; then
1694 grep -v '^ *+' conftest.err >conftest.er1
1695 cat conftest.er1 >&5
1696 mv -f conftest.er1 conftest.err
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } && {
1700 test -z "$ac_c_werror_flag" ||
1701 test ! -s conftest.err
1702 } && test -s conftest.$ac_objext; then :
1705 $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.$ac_ext >&5
1710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711 as_fn_set_status $ac_retval
1713 } # ac_fn_c_try_compile
1715 # ac_fn_c_try_link LINENO
1716 # -----------------------
1717 # Try to link conftest.$ac_ext, and return whether this succeeded.
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 rm -f conftest.$ac_objext conftest$ac_exeext
1722 if { { ac_try="$ac_link"
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_link") 2>conftest.err
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest$ac_exeext && {
1741 test "$cross_compiling" = yes ||
1742 $as_test_x conftest$ac_exeext
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1751 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1752 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1753 # interfere with the next link command; also delete a directory that is
1754 # left behind by Apple's compiler. We do this before executing the actions.
1755 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757 as_fn_set_status $ac_retval
1759 } # ac_fn_c_try_link
1761 # ac_fn_c_check_func LINENO FUNC VAR
1762 # ----------------------------------
1763 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1764 ac_fn_c_check_func ()
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768 $as_echo_n "checking for $2... " >&6; }
1769 if eval \${$3+:} false; then :
1770 $as_echo_n "(cached) " >&6
1772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773 /* end confdefs.h. */
1774 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1776 #define $2 innocuous_$2
1778 /* System header to define __stub macros and hopefully few prototypes,
1779 which can conflict with char $2 (); below.
1780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1781 <limits.h> exists even on freestanding compilers. */
1784 # include <limits.h>
1786 # include <assert.h>
1791 /* Override any GCC internal prototype to avoid an error.
1792 Use char because int might match the return type of a GCC
1793 builtin and then its argument prototype would still apply. */
1798 /* The GNU C library defines this for functions which it implements
1799 to always fail with ENOSYS. Some functions are actually named
1800 something starting with __ and the normal name is an alias. */
1801 #if defined __stub_$2 || defined __stub___$2
1813 if ac_fn_c_try_link "$LINENO"; then :
1818 rm -f core conftest.err conftest.$ac_objext \
1819 conftest$ac_exeext conftest.$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 } # ac_fn_c_check_func
1828 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1829 # -------------------------------------------------------
1830 # Tests whether HEADER exists and can be compiled using the include files in
1831 # INCLUDES, setting the cache variable VAR accordingly.
1832 ac_fn_c_check_header_compile ()
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836 $as_echo_n "checking for $2... " >&6; }
1837 if eval \${$3+:} false; then :
1838 $as_echo_n "(cached) " >&6
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1845 if ac_fn_c_try_compile "$LINENO"; then :
1850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854 $as_echo "$ac_res" >&6; }
1855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 } # ac_fn_c_check_header_compile
1859 # ac_fn_c_try_cpp LINENO
1860 # ----------------------
1861 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865 if { { ac_try="$ac_cpp conftest.$ac_ext"
1867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1868 *) ac_try_echo=$ac_try;;
1870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1871 $as_echo "$ac_try_echo"; } >&5
1872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1874 if test -s conftest.err; then
1875 grep -v '^ *+' conftest.err >conftest.er1
1876 cat conftest.er1 >&5
1877 mv -f conftest.er1 conftest.err
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } > conftest.i && {
1881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1882 test ! -s conftest.err
1886 $as_echo "$as_me: failed program was:" >&5
1887 sed 's/^/| /' conftest.$ac_ext >&5
1891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1892 as_fn_set_status $ac_retval
1896 # ac_fn_c_try_run LINENO
1897 # ----------------------
1898 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1899 # that executables *can* be run.
1902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903 if { { ac_try="$ac_link"
1905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1906 *) ac_try_echo=$ac_try;;
1908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 $as_echo "$ac_try_echo"; } >&5
1910 (eval "$ac_link") 2>&5
1912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1913 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1914 { { case "(($ac_try" in
1915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1916 *) ac_try_echo=$ac_try;;
1918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1919 $as_echo "$ac_try_echo"; } >&5
1920 (eval "$ac_try") 2>&5
1922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1923 test $ac_status = 0; }; }; then :
1926 $as_echo "$as_me: program exited with status $ac_status" >&5
1927 $as_echo "$as_me: failed program was:" >&5
1928 sed 's/^/| /' conftest.$ac_ext >&5
1930 ac_retval=$ac_status
1932 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1934 as_fn_set_status $ac_retval
1938 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1939 # -------------------------------------------------------
1940 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1941 # the include files in INCLUDES and setting the cache variable VAR
1943 ac_fn_c_check_header_mongrel ()
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 if eval \${$3+:} false; then :
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1948 $as_echo_n "checking for $2... " >&6; }
1949 if eval \${$3+:} false; then :
1950 $as_echo_n "(cached) " >&6
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954 $as_echo "$ac_res" >&6; }
1956 # Is the header compilable?
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1958 $as_echo_n "checking $2 usability... " >&6; }
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h. */
1964 if ac_fn_c_try_compile "$LINENO"; then :
1965 ac_header_compiler=yes
1967 ac_header_compiler=no
1969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1971 $as_echo "$ac_header_compiler" >&6; }
1973 # Is the header present?
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1975 $as_echo_n "checking $2 presence... " >&6; }
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1980 if ac_fn_c_try_cpp "$LINENO"; then :
1981 ac_header_preproc=yes
1983 ac_header_preproc=no
1985 rm -f conftest.err conftest.i conftest.$ac_ext
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1987 $as_echo "$ac_header_preproc" >&6; }
1989 # So? What about this header?
1990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1993 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1995 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1999 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2001 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2003 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2005 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2007 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2008 ( $as_echo "## ---------------------------------------------------------------------- ##
2009 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glabels ##
2010 ## ---------------------------------------------------------------------- ##"
2011 ) | sed "s/^/$as_me: WARNING: /" >&2
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015 $as_echo_n "checking for $2... " >&6; }
2016 if eval \${$3+:} false; then :
2017 $as_echo_n "(cached) " >&6
2019 eval "$3=\$ac_header_compiler"
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2027 } # ac_fn_c_check_header_mongrel
2028 cat >config.log <<_ACEOF
2029 This file contains any messages produced by compilers while
2030 running configure, to aid debugging if configure makes a mistake.
2032 It was created by glabels $as_me 3.0.0, which was
2033 generated by GNU Autoconf 2.68. Invocation command line was
2045 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2046 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2047 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2048 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2049 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2051 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2052 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2054 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2055 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2056 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2057 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2058 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2059 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2060 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 test -z "$as_dir" && as_dir=.
2069 $as_echo "PATH: $as_dir"
2085 # Keep a trace of the command line.
2086 # Strip out --no-create and --no-recursion so they do not pile up.
2087 # Strip out --silent because we don't want to record it for future runs.
2088 # Also quote any args containing shell meta-characters.
2089 # Make two passes to allow for proper duplicate-argument suppression.
2093 ac_must_keep_next=false
2099 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2101 | -silent | --silent | --silen | --sile | --sil)
2104 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2107 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2109 as_fn_append ac_configure_args1 " '$ac_arg'"
2110 if test $ac_must_keep_next = true; then
2111 ac_must_keep_next=false # Got value, back to normal.
2114 *=* | --config-cache | -C | -disable-* | --disable-* \
2115 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2116 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2117 | -with-* | --with-* | -without-* | --without-* | --x)
2118 case "$ac_configure_args0 " in
2119 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2122 -* ) ac_must_keep_next=true ;;
2125 as_fn_append ac_configure_args " '$ac_arg'"
2130 { ac_configure_args0=; unset ac_configure_args0;}
2131 { ac_configure_args1=; unset ac_configure_args1;}
2133 # When interrupted or exit'd, cleanup temporary files, and complete
2134 # config.log. We remove comments because anyway the quotes in there
2135 # would cause problems or look ugly.
2136 # WARNING: Use '\'' to represent an apostrophe within the trap.
2137 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2138 trap 'exit_status=$?
2139 # Save into config.log some information that might help in debugging.
2143 $as_echo "## ---------------- ##
2144 ## Cache variables. ##
2145 ## ---------------- ##"
2147 # The following way of writing the cache mishandles newlines in values,
2149 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2150 eval ac_val=\$$ac_var
2154 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2155 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2158 _ | IFS | as_nl) ;; #(
2159 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2160 *) { eval $ac_var=; unset $ac_var;} ;;
2165 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2166 *${as_nl}ac_space=\ *)
2168 "s/'\''/'\''\\\\'\'''\''/g;
2169 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2172 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2179 $as_echo "## ----------------- ##
2180 ## Output variables. ##
2181 ## ----------------- ##"
2183 for ac_var in $ac_subst_vars
2185 eval ac_val=\$$ac_var
2187 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2189 $as_echo "$ac_var='\''$ac_val'\''"
2193 if test -n "$ac_subst_files"; then
2194 $as_echo "## ------------------- ##
2195 ## File substitutions. ##
2196 ## ------------------- ##"
2198 for ac_var in $ac_subst_files
2200 eval ac_val=\$$ac_var
2202 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2204 $as_echo "$ac_var='\''$ac_val'\''"
2209 if test -s confdefs.h; then
2210 $as_echo "## ----------- ##
2217 test "$ac_signal" != 0 &&
2218 $as_echo "$as_me: caught signal $ac_signal"
2219 $as_echo "$as_me: exit $exit_status"
2221 rm -f core *.core core.conftest.* &&
2222 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2225 for ac_signal in 1 2 13 15; do
2226 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2230 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2231 rm -f -r conftest* confdefs.h
2233 $as_echo "/* confdefs.h */" > confdefs.h
2235 # Predefined preprocessor variables.
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_NAME "$PACKAGE_NAME"
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_STRING "$PACKAGE_STRING"
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_URL "$PACKAGE_URL"
2262 # Let the site file select an alternate cache file if it wants to.
2263 # Prefer an explicitly selected file to automatically selected ones.
2266 if test -n "$CONFIG_SITE"; then
2267 # We do not want a PATH search for config.site.
2268 case $CONFIG_SITE in #((
2269 -*) ac_site_file1=./$CONFIG_SITE;;
2270 */*) ac_site_file1=$CONFIG_SITE;;
2271 *) ac_site_file1=./$CONFIG_SITE;;
2273 elif test "x$prefix" != xNONE; then
2274 ac_site_file1=$prefix/share/config.site
2275 ac_site_file2=$prefix/etc/config.site
2277 ac_site_file1=$ac_default_prefix/share/config.site
2278 ac_site_file2=$ac_default_prefix/etc/config.site
2280 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2282 test "x$ac_site_file" = xNONE && continue
2283 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2285 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2286 sed 's/^/| /' "$ac_site_file" >&5
2288 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2290 as_fn_error $? "failed to load site script $ac_site_file
2291 See \`config.log' for more details" "$LINENO" 5; }
2295 if test -r "$cache_file"; then
2296 # Some versions of bash will fail to source /dev/null (special files
2297 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2298 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2300 $as_echo "$as_me: loading cache $cache_file" >&6;}
2302 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2303 *) . "./$cache_file";;
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2308 $as_echo "$as_me: creating cache $cache_file" >&6;}
2312 # Check that the precious variables saved in the cache have kept the same
2314 ac_cache_corrupted=false
2315 for ac_var in $ac_precious_vars; do
2316 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2317 eval ac_new_set=\$ac_env_${ac_var}_set
2318 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2319 eval ac_new_val=\$ac_env_${ac_var}_value
2320 case $ac_old_set,$ac_new_set in
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2323 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2324 ac_cache_corrupted=: ;;
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2327 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2328 ac_cache_corrupted=: ;;
2331 if test "x$ac_old_val" != "x$ac_new_val"; then
2332 # differences in whitespace do not lead to failure.
2333 ac_old_val_w=`echo x $ac_old_val`
2334 ac_new_val_w=`echo x $ac_new_val`
2335 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2337 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2338 ac_cache_corrupted=:
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2341 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2342 eval $ac_var=\$ac_old_val
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2345 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2347 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2350 # Pass precious variables to config.status.
2351 if test "$ac_new_set" = set; then
2353 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2354 *) ac_arg=$ac_var=$ac_new_val ;;
2356 case " $ac_configure_args " in
2357 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2358 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2362 if $ac_cache_corrupted; then
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2366 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2367 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2369 ## -------------------- ##
2370 ## Main body of script. ##
2371 ## -------------------- ##
2374 ac_cpp='$CPP $CPPFLAGS'
2375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2383 am__api_version='1.11'
2386 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2387 if test -f "$ac_dir/install-sh"; then
2389 ac_install_sh="$ac_aux_dir/install-sh -c"
2391 elif test -f "$ac_dir/install.sh"; then
2393 ac_install_sh="$ac_aux_dir/install.sh -c"
2395 elif test -f "$ac_dir/shtool"; then
2397 ac_install_sh="$ac_aux_dir/shtool install -c"
2401 if test -z "$ac_aux_dir"; then
2402 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2405 # These three variables are undocumented and unsupported,
2406 # and are intended to be withdrawn in a future Autoconf release.
2407 # They can cause serious problems if a builder's source tree is in a directory
2408 # whose full name contains unusual characters.
2409 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2410 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2411 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2414 # Find a good install program. We prefer a C program (faster),
2415 # so one script is as good as another. But avoid the broken or
2416 # incompatible versions:
2417 # SysV /etc/install, /usr/sbin/install
2418 # SunOS /usr/etc/install
2419 # IRIX /sbin/install
2421 # AmigaOS /C/install, which installs bootblocks on floppy discs
2422 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2423 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2424 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2425 # OS/2's system install, which has a completely different semantic
2426 # ./install, which can be erroneously created by make from ./install.sh.
2427 # Reject install programs that cannot install multiple files.
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2429 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2430 if test -z "$INSTALL"; then
2431 if ${ac_cv_path_install+:} false; then :
2432 $as_echo_n "(cached) " >&6
2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2438 test -z "$as_dir" && as_dir=.
2439 # Account for people who put trailing slashes in PATH elements.
2440 case $as_dir/ in #((
2441 ./ | .// | /[cC]/* | \
2442 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2443 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2446 # OSF1 and SCO ODT 3.0 have their own names for install.
2447 # Don't use installbsd from OSF since it installs stuff as root
2449 for ac_prog in ginstall scoinst install; do
2450 for ac_exec_ext in '' $ac_executable_extensions; do
2451 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2452 if test $ac_prog = install &&
2453 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2454 # AIX install. It has an incompatible calling convention.
2456 elif test $ac_prog = install &&
2457 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2458 # program-specific install script used by HP pwplus--don't use.
2461 rm -rf conftest.one conftest.two conftest.dir
2462 echo one > conftest.one
2463 echo two > conftest.two
2465 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2466 test -s conftest.one && test -s conftest.two &&
2467 test -s conftest.dir/conftest.one &&
2468 test -s conftest.dir/conftest.two
2470 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2483 rm -rf conftest.one conftest.two conftest.dir
2486 if test "${ac_cv_path_install+set}" = set; then
2487 INSTALL=$ac_cv_path_install
2489 # As a last resort, use the slow shell script. Don't cache a
2490 # value for INSTALL within a source directory, because that will
2491 # break other packages using the cache if that directory is
2492 # removed, or if the value is a relative name.
2493 INSTALL=$ac_install_sh
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2497 $as_echo "$INSTALL" >&6; }
2499 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2500 # It thinks the first close brace ends the variable substitution.
2501 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2503 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2505 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2508 $as_echo_n "checking whether build environment is sane... " >&6; }
2511 echo timestamp > conftest.file
2512 # Reject unsafe characters in $srcdir or the absolute working directory
2513 # name. Accept space and tab only in the latter.
2517 *[\\\"\#\$\&\'\`$am_lf]*)
2518 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2521 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2522 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2525 # Do `set' in a subshell so we don't clobber the current shell's
2526 # arguments. Must try -L first in case configure is actually a
2527 # symlink; some systems play weird games with the mod time of symlinks
2528 # (eg FreeBSD returns the mod time of the symlink's containing
2531 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2532 if test "$*" = "X"; then
2534 set X `ls -t "$srcdir/configure" conftest.file`
2537 if test "$*" != "X $srcdir/configure conftest.file" \
2538 && test "$*" != "X conftest.file $srcdir/configure"; then
2540 # If neither matched, then we have a broken ls. This can happen
2541 # if, for instance, CONFIG_SHELL is bash and it inherits a
2542 # broken ls alias from the environment. This has actually
2543 # happened. Such a system could not be considered "sane".
2544 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2545 alias in your environment" "$LINENO" 5
2548 test "$2" = conftest.file
2554 as_fn_error $? "newly created file is older than distributed files!
2555 Check your system clock" "$LINENO" 5
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2558 $as_echo "yes" >&6; }
2559 test "$program_prefix" != NONE &&
2560 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2561 # Use a double $ so make ignores it.
2562 test "$program_suffix" != NONE &&
2563 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2564 # Double any \ or $.
2565 # By default was `s,x,x', remove it if useless.
2566 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2567 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2569 # expand $ac_aux_dir to an absolute path
2570 am_aux_dir=`cd $ac_aux_dir && pwd`
2572 if test x"${MISSING+set}" != xset; then
2575 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2577 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2580 # Use eval to expand $SHELL
2581 if eval "$MISSING --run true"; then
2582 am_missing_run="$MISSING --run "
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2586 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2589 if test x"${install_sh}" != xset; then
2592 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2594 install_sh="\${SHELL} $am_aux_dir/install-sh"
2598 # Installed binaries are usually stripped using `strip' when the user
2599 # run `make install-strip'. However `strip' might not be the right
2600 # tool to use in cross-compilation environments, therefore Automake
2601 # will honor the `STRIP' environment variable to overrule this program.
2602 if test "$cross_compiling" != no; then
2603 if test -n "$ac_tool_prefix"; then
2604 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2605 set dummy ${ac_tool_prefix}strip; ac_word=$2
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2607 $as_echo_n "checking for $ac_word... " >&6; }
2608 if ${ac_cv_prog_STRIP+:} false; then :
2609 $as_echo_n "(cached) " >&6
2611 if test -n "$STRIP"; then
2612 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2618 test -z "$as_dir" && as_dir=.
2619 for ac_exec_ext in '' $ac_executable_extensions; do
2620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2621 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2631 STRIP=$ac_cv_prog_STRIP
2632 if test -n "$STRIP"; then
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2634 $as_echo "$STRIP" >&6; }
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2637 $as_echo "no" >&6; }
2642 if test -z "$ac_cv_prog_STRIP"; then
2644 # Extract the first word of "strip", so it can be a program name with args.
2645 set dummy strip; ac_word=$2
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647 $as_echo_n "checking for $ac_word... " >&6; }
2648 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2649 $as_echo_n "(cached) " >&6
2651 if test -n "$ac_ct_STRIP"; then
2652 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir=.
2659 for ac_exec_ext in '' $ac_executable_extensions; do
2660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661 ac_cv_prog_ac_ct_STRIP="strip"
2662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2672 if test -n "$ac_ct_STRIP"; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2674 $as_echo "$ac_ct_STRIP" >&6; }
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677 $as_echo "no" >&6; }
2680 if test "x$ac_ct_STRIP" = x; then
2683 case $cross_compiling:$ac_tool_warned in
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2687 ac_tool_warned=yes ;;
2692 STRIP="$ac_cv_prog_STRIP"
2696 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2699 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2700 if test -z "$MKDIR_P"; then
2701 if ${ac_cv_path_mkdir+:} false; then :
2702 $as_echo_n "(cached) " >&6
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2708 test -z "$as_dir" && as_dir=.
2709 for ac_prog in mkdir gmkdir; do
2710 for ac_exec_ext in '' $ac_executable_extensions; do
2711 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2712 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2713 'mkdir (GNU coreutils) '* | \
2714 'mkdir (coreutils) '* | \
2715 'mkdir (fileutils) '4.1*)
2716 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2726 test -d ./--version && rmdir ./--version
2727 if test "${ac_cv_path_mkdir+set}" = set; then
2728 MKDIR_P="$ac_cv_path_mkdir -p"
2730 # As a last resort, use the slow shell script. Don't cache a
2731 # value for MKDIR_P within a source directory, because that will
2732 # break other packages using the cache if that directory is
2733 # removed, or if the value is a relative name.
2734 MKDIR_P="$ac_install_sh -d"
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2738 $as_echo "$MKDIR_P" >&6; }
2742 [\\/$]* | ?:[\\/]*) ;;
2743 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2746 for ac_prog in gawk mawk nawk awk
2748 # Extract the first word of "$ac_prog", so it can be a program name with args.
2749 set dummy $ac_prog; ac_word=$2
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2751 $as_echo_n "checking for $ac_word... " >&6; }
2752 if ${ac_cv_prog_AWK+:} false; then :
2753 $as_echo_n "(cached) " >&6
2755 if test -n "$AWK"; then
2756 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir=.
2763 for ac_exec_ext in '' $ac_executable_extensions; do
2764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2765 ac_cv_prog_AWK="$ac_prog"
2766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 if test -n "$AWK"; then
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2778 $as_echo "$AWK" >&6; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 $as_echo "no" >&6; }
2785 test -n "$AWK" && break
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2789 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2791 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2792 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2793 $as_echo_n "(cached) " >&6
2795 cat >conftest.make <<\_ACEOF
2798 @echo '@@@%%%=$(MAKE)=@@@%%%'
2800 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2801 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2803 eval ac_cv_prog_make_${ac_make}_set=yes;;
2805 eval ac_cv_prog_make_${ac_make}_set=no;;
2809 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2811 $as_echo "yes" >&6; }
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2816 SET_MAKE="MAKE=${MAKE-make}"
2819 rm -rf .tst 2>/dev/null
2820 mkdir .tst 2>/dev/null
2821 if test -d .tst; then
2826 rmdir .tst 2>/dev/null
2828 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2829 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2830 # is not polluted with repeated "-I."
2831 am__isrc=' -I$(srcdir)'
2832 # test to see if srcdir already configured
2833 if test -f $srcdir/config.status; then
2834 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2838 # test whether we have cygpath
2839 if test -z "$CYGPATH_W"; then
2840 if (cygpath --version) >/dev/null 2>/dev/null; then
2841 CYGPATH_W='cygpath -w'
2848 # Define the identity of the package.
2853 cat >>confdefs.h <<_ACEOF
2854 #define PACKAGE "$PACKAGE"
2858 cat >>confdefs.h <<_ACEOF
2859 #define VERSION "$VERSION"
2862 # Some tools Automake needs.
2864 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2867 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2870 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2873 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2876 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2878 # We need awk for the "check" target. The system "awk" is bad on
2880 # Always define AMTAR for backward compatibility.
2882 AMTAR=${AMTAR-"${am_missing_run}tar"}
2884 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2893 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2894 # Check whether --enable-maintainer-mode was given.
2895 if test "${enable_maintainer_mode+set}" = set; then :
2896 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2898 USE_MAINTAINER_MODE=no
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2902 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2903 if test $USE_MAINTAINER_MODE = yes; then
2904 MAINTAINER_MODE_TRUE=
2905 MAINTAINER_MODE_FALSE='#'
2907 MAINTAINER_MODE_TRUE='#'
2908 MAINTAINER_MODE_FALSE=
2911 MAINT=$MAINTAINER_MODE_TRUE
2914 # Check whether --enable-silent-rules was given.
2915 if test "${enable_silent_rules+set}" = set; then :
2916 enableval=$enable_silent_rules;
2919 case $enable_silent_rules in
2920 yes) AM_DEFAULT_VERBOSITY=0;;
2921 no) AM_DEFAULT_VERBOSITY=1;;
2922 *) AM_DEFAULT_VERBOSITY=0;;
2927 ac_config_headers="$ac_config_headers config.h"
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2932 $as_echo_n "checking whether NLS is requested... " >&6; }
2933 # Check whether --enable-nls was given.
2934 if test "${enable_nls+set}" = set; then :
2935 enableval=$enable_nls; USE_NLS=$enableval
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2941 $as_echo "$USE_NLS" >&6; }
2944 DEPDIR="${am__leading_dot}deps"
2946 ac_config_commands="$ac_config_commands depfiles"
2949 am_make=${MAKE-make}
2950 cat > confinc << 'END'
2952 @echo this is the am__doit target
2955 # If we don't find an include directive, just comment out the code.
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2957 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2961 # First try GNU make style include.
2962 echo "include confinc" > confmf
2963 # Ignore all kinds of additional output from `make'.
2964 case `$am_make -s -f confmf 2> /dev/null` in #(
2965 *the\ am__doit\ target*)
2971 # Now try BSD make style include.
2972 if test "$am__include" = "#"; then
2973 echo '.include "confinc"' > confmf
2974 case `$am_make -s -f confmf 2> /dev/null` in #(
2975 *the\ am__doit\ target*)
2976 am__include=.include
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2985 $as_echo "$_am_result" >&6; }
2986 rm -f confinc confmf
2988 # Check whether --enable-dependency-tracking was given.
2989 if test "${enable_dependency_tracking+set}" = set; then :
2990 enableval=$enable_dependency_tracking;
2993 if test "x$enable_dependency_tracking" != xno; then
2994 am_depcomp="$ac_aux_dir/depcomp"
2997 if test "x$enable_dependency_tracking" != xno; then
3007 ac_cpp='$CPP $CPPFLAGS'
3008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3011 if test -n "$ac_tool_prefix"; then
3012 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3013 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015 $as_echo_n "checking for $ac_word... " >&6; }
3016 if ${ac_cv_prog_CC+:} false; then :
3017 $as_echo_n "(cached) " >&6
3019 if test -n "$CC"; then
3020 ac_cv_prog_CC="$CC" # Let the user override the test.
3022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3026 test -z "$as_dir" && as_dir=.
3027 for ac_exec_ext in '' $ac_executable_extensions; do
3028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3029 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3040 if test -n "$CC"; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3042 $as_echo "$CC" >&6; }
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045 $as_echo "no" >&6; }
3050 if test -z "$ac_cv_prog_CC"; then
3052 # Extract the first word of "gcc", so it can be a program name with args.
3053 set dummy gcc; ac_word=$2
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3055 $as_echo_n "checking for $ac_word... " >&6; }
3056 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3057 $as_echo_n "(cached) " >&6
3059 if test -n "$ac_ct_CC"; then
3060 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 test -z "$as_dir" && as_dir=.
3067 for ac_exec_ext in '' $ac_executable_extensions; do
3068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3069 ac_cv_prog_ac_ct_CC="gcc"
3070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3079 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3080 if test -n "$ac_ct_CC"; then
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3082 $as_echo "$ac_ct_CC" >&6; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3088 if test "x$ac_ct_CC" = x; then
3091 case $cross_compiling:$ac_tool_warned in
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3095 ac_tool_warned=yes ;;
3103 if test -z "$CC"; then
3104 if test -n "$ac_tool_prefix"; then
3105 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3106 set dummy ${ac_tool_prefix}cc; ac_word=$2
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3108 $as_echo_n "checking for $ac_word... " >&6; }
3109 if ${ac_cv_prog_CC+:} false; then :
3110 $as_echo_n "(cached) " >&6
3112 if test -n "$CC"; then
3113 ac_cv_prog_CC="$CC" # Let the user override the test.
3115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119 test -z "$as_dir" && as_dir=.
3120 for ac_exec_ext in '' $ac_executable_extensions; do
3121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3122 ac_cv_prog_CC="${ac_tool_prefix}cc"
3123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 if test -n "$CC"; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3135 $as_echo "$CC" >&6; }
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3138 $as_echo "no" >&6; }
3144 if test -z "$CC"; then
3145 # Extract the first word of "cc", so it can be a program name with args.
3146 set dummy cc; ac_word=$2
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148 $as_echo_n "checking for $ac_word... " >&6; }
3149 if ${ac_cv_prog_CC+:} false; then :
3150 $as_echo_n "(cached) " >&6
3152 if test -n "$CC"; then
3153 ac_cv_prog_CC="$CC" # Let the user override the test.
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160 test -z "$as_dir" && as_dir=.
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3163 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3164 ac_prog_rejected=yes
3168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3175 if test $ac_prog_rejected = yes; then
3176 # We found a bogon in the path, so make sure we never use it.
3177 set dummy $ac_cv_prog_CC
3179 if test $# != 0; then
3180 # We chose a different compiler from the bogus one.
3181 # However, it has the same basename, so the bogon will be chosen
3182 # first if we set CC to just the basename; use the full file name.
3184 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3190 if test -n "$CC"; then
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3192 $as_echo "$CC" >&6; }
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195 $as_echo "no" >&6; }
3200 if test -z "$CC"; then
3201 if test -n "$ac_tool_prefix"; then
3202 for ac_prog in cl.exe
3204 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3205 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3207 $as_echo_n "checking for $ac_word... " >&6; }
3208 if ${ac_cv_prog_CC+:} false; then :
3209 $as_echo_n "(cached) " >&6
3211 if test -n "$CC"; then
3212 ac_cv_prog_CC="$CC" # Let the user override the test.
3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218 test -z "$as_dir" && as_dir=.
3219 for ac_exec_ext in '' $ac_executable_extensions; do
3220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3221 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232 if test -n "$CC"; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3234 $as_echo "$CC" >&6; }
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3241 test -n "$CC" && break
3244 if test -z "$CC"; then
3246 for ac_prog in cl.exe
3248 # Extract the first word of "$ac_prog", so it can be a program name with args.
3249 set dummy $ac_prog; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; }
3252 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3253 $as_echo_n "(cached) " >&6
3255 if test -n "$ac_ct_CC"; then
3256 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 test -z "$as_dir" && as_dir=.
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265 ac_cv_prog_ac_ct_CC="$ac_prog"
3266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3276 if test -n "$ac_ct_CC"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3278 $as_echo "$ac_ct_CC" >&6; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3285 test -n "$ac_ct_CC" && break
3288 if test "x$ac_ct_CC" = x; then
3291 case $cross_compiling:$ac_tool_warned in
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3295 ac_tool_warned=yes ;;
3304 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3306 as_fn_error $? "no acceptable C compiler found in \$PATH
3307 See \`config.log' for more details" "$LINENO" 5; }
3309 # Provide some information about the compiler.
3310 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3313 for ac_option in --version -v -V -qversion; do
3314 { { ac_try="$ac_compiler $ac_option >&5"
3316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3320 $as_echo "$ac_try_echo"; } >&5
3321 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3323 if test -s conftest.err; then
3325 ... rest of stderr output deleted ...
3326 10q' conftest.err >conftest.er1
3327 cat conftest.er1 >&5
3329 rm -f conftest.er1 conftest.err
3330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3331 test $ac_status = 0; }
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3345 ac_clean_files_save=$ac_clean_files
3346 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3347 # Try to create an executable without -o first, disregard a.out.
3348 # It will help us diagnose broken compilers, and finding out an intuition
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3351 $as_echo_n "checking whether the C compiler works... " >&6; }
3352 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3354 # The possible output files:
3355 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3358 for ac_file in $ac_files
3361 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3362 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3367 if { { ac_try="$ac_link_default"
3369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3370 *) ac_try_echo=$ac_try;;
3372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3373 $as_echo "$ac_try_echo"; } >&5
3374 (eval "$ac_link_default") 2>&5
3376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3377 test $ac_status = 0; }; then :
3378 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3379 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3380 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3381 # so that the user can short-circuit this test for compilers unknown to
3383 for ac_file in $ac_files ''
3385 test -f "$ac_file" || continue
3387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3390 # We found the default executable, but exeext='' is most
3394 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3396 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3398 # We set ac_cv_exeext here because the later test for it is not
3399 # safe: cross compilers may not add the suffix if given an `-o'
3400 # argument, so we may need to know it at that point already.
3401 # Even if this section looks crufty: it has the advantage of
3408 test "$ac_cv_exeext" = no && ac_cv_exeext=
3413 if test -z "$ac_file"; then :
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3415 $as_echo "no" >&6; }
3416 $as_echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.$ac_ext >&5
3419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3421 as_fn_error 77 "C compiler cannot create executables
3422 See \`config.log' for more details" "$LINENO" 5; }
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3425 $as_echo "yes" >&6; }
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3428 $as_echo_n "checking for C compiler default output file name... " >&6; }
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3430 $as_echo "$ac_file" >&6; }
3431 ac_exeext=$ac_cv_exeext
3433 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3434 ac_clean_files=$ac_clean_files_save
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3436 $as_echo_n "checking for suffix of executables... " >&6; }
3437 if { { ac_try="$ac_link"
3439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3440 *) ac_try_echo=$ac_try;;
3442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3443 $as_echo "$ac_try_echo"; } >&5
3444 (eval "$ac_link") 2>&5
3446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3447 test $ac_status = 0; }; then :
3448 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3449 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3450 # work properly (i.e., refer to `conftest.exe'), while it won't with
3452 for ac_file in conftest.exe conftest conftest.*; do
3453 test -f "$ac_file" || continue
3455 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3456 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3465 See \`config.log' for more details" "$LINENO" 5; }
3467 rm -f conftest conftest$ac_cv_exeext
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3469 $as_echo "$ac_cv_exeext" >&6; }
3471 rm -f conftest.$ac_ext
3472 EXEEXT=$ac_cv_exeext
3474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3475 /* end confdefs.h. */
3480 FILE *f = fopen ("conftest.out", "w");
3481 return ferror (f) || fclose (f) != 0;
3487 ac_clean_files="$ac_clean_files conftest.out"
3488 # Check that the compiler produces executables we can run. If not, either
3489 # the compiler is broken, or we cross compile.
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3491 $as_echo_n "checking whether we are cross compiling... " >&6; }
3492 if test "$cross_compiling" != yes; then
3493 { { ac_try="$ac_link"
3495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3496 *) ac_try_echo=$ac_try;;
3498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3499 $as_echo "$ac_try_echo"; } >&5
3500 (eval "$ac_link") 2>&5
3502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3503 test $ac_status = 0; }
3504 if { ac_try='./conftest$ac_cv_exeext'
3505 { { case "(($ac_try" in
3506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3507 *) ac_try_echo=$ac_try;;
3509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3510 $as_echo "$ac_try_echo"; } >&5
3511 (eval "$ac_try") 2>&5
3513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3514 test $ac_status = 0; }; }; then
3517 if test "$cross_compiling" = maybe; then
3520 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3522 as_fn_error $? "cannot run C compiled programs.
3523 If you meant to cross compile, use \`--host'.
3524 See \`config.log' for more details" "$LINENO" 5; }
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3529 $as_echo "$cross_compiling" >&6; }
3531 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3532 ac_clean_files=$ac_clean_files_save
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3534 $as_echo_n "checking for suffix of object files... " >&6; }
3535 if ${ac_cv_objext+:} false; then :
3536 $as_echo_n "(cached) " >&6
3538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3539 /* end confdefs.h. */
3549 rm -f conftest.o conftest.obj
3550 if { { ac_try="$ac_compile"
3552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3553 *) ac_try_echo=$ac_try;;
3555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3556 $as_echo "$ac_try_echo"; } >&5
3557 (eval "$ac_compile") 2>&5
3559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3560 test $ac_status = 0; }; then :
3561 for ac_file in conftest.o conftest.obj conftest.*; do
3562 test -f "$ac_file" || continue;
3564 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3565 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3570 $as_echo "$as_me: failed program was:" >&5
3571 sed 's/^/| /' conftest.$ac_ext >&5
3573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3575 as_fn_error $? "cannot compute suffix of object files: cannot compile
3576 See \`config.log' for more details" "$LINENO" 5; }
3578 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3581 $as_echo "$ac_cv_objext" >&6; }
3582 OBJEXT=$ac_cv_objext
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3585 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3586 if ${ac_cv_c_compiler_gnu+:} false; then :
3587 $as_echo_n "(cached) " >&6
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590 /* end confdefs.h. */
3603 if ac_fn_c_try_compile "$LINENO"; then :
3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3609 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3613 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3614 if test $ac_compiler_gnu = yes; then
3619 ac_test_CFLAGS=${CFLAGS+set}
3620 ac_save_CFLAGS=$CFLAGS
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3622 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3623 if ${ac_cv_prog_cc_g+:} false; then :
3624 $as_echo_n "(cached) " >&6
3626 ac_save_c_werror_flag=$ac_c_werror_flag
3627 ac_c_werror_flag=yes
3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631 /* end confdefs.h. */
3641 if ac_fn_c_try_compile "$LINENO"; then :
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3656 if ac_fn_c_try_compile "$LINENO"; then :
3659 ac_c_werror_flag=$ac_save_c_werror_flag
3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h. */
3672 if ac_fn_c_try_compile "$LINENO"; then :
3675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3680 ac_c_werror_flag=$ac_save_c_werror_flag
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3683 $as_echo "$ac_cv_prog_cc_g" >&6; }
3684 if test "$ac_test_CFLAGS" = set; then
3685 CFLAGS=$ac_save_CFLAGS
3686 elif test $ac_cv_prog_cc_g = yes; then
3687 if test "$GCC" = yes; then
3693 if test "$GCC" = yes; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3700 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3701 if ${ac_cv_prog_cc_c89+:} false; then :
3702 $as_echo_n "(cached) " >&6
3704 ac_cv_prog_cc_c89=no
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3710 #include <sys/types.h>
3711 #include <sys/stat.h>
3712 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3713 struct buf { int x; };
3714 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3715 static char *e (p, i)
3721 static char *f (char * (*g) (char **, int), char **p, ...)
3726 s = g (p, va_arg (v,int));
3731 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3732 function prototypes and stuff, but not '\xHH' hex character constants.
3733 These don't provoke an error unfortunately, instead are silently treated
3734 as 'x'. The following induces an error, until -std is added to get
3735 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3736 array size at least. It's necessary to write '\x00'==0 to get something
3737 that's true only with -std. */
3738 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3740 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3741 inside strings and character constants. */
3743 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3745 int test (int i, double x);
3746 struct s1 {int (*f) (int a);};
3747 struct s2 {int (*f) (double a);};
3748 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3754 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3759 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3760 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3762 CC="$ac_save_CC $ac_arg"
3763 if ac_fn_c_try_compile "$LINENO"; then :
3764 ac_cv_prog_cc_c89=$ac_arg
3766 rm -f core conftest.err conftest.$ac_objext
3767 test "x$ac_cv_prog_cc_c89" != "xno" && break
3769 rm -f conftest.$ac_ext
3774 case "x$ac_cv_prog_cc_c89" in
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3777 $as_echo "none needed" >&6; } ;;
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3780 $as_echo "unsupported" >&6; } ;;
3782 CC="$CC $ac_cv_prog_cc_c89"
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3784 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3786 if test "x$ac_cv_prog_cc_c89" != xno; then :
3791 ac_cpp='$CPP $CPPFLAGS'
3792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3796 depcc="$CC" am_compiler_list=
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3799 $as_echo_n "checking dependency style of $depcc... " >&6; }
3800 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3801 $as_echo_n "(cached) " >&6
3803 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3804 # We make a subdir and do the tests there. Otherwise we can end up
3805 # making bogus files that we don't know about and never remove. For
3806 # instance it was reported that on HP-UX the gcc test will end up
3807 # making a dummy file named `D' -- because `-MD' means `put the output
3810 # Copy depcomp to subdir because otherwise we won't find it if we're
3811 # using a relative directory.
3812 cp "$am_depcomp" conftest.dir
3814 # We will build objects and dependencies in a subdirectory because
3815 # it helps to detect inapplicable dependency modes. For instance
3816 # both Tru64's cc and ICC support -MD to output dependencies as a
3817 # side effect of compilation, but ICC will put the dependencies in
3818 # the current directory while Tru64 will put them in the object
3822 am_cv_CC_dependencies_compiler_type=none
3823 if test "$am_compiler_list" = ""; then
3824 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3827 case " $depcc " in #(
3828 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3831 for depmode in $am_compiler_list; do
3832 # Setup a source with many dependencies, because some compilers
3833 # like to wrap large dependency lists on column 80 (with \), and
3834 # we should not choose a depcomp mode which is confused by this.
3836 # We need to recreate these files for each test, as the compiler may
3837 # overwrite some of them when testing with obscure command lines.
3838 # This happens at least with the AIX C compiler.
3840 for i in 1 2 3 4 5 6; do
3841 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3842 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3843 # Solaris 8's {/usr,}/bin/sh.
3844 touch sub/conftst$i.h
3846 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3848 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3849 # mode. It turns out that the SunPro C++ compiler does not properly
3850 # handle `-M -o', and we need to detect this. Also, some Intel
3851 # versions had trouble with output in subdirs
3852 am__obj=sub/conftest.${OBJEXT-o}
3853 am__minus_obj="-o $am__obj"
3856 # This depmode causes a compiler race in universal mode.
3857 test "$am__universal" = false || continue
3860 # after this tag, mechanisms are not by side-effect, so they'll
3861 # only be used when explicitly requested
3862 if test "x$enable_dependency_tracking" = xyes; then
3868 msvisualcpp | msvcmsys)
3869 # This compiler won't grok `-c -o', but also, the minuso test has
3870 # not run yet. These depmodes are late enough in the game, and
3871 # so weak that their functioning should not be impacted.
3872 am__obj=conftest.${OBJEXT-o}
3877 if depmode=$depmode \
3878 source=sub/conftest.c object=$am__obj \
3879 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3880 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3881 >/dev/null 2>conftest.err &&
3882 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3883 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3884 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3885 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3886 # icc doesn't choke on unknown options, it will just issue warnings
3887 # or remarks (even with -Werror). So we grep stderr for any message
3888 # that says an option was ignored or not supported.
3889 # When given -MP, icc 7.0 and 7.1 complain thusly:
3890 # icc: Command line warning: ignoring option '-M'; no argument required
3891 # The diagnosis changed in icc 8.0:
3892 # icc: Command line remark: option '-MP' not supported
3893 if (grep 'ignoring option' conftest.err ||
3894 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3895 am_cv_CC_dependencies_compiler_type=$depmode
3904 am_cv_CC_dependencies_compiler_type=none
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3909 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3910 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3913 test "x$enable_dependency_tracking" != xno \
3914 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3916 am__fastdepCC_FALSE='#'
3918 am__fastdepCC_TRUE='#'
3919 am__fastdepCC_FALSE=
3926 case "$am__api_version" in
3928 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3934 if test -n "0.21"; then
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5
3936 $as_echo_n "checking for intltool >= 0.21... " >&6; }
3938 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3939 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3940 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3943 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3944 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3945 as_fn_error $? "Your intltool is too old. You need intltool 0.21 or later." "$LINENO" 5
3948 # Extract the first word of "intltool-update", so it can be a program name with args.
3949 set dummy intltool-update; ac_word=$2
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3951 $as_echo_n "checking for $ac_word... " >&6; }
3952 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3953 $as_echo_n "(cached) " >&6
3955 case $INTLTOOL_UPDATE in
3957 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964 test -z "$as_dir" && as_dir=.
3965 for ac_exec_ext in '' $ac_executable_extensions; do
3966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3967 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3979 if test -n "$INTLTOOL_UPDATE"; then
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3981 $as_echo "$INTLTOOL_UPDATE" >&6; }
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3984 $as_echo "no" >&6; }
3988 # Extract the first word of "intltool-merge", so it can be a program name with args.
3989 set dummy intltool-merge; ac_word=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
3993 $as_echo_n "(cached) " >&6
3995 case $INTLTOOL_MERGE in
3997 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004 test -z "$as_dir" && as_dir=.
4005 for ac_exec_ext in '' $ac_executable_extensions; do
4006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4007 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4019 if test -n "$INTLTOOL_MERGE"; then
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4021 $as_echo "$INTLTOOL_MERGE" >&6; }
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4024 $as_echo "no" >&6; }
4028 # Extract the first word of "intltool-extract", so it can be a program name with args.
4029 set dummy intltool-extract; ac_word=$2
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4031 $as_echo_n "checking for $ac_word... " >&6; }
4032 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4033 $as_echo_n "(cached) " >&6
4035 case $INTLTOOL_EXTRACT in
4037 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4044 test -z "$as_dir" && as_dir=.
4045 for ac_exec_ext in '' $ac_executable_extensions; do
4046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4047 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4058 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4059 if test -n "$INTLTOOL_EXTRACT"; then
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4061 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4064 $as_echo "no" >&6; }
4068 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4069 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4072 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 $< $@'
4073 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 $< $@'
4074 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 $< $@'
4075 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 $< $@'
4076 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4077 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 $< $@'
4078 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 $< $@'
4079 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 $< $@'
4080 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 $< $@'
4081 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 $< $@'
4082 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 $< $@'
4083 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4084 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 $< $@'
4085 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 $< $@'
4086 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 $< $@'
4087 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 $< $@'
4088 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 $< $@'
4089 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 $< $@'
4090 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 $< $@'
4188 # Check the gettext tools to make sure they are GNU
4189 # Extract the first word of "xgettext", so it can be a program name with args.
4190 set dummy xgettext; ac_word=$2
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192 $as_echo_n "checking for $ac_word... " >&6; }
4193 if ${ac_cv_path_XGETTEXT+:} false; then :
4194 $as_echo_n "(cached) " >&6
4198 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205 test -z "$as_dir" && as_dir=.
4206 for ac_exec_ext in '' $ac_executable_extensions; do
4207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4208 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 XGETTEXT=$ac_cv_path_XGETTEXT
4220 if test -n "$XGETTEXT"; then
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4222 $as_echo "$XGETTEXT" >&6; }
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4225 $as_echo "no" >&6; }
4229 # Extract the first word of "msgmerge", so it can be a program name with args.
4230 set dummy msgmerge; ac_word=$2
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4232 $as_echo_n "checking for $ac_word... " >&6; }
4233 if ${ac_cv_path_MSGMERGE+:} false; then :
4234 $as_echo_n "(cached) " >&6
4238 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir=.
4246 for ac_exec_ext in '' $ac_executable_extensions; do
4247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4248 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4259 MSGMERGE=$ac_cv_path_MSGMERGE
4260 if test -n "$MSGMERGE"; then
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4262 $as_echo "$MSGMERGE" >&6; }
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4265 $as_echo "no" >&6; }
4269 # Extract the first word of "msgfmt", so it can be a program name with args.
4270 set dummy msgfmt; ac_word=$2
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4272 $as_echo_n "checking for $ac_word... " >&6; }
4273 if ${ac_cv_path_MSGFMT+:} false; then :
4274 $as_echo_n "(cached) " >&6
4278 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4285 test -z "$as_dir" && as_dir=.
4286 for ac_exec_ext in '' $ac_executable_extensions; do
4287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4288 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4299 MSGFMT=$ac_cv_path_MSGFMT
4300 if test -n "$MSGFMT"; then
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4302 $as_echo "$MSGFMT" >&6; }
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4305 $as_echo "no" >&6; }
4309 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4310 set dummy gmsgfmt; ac_word=$2
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4312 $as_echo_n "checking for $ac_word... " >&6; }
4313 if ${ac_cv_path_GMSGFMT+:} false; then :
4314 $as_echo_n "(cached) " >&6
4318 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir=.
4326 for ac_exec_ext in '' $ac_executable_extensions; do
4327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4328 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4340 GMSGFMT=$ac_cv_path_GMSGFMT
4341 if test -n "$GMSGFMT"; then
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4343 $as_echo "$GMSGFMT" >&6; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4346 $as_echo "no" >&6; }
4350 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4351 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4353 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4354 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4355 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4356 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4357 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4360 # Extract the first word of "perl", so it can be a program name with args.
4361 set dummy perl; ac_word=$2
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4363 $as_echo_n "checking for $ac_word... " >&6; }
4364 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4365 $as_echo_n "(cached) " >&6
4367 case $INTLTOOL_PERL in
4369 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4376 test -z "$as_dir" && as_dir=.
4377 for ac_exec_ext in '' $ac_executable_extensions; do
4378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4379 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4390 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4391 if test -n "$INTLTOOL_PERL"; then
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4393 $as_echo "$INTLTOOL_PERL" >&6; }
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4396 $as_echo "no" >&6; }
4400 if test -z "$INTLTOOL_PERL"; then
4401 as_fn_error $? "perl not found" "$LINENO" 5
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4404 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4405 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4406 if test $? -ne 0; then
4407 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4409 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4411 $as_echo "$IT_PERL_VERSION" >&6; }
4413 if test "x" != "xno-xml"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4415 $as_echo_n "checking for XML::Parser... " >&6; }
4416 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4418 $as_echo "ok" >&6; }
4420 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4424 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4427 # Set DATADIRNAME correctly if it is not set yet
4428 # (copied from glib-gettext.m4)
4429 if test -z "$DATADIRNAME"; then
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4436 extern int _nl_msg_cat_cntr;
4437 return _nl_msg_cat_cntr
4442 if ac_fn_c_try_link "$LINENO"; then :
4447 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4448 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4460 rm -f core conftest.err conftest.$ac_objext \
4461 conftest$ac_exeext conftest.$ac_ext
4475 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4476 if test -n "$ac_tool_prefix"; then
4477 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4478 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4480 $as_echo_n "checking for $ac_word... " >&6; }
4481 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4482 $as_echo_n "(cached) " >&6
4486 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4496 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4508 if test -n "$PKG_CONFIG"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4510 $as_echo "$PKG_CONFIG" >&6; }
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513 $as_echo "no" >&6; }
4518 if test -z "$ac_cv_path_PKG_CONFIG"; then
4519 ac_pt_PKG_CONFIG=$PKG_CONFIG
4520 # Extract the first word of "pkg-config", so it can be a program name with args.
4521 set dummy pkg-config; ac_word=$2
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4523 $as_echo_n "checking for $ac_word... " >&6; }
4524 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4525 $as_echo_n "(cached) " >&6
4527 case $ac_pt_PKG_CONFIG in
4529 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4536 test -z "$as_dir" && as_dir=.
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4539 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4550 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4551 if test -n "$ac_pt_PKG_CONFIG"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4553 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 $as_echo "no" >&6; }
4559 if test "x$ac_pt_PKG_CONFIG" = x; then
4562 case $cross_compiling:$ac_tool_warned in
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4566 ac_tool_warned=yes ;;
4568 PKG_CONFIG=$ac_pt_PKG_CONFIG
4571 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4575 if test -n "$PKG_CONFIG"; then
4576 _pkg_min_version=0.9.0
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4578 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4579 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4581 $as_echo "yes" >&6; }
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4592 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4598 macro_revision='1.3293'
4612 ltmain="$ac_aux_dir/ltmain.sh"
4614 # Make sure we can run config.sub.
4615 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4616 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4619 $as_echo_n "checking build system type... " >&6; }
4620 if ${ac_cv_build+:} false; then :
4621 $as_echo_n "(cached) " >&6
4623 ac_build_alias=$build_alias
4624 test "x$ac_build_alias" = x &&
4625 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4626 test "x$ac_build_alias" = x &&
4627 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4628 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4629 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4633 $as_echo "$ac_cv_build" >&6; }
4634 case $ac_cv_build in
4636 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4639 ac_save_IFS=$IFS; IFS='-'
4645 # Remember, the first character of IFS is used to create $*,
4646 # except with old shells:
4649 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4653 $as_echo_n "checking host system type... " >&6; }
4654 if ${ac_cv_host+:} false; then :
4655 $as_echo_n "(cached) " >&6
4657 if test "x$host_alias" = x; then
4658 ac_cv_host=$ac_cv_build
4660 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4661 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4666 $as_echo "$ac_cv_host" >&6; }
4669 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4672 ac_save_IFS=$IFS; IFS='-'
4678 # Remember, the first character of IFS is used to create $*,
4679 # except with old shells:
4682 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4685 # Backslashify metacharacters that are still active within
4686 # double-quoted strings.
4687 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4689 # Same as above, but do not quote variable references.
4690 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4692 # Sed substitution to delay expansion of an escaped shell variable in a
4693 # double_quote_subst'ed string.
4694 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4696 # Sed substitution to delay expansion of an escaped single quote.
4697 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4699 # Sed substitution to avoid accidental globbing in evaled expressions
4700 no_glob_subst='s/\*/\\\*/g'
4702 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4703 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4704 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4707 $as_echo_n "checking how to print strings... " >&6; }
4708 # Test print first, because it will be a builtin if present.
4709 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4710 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4712 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4715 # Use this function as a fallback that always works.
4716 func_fallback_echo ()
4718 eval 'cat <<_LTECHO_EOF
4722 ECHO='func_fallback_echo'
4725 # func_echo_all arg...
4726 # Invoke $ECHO with all args, space-separated.
4733 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4734 $as_echo "printf" >&6; } ;;
4735 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4736 $as_echo "print -r" >&6; } ;;
4737 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4738 $as_echo "cat" >&6; } ;;
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4755 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4756 if ${ac_cv_path_SED+:} false; then :
4757 $as_echo_n "(cached) " >&6
4759 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4760 for ac_i in 1 2 3 4 5 6 7; do
4761 ac_script="$ac_script$as_nl$ac_script"
4763 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4764 { ac_script=; unset ac_script;}
4765 if test -z "$SED"; then
4766 ac_path_SED_found=false
4767 # Loop through the user's path and test for each of PROGNAME-LIST
4768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772 test -z "$as_dir" && as_dir=.
4773 for ac_prog in sed gsed; do
4774 for ac_exec_ext in '' $ac_executable_extensions; do
4775 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4776 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4777 # Check for GNU ac_path_SED and select it if it is found.
4778 # Check for GNU $ac_path_SED
4779 case `"$ac_path_SED" --version 2>&1` in
4781 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4784 $as_echo_n 0123456789 >"conftest.in"
4787 cat "conftest.in" "conftest.in" >"conftest.tmp"
4788 mv "conftest.tmp" "conftest.in"
4789 cp "conftest.in" "conftest.nl"
4790 $as_echo '' >> "conftest.nl"
4791 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4792 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4793 as_fn_arith $ac_count + 1 && ac_count=$as_val
4794 if test $ac_count -gt ${ac_path_SED_max-0}; then
4795 # Best one so far, save it but keep looking for a better one
4796 ac_cv_path_SED="$ac_path_SED"
4797 ac_path_SED_max=$ac_count
4799 # 10*(2^10) chars as input seems more than enough
4800 test $ac_count -gt 10 && break
4802 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4805 $ac_path_SED_found && break 3
4810 if test -z "$ac_cv_path_SED"; then
4811 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4819 $as_echo "$ac_cv_path_SED" >&6; }
4820 SED="$ac_cv_path_SED"
4823 test -z "$SED" && SED=sed
4824 Xsed="$SED -e 1s/^X//"
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4837 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4838 if ${ac_cv_path_GREP+:} false; then :
4839 $as_echo_n "(cached) " >&6
4841 if test -z "$GREP"; then
4842 ac_path_GREP_found=false
4843 # Loop through the user's path and test for each of PROGNAME-LIST
4844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4845 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4848 test -z "$as_dir" && as_dir=.
4849 for ac_prog in grep ggrep; do
4850 for ac_exec_ext in '' $ac_executable_extensions; do
4851 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4852 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4853 # Check for GNU ac_path_GREP and select it if it is found.
4854 # Check for GNU $ac_path_GREP
4855 case `"$ac_path_GREP" --version 2>&1` in
4857 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4860 $as_echo_n 0123456789 >"conftest.in"
4863 cat "conftest.in" "conftest.in" >"conftest.tmp"
4864 mv "conftest.tmp" "conftest.in"
4865 cp "conftest.in" "conftest.nl"
4866 $as_echo 'GREP' >> "conftest.nl"
4867 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4868 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4869 as_fn_arith $ac_count + 1 && ac_count=$as_val
4870 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4871 # Best one so far, save it but keep looking for a better one
4872 ac_cv_path_GREP="$ac_path_GREP"
4873 ac_path_GREP_max=$ac_count
4875 # 10*(2^10) chars as input seems more than enough
4876 test $ac_count -gt 10 && break
4878 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4881 $ac_path_GREP_found && break 3
4886 if test -z "$ac_cv_path_GREP"; then
4887 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4890 ac_cv_path_GREP=$GREP
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4895 $as_echo "$ac_cv_path_GREP" >&6; }
4896 GREP="$ac_cv_path_GREP"
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4900 $as_echo_n "checking for egrep... " >&6; }
4901 if ${ac_cv_path_EGREP+:} false; then :
4902 $as_echo_n "(cached) " >&6
4904 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4905 then ac_cv_path_EGREP="$GREP -E"
4907 if test -z "$EGREP"; then
4908 ac_path_EGREP_found=false
4909 # Loop through the user's path and test for each of PROGNAME-LIST
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4914 test -z "$as_dir" && as_dir=.
4915 for ac_prog in egrep; do
4916 for ac_exec_ext in '' $ac_executable_extensions; do
4917 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4918 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4919 # Check for GNU ac_path_EGREP and select it if it is found.
4920 # Check for GNU $ac_path_EGREP
4921 case `"$ac_path_EGREP" --version 2>&1` in
4923 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4926 $as_echo_n 0123456789 >"conftest.in"
4929 cat "conftest.in" "conftest.in" >"conftest.tmp"
4930 mv "conftest.tmp" "conftest.in"
4931 cp "conftest.in" "conftest.nl"
4932 $as_echo 'EGREP' >> "conftest.nl"
4933 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4934 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4935 as_fn_arith $ac_count + 1 && ac_count=$as_val
4936 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4937 # Best one so far, save it but keep looking for a better one
4938 ac_cv_path_EGREP="$ac_path_EGREP"
4939 ac_path_EGREP_max=$ac_count
4941 # 10*(2^10) chars as input seems more than enough
4942 test $ac_count -gt 10 && break
4944 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4947 $ac_path_EGREP_found && break 3
4952 if test -z "$ac_cv_path_EGREP"; then
4953 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4956 ac_cv_path_EGREP=$EGREP
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4962 $as_echo "$ac_cv_path_EGREP" >&6; }
4963 EGREP="$ac_cv_path_EGREP"
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4967 $as_echo_n "checking for fgrep... " >&6; }
4968 if ${ac_cv_path_FGREP+:} false; then :
4969 $as_echo_n "(cached) " >&6
4971 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4972 then ac_cv_path_FGREP="$GREP -F"
4974 if test -z "$FGREP"; then
4975 ac_path_FGREP_found=false
4976 # Loop through the user's path and test for each of PROGNAME-LIST
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4981 test -z "$as_dir" && as_dir=.
4982 for ac_prog in fgrep; do
4983 for ac_exec_ext in '' $ac_executable_extensions; do
4984 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4985 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4986 # Check for GNU ac_path_FGREP and select it if it is found.
4987 # Check for GNU $ac_path_FGREP
4988 case `"$ac_path_FGREP" --version 2>&1` in
4990 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4993 $as_echo_n 0123456789 >"conftest.in"
4996 cat "conftest.in" "conftest.in" >"conftest.tmp"
4997 mv "conftest.tmp" "conftest.in"
4998 cp "conftest.in" "conftest.nl"
4999 $as_echo 'FGREP' >> "conftest.nl"
5000 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5001 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5002 as_fn_arith $ac_count + 1 && ac_count=$as_val
5003 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5004 # Best one so far, save it but keep looking for a better one
5005 ac_cv_path_FGREP="$ac_path_FGREP"
5006 ac_path_FGREP_max=$ac_count
5008 # 10*(2^10) chars as input seems more than enough
5009 test $ac_count -gt 10 && break
5011 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5014 $ac_path_FGREP_found && break 3
5019 if test -z "$ac_cv_path_FGREP"; then
5020 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5023 ac_cv_path_FGREP=$FGREP
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5029 $as_echo "$ac_cv_path_FGREP" >&6; }
5030 FGREP="$ac_cv_path_FGREP"
5033 test -z "$GREP" && GREP=grep
5053 # Check whether --with-gnu-ld was given.
5054 if test "${with_gnu_ld+set}" = set; then :
5055 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5061 if test "$GCC" = yes; then
5062 # Check if gcc -print-prog-name=ld gives a path.
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5064 $as_echo_n "checking for ld used by $CC... " >&6; }
5067 # gcc leaves a trailing carriage return which upsets mingw
5068 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5070 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5073 # Accept absolute paths.
5075 re_direlt='/[^/][^/]*/\.\./'
5076 # Canonicalize the pathname of ld
5077 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5078 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5079 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5081 test -z "$LD" && LD="$ac_prog"
5084 # If it fails, then pretend we aren't using GCC.
5088 # If it is relative, then search for the first ld in PATH.
5092 elif test "$with_gnu_ld" = yes; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5094 $as_echo_n "checking for GNU ld... " >&6; }
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5097 $as_echo_n "checking for non-GNU ld... " >&6; }
5099 if ${lt_cv_path_LD+:} false; then :
5100 $as_echo_n "(cached) " >&6
5102 if test -z "$LD"; then
5103 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5104 for ac_dir in $PATH; do
5106 test -z "$ac_dir" && ac_dir=.
5107 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5108 lt_cv_path_LD="$ac_dir/$ac_prog"
5109 # Check to see if the program is GNU ld. I'd rather use --version,
5110 # but apparently some variants of GNU ld only accept -v.
5111 # Break only if it was the GNU/non-GNU ld that we prefer.
5112 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5113 *GNU* | *'with BFD'*)
5114 test "$with_gnu_ld" != no && break
5117 test "$with_gnu_ld" != yes && break
5124 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5129 if test -n "$LD"; then
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5131 $as_echo "$LD" >&6; }
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5134 $as_echo "no" >&6; }
5136 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5138 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5139 if ${lt_cv_prog_gnu_ld+:} false; then :
5140 $as_echo_n "(cached) " >&6
5142 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5143 case `$LD -v 2>&1 </dev/null` in
5144 *GNU* | *'with BFD'*)
5145 lt_cv_prog_gnu_ld=yes
5148 lt_cv_prog_gnu_ld=no
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5153 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5154 with_gnu_ld=$lt_cv_prog_gnu_ld
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5165 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5166 if ${lt_cv_path_NM+:} false; then :
5167 $as_echo_n "(cached) " >&6
5169 if test -n "$NM"; then
5170 # Let the user override the test.
5173 lt_nm_to_check="${ac_tool_prefix}nm"
5174 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5175 lt_nm_to_check="$lt_nm_to_check nm"
5177 for lt_tmp_nm in $lt_nm_to_check; do
5178 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5179 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5181 test -z "$ac_dir" && ac_dir=.
5182 tmp_nm="$ac_dir/$lt_tmp_nm"
5183 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5184 # Check to see if the nm accepts a BSD-compat flag.
5185 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5186 # nm: unknown option "B" ignored
5187 # Tru64's nm complains that /dev/null is an invalid object file
5188 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5189 */dev/null* | *'Invalid file or object type'*)
5190 lt_cv_path_NM="$tmp_nm -B"
5194 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5196 lt_cv_path_NM="$tmp_nm -p"
5200 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5201 continue # so that we can try to find one that supports BSD flags
5210 : ${lt_cv_path_NM=no}
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5214 $as_echo "$lt_cv_path_NM" >&6; }
5215 if test "$lt_cv_path_NM" != "no"; then
5218 # Didn't find any BSD compatible name lister, look for dumpbin.
5219 if test -n "$DUMPBIN"; then :
5220 # Let the user override the test.
5222 if test -n "$ac_tool_prefix"; then
5223 for ac_prog in dumpbin "link -dump"
5225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if ${ac_cv_prog_DUMPBIN+:} false; then :
5230 $as_echo_n "(cached) " >&6
5232 if test -n "$DUMPBIN"; then
5233 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir=.
5240 for ac_exec_ext in '' $ac_executable_extensions; do
5241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 DUMPBIN=$ac_cv_prog_DUMPBIN
5253 if test -n "$DUMPBIN"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5255 $as_echo "$DUMPBIN" >&6; }
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5262 test -n "$DUMPBIN" && break
5265 if test -z "$DUMPBIN"; then
5266 ac_ct_DUMPBIN=$DUMPBIN
5267 for ac_prog in dumpbin "link -dump"
5269 # Extract the first word of "$ac_prog", so it can be a program name with args.
5270 set dummy $ac_prog; ac_word=$2
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5272 $as_echo_n "checking for $ac_word... " >&6; }
5273 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5274 $as_echo_n "(cached) " >&6
5276 if test -n "$ac_ct_DUMPBIN"; then
5277 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5283 test -z "$as_dir" && as_dir=.
5284 for ac_exec_ext in '' $ac_executable_extensions; do
5285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5286 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5296 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5297 if test -n "$ac_ct_DUMPBIN"; then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5299 $as_echo "$ac_ct_DUMPBIN" >&6; }
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5302 $as_echo "no" >&6; }
5306 test -n "$ac_ct_DUMPBIN" && break
5309 if test "x$ac_ct_DUMPBIN" = x; then
5312 case $cross_compiling:$ac_tool_warned in
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5316 ac_tool_warned=yes ;;
5318 DUMPBIN=$ac_ct_DUMPBIN
5322 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5324 DUMPBIN="$DUMPBIN -symbols"
5332 if test "$DUMPBIN" != ":"; then
5336 test -z "$NM" && NM=nm
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5344 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5345 if ${lt_cv_nm_interface+:} false; then :
5346 $as_echo_n "(cached) " >&6
5348 lt_cv_nm_interface="BSD nm"
5349 echo "int some_variable = 0;" > conftest.$ac_ext
5350 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5351 (eval "$ac_compile" 2>conftest.err)
5352 cat conftest.err >&5
5353 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5354 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5355 cat conftest.err >&5
5356 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5357 cat conftest.out >&5
5358 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5359 lt_cv_nm_interface="MS dumpbin"
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5364 $as_echo "$lt_cv_nm_interface" >&6; }
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5367 $as_echo_n "checking whether ln -s works... " >&6; }
5369 if test "$LN_S" = "ln -s"; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5371 $as_echo "yes" >&6; }
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5374 $as_echo "no, using $LN_S" >&6; }
5377 # find the maximum length of command line arguments
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5379 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5380 if ${lt_cv_sys_max_cmd_len+:} false; then :
5381 $as_echo_n "(cached) " >&6
5388 # On DJGPP, this test can blow up pretty badly due to problems in libc
5389 # (any single argument exceeding 2000 bytes causes a buffer overrun
5390 # during glob expansion). Even if it were fixed, the result of this
5391 # check would be larger than it should be.
5392 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5396 # Under GNU Hurd, this test is not required because there is
5397 # no limit to the length of command line arguments.
5398 # Libtool will interpret -1 as no limit whatsoever
5399 lt_cv_sys_max_cmd_len=-1;
5402 cygwin* | mingw* | cegcc*)
5403 # On Win9x/ME, this test blows up -- it succeeds, but takes
5404 # about 5 minutes as the teststring grows exponentially.
5405 # Worse, since 9x/ME are not pre-emptively multitasking,
5406 # you end up with a "frozen" computer, even though with patience
5407 # the test eventually succeeds (with a max line length of 256k).
5408 # Instead, let's just punt: use the minimum linelength reported by
5409 # all of the supported platforms: 8192 (on NT/2K/XP).
5410 lt_cv_sys_max_cmd_len=8192;
5414 # On MiNT this can take a long time and run out of memory.
5415 lt_cv_sys_max_cmd_len=8192;
5419 # On AmigaOS with pdksh, this test takes hours, literally.
5420 # So we just punt and use a minimum line length of 8192.
5421 lt_cv_sys_max_cmd_len=8192;
5424 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5425 # This has been around since 386BSD, at least. Likely further.
5426 if test -x /sbin/sysctl; then
5427 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5428 elif test -x /usr/sbin/sysctl; then
5429 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5431 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5433 # And add a safety zone
5434 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5435 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5439 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5440 lt_cv_sys_max_cmd_len=196608
5444 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5445 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5446 # nice to cause kernel panics so lets avoid the loop below.
5447 # First set a reasonable default.
5448 lt_cv_sys_max_cmd_len=16384
5450 if test -x /sbin/sysconfig; then
5451 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5452 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5457 lt_cv_sys_max_cmd_len=102400
5459 sysv5* | sco5v6* | sysv4.2uw2*)
5460 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5461 if test -n "$kargmax"; then
5462 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5464 lt_cv_sys_max_cmd_len=32768
5468 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5469 if test -n "$lt_cv_sys_max_cmd_len"; then
5470 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5471 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5473 # Make teststring a little bigger before we do anything with it.
5474 # a 1K string should be a reasonable start.
5475 for i in 1 2 3 4 5 6 7 8 ; do
5476 teststring=$teststring$teststring
5478 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5479 # If test is not a shell built-in, we'll probably end up computing a
5480 # maximum length that is only half of the actual maximum length, but
5482 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5483 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5484 test $i != 17 # 1/2 MB should be enough
5487 teststring=$teststring$teststring
5489 # Only check the string length outside the loop.
5490 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5492 # Add a significant safety factor because C++ compilers can tack on
5493 # massive amounts of additional arguments before passing them to the
5494 # linker. It appears as though 1/2 is a usable value.
5495 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5502 if test -n $lt_cv_sys_max_cmd_len ; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5504 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5507 $as_echo "none" >&6; }
5509 max_cmd_len=$lt_cv_sys_max_cmd_len
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5521 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5522 # Try some XSI features
5525 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5527 && eval 'test $(( 1 + 1 )) -eq 2 \
5528 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5531 $as_echo "$xsi_shell" >&6; }
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5535 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5537 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5539 && lt_shell_append=yes
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5541 $as_echo "$lt_shell_append" >&6; }
5544 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5554 # test EBCDIC or ASCII
5555 case `echo X|tr X '\101'` in
5556 A) # ASCII based system
5557 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5558 lt_SP2NL='tr \040 \012'
5559 lt_NL2SP='tr \015\012 \040\040'
5561 *) # EBCDIC based system
5562 lt_SP2NL='tr \100 \n'
5563 lt_NL2SP='tr \r\n \100\100'
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5576 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5577 if ${lt_cv_to_host_file_cmd+:} false; then :
5578 $as_echo_n "(cached) " >&6
5583 *-*-mingw* ) # actually msys
5584 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5587 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5589 * ) # otherwise, assume *nix
5590 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5596 *-*-mingw* ) # actually msys
5597 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5600 lt_cv_to_host_file_cmd=func_convert_file_noop
5602 * ) # otherwise, assume *nix
5603 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5607 * ) # unhandled hosts (and "normal" native builds)
5608 lt_cv_to_host_file_cmd=func_convert_file_noop
5614 to_host_file_cmd=$lt_cv_to_host_file_cmd
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5616 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5623 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5624 if ${lt_cv_to_tool_file_cmd+:} false; then :
5625 $as_echo_n "(cached) " >&6
5627 #assume ordinary cross tools, or native build.
5628 lt_cv_to_tool_file_cmd=func_convert_file_noop
5632 *-*-mingw* ) # actually msys
5633 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5641 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5643 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5650 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5651 if ${lt_cv_ld_reload_flag+:} false; then :
5652 $as_echo_n "(cached) " >&6
5654 lt_cv_ld_reload_flag='-r'
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5657 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5658 reload_flag=$lt_cv_ld_reload_flag
5659 case $reload_flag in
5661 *) reload_flag=" $reload_flag" ;;
5663 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5665 cygwin* | mingw* | pw32* | cegcc*)
5666 if test "$GCC" != yes; then
5671 if test "$GCC" = yes; then
5672 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5674 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5687 if test -n "$ac_tool_prefix"; then
5688 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5689 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5691 $as_echo_n "checking for $ac_word... " >&6; }
5692 if ${ac_cv_prog_OBJDUMP+:} false; then :
5693 $as_echo_n "(cached) " >&6
5695 if test -n "$OBJDUMP"; then
5696 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5702 test -z "$as_dir" && as_dir=.
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5705 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5715 OBJDUMP=$ac_cv_prog_OBJDUMP
5716 if test -n "$OBJDUMP"; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5718 $as_echo "$OBJDUMP" >&6; }
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 $as_echo "no" >&6; }
5726 if test -z "$ac_cv_prog_OBJDUMP"; then
5727 ac_ct_OBJDUMP=$OBJDUMP
5728 # Extract the first word of "objdump", so it can be a program name with args.
5729 set dummy objdump; ac_word=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731 $as_echo_n "checking for $ac_word... " >&6; }
5732 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5733 $as_echo_n "(cached) " >&6
5735 if test -n "$ac_ct_OBJDUMP"; then
5736 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 test -z "$as_dir" && as_dir=.
5743 for ac_exec_ext in '' $ac_executable_extensions; do
5744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5745 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5756 if test -n "$ac_ct_OBJDUMP"; then
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5758 $as_echo "$ac_ct_OBJDUMP" >&6; }
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }
5764 if test "x$ac_ct_OBJDUMP" = x; then
5767 case $cross_compiling:$ac_tool_warned in
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5771 ac_tool_warned=yes ;;
5773 OBJDUMP=$ac_ct_OBJDUMP
5776 OBJDUMP="$ac_cv_prog_OBJDUMP"
5779 test -z "$OBJDUMP" && OBJDUMP=objdump
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5790 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5791 if ${lt_cv_deplibs_check_method+:} false; then :
5792 $as_echo_n "(cached) " >&6
5794 lt_cv_file_magic_cmd='$MAGIC_CMD'
5795 lt_cv_file_magic_test_file=
5796 lt_cv_deplibs_check_method='unknown'
5797 # Need to set the preceding variable on all platforms that support
5798 # interlibrary dependencies.
5799 # 'none' -- dependencies not supported.
5800 # `unknown' -- same as none, but documents that we really don't know.
5801 # 'pass_all' -- all dependencies passed with no checks.
5802 # 'test_compile' -- check by making test program.
5803 # 'file_magic [[regex]]' -- check by looking for files in library path
5804 # which responds to the $file_magic_cmd with a given extended regex.
5805 # If you have `file' or equivalent on your system and you're not sure
5806 # whether `pass_all' will *always* work, you probably want this one.
5810 lt_cv_deplibs_check_method=pass_all
5814 lt_cv_deplibs_check_method=pass_all
5818 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5819 lt_cv_file_magic_cmd='/usr/bin/file -L'
5820 lt_cv_file_magic_test_file=/shlib/libc.so
5824 # func_win32_libid is a shell function defined in ltmain.sh
5825 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5826 lt_cv_file_magic_cmd='func_win32_libid'
5830 # Base MSYS/MinGW do not provide the 'file' command needed by
5831 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5832 # unless we find 'file', for example because we are cross-compiling.
5833 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5834 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5835 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5836 lt_cv_file_magic_cmd='func_win32_libid'
5838 # Keep this pattern in sync with the one in func_win32_libid.
5839 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5840 lt_cv_file_magic_cmd='$OBJDUMP -f'
5845 # use the weaker test based on 'objdump'. See mingw*.
5846 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5847 lt_cv_file_magic_cmd='$OBJDUMP -f'
5850 darwin* | rhapsody*)
5851 lt_cv_deplibs_check_method=pass_all
5854 freebsd* | dragonfly*)
5855 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5858 # Not sure whether the presence of OpenBSD here was a mistake.
5859 # Let's accept both of them until this is cleared up.
5860 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5861 lt_cv_file_magic_cmd=/usr/bin/file
5862 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5866 lt_cv_deplibs_check_method=pass_all
5871 lt_cv_deplibs_check_method=pass_all
5875 lt_cv_deplibs_check_method=pass_all
5878 hpux10.20* | hpux11*)
5879 lt_cv_file_magic_cmd=/usr/bin/file
5882 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5883 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5886 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5887 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5890 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5891 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5897 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5898 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5901 irix5* | irix6* | nonstopux*)
5903 *-32|*"-32 ") libmagic=32-bit;;
5904 *-n32|*"-n32 ") libmagic=N32;;
5905 *-64|*"-64 ") libmagic=64-bit;;
5906 *) libmagic=never-match;;
5908 lt_cv_deplibs_check_method=pass_all
5911 # This must be Linux ELF.
5912 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5913 lt_cv_deplibs_check_method=pass_all
5917 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5918 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5920 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5925 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5926 lt_cv_file_magic_cmd=/usr/bin/file
5927 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5931 lt_cv_deplibs_check_method=pass_all
5935 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5936 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5938 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5942 osf3* | osf4* | osf5*)
5943 lt_cv_deplibs_check_method=pass_all
5947 lt_cv_deplibs_check_method=pass_all
5951 lt_cv_deplibs_check_method=pass_all
5954 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5955 lt_cv_deplibs_check_method=pass_all
5959 case $host_vendor in
5961 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]'
5962 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5965 lt_cv_deplibs_check_method=pass_all
5968 lt_cv_file_magic_cmd='/bin/file'
5969 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5972 lt_cv_file_magic_cmd='/bin/file'
5973 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5974 lt_cv_file_magic_test_file=/lib/libc.so
5977 lt_cv_deplibs_check_method=pass_all
5980 lt_cv_deplibs_check_method=pass_all
5986 lt_cv_deplibs_check_method=pass_all
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5992 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5996 if test "$build" = "$host"; then
5999 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6002 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6008 file_magic_cmd=$lt_cv_file_magic_cmd
6009 deplibs_check_method=$lt_cv_deplibs_check_method
6010 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6033 if test -n "$ac_tool_prefix"; then
6034 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6035 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037 $as_echo_n "checking for $ac_word... " >&6; }
6038 if ${ac_cv_prog_DLLTOOL+:} false; then :
6039 $as_echo_n "(cached) " >&6
6041 if test -n "$DLLTOOL"; then
6042 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 test -z "$as_dir" && as_dir=.
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6051 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061 DLLTOOL=$ac_cv_prog_DLLTOOL
6062 if test -n "$DLLTOOL"; then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6064 $as_echo "$DLLTOOL" >&6; }
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067 $as_echo "no" >&6; }
6072 if test -z "$ac_cv_prog_DLLTOOL"; then
6073 ac_ct_DLLTOOL=$DLLTOOL
6074 # Extract the first word of "dlltool", so it can be a program name with args.
6075 set dummy dlltool; ac_word=$2
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 $as_echo_n "checking for $ac_word... " >&6; }
6078 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6079 $as_echo_n "(cached) " >&6
6081 if test -n "$ac_ct_DLLTOOL"; then
6082 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6088 test -z "$as_dir" && as_dir=.
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6091 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6102 if test -n "$ac_ct_DLLTOOL"; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6104 $as_echo "$ac_ct_DLLTOOL" >&6; }
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6110 if test "x$ac_ct_DLLTOOL" = x; then
6113 case $cross_compiling:$ac_tool_warned in
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6117 ac_tool_warned=yes ;;
6119 DLLTOOL=$ac_ct_DLLTOOL
6122 DLLTOOL="$ac_cv_prog_DLLTOOL"
6125 test -z "$DLLTOOL" && DLLTOOL=dlltool
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6137 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6138 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6139 $as_echo_n "(cached) " >&6
6141 lt_cv_sharedlib_from_linklib_cmd='unknown'
6144 cygwin* | mingw* | pw32* | cegcc*)
6145 # two different shell functions defined in ltmain.sh
6146 # decide which to use based on capabilities of $DLLTOOL
6147 case `$DLLTOOL --help 2>&1` in
6148 *--identify-strict*)
6149 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6152 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6157 # fallback: assume linklib IS sharedlib
6158 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6164 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6165 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6166 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6174 if test -n "$ac_tool_prefix"; then
6177 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6178 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6180 $as_echo_n "checking for $ac_word... " >&6; }
6181 if ${ac_cv_prog_AR+:} false; then :
6182 $as_echo_n "(cached) " >&6
6184 if test -n "$AR"; then
6185 ac_cv_prog_AR="$AR" # Let the user override the test.
6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 test -z "$as_dir" && as_dir=.
6192 for ac_exec_ext in '' $ac_executable_extensions; do
6193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6194 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6205 if test -n "$AR"; then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6207 $as_echo "$AR" >&6; }
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6210 $as_echo "no" >&6; }
6214 test -n "$AR" && break
6217 if test -z "$AR"; then
6221 # Extract the first word of "$ac_prog", so it can be a program name with args.
6222 set dummy $ac_prog; ac_word=$2
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6224 $as_echo_n "checking for $ac_word... " >&6; }
6225 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6226 $as_echo_n "(cached) " >&6
6228 if test -n "$ac_ct_AR"; then
6229 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235 test -z "$as_dir" && as_dir=.
6236 for ac_exec_ext in '' $ac_executable_extensions; do
6237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6238 ac_cv_prog_ac_ct_AR="$ac_prog"
6239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6248 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6249 if test -n "$ac_ct_AR"; then
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6251 $as_echo "$ac_ct_AR" >&6; }
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6254 $as_echo "no" >&6; }
6258 test -n "$ac_ct_AR" && break
6261 if test "x$ac_ct_AR" = x; then
6264 case $cross_compiling:$ac_tool_warned in
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6268 ac_tool_warned=yes ;;
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6288 $as_echo_n "checking for archiver @FILE support... " >&6; }
6289 if ${lt_cv_ar_at_file+:} false; then :
6290 $as_echo_n "(cached) " >&6
6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6304 if ac_fn_c_try_compile "$LINENO"; then :
6305 echo conftest.$ac_objext > conftest.lst
6306 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6307 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6308 (eval $lt_ar_try) 2>&5
6310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6311 test $ac_status = 0; }
6312 if test "$ac_status" -eq 0; then
6313 # Ensure the archiver fails upon bogus file names.
6314 rm -f conftest.$ac_objext libconftest.a
6315 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6316 (eval $lt_ar_try) 2>&5
6318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6319 test $ac_status = 0; }
6320 if test "$ac_status" -ne 0; then
6324 rm -f conftest.* libconftest.a
6327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6331 $as_echo "$lt_cv_ar_at_file" >&6; }
6333 if test "x$lt_cv_ar_at_file" = xno; then
6336 archiver_list_spec=$lt_cv_ar_at_file
6345 if test -n "$ac_tool_prefix"; then
6346 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6347 set dummy ${ac_tool_prefix}strip; ac_word=$2
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6349 $as_echo_n "checking for $ac_word... " >&6; }
6350 if ${ac_cv_prog_STRIP+:} false; then :
6351 $as_echo_n "(cached) " >&6
6353 if test -n "$STRIP"; then
6354 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 test -z "$as_dir" && as_dir=.
6361 for ac_exec_ext in '' $ac_executable_extensions; do
6362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6363 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6373 STRIP=$ac_cv_prog_STRIP
6374 if test -n "$STRIP"; then
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6376 $as_echo "$STRIP" >&6; }
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6379 $as_echo "no" >&6; }
6384 if test -z "$ac_cv_prog_STRIP"; then
6386 # Extract the first word of "strip", so it can be a program name with args.
6387 set dummy strip; ac_word=$2
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6389 $as_echo_n "checking for $ac_word... " >&6; }
6390 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6391 $as_echo_n "(cached) " >&6
6393 if test -n "$ac_ct_STRIP"; then
6394 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6400 test -z "$as_dir" && as_dir=.
6401 for ac_exec_ext in '' $ac_executable_extensions; do
6402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6403 ac_cv_prog_ac_ct_STRIP="strip"
6404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6413 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6414 if test -n "$ac_ct_STRIP"; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6416 $as_echo "$ac_ct_STRIP" >&6; }
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6419 $as_echo "no" >&6; }
6422 if test "x$ac_ct_STRIP" = x; then
6425 case $cross_compiling:$ac_tool_warned in
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6429 ac_tool_warned=yes ;;
6434 STRIP="$ac_cv_prog_STRIP"
6437 test -z "$STRIP" && STRIP=:
6444 if test -n "$ac_tool_prefix"; then
6445 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6446 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if ${ac_cv_prog_RANLIB+:} false; then :
6450 $as_echo_n "(cached) " >&6
6452 if test -n "$RANLIB"; then
6453 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6462 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6472 RANLIB=$ac_cv_prog_RANLIB
6473 if test -n "$RANLIB"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6475 $as_echo "$RANLIB" >&6; }
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6483 if test -z "$ac_cv_prog_RANLIB"; then
6484 ac_ct_RANLIB=$RANLIB
6485 # Extract the first word of "ranlib", so it can be a program name with args.
6486 set dummy ranlib; ac_word=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488 $as_echo_n "checking for $ac_word... " >&6; }
6489 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6490 $as_echo_n "(cached) " >&6
6492 if test -n "$ac_ct_RANLIB"; then
6493 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6499 test -z "$as_dir" && as_dir=.
6500 for ac_exec_ext in '' $ac_executable_extensions; do
6501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6502 ac_cv_prog_ac_ct_RANLIB="ranlib"
6503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6512 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6513 if test -n "$ac_ct_RANLIB"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6515 $as_echo "$ac_ct_RANLIB" >&6; }
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6521 if test "x$ac_ct_RANLIB" = x; then
6524 case $cross_compiling:$ac_tool_warned in
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6528 ac_tool_warned=yes ;;
6530 RANLIB=$ac_ct_RANLIB
6533 RANLIB="$ac_cv_prog_RANLIB"
6536 test -z "$RANLIB" && RANLIB=:
6543 # Determine commands to create old-style static archives.
6544 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6545 old_postinstall_cmds='chmod 644 $oldlib'
6546 old_postuninstall_cmds=
6548 if test -n "$RANLIB"; then
6551 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6554 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6557 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6562 lock_old_archive_extraction=yes ;;
6564 lock_old_archive_extraction=no ;;
6605 # If no C compiler was specified, use CC.
6608 # If no C compiler flags were specified, use CFLAGS.
6609 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6611 # Allow CC to be a program name with arguments.
6615 # Check for command to grab the raw symbol name followed by C symbol from nm.
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6617 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6618 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6619 $as_echo_n "(cached) " >&6
6622 # These are sane defaults that work on at least a few old systems.
6623 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6625 # Character class describing NM global symbol codes.
6626 symcode='[BCDEGRST]'
6628 # Regexp to match symbols that can be accessed directly from C.
6629 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6631 # Define system-specific variables.
6636 cygwin* | mingw* | pw32* | cegcc*)
6637 symcode='[ABCDGISTW]'
6640 if test "$host_cpu" = ia64; then
6641 symcode='[ABCDEGRST]'
6645 symcode='[BCDEGRST]'
6648 symcode='[BCDEGQRST]'
6659 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6667 # If we're using GNU nm, then use its standard symbol codes.
6668 case `$NM -V 2>&1` in
6669 *GNU* | *'with BFD'*)
6670 symcode='[ABCDGIRSTW]' ;;
6673 # Transform an extracted symbol line into a proper C declaration.
6674 # Some systems (esp. on ia64) link data and code symbols differently,
6675 # so use this general approach.
6676 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6678 # Transform an extracted symbol line into symbol name and symbol address
6679 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6680 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'"
6682 # Handle CRLF in mingw tool chain
6686 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6690 # Try without a prefix underscore, then with it.
6691 for ac_symprfx in "" "_"; do
6693 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6694 symxfrm="\\1 $ac_symprfx\\2 \\2"
6696 # Write the raw and C identifiers.
6697 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6698 # Fake it for dumpbin and say T for any non-static function
6699 # and D for any global variable.
6700 # Also find C++ and __fastcall symbols from MSVC++,
6701 # which start with @ or ?.
6702 lt_cv_sys_global_symbol_pipe="$AWK '"\
6703 " {last_section=section; section=\$ 3};"\
6704 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6705 " \$ 0!~/External *\|/{next};"\
6706 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6707 " {if(hide[section]) next};"\
6708 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6709 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6710 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6711 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6712 " ' prfx=^$ac_symprfx"
6714 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6716 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6718 # Check to see that the pipe works correctly.
6722 cat > conftest.$ac_ext <<_LT_EOF
6727 void nm_test_func(void);
6728 void nm_test_func(void){}
6732 int main(){nm_test_var='a';nm_test_func();return(0);}
6735 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6736 (eval $ac_compile) 2>&5
6738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6739 test $ac_status = 0; }; then
6740 # Now try to grab the symbols.
6742 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6743 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6746 test $ac_status = 0; } && test -s "$nlist"; then
6747 # Try sorting and uniquifying the output.
6748 if sort "$nlist" | uniq > "$nlist"T; then
6749 mv -f "$nlist"T "$nlist"
6754 # Make sure that we snagged all the symbols we need.
6755 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6756 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6757 cat <<_LT_EOF > conftest.$ac_ext
6758 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6759 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6760 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6761 relocations are performed -- see ld's documentation on pseudo-relocs. */
6762 # define LT_DLSYM_CONST
6763 #elif defined(__osf__)
6764 /* This system does not cope well with relocations in const data. */
6765 # define LT_DLSYM_CONST
6767 # define LT_DLSYM_CONST const
6775 # Now generate the symbol file.
6776 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6778 cat <<_LT_EOF >> conftest.$ac_ext
6780 /* The mapping between symbol names and symbols. */
6781 LT_DLSYM_CONST struct {
6785 lt__PROGRAM__LTX_preloaded_symbols[] =
6787 { "@PROGRAM@", (void *) 0 },
6789 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6790 cat <<\_LT_EOF >> conftest.$ac_ext
6794 /* This works around a problem in FreeBSD linker */
6795 #ifdef FREEBSD_WORKAROUND
6796 static const void *lt_preloaded_setup() {
6797 return lt__PROGRAM__LTX_preloaded_symbols;
6805 # Now try linking the two files.
6806 mv conftest.$ac_objext conftstm.$ac_objext
6807 lt_globsym_save_LIBS=$LIBS
6808 lt_globsym_save_CFLAGS=$CFLAGS
6809 LIBS="conftstm.$ac_objext"
6810 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6811 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6812 (eval $ac_link) 2>&5
6814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6815 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6818 LIBS=$lt_globsym_save_LIBS
6819 CFLAGS=$lt_globsym_save_CFLAGS
6821 echo "cannot find nm_test_func in $nlist" >&5
6824 echo "cannot find nm_test_var in $nlist" >&5
6827 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6830 echo "$progname: failed program was:" >&5
6831 cat conftest.$ac_ext >&5
6833 rm -rf conftest* conftst*
6835 # Do not use the global_symbol_pipe unless it works.
6836 if test "$pipe_works" = yes; then
6839 lt_cv_sys_global_symbol_pipe=
6845 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6846 lt_cv_sys_global_symbol_to_cdecl=
6848 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6850 $as_echo "failed" >&6; }
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6853 $as_echo "ok" >&6; }
6856 # Response file support.
6857 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6858 nm_file_list_spec='@'
6859 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6860 nm_file_list_spec='@'
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6890 $as_echo_n "checking for sysroot... " >&6; }
6892 # Check whether --with-sysroot was given.
6893 if test "${with_sysroot+set}" = set; then :
6894 withval=$with_sysroot;
6901 case ${with_sysroot} in #(
6903 if test "$GCC" = yes; then
6904 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6908 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6914 $as_echo "${with_sysroot}" >&6; }
6915 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6920 $as_echo "${lt_sysroot:-no}" >&6; }
6926 # Check whether --enable-libtool-lock was given.
6927 if test "${enable_libtool_lock+set}" = set; then :
6928 enableval=$enable_libtool_lock;
6931 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6933 # Some flags need to be propagated to the compiler or linker for good
6937 # Find out which ABI we are using.
6938 echo 'int i;' > conftest.$ac_ext
6939 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6940 (eval $ac_compile) 2>&5
6942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6943 test $ac_status = 0; }; then
6944 case `/usr/bin/file conftest.$ac_objext` in
6956 # Find out which ABI we are using.
6957 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6958 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6959 (eval $ac_compile) 2>&5
6961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6962 test $ac_status = 0; }; then
6963 if test "$lt_cv_prog_gnu_ld" = yes; then
6964 case `/usr/bin/file conftest.$ac_objext` in
6966 LD="${LD-ld} -melf32bsmip"
6969 LD="${LD-ld} -melf32bmipn32"
6972 LD="${LD-ld} -melf64bmip"
6976 case `/usr/bin/file conftest.$ac_objext` in
6992 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6993 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6994 # Find out which ABI we are using.
6995 echo 'int i;' > conftest.$ac_ext
6996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6997 (eval $ac_compile) 2>&5
6999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7000 test $ac_status = 0; }; then
7001 case `/usr/bin/file conftest.o` in
7004 x86_64-*kfreebsd*-gnu)
7005 LD="${LD-ld} -m elf_i386_fbsd"
7008 LD="${LD-ld} -m elf_i386"
7010 ppc64-*linux*|powerpc64-*linux*)
7011 LD="${LD-ld} -m elf32ppclinux"
7014 LD="${LD-ld} -m elf_s390"
7017 LD="${LD-ld} -m elf32_sparc"
7023 x86_64-*kfreebsd*-gnu)
7024 LD="${LD-ld} -m elf_x86_64_fbsd"
7027 LD="${LD-ld} -m elf_x86_64"
7029 ppc*-*linux*|powerpc*-*linux*)
7030 LD="${LD-ld} -m elf64ppc"
7032 s390*-*linux*|s390*-*tpf*)
7033 LD="${LD-ld} -m elf64_s390"
7036 LD="${LD-ld} -m elf64_sparc"
7046 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7047 SAVE_CFLAGS="$CFLAGS"
7048 CFLAGS="$CFLAGS -belf"
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7050 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7051 if ${lt_cv_cc_needs_belf+:} false; then :
7052 $as_echo_n "(cached) " >&6
7055 ac_cpp='$CPP $CPPFLAGS'
7056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7061 /* end confdefs.h. */
7071 if ac_fn_c_try_link "$LINENO"; then :
7072 lt_cv_cc_needs_belf=yes
7074 lt_cv_cc_needs_belf=no
7076 rm -f core conftest.err conftest.$ac_objext \
7077 conftest$ac_exeext conftest.$ac_ext
7079 ac_cpp='$CPP $CPPFLAGS'
7080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7086 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7087 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7088 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7089 CFLAGS="$SAVE_CFLAGS"
7093 # Find out which ABI we are using.
7094 echo 'int i;' > conftest.$ac_ext
7095 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7096 (eval $ac_compile) 2>&5
7098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7099 test $ac_status = 0; }; then
7100 case `/usr/bin/file conftest.o` in
7102 case $lt_cv_prog_gnu_ld in
7103 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7105 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7117 need_locks="$enable_libtool_lock"
7119 if test -n "$ac_tool_prefix"; then
7120 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7121 set dummy ${ac_tool_prefix}mt; ac_word=$2
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7123 $as_echo_n "checking for $ac_word... " >&6; }
7124 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7125 $as_echo_n "(cached) " >&6
7127 if test -n "$MANIFEST_TOOL"; then
7128 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7134 test -z "$as_dir" && as_dir=.
7135 for ac_exec_ext in '' $ac_executable_extensions; do
7136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7137 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7147 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7148 if test -n "$MANIFEST_TOOL"; then
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7150 $as_echo "$MANIFEST_TOOL" >&6; }
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7153 $as_echo "no" >&6; }
7158 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7159 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7160 # Extract the first word of "mt", so it can be a program name with args.
7161 set dummy mt; ac_word=$2
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7163 $as_echo_n "checking for $ac_word... " >&6; }
7164 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7165 $as_echo_n "(cached) " >&6
7167 if test -n "$ac_ct_MANIFEST_TOOL"; then
7168 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 test -z "$as_dir" && as_dir=.
7175 for ac_exec_ext in '' $ac_executable_extensions; do
7176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7177 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7187 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7188 if test -n "$ac_ct_MANIFEST_TOOL"; then
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7190 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7193 $as_echo "no" >&6; }
7196 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7199 case $cross_compiling:$ac_tool_warned in
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7203 ac_tool_warned=yes ;;
7205 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7208 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7211 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7213 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7214 if ${lt_cv_path_mainfest_tool+:} false; then :
7215 $as_echo_n "(cached) " >&6
7217 lt_cv_path_mainfest_tool=no
7218 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7219 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7220 cat conftest.err >&5
7221 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7222 lt_cv_path_mainfest_tool=yes
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7227 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7228 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7238 rhapsody* | darwin*)
7239 if test -n "$ac_tool_prefix"; then
7240 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7241 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7245 $as_echo_n "(cached) " >&6
7247 if test -n "$DSYMUTIL"; then
7248 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7267 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7268 if test -n "$DSYMUTIL"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7270 $as_echo "$DSYMUTIL" >&6; }
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7278 if test -z "$ac_cv_prog_DSYMUTIL"; then
7279 ac_ct_DSYMUTIL=$DSYMUTIL
7280 # Extract the first word of "dsymutil", so it can be a program name with args.
7281 set dummy dsymutil; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7285 $as_echo_n "(cached) " >&6
7287 if test -n "$ac_ct_DSYMUTIL"; then
7288 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7307 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7308 if test -n "$ac_ct_DSYMUTIL"; then
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7310 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7316 if test "x$ac_ct_DSYMUTIL" = x; then
7319 case $cross_compiling:$ac_tool_warned in
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7323 ac_tool_warned=yes ;;
7325 DSYMUTIL=$ac_ct_DSYMUTIL
7328 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7331 if test -n "$ac_tool_prefix"; then
7332 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7333 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 $as_echo_n "checking for $ac_word... " >&6; }
7336 if ${ac_cv_prog_NMEDIT+:} false; then :
7337 $as_echo_n "(cached) " >&6
7339 if test -n "$NMEDIT"; then
7340 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 test -z "$as_dir" && as_dir=.
7347 for ac_exec_ext in '' $ac_executable_extensions; do
7348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7359 NMEDIT=$ac_cv_prog_NMEDIT
7360 if test -n "$NMEDIT"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7362 $as_echo "$NMEDIT" >&6; }
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 $as_echo "no" >&6; }
7370 if test -z "$ac_cv_prog_NMEDIT"; then
7371 ac_ct_NMEDIT=$NMEDIT
7372 # Extract the first word of "nmedit", so it can be a program name with args.
7373 set dummy nmedit; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7377 $as_echo_n "(cached) " >&6
7379 if test -n "$ac_ct_NMEDIT"; then
7380 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7399 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7400 if test -n "$ac_ct_NMEDIT"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7402 $as_echo "$ac_ct_NMEDIT" >&6; }
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7408 if test "x$ac_ct_NMEDIT" = x; then
7411 case $cross_compiling:$ac_tool_warned in
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7415 ac_tool_warned=yes ;;
7417 NMEDIT=$ac_ct_NMEDIT
7420 NMEDIT="$ac_cv_prog_NMEDIT"
7423 if test -n "$ac_tool_prefix"; then
7424 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7425 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7427 $as_echo_n "checking for $ac_word... " >&6; }
7428 if ${ac_cv_prog_LIPO+:} false; then :
7429 $as_echo_n "(cached) " >&6
7431 if test -n "$LIPO"; then
7432 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 test -z "$as_dir" && as_dir=.
7439 for ac_exec_ext in '' $ac_executable_extensions; do
7440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7441 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7451 LIPO=$ac_cv_prog_LIPO
7452 if test -n "$LIPO"; then
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7454 $as_echo "$LIPO" >&6; }
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7457 $as_echo "no" >&6; }
7462 if test -z "$ac_cv_prog_LIPO"; then
7464 # Extract the first word of "lipo", so it can be a program name with args.
7465 set dummy lipo; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7469 $as_echo_n "(cached) " >&6
7471 if test -n "$ac_ct_LIPO"; then
7472 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 test -z "$as_dir" && as_dir=.
7479 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481 ac_cv_prog_ac_ct_LIPO="lipo"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7491 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7492 if test -n "$ac_ct_LIPO"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7494 $as_echo "$ac_ct_LIPO" >&6; }
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7500 if test "x$ac_ct_LIPO" = x; then
7503 case $cross_compiling:$ac_tool_warned in
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7507 ac_tool_warned=yes ;;
7512 LIPO="$ac_cv_prog_LIPO"
7515 if test -n "$ac_tool_prefix"; then
7516 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7517 set dummy ${ac_tool_prefix}otool; ac_word=$2
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7519 $as_echo_n "checking for $ac_word... " >&6; }
7520 if ${ac_cv_prog_OTOOL+:} false; then :
7521 $as_echo_n "(cached) " >&6
7523 if test -n "$OTOOL"; then
7524 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7530 test -z "$as_dir" && as_dir=.
7531 for ac_exec_ext in '' $ac_executable_extensions; do
7532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7533 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7543 OTOOL=$ac_cv_prog_OTOOL
7544 if test -n "$OTOOL"; then
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7546 $as_echo "$OTOOL" >&6; }
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 $as_echo "no" >&6; }
7554 if test -z "$ac_cv_prog_OTOOL"; then
7556 # Extract the first word of "otool", so it can be a program name with args.
7557 set dummy otool; ac_word=$2
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7559 $as_echo_n "checking for $ac_word... " >&6; }
7560 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7561 $as_echo_n "(cached) " >&6
7563 if test -n "$ac_ct_OTOOL"; then
7564 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7570 test -z "$as_dir" && as_dir=.
7571 for ac_exec_ext in '' $ac_executable_extensions; do
7572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7573 ac_cv_prog_ac_ct_OTOOL="otool"
7574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7583 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7584 if test -n "$ac_ct_OTOOL"; then
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7586 $as_echo "$ac_ct_OTOOL" >&6; }
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7589 $as_echo "no" >&6; }
7592 if test "x$ac_ct_OTOOL" = x; then
7595 case $cross_compiling:$ac_tool_warned in
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7599 ac_tool_warned=yes ;;
7604 OTOOL="$ac_cv_prog_OTOOL"
7607 if test -n "$ac_tool_prefix"; then
7608 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7609 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611 $as_echo_n "checking for $ac_word... " >&6; }
7612 if ${ac_cv_prog_OTOOL64+:} false; then :
7613 $as_echo_n "(cached) " >&6
7615 if test -n "$OTOOL64"; then
7616 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7622 test -z "$as_dir" && as_dir=.
7623 for ac_exec_ext in '' $ac_executable_extensions; do
7624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7625 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7635 OTOOL64=$ac_cv_prog_OTOOL64
7636 if test -n "$OTOOL64"; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7638 $as_echo "$OTOOL64" >&6; }
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641 $as_echo "no" >&6; }
7646 if test -z "$ac_cv_prog_OTOOL64"; then
7647 ac_ct_OTOOL64=$OTOOL64
7648 # Extract the first word of "otool64", so it can be a program name with args.
7649 set dummy otool64; ac_word=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651 $as_echo_n "checking for $ac_word... " >&6; }
7652 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7653 $as_echo_n "(cached) " >&6
7655 if test -n "$ac_ct_OTOOL64"; then
7656 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7662 test -z "$as_dir" && as_dir=.
7663 for ac_exec_ext in '' $ac_executable_extensions; do
7664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7665 ac_cv_prog_ac_ct_OTOOL64="otool64"
7666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7675 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7676 if test -n "$ac_ct_OTOOL64"; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7678 $as_echo "$ac_ct_OTOOL64" >&6; }
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681 $as_echo "no" >&6; }
7684 if test "x$ac_ct_OTOOL64" = x; then
7687 case $cross_compiling:$ac_tool_warned in
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7691 ac_tool_warned=yes ;;
7693 OTOOL64=$ac_ct_OTOOL64
7696 OTOOL64="$ac_cv_prog_OTOOL64"
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7726 $as_echo_n "checking for -single_module linker flag... " >&6; }
7727 if ${lt_cv_apple_cc_single_mod+:} false; then :
7728 $as_echo_n "(cached) " >&6
7730 lt_cv_apple_cc_single_mod=no
7731 if test -z "${LT_MULTI_MODULE}"; then
7732 # By default we will add the -single_module flag. You can override
7733 # by either setting the environment variable LT_MULTI_MODULE
7734 # non-empty at configure time, or by adding -multi_module to the
7736 rm -rf libconftest.dylib*
7737 echo "int foo(void){return 1;}" > conftest.c
7738 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7739 -dynamiclib -Wl,-single_module conftest.c" >&5
7740 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7741 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7743 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7744 lt_cv_apple_cc_single_mod=yes
7746 cat conftest.err >&5
7748 rm -rf libconftest.dylib*
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7753 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7755 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7756 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7757 $as_echo_n "(cached) " >&6
7759 lt_cv_ld_exported_symbols_list=no
7760 save_LDFLAGS=$LDFLAGS
7761 echo "_main" > conftest.sym
7762 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7764 /* end confdefs.h. */
7774 if ac_fn_c_try_link "$LINENO"; then :
7775 lt_cv_ld_exported_symbols_list=yes
7777 lt_cv_ld_exported_symbols_list=no
7779 rm -f core conftest.err conftest.$ac_objext \
7780 conftest$ac_exeext conftest.$ac_ext
7781 LDFLAGS="$save_LDFLAGS"
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7785 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7787 $as_echo_n "checking for -force_load linker flag... " >&6; }
7788 if ${lt_cv_ld_force_load+:} false; then :
7789 $as_echo_n "(cached) " >&6
7791 lt_cv_ld_force_load=no
7792 cat > conftest.c << _LT_EOF
7793 int forced_loaded() { return 2;}
7795 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7796 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7797 echo "$AR cru libconftest.a conftest.o" >&5
7798 $AR cru libconftest.a conftest.o 2>&5
7799 echo "$RANLIB libconftest.a" >&5
7800 $RANLIB libconftest.a 2>&5
7801 cat > conftest.c << _LT_EOF
7802 int main() { return 0;}
7804 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7805 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7807 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7808 lt_cv_ld_force_load=yes
7810 cat conftest.err >&5
7812 rm -f conftest.err libconftest.a conftest conftest.c
7813 rm -rf conftest.dSYM
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7817 $as_echo "$lt_cv_ld_force_load" >&6; }
7819 rhapsody* | darwin1.[012])
7820 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7822 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7823 darwin*) # darwin 5.x on
7824 # if running on 10.5 or later, the deployment target defaults
7825 # to the OS version, if on x86, and 10.4, the deployment
7826 # target defaults to 10.4. Don't you love it?
7827 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7828 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7829 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7831 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7833 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7837 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7838 _lt_dar_single_mod='$single_module'
7840 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7841 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7843 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7845 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7846 _lt_dsymutil='~$DSYMUTIL $lib || :'
7854 ac_cpp='$CPP $CPPFLAGS'
7855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7859 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7860 # On Suns, sometimes $CPP names a directory.
7861 if test -n "$CPP" && test -d "$CPP"; then
7864 if test -z "$CPP"; then
7865 if ${ac_cv_prog_CPP+:} false; then :
7866 $as_echo_n "(cached) " >&6
7868 # Double quotes because CPP needs to be expanded
7869 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7872 for ac_c_preproc_warn_flag in '' yes
7874 # Use a header file that comes with gcc, so configuring glibc
7875 # with a fresh cross-compiler works.
7876 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7877 # <limits.h> exists even on freestanding compilers.
7878 # On the NeXT, cc -E runs the code through the compiler's parser,
7879 # not just through cpp. "Syntax error" is here to catch this case.
7880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7881 /* end confdefs.h. */
7883 # include <limits.h>
7885 # include <assert.h>
7889 if ac_fn_c_try_cpp "$LINENO"; then :
7892 # Broken: fails on valid input.
7895 rm -f conftest.err conftest.i conftest.$ac_ext
7897 # OK, works on sane cases. Now check whether nonexistent headers
7898 # can be detected and how.
7899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7900 /* end confdefs.h. */
7901 #include <ac_nonexistent.h>
7903 if ac_fn_c_try_cpp "$LINENO"; then :
7904 # Broken: success on invalid input.
7907 # Passes both tests.
7911 rm -f conftest.err conftest.i conftest.$ac_ext
7914 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7915 rm -f conftest.i conftest.err conftest.$ac_ext
7916 if $ac_preproc_ok; then :
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7929 $as_echo "$CPP" >&6; }
7931 for ac_c_preproc_warn_flag in '' yes
7933 # Use a header file that comes with gcc, so configuring glibc
7934 # with a fresh cross-compiler works.
7935 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7936 # <limits.h> exists even on freestanding compilers.
7937 # On the NeXT, cc -E runs the code through the compiler's parser,
7938 # not just through cpp. "Syntax error" is here to catch this case.
7939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7940 /* end confdefs.h. */
7942 # include <limits.h>
7944 # include <assert.h>
7948 if ac_fn_c_try_cpp "$LINENO"; then :
7951 # Broken: fails on valid input.
7954 rm -f conftest.err conftest.i conftest.$ac_ext
7956 # OK, works on sane cases. Now check whether nonexistent headers
7957 # can be detected and how.
7958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7959 /* end confdefs.h. */
7960 #include <ac_nonexistent.h>
7962 if ac_fn_c_try_cpp "$LINENO"; then :
7963 # Broken: success on invalid input.
7966 # Passes both tests.
7970 rm -f conftest.err conftest.i conftest.$ac_ext
7973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7974 rm -f conftest.i conftest.err conftest.$ac_ext
7975 if $ac_preproc_ok; then :
7978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7980 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7981 See \`config.log' for more details" "$LINENO" 5; }
7985 ac_cpp='$CPP $CPPFLAGS'
7986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7992 $as_echo_n "checking for ANSI C header files... " >&6; }
7993 if ${ac_cv_header_stdc+:} false; then :
7994 $as_echo_n "(cached) " >&6
7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h. */
8011 if ac_fn_c_try_compile "$LINENO"; then :
8012 ac_cv_header_stdc=yes
8014 ac_cv_header_stdc=no
8016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8018 if test $ac_cv_header_stdc = yes; then
8019 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8021 /* end confdefs.h. */
8025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8026 $EGREP "memchr" >/dev/null 2>&1; then :
8029 ac_cv_header_stdc=no
8035 if test $ac_cv_header_stdc = yes; then
8036 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8038 /* end confdefs.h. */
8042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8043 $EGREP "free" >/dev/null 2>&1; then :
8046 ac_cv_header_stdc=no
8052 if test $ac_cv_header_stdc = yes; then
8053 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8054 if test "$cross_compiling" = yes; then :
8057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8058 /* end confdefs.h. */
8061 #if ((' ' & 0x0FF) == 0x020)
8062 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8063 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8065 # define ISLOWER(c) \
8066 (('a' <= (c) && (c) <= 'i') \
8067 || ('j' <= (c) && (c) <= 'r') \
8068 || ('s' <= (c) && (c) <= 'z'))
8069 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8072 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8077 for (i = 0; i < 256; i++)
8078 if (XOR (islower (i), ISLOWER (i))
8079 || toupper (i) != TOUPPER (i))
8084 if ac_fn_c_try_run "$LINENO"; then :
8087 ac_cv_header_stdc=no
8089 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8090 conftest.$ac_objext conftest.beam conftest.$ac_ext
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8096 $as_echo "$ac_cv_header_stdc" >&6; }
8097 if test $ac_cv_header_stdc = yes; then
8099 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8103 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8104 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8105 inttypes.h stdint.h unistd.h
8107 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8108 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8110 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8111 cat >>confdefs.h <<_ACEOF
8112 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8120 for ac_header in dlfcn.h
8122 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8124 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8125 cat >>confdefs.h <<_ACEOF
8126 #define HAVE_DLFCN_H 1
8147 # Check whether --enable-shared was given.
8148 if test "${enable_shared+set}" = set; then :
8149 enableval=$enable_shared; p=${PACKAGE-default}
8151 yes) enable_shared=yes ;;
8152 no) enable_shared=no ;;
8155 # Look at the argument we got. We use all the common list separators.
8156 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8157 for pkg in $enableval; do
8159 if test "X$pkg" = "X$p"; then
8178 # Check whether --enable-static was given.
8179 if test "${enable_static+set}" = set; then :
8180 enableval=$enable_static; p=${PACKAGE-default}
8182 yes) enable_static=yes ;;
8183 no) enable_static=no ;;
8186 # Look at the argument we got. We use all the common list separators.
8187 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8188 for pkg in $enableval; do
8190 if test "X$pkg" = "X$p"; then
8210 # Check whether --with-pic was given.
8211 if test "${with_pic+set}" = set; then :
8212 withval=$with_pic; pic_mode="$withval"
8218 test -z "$pic_mode" && pic_mode=default
8226 # Check whether --enable-fast-install was given.
8227 if test "${enable_fast_install+set}" = set; then :
8228 enableval=$enable_fast_install; p=${PACKAGE-default}
8230 yes) enable_fast_install=yes ;;
8231 no) enable_fast_install=no ;;
8233 enable_fast_install=no
8234 # Look at the argument we got. We use all the common list separators.
8235 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8236 for pkg in $enableval; do
8238 if test "X$pkg" = "X$p"; then
8239 enable_fast_install=yes
8246 enable_fast_install=yes
8259 # This can be used to rebuild libtool when needed
8260 LIBTOOL_DEPS="$ltmain"
8262 # Always use our own libtool.
8263 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8290 test -z "$LN_S" && LN_S="ln -s"
8305 if test -n "${ZSH_VERSION+set}" ; then
8306 setopt NO_GLOB_SUBST
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8310 $as_echo_n "checking for objdir... " >&6; }
8311 if ${lt_cv_objdir+:} false; then :
8312 $as_echo_n "(cached) " >&6
8314 rm -f .libs 2>/dev/null
8315 mkdir .libs 2>/dev/null
8316 if test -d .libs; then
8319 # MS-DOS does not allow filenames that begin with a dot.
8322 rmdir .libs 2>/dev/null
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8325 $as_echo "$lt_cv_objdir" >&6; }
8326 objdir=$lt_cv_objdir
8332 cat >>confdefs.h <<_ACEOF
8333 #define LT_OBJDIR "$lt_cv_objdir/"
8341 # AIX sometimes has problems with the GCC collect2 program. For some
8342 # reason, if we set the COLLECT_NAMES environment variable, the problems
8343 # vanish in a puff of smoke.
8344 if test "X${COLLECT_NAMES+set}" != Xset; then
8346 export COLLECT_NAMES
8353 can_build_shared=yes
8355 # All known linkers require a `.a' archive for static linking (except MSVC,
8356 # which needs '.lib').
8359 with_gnu_ld="$lt_cv_prog_gnu_ld"
8362 old_CFLAGS="$CFLAGS"
8364 # Set sane defaults for various variables
8365 test -z "$CC" && CC=cc
8366 test -z "$LTCC" && LTCC=$CC
8367 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8368 test -z "$LD" && LD=ld
8369 test -z "$ac_objext" && ac_objext=o
8371 for cc_temp in $compiler""; do
8373 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8374 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8379 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8382 # Only perform the check for file, if the check method requires it
8383 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8384 case $deplibs_check_method in
8386 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8388 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8389 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8390 $as_echo_n "(cached) " >&6
8394 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8397 lt_save_MAGIC_CMD="$MAGIC_CMD"
8398 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8399 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8400 for ac_dir in $ac_dummy; do
8402 test -z "$ac_dir" && ac_dir=.
8403 if test -f $ac_dir/${ac_tool_prefix}file; then
8404 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8405 if test -n "$file_magic_test_file"; then
8406 case $deplibs_check_method in
8408 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8409 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8410 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8411 $EGREP "$file_magic_regex" > /dev/null; then
8416 *** Warning: the command libtool uses to detect shared libraries,
8417 *** $file_magic_cmd, produces output that libtool cannot recognize.
8418 *** The result is that libtool may fail to recognize shared libraries
8419 *** as such. This will affect the creation of libtool libraries that
8420 *** depend on shared libraries, but programs linked with such libtool
8421 *** libraries will work regardless of this problem. Nevertheless, you
8422 *** may want to report the problem to your system manager and/or to
8423 *** bug-libtool@gnu.org
8433 MAGIC_CMD="$lt_save_MAGIC_CMD"
8438 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8439 if test -n "$MAGIC_CMD"; then
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8441 $as_echo "$MAGIC_CMD" >&6; }
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8444 $as_echo "no" >&6; }
8451 if test -z "$lt_cv_path_MAGIC_CMD"; then
8452 if test -n "$ac_tool_prefix"; then
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8454 $as_echo_n "checking for file... " >&6; }
8455 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8456 $as_echo_n "(cached) " >&6
8460 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8463 lt_save_MAGIC_CMD="$MAGIC_CMD"
8464 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8465 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8466 for ac_dir in $ac_dummy; do
8468 test -z "$ac_dir" && ac_dir=.
8469 if test -f $ac_dir/file; then
8470 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8471 if test -n "$file_magic_test_file"; then
8472 case $deplibs_check_method in
8474 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8475 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8476 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8477 $EGREP "$file_magic_regex" > /dev/null; then
8482 *** Warning: the command libtool uses to detect shared libraries,
8483 *** $file_magic_cmd, produces output that libtool cannot recognize.
8484 *** The result is that libtool may fail to recognize shared libraries
8485 *** as such. This will affect the creation of libtool libraries that
8486 *** depend on shared libraries, but programs linked with such libtool
8487 *** libraries will work regardless of this problem. Nevertheless, you
8488 *** may want to report the problem to your system manager and/or to
8489 *** bug-libtool@gnu.org
8499 MAGIC_CMD="$lt_save_MAGIC_CMD"
8504 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8505 if test -n "$MAGIC_CMD"; then
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8507 $as_echo "$MAGIC_CMD" >&6; }
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8510 $as_echo "no" >&6; }
8523 # Use C for the default configuration in the libtool script
8527 ac_cpp='$CPP $CPPFLAGS'
8528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8533 # Source file extension for C test sources.
8536 # Object file extension for compiled C test sources.
8540 # Code to be used in simple compile tests
8541 lt_simple_compile_test_code="int some_variable = 0;"
8543 # Code to be used in simple link tests
8544 lt_simple_link_test_code='int main(){return(0);}'
8552 # If no C compiler was specified, use CC.
8555 # If no C compiler flags were specified, use CFLAGS.
8556 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8558 # Allow CC to be a program name with arguments.
8561 # Save the default compiler, since it gets overwritten when the other
8562 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8563 compiler_DEFAULT=$CC
8565 # save warnings/boilerplate of simple test code
8566 ac_outfile=conftest.$ac_objext
8567 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8568 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8569 _lt_compiler_boilerplate=`cat conftest.err`
8572 ac_outfile=conftest.$ac_objext
8573 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8574 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8575 _lt_linker_boilerplate=`cat conftest.err`
8579 if test -n "$compiler"; then
8581 lt_prog_compiler_no_builtin_flag=
8583 if test "$GCC" = yes; then
8584 case $cc_basename in
8586 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8588 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8592 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8593 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8594 $as_echo_n "(cached) " >&6
8596 lt_cv_prog_compiler_rtti_exceptions=no
8597 ac_outfile=conftest.$ac_objext
8598 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8599 lt_compiler_flag="-fno-rtti -fno-exceptions"
8600 # Insert the option either (1) after the last *FLAGS variable, or
8601 # (2) before a word containing "conftest.", or (3) at the end.
8602 # Note that $ac_compile itself does not contain backslashes and begins
8603 # with a dollar sign (not a hyphen), so the echo should work correctly.
8604 # The option is referenced via a variable to avoid confusing sed.
8605 lt_compile=`echo "$ac_compile" | $SED \
8606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8608 -e 's:$: $lt_compiler_flag:'`
8609 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8610 (eval "$lt_compile" 2>conftest.err)
8612 cat conftest.err >&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 if (exit $ac_status) && test -s "$ac_outfile"; then
8615 # The compiler can only warn and ignore the option if not recognized
8616 # So say no if there are warnings other than the usual output.
8617 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8618 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8619 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8620 lt_cv_prog_compiler_rtti_exceptions=yes
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8627 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8629 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8630 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8642 lt_prog_compiler_wl=
8643 lt_prog_compiler_pic=
8644 lt_prog_compiler_static=
8647 if test "$GCC" = yes; then
8648 lt_prog_compiler_wl='-Wl,'
8649 lt_prog_compiler_static='-static'
8653 # All AIX code is PIC.
8654 if test "$host_cpu" = ia64; then
8655 # AIX 5 now supports IA64 processor
8656 lt_prog_compiler_static='-Bstatic'
8663 # see comment about AmigaOS4 .so support
8664 lt_prog_compiler_pic='-fPIC'
8667 # FIXME: we need at least 68020 code to build shared libraries, but
8668 # adding the `-m68020' flag to GCC prevents building anything better,
8670 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8675 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8676 # PIC is the default for these OSes.
8679 mingw* | cygwin* | pw32* | os2* | cegcc*)
8680 # This hack is so that the source file can tell whether it is being
8681 # built for inclusion in a dll (and should export symbols for example).
8682 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8683 # (--disable-auto-import) libraries
8684 lt_prog_compiler_pic='-DDLL_EXPORT'
8687 darwin* | rhapsody*)
8688 # PIC is the default on this platform
8689 # Common symbols not allowed in MH_DYLIB files
8690 lt_prog_compiler_pic='-fno-common'
8694 # PIC is the default for Haiku.
8695 # The "-static" flag exists, but is broken.
8696 lt_prog_compiler_static=
8700 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8701 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8702 # sets the default TLS model and affects inlining.
8708 lt_prog_compiler_pic='-fPIC'
8714 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8715 # Instead, we relocate shared libraries at runtime.
8719 # Just because we use GCC doesn't mean we suddenly get shared libraries
8720 # on systems that don't support them.
8721 lt_prog_compiler_can_build_shared=no
8726 # QNX uses GNU C++, but need to define -shared option too, otherwise
8728 lt_prog_compiler_pic='-fPIC -shared'
8732 if test -d /usr/nec; then
8733 lt_prog_compiler_pic=-Kconform_pic
8738 lt_prog_compiler_pic='-fPIC'
8742 case $cc_basename in
8743 nvcc*) # Cuda Compiler Driver 2.2
8744 lt_prog_compiler_wl='-Xlinker '
8745 lt_prog_compiler_pic='-Xcompiler -fPIC'
8749 # PORTME Check for flag to pass linker flags through the system compiler.
8752 lt_prog_compiler_wl='-Wl,'
8753 if test "$host_cpu" = ia64; then
8754 # AIX 5 now supports IA64 processor
8755 lt_prog_compiler_static='-Bstatic'
8757 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8761 mingw* | cygwin* | pw32* | os2* | cegcc*)
8762 # This hack is so that the source file can tell whether it is being
8763 # built for inclusion in a dll (and should export symbols for example).
8764 lt_prog_compiler_pic='-DDLL_EXPORT'
8767 hpux9* | hpux10* | hpux11*)
8768 lt_prog_compiler_wl='-Wl,'
8769 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8776 lt_prog_compiler_pic='+Z'
8779 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8780 lt_prog_compiler_static='${wl}-a ${wl}archive'
8783 irix5* | irix6* | nonstopux*)
8784 lt_prog_compiler_wl='-Wl,'
8785 # PIC (with -KPIC) is the default.
8786 lt_prog_compiler_static='-non_shared'
8789 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8790 case $cc_basename in
8791 # old Intel for x86_64 which still supported -KPIC.
8793 lt_prog_compiler_wl='-Wl,'
8794 lt_prog_compiler_pic='-KPIC'
8795 lt_prog_compiler_static='-static'
8797 # icc used to be incompatible with GCC.
8798 # ICC 10 doesn't accept -KPIC any more.
8800 lt_prog_compiler_wl='-Wl,'
8801 lt_prog_compiler_pic='-fPIC'
8802 lt_prog_compiler_static='-static'
8804 # Lahey Fortran 8.1.
8806 lt_prog_compiler_wl='-Wl,'
8807 lt_prog_compiler_pic='--shared'
8808 lt_prog_compiler_static='--static'
8811 # NAG Fortran compiler
8812 lt_prog_compiler_wl='-Wl,-Wl,,'
8813 lt_prog_compiler_pic='-PIC'
8814 lt_prog_compiler_static='-Bstatic'
8816 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8817 # Portland Group compilers (*not* the Pentium gcc compiler,
8818 # which looks to be a dead project)
8819 lt_prog_compiler_wl='-Wl,'
8820 lt_prog_compiler_pic='-fpic'
8821 lt_prog_compiler_static='-Bstatic'
8824 lt_prog_compiler_wl='-Wl,'
8825 # All Alpha code is PIC.
8826 lt_prog_compiler_static='-non_shared'
8828 xl* | bgxl* | bgf* | mpixl*)
8829 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8830 lt_prog_compiler_wl='-Wl,'
8831 lt_prog_compiler_pic='-qpic'
8832 lt_prog_compiler_static='-qstaticlink'
8835 case `$CC -V 2>&1 | sed 5q` in
8836 *Sun\ F* | *Sun*Fortran*)
8837 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8838 lt_prog_compiler_pic='-KPIC'
8839 lt_prog_compiler_static='-Bstatic'
8840 lt_prog_compiler_wl=''
8844 lt_prog_compiler_pic='-KPIC'
8845 lt_prog_compiler_static='-Bstatic'
8846 lt_prog_compiler_wl='-Wl,'
8854 lt_prog_compiler_pic='-KPIC'
8855 lt_prog_compiler_static='-Bstatic'
8859 # QNX uses GNU C++, but need to define -shared option too, otherwise
8861 lt_prog_compiler_pic='-fPIC -shared'
8864 osf3* | osf4* | osf5*)
8865 lt_prog_compiler_wl='-Wl,'
8866 # All OSF/1 code is PIC.
8867 lt_prog_compiler_static='-non_shared'
8871 lt_prog_compiler_static='-non_shared'
8875 lt_prog_compiler_pic='-KPIC'
8876 lt_prog_compiler_static='-Bstatic'
8877 case $cc_basename in
8878 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8879 lt_prog_compiler_wl='-Qoption ld ';;
8881 lt_prog_compiler_wl='-Wl,';;
8886 lt_prog_compiler_wl='-Qoption ld '
8887 lt_prog_compiler_pic='-PIC'
8888 lt_prog_compiler_static='-Bstatic'
8891 sysv4 | sysv4.2uw2* | sysv4.3*)
8892 lt_prog_compiler_wl='-Wl,'
8893 lt_prog_compiler_pic='-KPIC'
8894 lt_prog_compiler_static='-Bstatic'
8898 if test -d /usr/nec ;then
8899 lt_prog_compiler_pic='-Kconform_pic'
8900 lt_prog_compiler_static='-Bstatic'
8904 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8905 lt_prog_compiler_wl='-Wl,'
8906 lt_prog_compiler_pic='-KPIC'
8907 lt_prog_compiler_static='-Bstatic'
8911 lt_prog_compiler_wl='-Wl,'
8912 lt_prog_compiler_can_build_shared=no
8916 lt_prog_compiler_pic='-pic'
8917 lt_prog_compiler_static='-Bstatic'
8921 lt_prog_compiler_can_build_shared=no
8927 # For platforms which do not support PIC, -DPIC is meaningless:
8929 lt_prog_compiler_pic=
8932 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8937 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8938 if ${lt_cv_prog_compiler_pic+:} false; then :
8939 $as_echo_n "(cached) " >&6
8941 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8944 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8945 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8948 # Check to make sure the PIC flag actually works.
8950 if test -n "$lt_prog_compiler_pic"; then
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8952 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8953 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8954 $as_echo_n "(cached) " >&6
8956 lt_cv_prog_compiler_pic_works=no
8957 ac_outfile=conftest.$ac_objext
8958 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8959 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8960 # Insert the option either (1) after the last *FLAGS variable, or
8961 # (2) before a word containing "conftest.", or (3) at the end.
8962 # Note that $ac_compile itself does not contain backslashes and begins
8963 # with a dollar sign (not a hyphen), so the echo should work correctly.
8964 # The option is referenced via a variable to avoid confusing sed.
8965 lt_compile=`echo "$ac_compile" | $SED \
8966 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8967 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8968 -e 's:$: $lt_compiler_flag:'`
8969 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8970 (eval "$lt_compile" 2>conftest.err)
8972 cat conftest.err >&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 if (exit $ac_status) && test -s "$ac_outfile"; then
8975 # The compiler can only warn and ignore the option if not recognized
8976 # So say no if there are warnings other than the usual output.
8977 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8978 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8979 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8980 lt_cv_prog_compiler_pic_works=yes
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8987 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8989 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8990 case $lt_prog_compiler_pic in
8992 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8995 lt_prog_compiler_pic=
8996 lt_prog_compiler_can_build_shared=no
9012 # Check to make sure the static flag actually works.
9014 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9016 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9017 if ${lt_cv_prog_compiler_static_works+:} false; then :
9018 $as_echo_n "(cached) " >&6
9020 lt_cv_prog_compiler_static_works=no
9021 save_LDFLAGS="$LDFLAGS"
9022 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9023 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9024 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9025 # The linker can only warn and ignore the option if not recognized
9026 # So say no if there are warnings
9027 if test -s conftest.err; then
9028 # Append any errors to the config.log.
9029 cat conftest.err 1>&5
9030 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9031 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9032 if diff conftest.exp conftest.er2 >/dev/null; then
9033 lt_cv_prog_compiler_static_works=yes
9036 lt_cv_prog_compiler_static_works=yes
9040 LDFLAGS="$save_LDFLAGS"
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9044 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9046 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9049 lt_prog_compiler_static=
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9059 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9060 if ${lt_cv_prog_compiler_c_o+:} false; then :
9061 $as_echo_n "(cached) " >&6
9063 lt_cv_prog_compiler_c_o=no
9064 $RM -r conftest 2>/dev/null
9068 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9070 lt_compiler_flag="-o out/conftest2.$ac_objext"
9071 # Insert the option either (1) after the last *FLAGS variable, or
9072 # (2) before a word containing "conftest.", or (3) at the end.
9073 # Note that $ac_compile itself does not contain backslashes and begins
9074 # with a dollar sign (not a hyphen), so the echo should work correctly.
9075 lt_compile=`echo "$ac_compile" | $SED \
9076 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9077 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9078 -e 's:$: $lt_compiler_flag:'`
9079 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9080 (eval "$lt_compile" 2>out/conftest.err)
9082 cat out/conftest.err >&5
9083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9084 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9086 # The compiler can only warn and ignore the option if not recognized
9087 # So say no if there are warnings
9088 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9089 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9090 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9091 lt_cv_prog_compiler_c_o=yes
9096 # SGI C++ compiler will create directory out/ii_files/ for
9097 # template instantiation
9098 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9099 $RM out/* && rmdir out
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9106 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9114 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9115 if ${lt_cv_prog_compiler_c_o+:} false; then :
9116 $as_echo_n "(cached) " >&6
9118 lt_cv_prog_compiler_c_o=no
9119 $RM -r conftest 2>/dev/null
9123 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9125 lt_compiler_flag="-o out/conftest2.$ac_objext"
9126 # Insert the option either (1) after the last *FLAGS variable, or
9127 # (2) before a word containing "conftest.", or (3) at the end.
9128 # Note that $ac_compile itself does not contain backslashes and begins
9129 # with a dollar sign (not a hyphen), so the echo should work correctly.
9130 lt_compile=`echo "$ac_compile" | $SED \
9131 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9132 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9133 -e 's:$: $lt_compiler_flag:'`
9134 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9135 (eval "$lt_compile" 2>out/conftest.err)
9137 cat out/conftest.err >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9141 # The compiler can only warn and ignore the option if not recognized
9142 # So say no if there are warnings
9143 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9144 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9145 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9146 lt_cv_prog_compiler_c_o=yes
9151 # SGI C++ compiler will create directory out/ii_files/ for
9152 # template instantiation
9153 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9154 $RM out/* && rmdir out
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9161 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9166 hard_links="nottested"
9167 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9168 # do not overwrite the value of need_locks provided by the user
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9170 $as_echo_n "checking if we can lock with hard links... " >&6; }
9173 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9175 ln conftest.a conftest.b 2>&5 || hard_links=no
9176 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9178 $as_echo "$hard_links" >&6; }
9179 if test "$hard_links" = no; then
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9181 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9194 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9197 allow_undefined_flag=
9198 always_export_symbols=no
9200 archive_expsym_cmds=
9201 compiler_needs_object=no
9202 enable_shared_with_static_runtimes=no
9203 export_dynamic_flag_spec=
9204 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9205 hardcode_automatic=no
9207 hardcode_direct_absolute=no
9208 hardcode_libdir_flag_spec=
9209 hardcode_libdir_flag_spec_ld=
9210 hardcode_libdir_separator=
9212 hardcode_shlibpath_var=unsupported
9214 link_all_deplibs=unknown
9217 old_archive_from_new_cmds=
9218 old_archive_from_expsyms_cmds=
9219 thread_safe_flag_spec=
9220 whole_archive_flag_spec=
9221 # include_expsyms should be a list of space-separated symbols to be *always*
9222 # included in the symbol list
9224 # exclude_expsyms can be an extended regexp of symbols to exclude
9225 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9226 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9227 # as well as any symbol that contains `d'.
9228 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9229 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9230 # platforms (ab)use it in PIC code, but their linkers get confused if
9231 # the symbol is explicitly referenced. Since portable code cannot
9232 # rely on this symbol name, it's probably fine to never include it in
9233 # preloaded symbol tables.
9234 # Exclude shared library initialization/finalization symbols.
9235 extract_expsyms_cmds=
9238 cygwin* | mingw* | pw32* | cegcc*)
9239 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9240 # When not using gcc, we currently assume that we are using
9241 # Microsoft Visual C++.
9242 if test "$GCC" != yes; then
9247 # we just hope/assume this is gcc and not c89 (= MSVC++)
9257 # On some targets, GNU ld is compatible enough with the native linker
9258 # that we're better off using the native interface for both.
9259 lt_use_gnu_ld_interface=no
9260 if test "$with_gnu_ld" = yes; then
9263 # The AIX port of GNU ld has always aspired to compatibility
9264 # with the native linker. However, as the warning in the GNU ld
9265 # block says, versions before 2.19.5* couldn't really create working
9266 # shared libraries, regardless of the interface used.
9267 case `$LD -v 2>&1` in
9268 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9269 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9270 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9272 lt_use_gnu_ld_interface=yes
9277 lt_use_gnu_ld_interface=yes
9282 if test "$lt_use_gnu_ld_interface" = yes; then
9283 # If archive_cmds runs LD, not CC, wlarc should be empty
9286 # Set some defaults for GNU ld with shared library support. These
9287 # are reset later if shared libraries are not supported. Putting them
9288 # here allows them to be overridden if necessary.
9289 runpath_var=LD_RUN_PATH
9290 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9291 export_dynamic_flag_spec='${wl}--export-dynamic'
9292 # ancient GNU ld didn't support --whole-archive et. al.
9293 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9294 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9296 whole_archive_flag_spec=
9298 supports_anon_versioning=no
9299 case `$LD -v 2>&1` in
9300 *GNU\ gold*) supports_anon_versioning=yes ;;
9301 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9302 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9303 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9304 *\ 2.11.*) ;; # other 2.11 versions
9305 *) supports_anon_versioning=yes ;;
9308 # See if GNU ld supports shared libraries.
9311 # On AIX/PPC, the GNU linker is very broken
9312 if test "$host_cpu" != ia64; then
9316 *** Warning: the GNU linker, at least up to release 2.19, is reported
9317 *** to be unable to reliably create shared libraries on AIX.
9318 *** Therefore, libtool is disabling shared libraries support. If you
9319 *** really care for shared libraries, you may want to install binutils
9320 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9321 *** You will then need to restart the configuration process.
9330 # see comment about AmigaOS4 .so support
9331 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9332 archive_expsym_cmds=''
9335 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)'
9336 hardcode_libdir_flag_spec='-L$libdir'
9337 hardcode_minus_L=yes
9343 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9344 allow_undefined_flag=unsupported
9345 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9346 # support --undefined. This deserves some investigation. FIXME
9347 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9353 cygwin* | mingw* | pw32* | cegcc*)
9354 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9355 # as there is no search path for DLLs.
9356 hardcode_libdir_flag_spec='-L$libdir'
9357 export_dynamic_flag_spec='${wl}--export-all-symbols'
9358 allow_undefined_flag=unsupported
9359 always_export_symbols=no
9360 enable_shared_with_static_runtimes=yes
9361 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9362 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9364 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9365 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9366 # If the export-symbols file already is a .def file (1st line
9367 # is EXPORTS), use it as is; otherwise, prepend...
9368 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9369 cp $export_symbols $output_objdir/$soname.def;
9371 echo EXPORTS > $output_objdir/$soname.def;
9372 cat $export_symbols >> $output_objdir/$soname.def;
9374 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9381 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 link_all_deplibs=yes
9387 hardcode_shlibpath_var=no
9388 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9389 export_dynamic_flag_spec='${wl}-E'
9390 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9391 # Instead, shared libraries are loaded at an image base (0x10000000 by
9392 # default) and relocated if they conflict, which is a slow very memory
9393 # consuming and fragmenting process. To avoid this, we pick a random,
9394 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9395 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9396 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9397 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'
9400 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9402 if test "$host_os" = linux-dietlibc; then
9403 case $cc_basename in
9404 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9407 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9408 && test "$tmp_diet" = no
9410 tmp_addflag=' $pic_flag'
9411 tmp_sharedflag='-shared'
9412 case $cc_basename,$host_cpu in
9413 pgcc*) # Portland Group C compiler
9414 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9415 tmp_addflag=' $pic_flag'
9417 pgf77* | pgf90* | pgf95* | pgfortran*)
9418 # Portland Group f77 and f90 compilers
9419 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9420 tmp_addflag=' $pic_flag -Mnomain' ;;
9421 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9422 tmp_addflag=' -i_dynamic' ;;
9423 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9424 tmp_addflag=' -i_dynamic -nofor_main' ;;
9425 ifc* | ifort*) # Intel Fortran compiler
9426 tmp_addflag=' -nofor_main' ;;
9427 lf95*) # Lahey Fortran 8.1
9428 whole_archive_flag_spec=
9429 tmp_sharedflag='--shared' ;;
9430 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9431 tmp_sharedflag='-qmkshrobj'
9433 nvcc*) # Cuda Compiler Driver 2.2
9434 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9435 compiler_needs_object=yes
9438 case `$CC -V 2>&1 | sed 5q` in
9439 *Sun\ C*) # Sun C 5.9
9440 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9441 compiler_needs_object=yes
9442 tmp_sharedflag='-G' ;;
9443 *Sun\ F*) # Sun Fortran 8.3
9444 tmp_sharedflag='-G' ;;
9446 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9448 if test "x$supports_anon_versioning" = xyes; then
9449 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9450 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9451 echo "local: *; };" >> $output_objdir/$libname.ver~
9452 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9455 case $cc_basename in
9456 xlf* | bgf* | bgxlf* | mpixlf*)
9457 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9458 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9459 hardcode_libdir_flag_spec=
9460 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9461 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9462 if test "x$supports_anon_versioning" = xyes; then
9463 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9464 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9465 echo "local: *; };" >> $output_objdir/$libname.ver~
9466 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9476 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9477 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9480 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9481 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9486 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9490 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9491 *** create shared libraries on Solaris systems. Therefore, libtool
9492 *** is disabling shared libraries support. We urge you to upgrade GNU
9493 *** binutils to release 2.9.1 or newer. Another option is to modify
9494 *** your PATH or compiler configuration so that the native linker is
9495 *** used, and then restart.
9498 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9499 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9500 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9506 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9507 case `$LD -v 2>&1` in
9508 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9512 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9513 *** reliably create shared libraries on SCO systems. Therefore, libtool
9514 *** is disabling shared libraries support. We urge you to upgrade GNU
9515 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9516 *** your PATH or compiler configuration so that the native linker is
9517 *** used, and then restart.
9522 # For security reasons, it is highly recommended that you always
9523 # use absolute paths for naming shared libraries, and exclude the
9524 # DT_RUNPATH tag from executables and libraries. But doing so
9525 # requires that you compile everything twice, which is a pain.
9526 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9527 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9528 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9529 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9538 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9541 hardcode_shlibpath_var=no
9545 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9546 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9547 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9554 if test "$ld_shlibs" = no; then
9556 hardcode_libdir_flag_spec=
9557 export_dynamic_flag_spec=
9558 whole_archive_flag_spec=
9561 # PORTME fill in a description of your system's linker (not GNU ld)
9564 allow_undefined_flag=unsupported
9565 always_export_symbols=yes
9566 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'
9567 # Note: this linker hardcodes the directories in LIBPATH if there
9568 # are no directories specified by -L.
9569 hardcode_minus_L=yes
9570 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9571 # Neither direct hardcoding nor static linking is supported with a
9573 hardcode_direct=unsupported
9578 if test "$host_cpu" = ia64; then
9579 # On IA64, the linker does run time linking by default, so we don't
9580 # have to do anything special.
9581 aix_use_runtimelinking=no
9582 exp_sym_flag='-Bexport'
9585 # If we're using GNU nm, then we don't want the "-C" option.
9586 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9587 # Also, AIX nm treats weak defined symbols like other global
9588 # defined symbols, whereas GNU nm marks them as "W".
9589 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9590 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9592 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'
9594 aix_use_runtimelinking=no
9596 # Test if we are trying to use run time linking or normal
9597 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9598 # need to do runtime linking.
9599 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9600 for ld_flag in $LDFLAGS; do
9601 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9602 aix_use_runtimelinking=yes
9609 exp_sym_flag='-bexport'
9610 no_entry_flag='-bnoentry'
9613 # When large executables or shared objects are built, AIX ld can
9614 # have problems creating the table of contents. If linking a library
9615 # or program results in "error TOC overflow" add -mminimal-toc to
9616 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9617 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9621 hardcode_direct_absolute=yes
9622 hardcode_libdir_separator=':'
9623 link_all_deplibs=yes
9624 file_list_spec='${wl}-f,'
9626 if test "$GCC" = yes; then
9627 case $host_os in aix4.[012]|aix4.[012].*)
9628 # We only want to do this on AIX 4.2 and lower, the check
9629 # below for broken collect2 doesn't work under 4.3+
9630 collect2name=`${CC} -print-prog-name=collect2`
9631 if test -f "$collect2name" &&
9632 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9634 # We have reworked collect2
9637 # We have old collect2
9638 hardcode_direct=unsupported
9639 # It fails to find uninstalled libraries when the uninstalled
9640 # path is not listed in the libpath. Setting hardcode_minus_L
9641 # to unsupported forces relinking
9642 hardcode_minus_L=yes
9643 hardcode_libdir_flag_spec='-L$libdir'
9644 hardcode_libdir_separator=
9648 shared_flag='-shared'
9649 if test "$aix_use_runtimelinking" = yes; then
9650 shared_flag="$shared_flag "'${wl}-G'
9654 if test "$host_cpu" = ia64; then
9655 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9656 # chokes on -Wl,-G. The following line is correct:
9659 if test "$aix_use_runtimelinking" = yes; then
9660 shared_flag='${wl}-G'
9662 shared_flag='${wl}-bM:SRE'
9667 export_dynamic_flag_spec='${wl}-bexpall'
9668 # It seems that -bexpall does not export symbols beginning with
9669 # underscore (_), so it is better to generate a list of symbols to export.
9670 always_export_symbols=yes
9671 if test "$aix_use_runtimelinking" = yes; then
9672 # Warning - without using the other runtime loading flags (-brtl),
9673 # -berok will link without error, but may produce a broken library.
9674 allow_undefined_flag='-berok'
9675 # Determine the default libpath from the value encoded in an
9677 if test "${lt_cv_aix_libpath+set}" = set; then
9678 aix_libpath=$lt_cv_aix_libpath
9680 if ${lt_cv_aix_libpath_+:} false; then :
9681 $as_echo_n "(cached) " >&6
9683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9684 /* end confdefs.h. */
9694 if ac_fn_c_try_link "$LINENO"; then :
9696 lt_aix_libpath_sed='
9697 /Import File Strings/,/^$/ {
9699 s/^0 *\([^ ]*\) *$/\1/
9703 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9704 # Check for a 64-bit object if we didn't find anything.
9705 if test -z "$lt_cv_aix_libpath_"; then
9706 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9709 rm -f core conftest.err conftest.$ac_objext \
9710 conftest$ac_exeext conftest.$ac_ext
9711 if test -z "$lt_cv_aix_libpath_"; then
9712 lt_cv_aix_libpath_="/usr/lib:/lib"
9717 aix_libpath=$lt_cv_aix_libpath_
9720 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9721 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9723 if test "$host_cpu" = ia64; then
9724 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9725 allow_undefined_flag="-z nodefs"
9726 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"
9728 # Determine the default libpath from the value encoded in an
9730 if test "${lt_cv_aix_libpath+set}" = set; then
9731 aix_libpath=$lt_cv_aix_libpath
9733 if ${lt_cv_aix_libpath_+:} false; then :
9734 $as_echo_n "(cached) " >&6
9736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9737 /* end confdefs.h. */
9747 if ac_fn_c_try_link "$LINENO"; then :
9749 lt_aix_libpath_sed='
9750 /Import File Strings/,/^$/ {
9752 s/^0 *\([^ ]*\) *$/\1/
9756 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9757 # Check for a 64-bit object if we didn't find anything.
9758 if test -z "$lt_cv_aix_libpath_"; then
9759 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9762 rm -f core conftest.err conftest.$ac_objext \
9763 conftest$ac_exeext conftest.$ac_ext
9764 if test -z "$lt_cv_aix_libpath_"; then
9765 lt_cv_aix_libpath_="/usr/lib:/lib"
9770 aix_libpath=$lt_cv_aix_libpath_
9773 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9774 # Warning - without using the other run time loading flags,
9775 # -berok will link without error, but may produce a broken library.
9776 no_undefined_flag=' ${wl}-bernotok'
9777 allow_undefined_flag=' ${wl}-berok'
9778 if test "$with_gnu_ld" = yes; then
9779 # We only use this code for GNU lds that support --whole-archive.
9780 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9782 # Exported symbols can be pulled into shared objects from archives
9783 whole_archive_flag_spec='$convenience'
9785 archive_cmds_need_lc=yes
9786 # This is similar to how AIX traditionally builds its shared libraries.
9787 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'
9795 # see comment about AmigaOS4 .so support
9796 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9797 archive_expsym_cmds=''
9800 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)'
9801 hardcode_libdir_flag_spec='-L$libdir'
9802 hardcode_minus_L=yes
9808 export_dynamic_flag_spec=-rdynamic
9811 cygwin* | mingw* | pw32* | cegcc*)
9812 # When not using gcc, we currently assume that we are using
9813 # Microsoft Visual C++.
9814 # hardcode_libdir_flag_spec is actually meaningless, as there is
9815 # no search path for DLLs.
9816 case $cc_basename in
9819 hardcode_libdir_flag_spec=' '
9820 allow_undefined_flag=unsupported
9821 always_export_symbols=yes
9823 # Tell ltmain to make .lib files, not .a files.
9825 # Tell ltmain to make .dll files, not .so files.
9827 # FIXME: Setting linknames here is a bad hack.
9828 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9829 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9830 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9832 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9834 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9836 # The linker will not automatically build a static lib if we build a DLL.
9837 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9838 enable_shared_with_static_runtimes=yes
9839 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9841 old_postinstall_cmds='chmod 644 $oldlib'
9842 postlink_cmds='lt_outputfile="@OUTPUT@"~
9843 lt_tool_outputfile="@TOOL_OUTPUT@"~
9844 case $lt_outputfile in
9847 lt_outputfile="$lt_outputfile.exe"
9848 lt_tool_outputfile="$lt_tool_outputfile.exe"
9851 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9852 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9853 $RM "$lt_outputfile.manifest";
9857 # Assume MSVC wrapper
9858 hardcode_libdir_flag_spec=' '
9859 allow_undefined_flag=unsupported
9860 # Tell ltmain to make .lib files, not .a files.
9862 # Tell ltmain to make .dll files, not .so files.
9864 # FIXME: Setting linknames here is a bad hack.
9865 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9866 # The linker will automatically build a .lib file if we build a DLL.
9867 old_archive_from_new_cmds='true'
9868 # FIXME: Should let the user specify the lib program.
9869 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9870 enable_shared_with_static_runtimes=yes
9875 darwin* | rhapsody*)
9878 archive_cmds_need_lc=no
9880 hardcode_automatic=yes
9881 hardcode_shlibpath_var=unsupported
9882 if test "$lt_cv_ld_force_load" = "yes"; then
9883 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9885 whole_archive_flag_spec=''
9887 link_all_deplibs=yes
9888 allow_undefined_flag="$_lt_dar_allow_undefined"
9889 case $cc_basename in
9890 ifort*) _lt_dar_can_shared=yes ;;
9891 *) _lt_dar_can_shared=$GCC ;;
9893 if test "$_lt_dar_can_shared" = "yes"; then
9894 output_verbose_link_cmd=func_echo_all
9895 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9896 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9897 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}"
9898 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}"
9907 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9908 hardcode_libdir_flag_spec='-L$libdir'
9909 hardcode_shlibpath_var=no
9916 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9917 # support. Future versions do this automatically, but an explicit c++rt0.o
9918 # does not break anything, and helps significantly (at the cost of a little
9921 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9922 hardcode_libdir_flag_spec='-R$libdir'
9924 hardcode_shlibpath_var=no
9927 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9929 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9931 hardcode_minus_L=yes
9932 hardcode_shlibpath_var=no
9935 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9936 freebsd* | dragonfly*)
9937 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9938 hardcode_libdir_flag_spec='-R$libdir'
9940 hardcode_shlibpath_var=no
9944 if test "$GCC" = yes; then
9945 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9947 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'
9949 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9950 hardcode_libdir_separator=:
9953 # hardcode_minus_L: Not really in the search PATH,
9954 # but as the default location of the library.
9955 hardcode_minus_L=yes
9956 export_dynamic_flag_spec='${wl}-E'
9960 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9961 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9963 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9965 if test "$with_gnu_ld" = no; then
9966 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9967 hardcode_libdir_flag_spec_ld='+b $libdir'
9968 hardcode_libdir_separator=:
9970 hardcode_direct_absolute=yes
9971 export_dynamic_flag_spec='${wl}-E'
9972 # hardcode_minus_L: Not really in the search PATH,
9973 # but as the default location of the library.
9974 hardcode_minus_L=yes
9979 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9982 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9985 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9988 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9994 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9997 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10001 # Older versions of the 11.00 compiler do not understand -b yet
10002 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10004 $as_echo_n "checking if $CC understands -b... " >&6; }
10005 if ${lt_cv_prog_compiler__b+:} false; then :
10006 $as_echo_n "(cached) " >&6
10008 lt_cv_prog_compiler__b=no
10009 save_LDFLAGS="$LDFLAGS"
10010 LDFLAGS="$LDFLAGS -b"
10011 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10012 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10013 # The linker can only warn and ignore the option if not recognized
10014 # So say no if there are warnings
10015 if test -s conftest.err; then
10016 # Append any errors to the config.log.
10017 cat conftest.err 1>&5
10018 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10019 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10020 if diff conftest.exp conftest.er2 >/dev/null; then
10021 lt_cv_prog_compiler__b=yes
10024 lt_cv_prog_compiler__b=yes
10028 LDFLAGS="$save_LDFLAGS"
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10032 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10034 if test x"$lt_cv_prog_compiler__b" = xyes; then
10035 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10037 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10043 if test "$with_gnu_ld" = no; then
10044 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10045 hardcode_libdir_separator=:
10050 hardcode_shlibpath_var=no
10053 hardcode_direct=yes
10054 hardcode_direct_absolute=yes
10055 export_dynamic_flag_spec='${wl}-E'
10057 # hardcode_minus_L: Not really in the search PATH,
10058 # but as the default location of the library.
10059 hardcode_minus_L=yes
10065 irix5* | irix6* | nonstopux*)
10066 if test "$GCC" = yes; then
10067 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10068 # Try to use the -exported_symbol ld option, if it does not
10069 # work, assume that -exports_file does not work either and
10070 # implicitly export all symbols.
10071 # This should be the same for all languages, so no per-tag cache variable.
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10073 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10074 if ${lt_cv_irix_exported_symbol+:} false; then :
10075 $as_echo_n "(cached) " >&6
10077 save_LDFLAGS="$LDFLAGS"
10078 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10081 int foo (void) { return 0; }
10083 if ac_fn_c_try_link "$LINENO"; then :
10084 lt_cv_irix_exported_symbol=yes
10086 lt_cv_irix_exported_symbol=no
10088 rm -f core conftest.err conftest.$ac_objext \
10089 conftest$ac_exeext conftest.$ac_ext
10090 LDFLAGS="$save_LDFLAGS"
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10093 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10094 if test "$lt_cv_irix_exported_symbol" = yes; then
10095 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10098 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10099 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10101 archive_cmds_need_lc='no'
10102 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10103 hardcode_libdir_separator=:
10105 link_all_deplibs=yes
10109 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10110 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10112 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10114 hardcode_libdir_flag_spec='-R$libdir'
10115 hardcode_direct=yes
10116 hardcode_shlibpath_var=no
10120 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10121 hardcode_direct=yes
10122 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10123 hardcode_libdir_separator=:
10124 hardcode_shlibpath_var=no
10131 if test -f /usr/libexec/ld.so; then
10132 hardcode_direct=yes
10133 hardcode_shlibpath_var=no
10134 hardcode_direct_absolute=yes
10135 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10136 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10137 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10138 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10139 export_dynamic_flag_spec='${wl}-E'
10142 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10143 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10144 hardcode_libdir_flag_spec='-R$libdir'
10147 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10148 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10158 hardcode_libdir_flag_spec='-L$libdir'
10159 hardcode_minus_L=yes
10160 allow_undefined_flag=unsupported
10161 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'
10162 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10166 if test "$GCC" = yes; then
10167 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10168 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10170 allow_undefined_flag=' -expect_unresolved \*'
10171 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10173 archive_cmds_need_lc='no'
10174 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10175 hardcode_libdir_separator=:
10178 osf4* | osf5*) # as osf3* with the addition of -msym flag
10179 if test "$GCC" = yes; then
10180 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10181 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10182 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10184 allow_undefined_flag=' -expect_unresolved \*'
10185 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10186 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~
10187 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10189 # Both c and cxx compiler support -rpath directly
10190 hardcode_libdir_flag_spec='-rpath $libdir'
10192 archive_cmds_need_lc='no'
10193 hardcode_libdir_separator=:
10197 no_undefined_flag=' -z defs'
10198 if test "$GCC" = yes; then
10200 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10201 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10202 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10204 case `$CC -V 2>&1` in
10207 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10208 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10209 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10213 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10214 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10215 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10219 hardcode_libdir_flag_spec='-R$libdir'
10220 hardcode_shlibpath_var=no
10222 solaris2.[0-5] | solaris2.[0-5].*) ;;
10224 # The compiler driver will combine and reorder linker options,
10225 # but understands `-z linker_flag'. GCC discards it without `$wl',
10226 # but is careful enough not to reorder.
10227 # Supported since Solaris 2.6 (maybe 2.5.1?)
10228 if test "$GCC" = yes; then
10229 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10231 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10235 link_all_deplibs=yes
10239 if test "x$host_vendor" = xsequent; then
10240 # Use $CC to link under sequent, because it throws in some extra .o
10241 # files that make .init and .fini sections work.
10242 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10244 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10246 hardcode_libdir_flag_spec='-L$libdir'
10247 hardcode_direct=yes
10248 hardcode_minus_L=yes
10249 hardcode_shlibpath_var=no
10253 case $host_vendor in
10255 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10256 hardcode_direct=yes # is this really true???
10259 ## LD is ld it makes a PLAMLIB
10260 ## CC just makes a GrossModule.
10261 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10262 reload_cmds='$CC -r -o $output$reload_objs'
10266 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10267 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10270 runpath_var='LD_RUN_PATH'
10271 hardcode_shlibpath_var=no
10275 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10276 hardcode_shlibpath_var=no
10277 export_dynamic_flag_spec='-Bexport'
10281 if test -d /usr/nec; then
10282 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10283 hardcode_shlibpath_var=no
10284 runpath_var=LD_RUN_PATH
10285 hardcode_runpath_var=yes
10290 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10291 no_undefined_flag='${wl}-z,text'
10292 archive_cmds_need_lc=no
10293 hardcode_shlibpath_var=no
10294 runpath_var='LD_RUN_PATH'
10296 if test "$GCC" = yes; then
10297 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10298 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10300 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10301 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10305 sysv5* | sco3.2v5* | sco5v6*)
10306 # Note: We can NOT use -z defs as we might desire, because we do not
10307 # link with -lc, and that would cause any symbols used from libc to
10308 # always be unresolved, which means just about no library would
10309 # ever link correctly. If we're not using GNU ld we use -z text
10310 # though, which does catch some bad symbols but isn't as heavy-handed
10312 no_undefined_flag='${wl}-z,text'
10313 allow_undefined_flag='${wl}-z,nodefs'
10314 archive_cmds_need_lc=no
10315 hardcode_shlibpath_var=no
10316 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10317 hardcode_libdir_separator=':'
10318 link_all_deplibs=yes
10319 export_dynamic_flag_spec='${wl}-Bexport'
10320 runpath_var='LD_RUN_PATH'
10322 if test "$GCC" = yes; then
10323 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10324 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10326 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10327 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10332 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10333 hardcode_libdir_flag_spec='-L$libdir'
10334 hardcode_shlibpath_var=no
10342 if test x$host_vendor = xsni; then
10344 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10345 export_dynamic_flag_spec='${wl}-Blargedynsym'
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10352 $as_echo "$ld_shlibs" >&6; }
10353 test "$ld_shlibs" = no && can_build_shared=no
10355 with_gnu_ld=$with_gnu_ld
10372 # Do we need to explicitly link libc?
10374 case "x$archive_cmds_need_lc" in
10376 # Assume -lc should be added
10377 archive_cmds_need_lc=yes
10379 if test "$enable_shared" = yes && test "$GCC" = yes; then
10380 case $archive_cmds in
10382 # FIXME: we may have to deal with multi-command sequences.
10385 # Test whether the compiler implicitly links with -lc since on some
10386 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10387 # to ld, don't add -lc before -lgcc.
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10389 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10390 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10391 $as_echo_n "(cached) " >&6
10394 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10396 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10397 (eval $ac_compile) 2>&5
10399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10400 test $ac_status = 0; } 2>conftest.err; then
10403 libobjs=conftest.$ac_objext
10405 wl=$lt_prog_compiler_wl
10406 pic_flag=$lt_prog_compiler_pic
10412 lt_save_allow_undefined_flag=$allow_undefined_flag
10413 allow_undefined_flag=
10414 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10415 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10418 test $ac_status = 0; }
10420 lt_cv_archive_cmds_need_lc=no
10422 lt_cv_archive_cmds_need_lc=yes
10424 allow_undefined_flag=$lt_save_allow_undefined_flag
10426 cat conftest.err 1>&5
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10432 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10433 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10597 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10599 if test "$GCC" = yes; then
10601 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10602 *) lt_awk_arg="/^libraries:/" ;;
10605 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10606 *) lt_sed_strip_eq="s,=/,/,g" ;;
10608 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10609 case $lt_search_path_spec in
10611 # if the path contains ";" then we assume it to be the separator
10612 # otherwise default to the standard path separator (i.e. ":") - it is
10613 # assumed that no part of a normal pathname contains ";" but that should
10614 # okay in the real world where ";" in dirpaths is itself problematic.
10615 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10618 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10621 # Ok, now we have the path, separated by spaces, we can step through it
10622 # and add multilib dir if necessary.
10623 lt_tmp_lt_search_path_spec=
10624 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10625 for lt_sys_path in $lt_search_path_spec; do
10626 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10627 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10629 test -d "$lt_sys_path" && \
10630 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10633 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10634 BEGIN {RS=" "; FS="/|\n";} {
10637 for (lt_i = NF; lt_i > 0; lt_i--) {
10638 if ($lt_i != "" && $lt_i != ".") {
10639 if ($lt_i == "..") {
10642 if (lt_count == 0) {
10643 lt_foo="/" $lt_i lt_foo;
10650 if (lt_foo != "") { lt_freq[lt_foo]++; }
10651 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10653 # AWK program above erroneously prepends '/' to C:/dos/paths
10656 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10657 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10659 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10661 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10663 library_names_spec=
10664 libname_spec='lib$name'
10668 postuninstall_cmds=
10672 shlibpath_overrides_runpath=unknown
10674 dynamic_linker="$host_os ld.so"
10675 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10676 need_lib_prefix=unknown
10677 hardcode_into_libs=no
10679 # when you set need_version to no, make sure it does not cause -set_version
10680 # flags to be left without arguments
10681 need_version=unknown
10686 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10687 shlibpath_var=LIBPATH
10689 # AIX 3 has no versioning support, so we append a major version to the name.
10690 soname_spec='${libname}${release}${shared_ext}$major'
10697 hardcode_into_libs=yes
10698 if test "$host_cpu" = ia64; then
10699 # AIX 5 supports IA64
10700 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10701 shlibpath_var=LD_LIBRARY_PATH
10703 # With GCC up to 2.95.x, collect2 would create an import file
10704 # for dependence libraries. The import file would start with
10705 # the line `#! .'. This would cause the generated library to
10706 # depend on `.', always an invalid library. This was fixed in
10707 # development snapshots of GCC prior to 3.0.
10709 aix4 | aix4.[01] | aix4.[01].*)
10710 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10712 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10715 can_build_shared=no
10719 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10720 # soname into executable. Probably we can add versioning support to
10721 # collect2, so additional links can be useful in future.
10722 if test "$aix_use_runtimelinking" = yes; then
10723 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10724 # instead of lib<name>.a to let people know that these are not
10725 # typical AIX shared libraries.
10726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10728 # We preserve .a as extension for shared libraries through AIX4.2
10729 # and later when we are not doing run time linking.
10730 library_names_spec='${libname}${release}.a $libname.a'
10731 soname_spec='${libname}${release}${shared_ext}$major'
10733 shlibpath_var=LIBPATH
10740 # Since July 2007 AmigaOS4 officially supports .so libraries.
10741 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 library_names_spec='$libname.ixlibrary $libname.a'
10746 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10747 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10753 library_names_spec='${libname}${shared_ext}'
10754 dynamic_linker="$host_os ld.so"
10755 shlibpath_var=LIBRARY_PATH
10761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10762 soname_spec='${libname}${release}${shared_ext}$major'
10763 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10764 shlibpath_var=LD_LIBRARY_PATH
10765 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10766 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10767 # the default ld.so.conf also contains /usr/contrib/lib and
10768 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10769 # libtool to hard-code these into programs
10772 cygwin* | mingw* | pw32* | cegcc*)
10773 version_type=windows
10778 case $GCC,$cc_basename in
10781 library_names_spec='$libname.dll.a'
10782 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10783 postinstall_cmds='base_file=`basename \${file}`~
10784 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10785 dldir=$destdir/`dirname \$dlpath`~
10786 test -d \$dldir || mkdir -p \$dldir~
10787 $install_prog $dir/$dlname \$dldir/$dlname~
10788 chmod a+x \$dldir/$dlname~
10789 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10790 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10792 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10793 dlpath=$dir/\$dldll~
10795 shlibpath_overrides_runpath=yes
10799 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10800 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10802 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10805 # MinGW DLLs use traditional 'lib' prefix
10806 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10809 # pw32 DLLs use 'pw' prefix rather than 'lib'
10810 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10813 dynamic_linker='Win32 ld.exe'
10818 libname_spec='$name'
10819 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10820 library_names_spec='${libname}.dll.lib'
10824 sys_lib_search_path_spec=
10827 for lt_path in $LIB
10830 # Let DOS variable expansion print the short 8.3 style file name.
10831 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10832 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10835 # Convert to MSYS style.
10836 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10839 # Convert to unix form, then to dos form, then back to unix form
10840 # but this time dos style (no spaces!) so that the unix form looks
10841 # like /cygdrive/c/PROGRA~1:/cygdr...
10842 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10843 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10844 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10847 sys_lib_search_path_spec="$LIB"
10848 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10849 # It is most probably a Windows format PATH.
10850 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10852 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10854 # FIXME: find the short name or the path components, as spaces are
10855 # common. (e.g. "Program Files" -> "PROGRA~1")
10859 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10860 postinstall_cmds='base_file=`basename \${file}`~
10861 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10862 dldir=$destdir/`dirname \$dlpath`~
10863 test -d \$dldir || mkdir -p \$dldir~
10864 $install_prog $dir/$dlname \$dldir/$dlname'
10865 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10866 dlpath=$dir/\$dldll~
10868 shlibpath_overrides_runpath=yes
10869 dynamic_linker='Win32 link.exe'
10873 # Assume MSVC wrapper
10874 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10875 dynamic_linker='Win32 ld.exe'
10878 # FIXME: first we should search . and the directory the executable is in
10882 darwin* | rhapsody*)
10883 dynamic_linker="$host_os dyld"
10884 version_type=darwin
10887 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10888 soname_spec='${libname}${release}${major}$shared_ext'
10889 shlibpath_overrides_runpath=yes
10890 shlibpath_var=DYLD_LIBRARY_PATH
10891 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10893 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10894 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10902 soname_spec='${libname}${release}${shared_ext}$major'
10903 shlibpath_var=LD_LIBRARY_PATH
10910 freebsd* | dragonfly*)
10911 # DragonFly does not have aout. When/if they implement a new
10912 # versioning mechanism, adjust this.
10913 if test -x /usr/bin/objformat; then
10914 objformat=`/usr/bin/objformat`
10917 freebsd[123]*) objformat=aout ;;
10918 *) objformat=elf ;;
10921 version_type=freebsd-$objformat
10922 case $version_type in
10924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10929 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10933 shlibpath_var=LD_LIBRARY_PATH
10936 shlibpath_overrides_runpath=yes
10938 freebsd3.[01]* | freebsdelf3.[01]*)
10939 shlibpath_overrides_runpath=yes
10940 hardcode_into_libs=yes
10942 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10943 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10944 shlibpath_overrides_runpath=no
10945 hardcode_into_libs=yes
10947 *) # from 4.6 on, and DragonFly
10948 shlibpath_overrides_runpath=yes
10949 hardcode_into_libs=yes
10958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10959 soname_spec='${libname}${release}${shared_ext}$major'
10960 shlibpath_var=LD_LIBRARY_PATH
10961 hardcode_into_libs=yes
10968 dynamic_linker="$host_os runtime_loader"
10969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10970 soname_spec='${libname}${release}${shared_ext}$major'
10971 shlibpath_var=LIBRARY_PATH
10972 shlibpath_overrides_runpath=yes
10973 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10974 hardcode_into_libs=yes
10977 hpux9* | hpux10* | hpux11*)
10978 # Give a soname corresponding to the major version so that dld.sl refuses to
10979 # link against other versions.
10986 hardcode_into_libs=yes
10987 dynamic_linker="$host_os dld.so"
10988 shlibpath_var=LD_LIBRARY_PATH
10989 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec='${libname}${release}${shared_ext}$major'
10992 if test "X$HPUX_IA64_MODE" = X32; then
10993 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10995 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10997 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11001 hardcode_into_libs=yes
11002 dynamic_linker="$host_os dld.sl"
11003 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11004 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11006 soname_spec='${libname}${release}${shared_ext}$major'
11007 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11008 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11012 dynamic_linker="$host_os dld.sl"
11013 shlibpath_var=SHLIB_PATH
11014 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11016 soname_spec='${libname}${release}${shared_ext}$major'
11019 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11020 postinstall_cmds='chmod 555 $lib'
11021 # or fails outright, so override atomically:
11022 install_override_mode=555
11029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11030 soname_spec='${libname}${release}${shared_ext}$major'
11031 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11032 shlibpath_var=LD_LIBRARY_PATH
11033 shlibpath_overrides_runpath=no
11034 hardcode_into_libs=yes
11037 irix5* | irix6* | nonstopux*)
11039 nonstopux*) version_type=nonstopux ;;
11041 if test "$lt_cv_prog_gnu_ld" = yes; then
11049 soname_spec='${libname}${release}${shared_ext}$major'
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11052 irix5* | nonstopux*)
11053 libsuff= shlibsuff=
11056 case $LD in # libtool.m4 will add one of these switches to LD
11057 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11058 libsuff= shlibsuff= libmagic=32-bit;;
11059 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11060 libsuff=32 shlibsuff=N32 libmagic=N32;;
11061 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11062 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11063 *) libsuff= shlibsuff= libmagic=never-match;;
11067 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11068 shlibpath_overrides_runpath=no
11069 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11070 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11071 hardcode_into_libs=yes
11074 # No shared lib support for Linux oldld, aout, or coff.
11075 linux*oldld* | linux*aout* | linux*coff*)
11079 # This must be Linux ELF.
11080 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085 soname_spec='${libname}${release}${shared_ext}$major'
11086 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11087 shlibpath_var=LD_LIBRARY_PATH
11088 shlibpath_overrides_runpath=no
11090 # Some binutils ld are patched to set DT_RUNPATH
11091 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11092 $as_echo_n "(cached) " >&6
11094 lt_cv_shlibpath_overrides_runpath=no
11095 save_LDFLAGS=$LDFLAGS
11096 save_libdir=$libdir
11097 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11098 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h. */
11110 if ac_fn_c_try_link "$LINENO"; then :
11111 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11112 lt_cv_shlibpath_overrides_runpath=yes
11115 rm -f core conftest.err conftest.$ac_objext \
11116 conftest$ac_exeext conftest.$ac_ext
11117 LDFLAGS=$save_LDFLAGS
11118 libdir=$save_libdir
11122 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11124 # This implies no fast_install, which is unacceptable.
11125 # Some rework will be needed to allow for fast_install
11126 # before this can be enabled.
11127 hardcode_into_libs=yes
11129 # Add ABI-specific directories to the system library path.
11130 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11132 # Append ld.so.conf contents to the search path
11133 if test -f /etc/ld.so.conf; then
11134 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11135 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11139 # We used to test for /lib/ld.so.1 and disable shared libraries on
11140 # powerpc, because MkLinux only supported shared libraries with the
11141 # GNU dynamic linker. Since this was broken with cross compilers,
11142 # most powerpc-linux boxes support dynamic linking these days and
11143 # people can always --disable-shared, the test was removed, and we
11144 # assume the GNU/Linux dynamic linker is in use.
11145 dynamic_linker='GNU/Linux ld.so'
11152 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11154 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11155 dynamic_linker='NetBSD (a.out) ld.so'
11157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11158 soname_spec='${libname}${release}${shared_ext}$major'
11159 dynamic_linker='NetBSD ld.elf_so'
11161 shlibpath_var=LD_LIBRARY_PATH
11162 shlibpath_overrides_runpath=yes
11163 hardcode_into_libs=yes
11168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11169 shlibpath_var=LD_LIBRARY_PATH
11170 shlibpath_overrides_runpath=yes
11177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11178 soname_spec='${libname}${release}${shared_ext}$major'
11179 shlibpath_var=LD_LIBRARY_PATH
11180 shlibpath_overrides_runpath=no
11181 hardcode_into_libs=yes
11182 dynamic_linker='ldqnx.so'
11187 sys_lib_dlsearch_path_spec="/usr/lib"
11189 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11191 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11192 *) need_version=no ;;
11194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11195 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11196 shlibpath_var=LD_LIBRARY_PATH
11197 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11199 openbsd2.[89] | openbsd2.[89].*)
11200 shlibpath_overrides_runpath=no
11203 shlibpath_overrides_runpath=yes
11207 shlibpath_overrides_runpath=yes
11212 libname_spec='$name'
11215 library_names_spec='$libname${shared_ext} $libname.a'
11216 dynamic_linker='OS/2 ld.exe'
11217 shlibpath_var=LIBPATH
11220 osf3* | osf4* | osf5*)
11224 soname_spec='${libname}${release}${shared_ext}$major'
11225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11226 shlibpath_var=LD_LIBRARY_PATH
11227 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11228 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11240 soname_spec='${libname}${release}${shared_ext}$major'
11241 shlibpath_var=LD_LIBRARY_PATH
11242 shlibpath_overrides_runpath=yes
11243 hardcode_into_libs=yes
11244 # ldd complains unless libraries are executable
11245 postinstall_cmds='chmod +x $lib'
11250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11251 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11252 shlibpath_var=LD_LIBRARY_PATH
11253 shlibpath_overrides_runpath=yes
11254 if test "$with_gnu_ld" = yes; then
11262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11263 soname_spec='${libname}${release}${shared_ext}$major'
11264 shlibpath_var=LD_LIBRARY_PATH
11265 case $host_vendor in
11267 shlibpath_overrides_runpath=no
11269 runpath_var=LD_RUN_PATH
11277 shlibpath_overrides_runpath=no
11278 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11284 if test -d /usr/nec ;then
11286 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11287 soname_spec='$libname${shared_ext}.$major'
11288 shlibpath_var=LD_LIBRARY_PATH
11292 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11293 version_type=freebsd-elf
11296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11297 soname_spec='${libname}${release}${shared_ext}$major'
11298 shlibpath_var=LD_LIBRARY_PATH
11299 shlibpath_overrides_runpath=yes
11300 hardcode_into_libs=yes
11301 if test "$with_gnu_ld" = yes; then
11302 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11304 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11307 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11311 sys_lib_dlsearch_path_spec='/usr/lib'
11315 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11320 shlibpath_var=LD_LIBRARY_PATH
11321 shlibpath_overrides_runpath=no
11322 hardcode_into_libs=yes
11327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11328 soname_spec='${libname}${release}${shared_ext}$major'
11329 shlibpath_var=LD_LIBRARY_PATH
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11337 $as_echo "$dynamic_linker" >&6; }
11338 test "$dynamic_linker" = no && can_build_shared=no
11340 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11341 if test "$GCC" = yes; then
11342 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11345 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11346 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11348 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11349 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11444 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11446 if test -n "$hardcode_libdir_flag_spec" ||
11447 test -n "$runpath_var" ||
11448 test "X$hardcode_automatic" = "Xyes" ; then
11450 # We can hardcode non-existent directories.
11451 if test "$hardcode_direct" != no &&
11452 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11453 # have to relink, otherwise we might link with an installed library
11454 # when we should be linking with a yet-to-be-installed one
11455 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11456 test "$hardcode_minus_L" != no; then
11457 # Linking always hardcodes the temporary library directory.
11458 hardcode_action=relink
11460 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11461 hardcode_action=immediate
11464 # We cannot hardcode anything, or else we can only hardcode existing
11466 hardcode_action=unsupported
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11469 $as_echo "$hardcode_action" >&6; }
11471 if test "$hardcode_action" = relink ||
11472 test "$inherit_rpath" = yes; then
11473 # Fast installation is not supported
11474 enable_fast_install=no
11475 elif test "$shlibpath_overrides_runpath" = yes ||
11476 test "$enable_shared" = no; then
11477 # Fast installation is not necessary
11478 enable_fast_install=needless
11486 if test "x$enable_dlopen" != xyes; then
11487 enable_dlopen=unknown
11488 enable_dlopen_self=unknown
11489 enable_dlopen_self_static=unknown
11496 lt_cv_dlopen="load_add_on"
11498 lt_cv_dlopen_self=yes
11501 mingw* | pw32* | cegcc*)
11502 lt_cv_dlopen="LoadLibrary"
11507 lt_cv_dlopen="dlopen"
11512 # if libdl is installed we need to link against it
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11514 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11515 if ${ac_cv_lib_dl_dlopen+:} false; then :
11516 $as_echo_n "(cached) " >&6
11518 ac_check_lib_save_LIBS=$LIBS
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11538 if ac_fn_c_try_link "$LINENO"; then :
11539 ac_cv_lib_dl_dlopen=yes
11541 ac_cv_lib_dl_dlopen=no
11543 rm -f core conftest.err conftest.$ac_objext \
11544 conftest$ac_exeext conftest.$ac_ext
11545 LIBS=$ac_check_lib_save_LIBS
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11548 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11549 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11550 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11553 lt_cv_dlopen="dyld"
11555 lt_cv_dlopen_self=yes
11562 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11563 if test "x$ac_cv_func_shl_load" = xyes; then :
11564 lt_cv_dlopen="shl_load"
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11567 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11568 if ${ac_cv_lib_dld_shl_load+:} false; then :
11569 $as_echo_n "(cached) " >&6
11571 ac_check_lib_save_LIBS=$LIBS
11573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11576 /* Override any GCC internal prototype to avoid an error.
11577 Use char because int might match the return type of a GCC
11578 builtin and then its argument prototype would still apply. */
11586 return shl_load ();
11591 if ac_fn_c_try_link "$LINENO"; then :
11592 ac_cv_lib_dld_shl_load=yes
11594 ac_cv_lib_dld_shl_load=no
11596 rm -f core conftest.err conftest.$ac_objext \
11597 conftest$ac_exeext conftest.$ac_ext
11598 LIBS=$ac_check_lib_save_LIBS
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11601 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11602 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11603 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11605 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11606 if test "x$ac_cv_func_dlopen" = xyes; then :
11607 lt_cv_dlopen="dlopen"
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11610 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11611 if ${ac_cv_lib_dl_dlopen+:} false; then :
11612 $as_echo_n "(cached) " >&6
11614 ac_check_lib_save_LIBS=$LIBS
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11619 /* Override any GCC internal prototype to avoid an error.
11620 Use char because int might match the return type of a GCC
11621 builtin and then its argument prototype would still apply. */
11634 if ac_fn_c_try_link "$LINENO"; then :
11635 ac_cv_lib_dl_dlopen=yes
11637 ac_cv_lib_dl_dlopen=no
11639 rm -f core conftest.err conftest.$ac_objext \
11640 conftest$ac_exeext conftest.$ac_ext
11641 LIBS=$ac_check_lib_save_LIBS
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11644 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11645 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11646 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11649 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11650 if ${ac_cv_lib_svld_dlopen+:} false; then :
11651 $as_echo_n "(cached) " >&6
11653 ac_check_lib_save_LIBS=$LIBS
11654 LIBS="-lsvld $LIBS"
11655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11656 /* end confdefs.h. */
11658 /* Override any GCC internal prototype to avoid an error.
11659 Use char because int might match the return type of a GCC
11660 builtin and then its argument prototype would still apply. */
11673 if ac_fn_c_try_link "$LINENO"; then :
11674 ac_cv_lib_svld_dlopen=yes
11676 ac_cv_lib_svld_dlopen=no
11678 rm -f core conftest.err conftest.$ac_objext \
11679 conftest$ac_exeext conftest.$ac_ext
11680 LIBS=$ac_check_lib_save_LIBS
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11683 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11684 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11685 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11688 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11689 if ${ac_cv_lib_dld_dld_link+:} false; then :
11690 $as_echo_n "(cached) " >&6
11692 ac_check_lib_save_LIBS=$LIBS
11694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11695 /* end confdefs.h. */
11697 /* Override any GCC internal prototype to avoid an error.
11698 Use char because int might match the return type of a GCC
11699 builtin and then its argument prototype would still apply. */
11707 return dld_link ();
11712 if ac_fn_c_try_link "$LINENO"; then :
11713 ac_cv_lib_dld_dld_link=yes
11715 ac_cv_lib_dld_dld_link=no
11717 rm -f core conftest.err conftest.$ac_objext \
11718 conftest$ac_exeext conftest.$ac_ext
11719 LIBS=$ac_check_lib_save_LIBS
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11722 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11723 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11724 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11745 if test "x$lt_cv_dlopen" != xno; then
11751 case $lt_cv_dlopen in
11753 save_CPPFLAGS="$CPPFLAGS"
11754 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11756 save_LDFLAGS="$LDFLAGS"
11757 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11760 LIBS="$lt_cv_dlopen_libs $LIBS"
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11763 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11764 if ${lt_cv_dlopen_self+:} false; then :
11765 $as_echo_n "(cached) " >&6
11767 if test "$cross_compiling" = yes; then :
11768 lt_cv_dlopen_self=cross
11770 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11771 lt_status=$lt_dlunknown
11772 cat > conftest.$ac_ext <<_LT_EOF
11773 #line $LINENO "configure"
11774 #include "confdefs.h"
11783 # define LT_DLGLOBAL RTLD_GLOBAL
11786 # define LT_DLGLOBAL DL_GLOBAL
11788 # define LT_DLGLOBAL 0
11792 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11793 find out it does not work in some platform. */
11794 #ifndef LT_DLLAZY_OR_NOW
11796 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11799 # define LT_DLLAZY_OR_NOW DL_LAZY
11802 # define LT_DLLAZY_OR_NOW RTLD_NOW
11805 # define LT_DLLAZY_OR_NOW DL_NOW
11807 # define LT_DLLAZY_OR_NOW 0
11814 /* When -fvisbility=hidden is used, assume the code has been annotated
11815 correspondingly for the symbols needed. */
11816 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11817 int fnord () __attribute__((visibility("default")));
11820 int fnord () { return 42; }
11823 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11824 int status = $lt_dlunknown;
11828 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11831 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11832 else puts (dlerror ());
11834 /* dlclose (self); */
11842 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11843 (eval $ac_link) 2>&5
11845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11846 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11847 (./conftest; exit; ) >&5 2>/dev/null
11849 case x$lt_status in
11850 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11851 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11852 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11855 # compilation failed
11856 lt_cv_dlopen_self=no
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11864 $as_echo "$lt_cv_dlopen_self" >&6; }
11866 if test "x$lt_cv_dlopen_self" = xyes; then
11867 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11869 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11870 if ${lt_cv_dlopen_self_static+:} false; then :
11871 $as_echo_n "(cached) " >&6
11873 if test "$cross_compiling" = yes; then :
11874 lt_cv_dlopen_self_static=cross
11876 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11877 lt_status=$lt_dlunknown
11878 cat > conftest.$ac_ext <<_LT_EOF
11879 #line $LINENO "configure"
11880 #include "confdefs.h"
11889 # define LT_DLGLOBAL RTLD_GLOBAL
11892 # define LT_DLGLOBAL DL_GLOBAL
11894 # define LT_DLGLOBAL 0
11898 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11899 find out it does not work in some platform. */
11900 #ifndef LT_DLLAZY_OR_NOW
11902 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11905 # define LT_DLLAZY_OR_NOW DL_LAZY
11908 # define LT_DLLAZY_OR_NOW RTLD_NOW
11911 # define LT_DLLAZY_OR_NOW DL_NOW
11913 # define LT_DLLAZY_OR_NOW 0
11920 /* When -fvisbility=hidden is used, assume the code has been annotated
11921 correspondingly for the symbols needed. */
11922 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11923 int fnord () __attribute__((visibility("default")));
11926 int fnord () { return 42; }
11929 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11930 int status = $lt_dlunknown;
11934 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11937 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11938 else puts (dlerror ());
11940 /* dlclose (self); */
11948 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11949 (eval $ac_link) 2>&5
11951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11952 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11953 (./conftest; exit; ) >&5 2>/dev/null
11955 case x$lt_status in
11956 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11957 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11958 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11961 # compilation failed
11962 lt_cv_dlopen_self_static=no
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11970 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11973 CPPFLAGS="$save_CPPFLAGS"
11974 LDFLAGS="$save_LDFLAGS"
11979 case $lt_cv_dlopen_self in
11980 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11981 *) enable_dlopen_self=unknown ;;
11984 case $lt_cv_dlopen_self_static in
11985 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11986 *) enable_dlopen_self_static=unknown ;;
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12009 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12010 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12011 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12012 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12014 $as_echo "yes" >&6; }
12016 # FIXME - insert some real tests, host_os isn't really good enough
12019 if test -n "$STRIP" ; then
12020 striplib="$STRIP -x"
12021 old_striplib="$STRIP -S"
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12023 $as_echo "yes" >&6; }
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12026 $as_echo "no" >&6; }
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12031 $as_echo "no" >&6; }
12047 # Report which library types will actually be built
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12049 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12051 $as_echo "$can_build_shared" >&6; }
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12054 $as_echo_n "checking whether to build shared libraries... " >&6; }
12055 test "$can_build_shared" = "no" && enable_shared=no
12057 # On AIX, shared libraries and static libraries use the same namespace, and
12058 # are all built from PIC.
12061 test "$enable_shared" = yes && enable_static=no
12062 if test -n "$RANLIB"; then
12063 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12064 postinstall_cmds='$RANLIB $lib'
12069 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12070 test "$enable_shared" = yes && enable_static=no
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12075 $as_echo "$enable_shared" >&6; }
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12078 $as_echo_n "checking whether to build static libraries... " >&6; }
12079 # Make sure either enable_shared or enable_static is yes.
12080 test "$enable_shared" = yes || enable_static=yes
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12082 $as_echo "$enable_static" >&6; }
12089 ac_cpp='$CPP $CPPFLAGS'
12090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12108 ac_config_commands="$ac_config_commands libtool"
12113 # Only expand once:
12118 gdu_cv_version_required=0.3.2
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
12121 $as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
12122 if test -n "$PKG_CONFIG" && \
12123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
12124 ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
12126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12127 test $ac_status = 0; }; then
12128 gdu_cv_have_gdu=yes
12133 if test "$gdu_cv_have_gdu" = "yes"; then
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12135 $as_echo "yes" >&6; }
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12139 $as_echo "no" >&6; }
12140 as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
12145 # Check whether --with-help-dir was given.
12146 if test "${with_help_dir+set}" = set; then :
12147 withval=$with_help_dir;
12149 with_help_dir='${datadir}/gnome/help'
12152 HELP_DIR="$with_help_dir"
12156 # Check whether --with-omf-dir was given.
12157 if test "${with_omf_dir+set}" = set; then :
12158 withval=$with_omf_dir;
12160 with_omf_dir='${datadir}/omf'
12163 OMF_DIR="$with_omf_dir"
12167 # Check whether --with-help-formats was given.
12168 if test "${with_help_formats+set}" = set; then :
12169 withval=$with_help_formats;
12171 with_help_formats=''
12174 DOC_USER_FORMATS="$with_help_formats"
12177 # Check whether --enable-scrollkeeper was given.
12178 if test "${enable_scrollkeeper+set}" = set; then :
12179 enableval=$enable_scrollkeeper;
12181 enable_scrollkeeper=yes
12184 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
12186 ENABLE_SK_FALSE='#'
12193 DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
12196 if test "$gdu_cv_have_gdu" = "yes"; then
12197 HAVE_GNOME_DOC_UTILS_TRUE=
12198 HAVE_GNOME_DOC_UTILS_FALSE='#'
12200 HAVE_GNOME_DOC_UTILS_TRUE='#'
12201 HAVE_GNOME_DOC_UTILS_FALSE=
12208 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12209 set dummy gtkdoc-check; ac_word=$2
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12211 $as_echo_n "checking for $ac_word... " >&6; }
12212 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12213 $as_echo_n "(cached) " >&6
12215 case $GTKDOC_CHECK in
12217 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12221 for as_dir in $PATH
12224 test -z "$as_dir" && as_dir=.
12225 for ac_exec_ext in '' $ac_executable_extensions; do
12226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12227 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12238 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12239 if test -n "$GTKDOC_CHECK"; then
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12241 $as_echo "$GTKDOC_CHECK" >&6; }
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12244 $as_echo "no" >&6; }
12248 for ac_prog in gtkdoc-rebase
12250 # Extract the first word of "$ac_prog", so it can be a program name with args.
12251 set dummy $ac_prog; ac_word=$2
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12253 $as_echo_n "checking for $ac_word... " >&6; }
12254 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12255 $as_echo_n "(cached) " >&6
12257 case $GTKDOC_REBASE in
12259 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12263 for as_dir in $PATH
12266 test -z "$as_dir" && as_dir=.
12267 for ac_exec_ext in '' $ac_executable_extensions; do
12268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12269 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12280 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12281 if test -n "$GTKDOC_REBASE"; then
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12283 $as_echo "$GTKDOC_REBASE" >&6; }
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12286 $as_echo "no" >&6; }
12290 test -n "$GTKDOC_REBASE" && break
12292 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12294 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12295 set dummy gtkdoc-mkpdf; ac_word=$2
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12297 $as_echo_n "checking for $ac_word... " >&6; }
12298 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12299 $as_echo_n "(cached) " >&6
12301 case $GTKDOC_MKPDF in
12303 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12307 for as_dir in $PATH
12310 test -z "$as_dir" && as_dir=.
12311 for ac_exec_ext in '' $ac_executable_extensions; do
12312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12313 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12324 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12325 if test -n "$GTKDOC_MKPDF"; then
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12327 $as_echo "$GTKDOC_MKPDF" >&6; }
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12330 $as_echo "no" >&6; }
12336 # Check whether --with-html-dir was given.
12337 if test "${with_html_dir+set}" = set; then :
12338 withval=$with_html_dir;
12340 with_html_dir='${datadir}/gtk-doc/html'
12343 HTML_DIR="$with_html_dir"
12346 # Check whether --enable-gtk-doc was given.
12347 if test "${enable_gtk_doc+set}" = set; then :
12348 enableval=$enable_gtk_doc;
12354 if test x$enable_gtk_doc = xyes; then
12355 if test -n "$PKG_CONFIG" && \
12356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
12357 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
12359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12360 test $ac_status = 0; }; then
12363 as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12368 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12370 $as_echo "$enable_gtk_doc" >&6; }
12372 # Check whether --enable-gtk-doc-html was given.
12373 if test "${enable_gtk_doc_html+set}" = set; then :
12374 enableval=$enable_gtk_doc_html;
12376 enable_gtk_doc_html=yes
12379 # Check whether --enable-gtk-doc-pdf was given.
12380 if test "${enable_gtk_doc_pdf+set}" = set; then :
12381 enableval=$enable_gtk_doc_pdf;
12383 enable_gtk_doc_pdf=no
12387 if test -z "$GTKDOC_MKPDF"; then
12388 enable_gtk_doc_pdf=no
12392 if test x$enable_gtk_doc = xyes; then
12393 ENABLE_GTK_DOC_TRUE=
12394 ENABLE_GTK_DOC_FALSE='#'
12396 ENABLE_GTK_DOC_TRUE='#'
12397 ENABLE_GTK_DOC_FALSE=
12400 if test x$enable_gtk_doc_html = xyes; then
12401 GTK_DOC_BUILD_HTML_TRUE=
12402 GTK_DOC_BUILD_HTML_FALSE='#'
12404 GTK_DOC_BUILD_HTML_TRUE='#'
12405 GTK_DOC_BUILD_HTML_FALSE=
12408 if test x$enable_gtk_doc_pdf = xyes; then
12409 GTK_DOC_BUILD_PDF_TRUE=
12410 GTK_DOC_BUILD_PDF_FALSE='#'
12412 GTK_DOC_BUILD_PDF_TRUE='#'
12413 GTK_DOC_BUILD_PDF_FALSE=
12416 if test -n "$LIBTOOL"; then
12417 GTK_DOC_USE_LIBTOOL_TRUE=
12418 GTK_DOC_USE_LIBTOOL_FALSE='#'
12420 GTK_DOC_USE_LIBTOOL_TRUE='#'
12421 GTK_DOC_USE_LIBTOOL_FALSE=
12424 if test -n "$GTKDOC_REBASE"; then
12425 GTK_DOC_USE_REBASE_TRUE=
12426 GTK_DOC_USE_REBASE_FALSE='#'
12428 GTK_DOC_USE_REBASE_TRUE='#'
12429 GTK_DOC_USE_REBASE_FALSE=
12436 # Check whether --enable-schemas-compile was given.
12437 if test "${enable_schemas_compile+set}" = set; then :
12438 enableval=$enable_schemas_compile; case ${enableval} in
12439 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
12440 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
12441 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
12452 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12453 if test -n "$ac_tool_prefix"; then
12454 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12455 set dummy ${ac_tool_prefix}pkg-config; 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_PKG_CONFIG+:} false; then :
12459 $as_echo_n "(cached) " >&6
12461 case $PKG_CONFIG in
12463 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12467 for as_dir in $PATH
12470 test -z "$as_dir" && as_dir=.
12471 for ac_exec_ext in '' $ac_executable_extensions; do
12472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12473 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12484 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12485 if test -n "$PKG_CONFIG"; then
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12487 $as_echo "$PKG_CONFIG" >&6; }
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12490 $as_echo "no" >&6; }
12495 if test -z "$ac_cv_path_PKG_CONFIG"; then
12496 ac_pt_PKG_CONFIG=$PKG_CONFIG
12497 # Extract the first word of "pkg-config", so it can be a program name with args.
12498 set dummy pkg-config; ac_word=$2
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12500 $as_echo_n "checking for $ac_word... " >&6; }
12501 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12502 $as_echo_n "(cached) " >&6
12504 case $ac_pt_PKG_CONFIG in
12506 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12510 for as_dir in $PATH
12513 test -z "$as_dir" && as_dir=.
12514 for ac_exec_ext in '' $ac_executable_extensions; do
12515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12516 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12527 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12528 if test -n "$ac_pt_PKG_CONFIG"; then
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12530 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12533 $as_echo "no" >&6; }
12536 if test "x$ac_pt_PKG_CONFIG" = x; then
12539 case $cross_compiling:$ac_tool_warned in
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12543 ac_tool_warned=yes ;;
12545 PKG_CONFIG=$ac_pt_PKG_CONFIG
12548 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12552 if test -n "$PKG_CONFIG"; then
12553 _pkg_min_version=0.16
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12555 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12556 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12558 $as_echo "yes" >&6; }
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12561 $as_echo "no" >&6; }
12565 gsettingsschemadir=${datadir}/glib-2.0/schemas
12567 if test x$cross_compiling != xyes; then
12568 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
12570 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
12571 set dummy glib-compile-schemas; ac_word=$2
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12573 $as_echo_n "checking for $ac_word... " >&6; }
12574 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
12575 $as_echo_n "(cached) " >&6
12577 case $GLIB_COMPILE_SCHEMAS in
12579 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
12582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12583 for as_dir in $PATH
12586 test -z "$as_dir" && as_dir=.
12587 for ac_exec_ext in '' $ac_executable_extensions; do
12588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12589 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
12590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12600 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
12601 if test -n "$GLIB_COMPILE_SCHEMAS"; then
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
12603 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12606 $as_echo "no" >&6; }
12612 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
12613 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
12619 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
12621 mostlyclean-am: clean-gsettings-schemas
12623 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
12625 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
12626 $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
12628 all-am: $(gsettings_SCHEMAS:.xml=.valid)
12629 uninstall-am: uninstall-gsettings-schemas
12630 install-data-am: install-gsettings-schemas
12632 .SECONDARY: $(gsettings_SCHEMAS)
12634 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
12636 if test -n "$^"; then \
12637 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
12638 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
12639 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
12642 uninstall-gsettings-schemas:
12643 @$(NORMAL_UNINSTALL)
12644 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
12645 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
12646 test -n "$$files" || exit 0; \
12647 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
12648 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
12649 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
12651 clean-gsettings-schemas:
12652 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
12654 ifdef gsettings_ENUM_NAMESPACE
12655 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
12656 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
12667 $as_echo_n "checking for library containing strerror... " >&6; }
12668 if ${ac_cv_search_strerror+:} false; then :
12669 $as_echo_n "(cached) " >&6
12671 ac_func_search_save_LIBS=$LIBS
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12675 /* Override any GCC internal prototype to avoid an error.
12676 Use char because int might match the return type of a GCC
12677 builtin and then its argument prototype would still apply. */
12685 return strerror ();
12690 for ac_lib in '' cposix; do
12691 if test -z "$ac_lib"; then
12692 ac_res="none required"
12695 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12697 if ac_fn_c_try_link "$LINENO"; then :
12698 ac_cv_search_strerror=$ac_res
12700 rm -f core conftest.err conftest.$ac_objext \
12702 if ${ac_cv_search_strerror+:} false; then :
12706 if ${ac_cv_search_strerror+:} false; then :
12709 ac_cv_search_strerror=no
12711 rm conftest.$ac_ext
12712 LIBS=$ac_func_search_save_LIBS
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
12715 $as_echo "$ac_cv_search_strerror" >&6; }
12716 ac_res=$ac_cv_search_strerror
12717 if test "$ac_res" != no; then :
12718 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12723 ac_cpp='$CPP $CPPFLAGS'
12724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12727 if test -n "$ac_tool_prefix"; then
12728 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12729 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12731 $as_echo_n "checking for $ac_word... " >&6; }
12732 if ${ac_cv_prog_CC+:} false; then :
12733 $as_echo_n "(cached) " >&6
12735 if test -n "$CC"; then
12736 ac_cv_prog_CC="$CC" # Let the user override the test.
12738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12739 for as_dir in $PATH
12742 test -z "$as_dir" && as_dir=.
12743 for ac_exec_ext in '' $ac_executable_extensions; do
12744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12745 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12756 if test -n "$CC"; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12758 $as_echo "$CC" >&6; }
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761 $as_echo "no" >&6; }
12766 if test -z "$ac_cv_prog_CC"; then
12768 # Extract the first word of "gcc", so it can be a program name with args.
12769 set dummy gcc; ac_word=$2
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12771 $as_echo_n "checking for $ac_word... " >&6; }
12772 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12773 $as_echo_n "(cached) " >&6
12775 if test -n "$ac_ct_CC"; then
12776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12779 for as_dir in $PATH
12782 test -z "$as_dir" && as_dir=.
12783 for ac_exec_ext in '' $ac_executable_extensions; do
12784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12785 ac_cv_prog_ac_ct_CC="gcc"
12786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12796 if test -n "$ac_ct_CC"; then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12798 $as_echo "$ac_ct_CC" >&6; }
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12801 $as_echo "no" >&6; }
12804 if test "x$ac_ct_CC" = x; then
12807 case $cross_compiling:$ac_tool_warned in
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12811 ac_tool_warned=yes ;;
12816 CC="$ac_cv_prog_CC"
12819 if test -z "$CC"; then
12820 if test -n "$ac_tool_prefix"; then
12821 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12822 set dummy ${ac_tool_prefix}cc; ac_word=$2
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12824 $as_echo_n "checking for $ac_word... " >&6; }
12825 if ${ac_cv_prog_CC+:} false; then :
12826 $as_echo_n "(cached) " >&6
12828 if test -n "$CC"; then
12829 ac_cv_prog_CC="$CC" # Let the user override the test.
12831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12832 for as_dir in $PATH
12835 test -z "$as_dir" && as_dir=.
12836 for ac_exec_ext in '' $ac_executable_extensions; do
12837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12838 ac_cv_prog_CC="${ac_tool_prefix}cc"
12839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12849 if test -n "$CC"; then
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12851 $as_echo "$CC" >&6; }
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12854 $as_echo "no" >&6; }
12860 if test -z "$CC"; then
12861 # Extract the first word of "cc", so it can be a program name with args.
12862 set dummy cc; ac_word=$2
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12864 $as_echo_n "checking for $ac_word... " >&6; }
12865 if ${ac_cv_prog_CC+:} false; then :
12866 $as_echo_n "(cached) " >&6
12868 if test -n "$CC"; then
12869 ac_cv_prog_CC="$CC" # Let the user override the test.
12871 ac_prog_rejected=no
12872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12873 for as_dir in $PATH
12876 test -z "$as_dir" && as_dir=.
12877 for ac_exec_ext in '' $ac_executable_extensions; do
12878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12879 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12880 ac_prog_rejected=yes
12884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12891 if test $ac_prog_rejected = yes; then
12892 # We found a bogon in the path, so make sure we never use it.
12893 set dummy $ac_cv_prog_CC
12895 if test $# != 0; then
12896 # We chose a different compiler from the bogus one.
12897 # However, it has the same basename, so the bogon will be chosen
12898 # first if we set CC to just the basename; use the full file name.
12900 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12906 if test -n "$CC"; then
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12908 $as_echo "$CC" >&6; }
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12916 if test -z "$CC"; then
12917 if test -n "$ac_tool_prefix"; then
12918 for ac_prog in cl.exe
12920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12923 $as_echo_n "checking for $ac_word... " >&6; }
12924 if ${ac_cv_prog_CC+:} false; then :
12925 $as_echo_n "(cached) " >&6
12927 if test -n "$CC"; then
12928 ac_cv_prog_CC="$CC" # Let the user override the test.
12930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12931 for as_dir in $PATH
12934 test -z "$as_dir" && as_dir=.
12935 for ac_exec_ext in '' $ac_executable_extensions; do
12936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12937 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12948 if test -n "$CC"; then
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12950 $as_echo "$CC" >&6; }
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12953 $as_echo "no" >&6; }
12957 test -n "$CC" && break
12960 if test -z "$CC"; then
12962 for ac_prog in cl.exe
12964 # Extract the first word of "$ac_prog", so it can be a program name with args.
12965 set dummy $ac_prog; ac_word=$2
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12967 $as_echo_n "checking for $ac_word... " >&6; }
12968 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12969 $as_echo_n "(cached) " >&6
12971 if test -n "$ac_ct_CC"; then
12972 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12975 for as_dir in $PATH
12978 test -z "$as_dir" && as_dir=.
12979 for ac_exec_ext in '' $ac_executable_extensions; do
12980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12981 ac_cv_prog_ac_ct_CC="$ac_prog"
12982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12992 if test -n "$ac_ct_CC"; then
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12994 $as_echo "$ac_ct_CC" >&6; }
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12997 $as_echo "no" >&6; }
13001 test -n "$ac_ct_CC" && break
13004 if test "x$ac_ct_CC" = x; then
13007 case $cross_compiling:$ac_tool_warned in
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13011 ac_tool_warned=yes ;;
13020 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13022 as_fn_error $? "no acceptable C compiler found in \$PATH
13023 See \`config.log' for more details" "$LINENO" 5; }
13025 # Provide some information about the compiler.
13026 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13029 for ac_option in --version -v -V -qversion; do
13030 { { ac_try="$ac_compiler $ac_option >&5"
13031 case "(($ac_try" in
13032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13033 *) ac_try_echo=$ac_try;;
13035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13036 $as_echo "$ac_try_echo"; } >&5
13037 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13039 if test -s conftest.err; then
13041 ... rest of stderr output deleted ...
13042 10q' conftest.err >conftest.er1
13043 cat conftest.er1 >&5
13045 rm -f conftest.er1 conftest.err
13046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13047 test $ac_status = 0; }
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13051 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13052 if ${ac_cv_c_compiler_gnu+:} false; then :
13053 $as_echo_n "(cached) " >&6
13055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13056 /* end confdefs.h. */
13069 if ac_fn_c_try_compile "$LINENO"; then :
13070 ac_compiler_gnu=yes
13074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13075 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13079 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13080 if test $ac_compiler_gnu = yes; then
13085 ac_test_CFLAGS=${CFLAGS+set}
13086 ac_save_CFLAGS=$CFLAGS
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13088 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13089 if ${ac_cv_prog_cc_g+:} false; then :
13090 $as_echo_n "(cached) " >&6
13092 ac_save_c_werror_flag=$ac_c_werror_flag
13093 ac_c_werror_flag=yes
13096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13097 /* end confdefs.h. */
13107 if ac_fn_c_try_compile "$LINENO"; then :
13108 ac_cv_prog_cc_g=yes
13111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13122 if ac_fn_c_try_compile "$LINENO"; then :
13125 ac_c_werror_flag=$ac_save_c_werror_flag
13127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h. */
13138 if ac_fn_c_try_compile "$LINENO"; then :
13139 ac_cv_prog_cc_g=yes
13141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13146 ac_c_werror_flag=$ac_save_c_werror_flag
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13149 $as_echo "$ac_cv_prog_cc_g" >&6; }
13150 if test "$ac_test_CFLAGS" = set; then
13151 CFLAGS=$ac_save_CFLAGS
13152 elif test $ac_cv_prog_cc_g = yes; then
13153 if test "$GCC" = yes; then
13159 if test "$GCC" = yes; then
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13166 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13167 if ${ac_cv_prog_cc_c89+:} false; then :
13168 $as_echo_n "(cached) " >&6
13170 ac_cv_prog_cc_c89=no
13172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13174 #include <stdarg.h>
13176 #include <sys/types.h>
13177 #include <sys/stat.h>
13178 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13179 struct buf { int x; };
13180 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13181 static char *e (p, i)
13187 static char *f (char * (*g) (char **, int), char **p, ...)
13192 s = g (p, va_arg (v,int));
13197 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13198 function prototypes and stuff, but not '\xHH' hex character constants.
13199 These don't provoke an error unfortunately, instead are silently treated
13200 as 'x'. The following induces an error, until -std is added to get
13201 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13202 array size at least. It's necessary to write '\x00'==0 to get something
13203 that's true only with -std. */
13204 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13206 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13207 inside strings and character constants. */
13209 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13211 int test (int i, double x);
13212 struct s1 {int (*f) (int a);};
13213 struct s2 {int (*f) (double a);};
13214 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13220 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13225 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13226 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13228 CC="$ac_save_CC $ac_arg"
13229 if ac_fn_c_try_compile "$LINENO"; then :
13230 ac_cv_prog_cc_c89=$ac_arg
13232 rm -f core conftest.err conftest.$ac_objext
13233 test "x$ac_cv_prog_cc_c89" != "xno" && break
13235 rm -f conftest.$ac_ext
13240 case "x$ac_cv_prog_cc_c89" in
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13243 $as_echo "none needed" >&6; } ;;
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13246 $as_echo "unsupported" >&6; } ;;
13248 CC="$CC $ac_cv_prog_cc_c89"
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13250 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13252 if test "x$ac_cv_prog_cc_c89" != xno; then :
13257 ac_cpp='$CPP $CPPFLAGS'
13258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13262 depcc="$CC" am_compiler_list=
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13265 $as_echo_n "checking dependency style of $depcc... " >&6; }
13266 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13267 $as_echo_n "(cached) " >&6
13269 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13270 # We make a subdir and do the tests there. Otherwise we can end up
13271 # making bogus files that we don't know about and never remove. For
13272 # instance it was reported that on HP-UX the gcc test will end up
13273 # making a dummy file named `D' -- because `-MD' means `put the output
13276 # Copy depcomp to subdir because otherwise we won't find it if we're
13277 # using a relative directory.
13278 cp "$am_depcomp" conftest.dir
13280 # We will build objects and dependencies in a subdirectory because
13281 # it helps to detect inapplicable dependency modes. For instance
13282 # both Tru64's cc and ICC support -MD to output dependencies as a
13283 # side effect of compilation, but ICC will put the dependencies in
13284 # the current directory while Tru64 will put them in the object
13288 am_cv_CC_dependencies_compiler_type=none
13289 if test "$am_compiler_list" = ""; then
13290 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13292 am__universal=false
13293 case " $depcc " in #(
13294 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13297 for depmode in $am_compiler_list; do
13298 # Setup a source with many dependencies, because some compilers
13299 # like to wrap large dependency lists on column 80 (with \), and
13300 # we should not choose a depcomp mode which is confused by this.
13302 # We need to recreate these files for each test, as the compiler may
13303 # overwrite some of them when testing with obscure command lines.
13304 # This happens at least with the AIX C compiler.
13306 for i in 1 2 3 4 5 6; do
13307 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13308 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13309 # Solaris 8's {/usr,}/bin/sh.
13310 touch sub/conftst$i.h
13312 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13314 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13315 # mode. It turns out that the SunPro C++ compiler does not properly
13316 # handle `-M -o', and we need to detect this. Also, some Intel
13317 # versions had trouble with output in subdirs
13318 am__obj=sub/conftest.${OBJEXT-o}
13319 am__minus_obj="-o $am__obj"
13322 # This depmode causes a compiler race in universal mode.
13323 test "$am__universal" = false || continue
13326 # after this tag, mechanisms are not by side-effect, so they'll
13327 # only be used when explicitly requested
13328 if test "x$enable_dependency_tracking" = xyes; then
13334 msvisualcpp | msvcmsys)
13335 # This compiler won't grok `-c -o', but also, the minuso test has
13336 # not run yet. These depmodes are late enough in the game, and
13337 # so weak that their functioning should not be impacted.
13338 am__obj=conftest.${OBJEXT-o}
13343 if depmode=$depmode \
13344 source=sub/conftest.c object=$am__obj \
13345 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13346 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13347 >/dev/null 2>conftest.err &&
13348 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13349 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13350 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13351 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13352 # icc doesn't choke on unknown options, it will just issue warnings
13353 # or remarks (even with -Werror). So we grep stderr for any message
13354 # that says an option was ignored or not supported.
13355 # When given -MP, icc 7.0 and 7.1 complain thusly:
13356 # icc: Command line warning: ignoring option '-M'; no argument required
13357 # The diagnosis changed in icc 8.0:
13358 # icc: Command line remark: option '-MP' not supported
13359 if (grep 'ignoring option' conftest.err ||
13360 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13361 am_cv_CC_dependencies_compiler_type=$depmode
13368 rm -rf conftest.dir
13370 am_cv_CC_dependencies_compiler_type=none
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13375 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13376 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13379 test "x$enable_dependency_tracking" != xno \
13380 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13381 am__fastdepCC_TRUE=
13382 am__fastdepCC_FALSE='#'
13384 am__fastdepCC_TRUE='#'
13385 am__fastdepCC_FALSE=
13393 # Check whether --enable-compile-warnings was given.
13394 if test "${enable_compile_warnings+set}" = set; then :
13395 enableval=$enable_compile_warnings;
13397 enable_compile_warnings="yes"
13402 if test "x$GCC" != xyes; then
13403 enable_compile_warnings=no
13407 realsave_CFLAGS="$CFLAGS"
13409 case "$enable_compile_warnings" in
13414 warning_flags="-Wall"
13417 warning_flags="-Wall -Wmissing-prototypes"
13420 warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
13421 CFLAGS="$warning_flags $CFLAGS"
13422 for option in -Wno-sign-compare; do
13423 SAVE_CFLAGS="$CFLAGS"
13424 CFLAGS="$CFLAGS $option"
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
13426 $as_echo_n "checking whether gcc understands $option... " >&6; }
13427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13428 /* end confdefs.h. */
13438 if ac_fn_c_try_compile "$LINENO"; then :
13443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13444 CFLAGS="$SAVE_CFLAGS"
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
13446 $as_echo "$has_option" >&6; }
13447 if test $has_option = yes; then
13448 warning_flags="$warning_flags $option"
13454 if test "$enable_compile_warnings" = "error" ; then
13455 warning_flags="$warning_flags -Werror"
13459 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
13462 CFLAGS="$realsave_CFLAGS"
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
13464 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
13466 $as_echo "$warning_flags" >&6; }
13468 # Check whether --enable-iso-c was given.
13469 if test "${enable_iso_c+set}" = set; then :
13470 enableval=$enable_iso_c;
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
13477 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
13479 if test "x$enable_iso_c" != "xno"; then
13480 if test "x$GCC" = "xyes"; then
13481 case " $CFLAGS " in
13482 *\ \ -ansi\ \ *) ;;
13483 *) complCFLAGS="$complCFLAGS -ansi" ;;
13485 case " $CFLAGS " in
13486 *\ \ -pedantic\ \ *) ;;
13487 *) complCFLAGS="$complCFLAGS -pedantic" ;;
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
13492 $as_echo "$complCFLAGS" >&6; }
13494 WARN_CFLAGS="$warning_flags $complCFLAGS"
13498 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
13499 set dummy glib-genmarshal; ac_word=$2
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13501 $as_echo_n "checking for $ac_word... " >&6; }
13502 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
13503 $as_echo_n "(cached) " >&6
13505 case $GLIB_GENMARSHAL in
13507 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
13510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13511 for as_dir in $PATH
13514 test -z "$as_dir" && as_dir=.
13515 for ac_exec_ext in '' $ac_executable_extensions; do
13516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13517 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
13518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13528 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
13529 if test -n "$GLIB_GENMARSHAL"; then
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
13531 $as_echo "$GLIB_GENMARSHAL" >&6; }
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13534 $as_echo "no" >&6; }
13538 # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
13539 set dummy gdk-pixbuf-csource; ac_word=$2
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13541 $as_echo_n "checking for $ac_word... " >&6; }
13542 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
13543 $as_echo_n "(cached) " >&6
13545 case $GDK_PIXBUF_CSOURCE in
13547 ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
13550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13551 for as_dir in $PATH
13554 test -z "$as_dir" && as_dir=.
13555 for ac_exec_ext in '' $ac_executable_extensions; do
13556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13557 ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
13558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13568 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
13569 if test -n "$GDK_PIXBUF_CSOURCE"; then
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
13571 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13574 $as_echo "no" >&6; }
13578 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
13579 set dummy gtk-update-icon-cache; ac_word=$2
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13581 $as_echo_n "checking for $ac_word... " >&6; }
13582 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
13583 $as_echo_n "(cached) " >&6
13585 case $GTK_UPDATE_ICON_CACHE in
13587 ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
13590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13591 for as_dir in $PATH
13594 test -z "$as_dir" && as_dir=.
13595 for ac_exec_ext in '' $ac_executable_extensions; do
13596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13597 ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
13598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13608 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
13609 if test -n "$GTK_UPDATE_ICON_CACHE"; then
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
13611 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13614 $as_echo "no" >&6; }
13620 GLABELS_BRANCH=glabels-3.0
13623 LIBGLABELS_BRANCH=libglabels-3.0
13626 LIBGLBARCODE_BRANCH=libglbarcode-3.0
13633 LIBGLABELS_API_VERSION=${LIBGLABELS_C}:${LIBGLABELS_R}:${LIBGLABELS_A}
13640 LIBGLBARCODE_API_VERSION=${LIBGLBARCODE_C}:${LIBGLBARCODE_R}:${LIBGLBARCODE_A}
13643 GLIB_REQUIRED=2.28.2
13645 LIBXML_REQUIRED=2.7.8
13646 LIBRSVG_REQUIRED=2.32.0
13647 CAIRO_REQUIRED=1.10.0
13648 PANGO_REQUIRED=1.28.1
13650 LIBEBOOK_REQUIRED=2.30.3
13651 LIBBARCODE_REQUIRED=0.98
13652 LIBQRENCODE_REQUIRED=3.1.0
13653 LIBIEC16022_REQUIRED=0.2.4
13654 LIBZINT_REQUIRED=2.4.0
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLABELS" >&5
13672 $as_echo_n "checking for GLABELS... " >&6; }
13674 if test -n "$GLABELS_CFLAGS"; then
13675 pkg_cv_GLABELS_CFLAGS="$GLABELS_CFLAGS"
13676 elif test -n "$PKG_CONFIG"; then
13677 if test -n "$PKG_CONFIG" && \
13678 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13679 glib-2.0 >= \$GLIB_REQUIRED \\
13680 gtk+-3.0 >= \$GTK_REQUIRED \\
13681 libxml-2.0 >= \$LIBXML_REQUIRED \\
13682 librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
13684 ($PKG_CONFIG --exists --print-errors "\
13685 glib-2.0 >= $GLIB_REQUIRED \
13686 gtk+-3.0 >= $GTK_REQUIRED \
13687 libxml-2.0 >= $LIBXML_REQUIRED \
13688 librsvg-2.0 >= $LIBRSVG_REQUIRED \
13691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13692 test $ac_status = 0; }; then
13693 pkg_cv_GLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
13694 glib-2.0 >= $GLIB_REQUIRED \
13695 gtk+-3.0 >= $GTK_REQUIRED \
13696 libxml-2.0 >= $LIBXML_REQUIRED \
13697 librsvg-2.0 >= $LIBRSVG_REQUIRED \
13705 if test -n "$GLABELS_LIBS"; then
13706 pkg_cv_GLABELS_LIBS="$GLABELS_LIBS"
13707 elif test -n "$PKG_CONFIG"; then
13708 if test -n "$PKG_CONFIG" && \
13709 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13710 glib-2.0 >= \$GLIB_REQUIRED \\
13711 gtk+-3.0 >= \$GTK_REQUIRED \\
13712 libxml-2.0 >= \$LIBXML_REQUIRED \\
13713 librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
13715 ($PKG_CONFIG --exists --print-errors "\
13716 glib-2.0 >= $GLIB_REQUIRED \
13717 gtk+-3.0 >= $GTK_REQUIRED \
13718 libxml-2.0 >= $LIBXML_REQUIRED \
13719 librsvg-2.0 >= $LIBRSVG_REQUIRED \
13722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13723 test $ac_status = 0; }; then
13724 pkg_cv_GLABELS_LIBS=`$PKG_CONFIG --libs "\
13725 glib-2.0 >= $GLIB_REQUIRED \
13726 gtk+-3.0 >= $GTK_REQUIRED \
13727 libxml-2.0 >= $LIBXML_REQUIRED \
13728 librsvg-2.0 >= $LIBRSVG_REQUIRED \
13739 if test $pkg_failed = yes; then
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13741 $as_echo "no" >&6; }
13743 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13744 _pkg_short_errors_supported=yes
13746 _pkg_short_errors_supported=no
13748 if test $_pkg_short_errors_supported = yes; then
13749 GLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13750 glib-2.0 >= $GLIB_REQUIRED \
13751 gtk+-3.0 >= $GTK_REQUIRED \
13752 libxml-2.0 >= $LIBXML_REQUIRED \
13753 librsvg-2.0 >= $LIBRSVG_REQUIRED \
13756 GLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13757 glib-2.0 >= $GLIB_REQUIRED \
13758 gtk+-3.0 >= $GTK_REQUIRED \
13759 libxml-2.0 >= $LIBXML_REQUIRED \
13760 librsvg-2.0 >= $LIBRSVG_REQUIRED \
13763 # Put the nasty error message in config.log where it belongs
13764 echo "$GLABELS_PKG_ERRORS" >&5
13766 as_fn_error $? "Package requirements (\
13767 glib-2.0 >= $GLIB_REQUIRED \
13768 gtk+-3.0 >= $GTK_REQUIRED \
13769 libxml-2.0 >= $LIBXML_REQUIRED \
13770 librsvg-2.0 >= $LIBRSVG_REQUIRED \
13773 $GLABELS_PKG_ERRORS
13775 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13776 installed software in a non-standard prefix.
13778 Alternatively, you may set the environment variables GLABELS_CFLAGS
13779 and GLABELS_LIBS to avoid the need to call pkg-config.
13780 See the pkg-config man page for more details." "$LINENO" 5
13782 elif test $pkg_failed = untried; then
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13784 $as_echo "no" >&6; }
13785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13787 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13788 is in your PATH or set the PKG_CONFIG environment variable to the full
13789 path to pkg-config.
13791 Alternatively, you may set the environment variables GLABELS_CFLAGS
13792 and GLABELS_LIBS to avoid the need to call pkg-config.
13793 See the pkg-config man page for more details.
13795 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13796 See \`config.log' for more details" "$LINENO" 5; }
13799 GLABELS_CFLAGS=$pkg_cv_GLABELS_CFLAGS
13800 GLABELS_LIBS=$pkg_cv_GLABELS_LIBS
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13802 $as_echo "yes" >&6; }
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLABELS" >&5
13813 $as_echo_n "checking for LIBGLABELS... " >&6; }
13815 if test -n "$LIBGLABELS_CFLAGS"; then
13816 pkg_cv_LIBGLABELS_CFLAGS="$LIBGLABELS_CFLAGS"
13817 elif test -n "$PKG_CONFIG"; then
13818 if test -n "$PKG_CONFIG" && \
13819 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13820 glib-2.0 >= \$GLIB_REQUIRED \\
13821 libxml-2.0 >= \$LIBXML_REQUIRED \\
13823 ($PKG_CONFIG --exists --print-errors "\
13824 glib-2.0 >= $GLIB_REQUIRED \
13825 libxml-2.0 >= $LIBXML_REQUIRED \
13828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13829 test $ac_status = 0; }; then
13830 pkg_cv_LIBGLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
13831 glib-2.0 >= $GLIB_REQUIRED \
13832 libxml-2.0 >= $LIBXML_REQUIRED \
13840 if test -n "$LIBGLABELS_LIBS"; then
13841 pkg_cv_LIBGLABELS_LIBS="$LIBGLABELS_LIBS"
13842 elif test -n "$PKG_CONFIG"; then
13843 if test -n "$PKG_CONFIG" && \
13844 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13845 glib-2.0 >= \$GLIB_REQUIRED \\
13846 libxml-2.0 >= \$LIBXML_REQUIRED \\
13848 ($PKG_CONFIG --exists --print-errors "\
13849 glib-2.0 >= $GLIB_REQUIRED \
13850 libxml-2.0 >= $LIBXML_REQUIRED \
13853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13854 test $ac_status = 0; }; then
13855 pkg_cv_LIBGLABELS_LIBS=`$PKG_CONFIG --libs "\
13856 glib-2.0 >= $GLIB_REQUIRED \
13857 libxml-2.0 >= $LIBXML_REQUIRED \
13868 if test $pkg_failed = yes; then
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13870 $as_echo "no" >&6; }
13872 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13873 _pkg_short_errors_supported=yes
13875 _pkg_short_errors_supported=no
13877 if test $_pkg_short_errors_supported = yes; then
13878 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13879 glib-2.0 >= $GLIB_REQUIRED \
13880 libxml-2.0 >= $LIBXML_REQUIRED \
13883 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13884 glib-2.0 >= $GLIB_REQUIRED \
13885 libxml-2.0 >= $LIBXML_REQUIRED \
13888 # Put the nasty error message in config.log where it belongs
13889 echo "$LIBGLABELS_PKG_ERRORS" >&5
13891 as_fn_error $? "Package requirements (\
13892 glib-2.0 >= $GLIB_REQUIRED \
13893 libxml-2.0 >= $LIBXML_REQUIRED \
13896 $LIBGLABELS_PKG_ERRORS
13898 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13899 installed software in a non-standard prefix.
13901 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
13902 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
13903 See the pkg-config man page for more details." "$LINENO" 5
13905 elif test $pkg_failed = untried; then
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13907 $as_echo "no" >&6; }
13908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13910 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13911 is in your PATH or set the PKG_CONFIG environment variable to the full
13912 path to pkg-config.
13914 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
13915 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
13916 See the pkg-config man page for more details.
13918 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13919 See \`config.log' for more details" "$LINENO" 5; }
13922 LIBGLABELS_CFLAGS=$pkg_cv_LIBGLABELS_CFLAGS
13923 LIBGLABELS_LIBS=$pkg_cv_LIBGLABELS_LIBS
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13925 $as_echo "yes" >&6; }
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLBARCODE" >&5
13936 $as_echo_n "checking for LIBGLBARCODE... " >&6; }
13938 if test -n "$LIBGLBARCODE_CFLAGS"; then
13939 pkg_cv_LIBGLBARCODE_CFLAGS="$LIBGLBARCODE_CFLAGS"
13940 elif test -n "$PKG_CONFIG"; then
13941 if test -n "$PKG_CONFIG" && \
13942 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13943 glib-2.0 >= \$GLIB_REQUIRED \\
13944 cairo >= \$CAIRO_REQUIRED \\
13945 pango >= \$PANGO_REQUIRED \\
13947 ($PKG_CONFIG --exists --print-errors "\
13948 glib-2.0 >= $GLIB_REQUIRED \
13949 cairo >= $CAIRO_REQUIRED \
13950 pango >= $PANGO_REQUIRED \
13953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13954 test $ac_status = 0; }; then
13955 pkg_cv_LIBGLBARCODE_CFLAGS=`$PKG_CONFIG --cflags "\
13956 glib-2.0 >= $GLIB_REQUIRED \
13957 cairo >= $CAIRO_REQUIRED \
13958 pango >= $PANGO_REQUIRED \
13966 if test -n "$LIBGLBARCODE_LIBS"; then
13967 pkg_cv_LIBGLBARCODE_LIBS="$LIBGLBARCODE_LIBS"
13968 elif test -n "$PKG_CONFIG"; then
13969 if test -n "$PKG_CONFIG" && \
13970 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13971 glib-2.0 >= \$GLIB_REQUIRED \\
13972 cairo >= \$CAIRO_REQUIRED \\
13973 pango >= \$PANGO_REQUIRED \\
13975 ($PKG_CONFIG --exists --print-errors "\
13976 glib-2.0 >= $GLIB_REQUIRED \
13977 cairo >= $CAIRO_REQUIRED \
13978 pango >= $PANGO_REQUIRED \
13981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13982 test $ac_status = 0; }; then
13983 pkg_cv_LIBGLBARCODE_LIBS=`$PKG_CONFIG --libs "\
13984 glib-2.0 >= $GLIB_REQUIRED \
13985 cairo >= $CAIRO_REQUIRED \
13986 pango >= $PANGO_REQUIRED \
13997 if test $pkg_failed = yes; then
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13999 $as_echo "no" >&6; }
14001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14002 _pkg_short_errors_supported=yes
14004 _pkg_short_errors_supported=no
14006 if test $_pkg_short_errors_supported = yes; then
14007 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
14008 glib-2.0 >= $GLIB_REQUIRED \
14009 cairo >= $CAIRO_REQUIRED \
14010 pango >= $PANGO_REQUIRED \
14013 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
14014 glib-2.0 >= $GLIB_REQUIRED \
14015 cairo >= $CAIRO_REQUIRED \
14016 pango >= $PANGO_REQUIRED \
14019 # Put the nasty error message in config.log where it belongs
14020 echo "$LIBGLBARCODE_PKG_ERRORS" >&5
14022 as_fn_error $? "Package requirements (\
14023 glib-2.0 >= $GLIB_REQUIRED \
14024 cairo >= $CAIRO_REQUIRED \
14025 pango >= $PANGO_REQUIRED \
14028 $LIBGLBARCODE_PKG_ERRORS
14030 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14031 installed software in a non-standard prefix.
14033 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14034 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14035 See the pkg-config man page for more details." "$LINENO" 5
14037 elif test $pkg_failed = untried; then
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14039 $as_echo "no" >&6; }
14040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14042 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14043 is in your PATH or set the PKG_CONFIG environment variable to the full
14044 path to pkg-config.
14046 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14047 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14048 See the pkg-config man page for more details.
14050 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14051 See \`config.log' for more details" "$LINENO" 5; }
14054 LIBGLBARCODE_CFLAGS=$pkg_cv_LIBGLBARCODE_CFLAGS
14055 LIBGLBARCODE_LIBS=$pkg_cv_LIBGLBARCODE_LIBS
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14057 $as_echo "yes" >&6; }
14066 # Check whether --with-libebook was given.
14067 if test "${with_libebook+set}" = set; then :
14068 withval=$with_libebook;
14072 if test "x$with_libebook" != xno; then
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEBOOK" >&5
14076 $as_echo_n "checking for LIBEBOOK... " >&6; }
14078 if test -n "$LIBEBOOK_CFLAGS"; then
14079 pkg_cv_LIBEBOOK_CFLAGS="$LIBEBOOK_CFLAGS"
14080 elif test -n "$PKG_CONFIG"; then
14081 if test -n "$PKG_CONFIG" && \
14082 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14083 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14086 test $ac_status = 0; }; then
14087 pkg_cv_LIBEBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14094 if test -n "$LIBEBOOK_LIBS"; then
14095 pkg_cv_LIBEBOOK_LIBS="$LIBEBOOK_LIBS"
14096 elif test -n "$PKG_CONFIG"; then
14097 if test -n "$PKG_CONFIG" && \
14098 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14099 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14102 test $ac_status = 0; }; then
14103 pkg_cv_LIBEBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14113 if test $pkg_failed = yes; then
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14115 $as_echo "no" >&6; }
14117 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14118 _pkg_short_errors_supported=yes
14120 _pkg_short_errors_supported=no
14122 if test $_pkg_short_errors_supported = yes; then
14123 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14125 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14127 # Put the nasty error message in config.log where it belongs
14128 echo "$LIBEBOOK_PKG_ERRORS" >&5
14131 elif test $pkg_failed = untried; then
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14133 $as_echo "no" >&6; }
14136 LIBEBOOK_CFLAGS=$pkg_cv_LIBEBOOK_CFLAGS
14137 LIBEBOOK_LIBS=$pkg_cv_LIBEBOOK_LIBS
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14139 $as_echo "yes" >&6; }
14144 if test "x$have_libebook" = "xyes"; then
14146 $as_echo "#define HAVE_LIBEBOOK 1" >>confdefs.h
14154 # Check whether --with-libbarcode was given.
14155 if test "${with_libbarcode+set}" = set; then :
14156 withval=$with_libbarcode;
14160 if test "x$with_libbarcode" != xno; then
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Barcode_Create in -lbarcode" >&5
14162 $as_echo_n "checking for Barcode_Create in -lbarcode... " >&6; }
14163 if ${ac_cv_lib_barcode_Barcode_Create+:} false; then :
14164 $as_echo_n "(cached) " >&6
14166 ac_check_lib_save_LIBS=$LIBS
14167 LIBS="-lbarcode $LIBS"
14168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14171 /* Override any GCC internal prototype to avoid an error.
14172 Use char because int might match the return type of a GCC
14173 builtin and then its argument prototype would still apply. */
14177 char Barcode_Create ();
14181 return Barcode_Create ();
14186 if ac_fn_c_try_link "$LINENO"; then :
14187 ac_cv_lib_barcode_Barcode_Create=yes
14189 ac_cv_lib_barcode_Barcode_Create=no
14191 rm -f core conftest.err conftest.$ac_objext \
14192 conftest$ac_exeext conftest.$ac_ext
14193 LIBS=$ac_check_lib_save_LIBS
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_barcode_Barcode_Create" >&5
14196 $as_echo "$ac_cv_lib_barcode_Barcode_Create" >&6; }
14197 if test "x$ac_cv_lib_barcode_Barcode_Create" = xyes; then :
14198 have_libbarcode=yes
14205 if test "x$have_libbarcode" = "xyes"; then
14207 $as_echo "#define HAVE_LIBBARCODE 1" >>confdefs.h
14209 LIBBARCODE_CFLAGS=""
14210 LIBBARCODE_LIBS="-lbarcode"
14214 help_libbarcode="(See http://www.gnu.org/software/barcode/barcode.html)"
14218 # Check whether --with-libzint was given.
14219 if test "${with_libzint+set}" = set; then :
14220 withval=$with_libzint;
14224 if test "x$with_libzint" != xno; then
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZBarcode_Render in -lzint" >&5
14226 $as_echo_n "checking for ZBarcode_Render in -lzint... " >&6; }
14227 if ${ac_cv_lib_zint_ZBarcode_Render+:} false; then :
14228 $as_echo_n "(cached) " >&6
14230 ac_check_lib_save_LIBS=$LIBS
14231 LIBS="-lzint $LIBS"
14232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14233 /* end confdefs.h. */
14235 /* Override any GCC internal prototype to avoid an error.
14236 Use char because int might match the return type of a GCC
14237 builtin and then its argument prototype would still apply. */
14241 char ZBarcode_Render ();
14245 return ZBarcode_Render ();
14250 if ac_fn_c_try_link "$LINENO"; then :
14251 ac_cv_lib_zint_ZBarcode_Render=yes
14253 ac_cv_lib_zint_ZBarcode_Render=no
14255 rm -f core conftest.err conftest.$ac_objext \
14256 conftest$ac_exeext conftest.$ac_ext
14257 LIBS=$ac_check_lib_save_LIBS
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zint_ZBarcode_Render" >&5
14260 $as_echo "$ac_cv_lib_zint_ZBarcode_Render" >&6; }
14261 if test "x$ac_cv_lib_zint_ZBarcode_Render" = xyes; then :
14269 if test "x$have_libzint" = "xyes"; then
14271 $as_echo "#define HAVE_LIBZINT 1" >>confdefs.h
14274 LIBZINT_LIBS="-lzint"
14278 help_libzint="(See http://www.zint.org.uk)"
14283 # Check whether --with-libqrencode was given.
14284 if test "${with_libqrencode+set}" = set; then :
14285 withval=$with_libqrencode;
14288 have_libqrencode=no
14289 if test "x$with_libqrencode" != xno; then
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBQRENCODE" >&5
14293 $as_echo_n "checking for LIBQRENCODE... " >&6; }
14295 if test -n "$LIBQRENCODE_CFLAGS"; then
14296 pkg_cv_LIBQRENCODE_CFLAGS="$LIBQRENCODE_CFLAGS"
14297 elif test -n "$PKG_CONFIG"; then
14298 if test -n "$PKG_CONFIG" && \
14299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
14300 ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
14302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14303 test $ac_status = 0; }; then
14304 pkg_cv_LIBQRENCODE_CFLAGS=`$PKG_CONFIG --cflags "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
14311 if test -n "$LIBQRENCODE_LIBS"; then
14312 pkg_cv_LIBQRENCODE_LIBS="$LIBQRENCODE_LIBS"
14313 elif test -n "$PKG_CONFIG"; then
14314 if test -n "$PKG_CONFIG" && \
14315 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
14316 ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
14318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14319 test $ac_status = 0; }; then
14320 pkg_cv_LIBQRENCODE_LIBS=`$PKG_CONFIG --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
14330 if test $pkg_failed = yes; then
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14332 $as_echo "no" >&6; }
14334 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14335 _pkg_short_errors_supported=yes
14337 _pkg_short_errors_supported=no
14339 if test $_pkg_short_errors_supported = yes; then
14340 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
14342 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
14344 # Put the nasty error message in config.log where it belongs
14345 echo "$LIBQRENCODE_PKG_ERRORS" >&5
14347 have_libqrencode=no
14348 elif test $pkg_failed = untried; then
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14350 $as_echo "no" >&6; }
14351 have_libqrencode=no
14353 LIBQRENCODE_CFLAGS=$pkg_cv_LIBQRENCODE_CFLAGS
14354 LIBQRENCODE_LIBS=$pkg_cv_LIBQRENCODE_LIBS
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14356 $as_echo "yes" >&6; }
14357 have_libqrencode=yes
14361 if test "x$have_libqrencode" = "xyes"; then
14363 $as_echo "#define HAVE_LIBQRENCODE 1" >>confdefs.h
14368 help_libqrencode="(See http://megaui.net/fukuchi/works/qrencode/index.en.html)"
14373 # Check whether --with-libiec16022 was given.
14374 if test "${with_libiec16022+set}" = set; then :
14375 withval=$with_libiec16022;
14378 have_libiec16022=no
14379 if test "x$with_libiec16022" != xno; then
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIEC16022" >&5
14383 $as_echo_n "checking for LIBIEC16022... " >&6; }
14385 if test -n "$LIBIEC16022_CFLAGS"; then
14386 pkg_cv_LIBIEC16022_CFLAGS="$LIBIEC16022_CFLAGS"
14387 elif test -n "$PKG_CONFIG"; then
14388 if test -n "$PKG_CONFIG" && \
14389 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
14390 ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
14392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14393 test $ac_status = 0; }; then
14394 pkg_cv_LIBIEC16022_CFLAGS=`$PKG_CONFIG --cflags "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
14401 if test -n "$LIBIEC16022_LIBS"; then
14402 pkg_cv_LIBIEC16022_LIBS="$LIBIEC16022_LIBS"
14403 elif test -n "$PKG_CONFIG"; then
14404 if test -n "$PKG_CONFIG" && \
14405 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
14406 ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
14408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14409 test $ac_status = 0; }; then
14410 pkg_cv_LIBIEC16022_LIBS=`$PKG_CONFIG --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
14420 if test $pkg_failed = yes; then
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14422 $as_echo "no" >&6; }
14424 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14425 _pkg_short_errors_supported=yes
14427 _pkg_short_errors_supported=no
14429 if test $_pkg_short_errors_supported = yes; then
14430 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
14432 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
14434 # Put the nasty error message in config.log where it belongs
14435 echo "$LIBIEC16022_PKG_ERRORS" >&5
14437 have_libiec16022=no
14438 elif test $pkg_failed = untried; then
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14440 $as_echo "no" >&6; }
14441 have_libiec16022=no
14443 LIBIEC16022_CFLAGS=$pkg_cv_LIBIEC16022_CFLAGS
14444 LIBIEC16022_LIBS=$pkg_cv_LIBIEC16022_LIBS
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14446 $as_echo "yes" >&6; }
14447 have_libiec16022=yes
14451 if test "x$have_libiec16022" = "xyes"; then
14453 $as_echo "#define HAVE_LIBIEC16022 1" >>confdefs.h
14458 help_libiec16022="(See http://datenfreihafen.org/projects/iec16022.html)"
14462 # Check whether --enable-deprecations was given.
14463 if test "${enable_deprecations+set}" = set; then :
14464 enableval=$enable_deprecations;
14466 enable_deprecations=no
14470 if test "x$enable_deprecations" = "xyes"; then
14471 DISABLE_DEPRECATED_CFLAGS="\
14472 -DG_DISABLE_DEPRECATED \
14473 -DGDK_DISABLE_DEPRECATED \
14474 -DGTK_DISABLE_DEPRECATED \
14475 -DGDK_PIXBUF_DISABLE_DEPRECATED \
14481 GETTEXT_PACKAGE=${GLABELS_BRANCH}
14484 cat >>confdefs.h <<_ACEOF
14485 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14490 for ac_header in locale.h
14492 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14493 if test "x$ac_cv_header_locale_h" = xyes; then :
14494 cat >>confdefs.h <<_ACEOF
14495 #define HAVE_LOCALE_H 1
14502 if test $ac_cv_header_locale_h = yes; then
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14504 $as_echo_n "checking for LC_MESSAGES... " >&6; }
14505 if ${am_cv_val_LC_MESSAGES+:} false; then :
14506 $as_echo_n "(cached) " >&6
14508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14510 #include <locale.h>
14519 if ac_fn_c_try_link "$LINENO"; then :
14520 am_cv_val_LC_MESSAGES=yes
14522 am_cv_val_LC_MESSAGES=no
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14528 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14529 if test $am_cv_val_LC_MESSAGES = yes; then
14531 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14538 gt_cv_have_gettext=no
14544 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14545 if test "x$ac_cv_header_libintl_h" = xyes; then :
14546 gt_cv_func_dgettext_libintl="no"
14547 libintl_extra_libs=""
14550 # First check in libc
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14553 $as_echo_n "checking for ngettext in libc... " >&6; }
14554 if ${gt_cv_func_ngettext_libc+:} false; then :
14555 $as_echo_n "(cached) " >&6
14557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h. */
14560 #include <libintl.h>
14565 return !ngettext ("","", 1)
14570 if ac_fn_c_try_link "$LINENO"; then :
14571 gt_cv_func_ngettext_libc=yes
14573 gt_cv_func_ngettext_libc=no
14575 rm -f core conftest.err conftest.$ac_objext \
14576 conftest$ac_exeext conftest.$ac_ext
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14580 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
14582 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14584 $as_echo_n "checking for dgettext in libc... " >&6; }
14585 if ${gt_cv_func_dgettext_libc+:} false; then :
14586 $as_echo_n "(cached) " >&6
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14591 #include <libintl.h>
14596 return !dgettext ("","")
14601 if ac_fn_c_try_link "$LINENO"; then :
14602 gt_cv_func_dgettext_libc=yes
14604 gt_cv_func_dgettext_libc=no
14606 rm -f core conftest.err conftest.$ac_objext \
14607 conftest$ac_exeext conftest.$ac_ext
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14611 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
14614 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14615 for ac_func in bind_textdomain_codeset
14617 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14618 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14619 cat >>confdefs.h <<_ACEOF
14620 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
14629 # If we don't have everything we want, check in libintl
14631 if test "$gt_cv_func_dgettext_libc" != "yes" \
14632 || test "$gt_cv_func_ngettext_libc" != "yes" \
14633 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14636 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14637 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
14638 $as_echo_n "(cached) " >&6
14640 ac_check_lib_save_LIBS=$LIBS
14641 LIBS="-lintl $LIBS"
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14645 /* Override any GCC internal prototype to avoid an error.
14646 Use char because int might match the return type of a GCC
14647 builtin and then its argument prototype would still apply. */
14651 char bindtextdomain ();
14655 return bindtextdomain ();
14660 if ac_fn_c_try_link "$LINENO"; then :
14661 ac_cv_lib_intl_bindtextdomain=yes
14663 ac_cv_lib_intl_bindtextdomain=no
14665 rm -f core conftest.err conftest.$ac_objext \
14666 conftest$ac_exeext conftest.$ac_ext
14667 LIBS=$ac_check_lib_save_LIBS
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14670 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14671 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14673 $as_echo_n "checking for ngettext in -lintl... " >&6; }
14674 if ${ac_cv_lib_intl_ngettext+:} false; then :
14675 $as_echo_n "(cached) " >&6
14677 ac_check_lib_save_LIBS=$LIBS
14678 LIBS="-lintl $LIBS"
14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14682 /* Override any GCC internal prototype to avoid an error.
14683 Use char because int might match the return type of a GCC
14684 builtin and then its argument prototype would still apply. */
14692 return ngettext ();
14697 if ac_fn_c_try_link "$LINENO"; then :
14698 ac_cv_lib_intl_ngettext=yes
14700 ac_cv_lib_intl_ngettext=no
14702 rm -f core conftest.err conftest.$ac_objext \
14703 conftest$ac_exeext conftest.$ac_ext
14704 LIBS=$ac_check_lib_save_LIBS
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14707 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14708 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14710 $as_echo_n "checking for dgettext in -lintl... " >&6; }
14711 if ${ac_cv_lib_intl_dgettext+:} false; then :
14712 $as_echo_n "(cached) " >&6
14714 ac_check_lib_save_LIBS=$LIBS
14715 LIBS="-lintl $LIBS"
14716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14717 /* end confdefs.h. */
14719 /* Override any GCC internal prototype to avoid an error.
14720 Use char because int might match the return type of a GCC
14721 builtin and then its argument prototype would still apply. */
14729 return dgettext ();
14734 if ac_fn_c_try_link "$LINENO"; then :
14735 ac_cv_lib_intl_dgettext=yes
14737 ac_cv_lib_intl_dgettext=no
14739 rm -f core conftest.err conftest.$ac_objext \
14740 conftest$ac_exeext conftest.$ac_ext
14741 LIBS=$ac_check_lib_save_LIBS
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
14744 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
14745 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
14746 gt_cv_func_dgettext_libintl=yes
14754 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
14756 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14760 $as_echo_n "checking for ngettext in -lintl... " >&6; }
14761 if ${ac_cv_lib_intl_ngettext+:} false; then :
14762 $as_echo_n "(cached) " >&6
14764 ac_check_lib_save_LIBS=$LIBS
14765 LIBS="-lintl -liconv $LIBS"
14766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h. */
14769 /* Override any GCC internal prototype to avoid an error.
14770 Use char because int might match the return type of a GCC
14771 builtin and then its argument prototype would still apply. */
14779 return ngettext ();
14784 if ac_fn_c_try_link "$LINENO"; then :
14785 ac_cv_lib_intl_ngettext=yes
14787 ac_cv_lib_intl_ngettext=no
14789 rm -f core conftest.err conftest.$ac_objext \
14790 conftest$ac_exeext conftest.$ac_ext
14791 LIBS=$ac_check_lib_save_LIBS
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14794 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14795 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
14797 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
14798 if ${ac_cv_lib_intl_dcgettext+:} false; then :
14799 $as_echo_n "(cached) " >&6
14801 ac_check_lib_save_LIBS=$LIBS
14802 LIBS="-lintl -liconv $LIBS"
14803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14804 /* end confdefs.h. */
14806 /* Override any GCC internal prototype to avoid an error.
14807 Use char because int might match the return type of a GCC
14808 builtin and then its argument prototype would still apply. */
14816 return dcgettext ();
14821 if ac_fn_c_try_link "$LINENO"; then :
14822 ac_cv_lib_intl_dcgettext=yes
14824 ac_cv_lib_intl_dcgettext=no
14826 rm -f core conftest.err conftest.$ac_objext \
14827 conftest$ac_exeext conftest.$ac_ext
14828 LIBS=$ac_check_lib_save_LIBS
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
14831 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14832 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
14833 gt_cv_func_dgettext_libintl=yes
14834 libintl_extra_libs=-liconv
14846 # If we found libintl, then check in it for bind_textdomain_codeset();
14847 # we'll prefer libc if neither have bind_textdomain_codeset(),
14848 # and both have dgettext and ngettext
14850 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
14851 glib_save_LIBS="$LIBS"
14852 LIBS="$LIBS -lintl $libintl_extra_libs"
14853 unset ac_cv_func_bind_textdomain_codeset
14854 for ac_func in bind_textdomain_codeset
14856 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14857 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14858 cat >>confdefs.h <<_ACEOF
14859 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
14865 LIBS="$glib_save_LIBS"
14867 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
14868 gt_cv_func_dgettext_libc=no
14870 if test "$gt_cv_func_dgettext_libc" = "yes" \
14871 && test "$gt_cv_func_ngettext_libc" = "yes"; then
14872 gt_cv_func_dgettext_libintl=no
14878 if test "$gt_cv_func_dgettext_libc" = "yes" \
14879 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
14880 gt_cv_have_gettext=yes
14883 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
14884 INTLLIBS="-lintl $libintl_extra_libs"
14887 if test "$gt_cv_have_gettext" = "yes"; then
14889 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14891 # Extract the first word of "msgfmt", so it can be a program name with args.
14892 set dummy msgfmt; ac_word=$2
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14894 $as_echo_n "checking for $ac_word... " >&6; }
14895 if ${ac_cv_path_MSGFMT+:} false; then :
14896 $as_echo_n "(cached) " >&6
14900 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14903 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14904 for ac_dir in $PATH; do
14905 test -z "$ac_dir" && ac_dir=.
14906 if test -f $ac_dir/$ac_word; then
14907 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
14908 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
14914 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
14918 MSGFMT="$ac_cv_path_MSGFMT"
14919 if test "$MSGFMT" != "no"; then
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14921 $as_echo "$MSGFMT" >&6; }
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14924 $as_echo "no" >&6; }
14926 if test "$MSGFMT" != "no"; then
14927 glib_save_LIBS="$LIBS"
14928 LIBS="$LIBS $INTLLIBS"
14929 for ac_func in dcgettext
14931 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
14932 if test "x$ac_cv_func_dcgettext" = xyes; then :
14933 cat >>confdefs.h <<_ACEOF
14934 #define HAVE_DCGETTEXT 1
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
14942 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
14943 cat >conftest.foo <<_ACEOF
14947 "Content-Type: text/plain; charset=UTF-8\n"
14948 "Project-Id-Version: test 1.0\n"
14949 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
14950 "Last-Translator: test <foo@bar.xx>\n"
14951 "Language-Team: C <LL@li.org>\n"
14952 "MIME-Version: 1.0\n"
14953 "Content-Transfer-Encoding: 8bit\n"
14956 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
14957 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
14959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14960 test $ac_status = 0; }; then
14961 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14962 $as_echo "yes" >&6; }
14963 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14964 $as_echo "no" >&6; }
14965 echo "$as_me: failed input was:" >&5
14966 sed 's/^/| /' conftest.foo >&5
14969 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14970 set dummy gmsgfmt; ac_word=$2
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14972 $as_echo_n "checking for $ac_word... " >&6; }
14973 if ${ac_cv_path_GMSGFMT+:} false; then :
14974 $as_echo_n "(cached) " >&6
14978 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14982 for as_dir in $PATH
14985 test -z "$as_dir" && as_dir=.
14986 for ac_exec_ext in '' $ac_executable_extensions; do
14987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14988 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14996 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15000 GMSGFMT=$ac_cv_path_GMSGFMT
15001 if test -n "$GMSGFMT"; then
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15003 $as_echo "$GMSGFMT" >&6; }
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15006 $as_echo "no" >&6; }
15010 # Extract the first word of "xgettext", so it can be a program name with args.
15011 set dummy xgettext; ac_word=$2
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15013 $as_echo_n "checking for $ac_word... " >&6; }
15014 if ${ac_cv_path_XGETTEXT+:} false; then :
15015 $as_echo_n "(cached) " >&6
15017 case "$XGETTEXT" in
15019 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15022 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15023 for ac_dir in $PATH; do
15024 test -z "$ac_dir" && ac_dir=.
15025 if test -f $ac_dir/$ac_word; then
15026 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15027 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15033 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15037 XGETTEXT="$ac_cv_path_XGETTEXT"
15038 if test "$XGETTEXT" != ":"; then
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15040 $as_echo "$XGETTEXT" >&6; }
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15043 $as_echo "no" >&6; }
15046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15052 extern int _nl_msg_cat_cntr;
15053 return _nl_msg_cat_cntr
15058 if ac_fn_c_try_link "$LINENO"; then :
15064 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15065 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15080 rm -f core conftest.err conftest.$ac_objext \
15081 conftest$ac_exeext conftest.$ac_ext
15082 LIBS="$glib_save_LIBS"
15085 gt_cv_have_gettext=no
15093 if test "$gt_cv_have_gettext" = "yes" ; then
15095 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15099 if test "$XGETTEXT" != ":"; then
15100 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15104 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15109 # We need to process the po/ directory.
15112 ac_config_commands="$ac_config_commands default-1"
15115 for lang in $ALL_LINGUAS; do
15116 GMOFILES="$GMOFILES $lang.gmo"
15117 POFILES="$POFILES $lang.po"
15132 if test "$gt_cv_have_gettext" = "yes"; then
15133 if test "x$ALL_LINGUAS" = "x"; then
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15137 $as_echo_n "checking for catalogs to be installed... " >&6; }
15139 for presentlang in $ALL_LINGUAS; do
15141 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15142 desiredlanguages="$LINGUAS"
15144 desiredlanguages="$ALL_LINGUAS"
15146 for desiredlang in $desiredlanguages; do
15147 # Use the presentlang catalog if desiredlang is
15148 # a. equal to presentlang, or
15149 # b. a variant of presentlang (because in this case,
15150 # presentlang can be used as a fallback for messages
15151 # which are not translated in the desiredlang catalog).
15152 case "$desiredlang" in
15153 "$presentlang"*) useit=yes;;
15156 if test $useit = yes; then
15157 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15160 LINGUAS=$NEW_LINGUAS
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15162 $as_echo "$LINGUAS" >&6; }
15165 if test -n "$LINGUAS"; then
15166 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15171 if test -n "$ac_aux_dir"; then
15172 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15174 if test -z "$MKINSTALLDIRS"; then
15175 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15179 test -d po || mkdir po
15180 if test "x$srcdir" != "x."; then
15181 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15182 posrcprefix="$srcdir/"
15184 posrcprefix="../$srcdir/"
15190 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15191 < $srcdir/po/POTFILES.in > po/POTFILES
15195 ac_config_files="$ac_config_files Makefile libglabels/Makefile libglabels/${LIBGLABELS_BRANCH}.pc libglbarcode/Makefile libglbarcode/${LIBGLBARCODE_BRANCH}.pc src/Makefile src/cursors/Makefile src/pixmaps/Makefile data/Makefile data/desktop/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/man/Makefile data/mime/Makefile data/pixmaps/Makefile data/schemas/Makefile data/schemas/org.gnome.glabels-3.gschema.xml.in data/ui/Makefile templates/Makefile po/Makefile.in help/Makefile docs/Makefile docs/libglabels/Makefile docs/libglbarcode/Makefile glabels.spec"
15197 cat >confcache <<\_ACEOF
15198 # This file is a shell script that caches the results of configure
15199 # tests run on this system so they can be shared between configure
15200 # scripts and configure runs, see configure's option --config-cache.
15201 # It is not useful on other systems. If it contains results you don't
15202 # want to keep, you may remove or edit it.
15204 # config.status only pays attention to the cache file if you give it
15205 # the --recheck option to rerun configure.
15207 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15208 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15209 # following values.
15213 # The following way of writing the cache mishandles newlines in values,
15214 # but we know of no workaround that is simple, portable, and efficient.
15215 # So, we kill variables containing newlines.
15216 # Ultrix sh set writes to stderr and can't be redirected directly,
15217 # and sets the high bit in the cache file unless we assign to the vars.
15219 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15220 eval ac_val=\$$ac_var
15224 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15225 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15228 _ | IFS | as_nl) ;; #(
15229 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15230 *) { eval $ac_var=; unset $ac_var;} ;;
15236 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15237 *${as_nl}ac_space=\ *)
15238 # `set' does not quote correctly, so add quotes: double-quote
15239 # substitution turns \\\\ into \\, and sed turns \\ into \.
15242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15245 # `set' quotes correctly as required by POSIX, so do not add quotes.
15246 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15255 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15257 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15259 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15260 if test -w "$cache_file"; then
15261 if test "x$cache_file" != "x/dev/null"; then
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15263 $as_echo "$as_me: updating cache $cache_file" >&6;}
15264 if test ! -f "$cache_file" || test -h "$cache_file"; then
15265 cat confcache >"$cache_file"
15267 case $cache_file in #(
15269 mv -f confcache "$cache_file"$$ &&
15270 mv -f "$cache_file"$$ "$cache_file" ;; #(
15272 mv -f confcache "$cache_file" ;;
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15278 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15283 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15284 # Let make expand exec_prefix.
15285 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15287 DEFS=-DHAVE_CONFIG_H
15292 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15293 # 1. Remove the extension, and $U if already installed.
15294 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15295 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15296 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15297 # will be set to the directory where LIBOBJS objects are built.
15298 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15299 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15301 LIBOBJS=$ac_libobjs
15303 LTLIBOBJS=$ac_ltlibobjs
15306 if test -n "$EXEEXT"; then
15308 am__EXEEXT_FALSE='#'
15310 am__EXEEXT_TRUE='#'
15314 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15315 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15318 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15319 as_fn_error $? "conditional \"AMDEP\" was never defined.
15320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15322 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15323 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15327 ac_config_commands="$ac_config_commands po/stamp-it"
15330 if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
15331 as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
15332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15334 if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
15335 as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
15336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15338 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15339 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15342 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15343 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15346 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15347 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15350 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15351 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15354 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15355 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15358 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15359 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15363 : "${CONFIG_STATUS=./config.status}"
15365 ac_clean_files_save=$ac_clean_files
15366 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15368 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15370 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15372 # Generated by $as_me.
15373 # Run this file to recreate the current configuration.
15374 # Compiler output produced by configure, useful for debugging
15375 # configure, is in config.log if it exists.
15378 ac_cs_recheck=false
15381 SHELL=\${CONFIG_SHELL-$SHELL}
15384 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15385 ## -------------------- ##
15386 ## M4sh Initialization. ##
15387 ## -------------------- ##
15389 # Be more Bourne compatible
15390 DUALCASE=1; export DUALCASE # for MKS sh
15391 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15394 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15395 # is contrary to our usage. Disable this feature.
15396 alias -g '${1+"$@"}'='"$@"'
15397 setopt NO_GLOB_SUBST
15399 case `(set -o) 2>/dev/null` in #(
15411 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15412 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15413 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15414 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15415 # Prefer a ksh shell builtin over an external printf program on Solaris,
15416 # but without wasting forks for bash or zsh.
15417 if test -z "$BASH_VERSION$ZSH_VERSION" \
15418 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15419 as_echo='print -r --'
15420 as_echo_n='print -rn --'
15421 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15422 as_echo='printf %s\n'
15423 as_echo_n='printf %s'
15425 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15426 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15427 as_echo_n='/usr/ucb/echo -n'
15429 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15430 as_echo_n_body='eval
15434 expr "X$arg" : "X\\(.*\\)$as_nl";
15435 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15437 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15439 export as_echo_n_body
15440 as_echo_n='sh -c $as_echo_n_body as_echo'
15442 export as_echo_body
15443 as_echo='sh -c $as_echo_body as_echo'
15446 # The user is always right.
15447 if test "${PATH_SEPARATOR+set}" != set; then
15449 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15450 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15457 # We need space, tab and new line, in precisely that order. Quoting is
15458 # there to prevent editors from complaining about space-tab.
15459 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15460 # splitting by setting IFS to empty value.)
15463 # Find who we are. Look in the path if we contain no directory separator.
15466 *[\\/]* ) as_myself=$0 ;;
15467 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15468 for as_dir in $PATH
15471 test -z "$as_dir" && as_dir=.
15472 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15478 # We did not find ourselves, most probably we were run as `sh COMMAND'
15479 # in which case we are not to be found in the path.
15480 if test "x$as_myself" = x; then
15483 if test ! -f "$as_myself"; then
15484 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15488 # Unset variables that we do not need and which cause bugs (e.g. in
15489 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15490 # suppresses any "Segmentation fault" message there. '((' could
15491 # trigger a bug in pdksh 5.2.14.
15492 for as_var in BASH_ENV ENV MAIL MAILPATH
15493 do eval test x\${$as_var+set} = xset \
15494 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15507 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15510 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15511 # ----------------------------------------
15512 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15513 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15514 # script with STATUS, using 1 if that was 0.
15517 as_status=$1; test $as_status -eq 0 && as_status=1
15519 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15520 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15522 $as_echo "$as_me: error: $2" >&2
15523 as_fn_exit $as_status
15527 # as_fn_set_status STATUS
15528 # -----------------------
15529 # Set $? to STATUS, without forking.
15530 as_fn_set_status ()
15533 } # as_fn_set_status
15535 # as_fn_exit STATUS
15536 # -----------------
15537 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15541 as_fn_set_status $1
15547 # Portably unset VAR.
15550 { eval $1=; unset $1;}
15552 as_unset=as_fn_unset
15553 # as_fn_append VAR VALUE
15554 # ----------------------
15555 # Append the text in VALUE to the end of the definition contained in VAR. Take
15556 # advantage of any shell optimizations that allow amortized linear growth over
15557 # repeated appends, instead of the typical quadratic growth present in naive
15559 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15560 eval 'as_fn_append ()
15571 # as_fn_arith ARG...
15572 # ------------------
15573 # Perform arithmetic evaluation on the ARGs, and store the result in the
15574 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15575 # must be portable across $(()) and expr.
15576 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15577 eval 'as_fn_arith ()
15584 as_val=`expr "$@" || test $? -eq 1`
15589 if expr a : '\(a\)' >/dev/null 2>&1 &&
15590 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15596 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15597 as_basename=basename
15602 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15608 as_me=`$as_basename -- "$0" ||
15609 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15610 X"$0" : 'X\(//\)$' \| \
15611 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15613 sed '/^.*\/\([^/][^/]*\)\/*$/{
15627 # Avoid depending upon Character Ranges.
15628 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15629 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15630 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15631 as_cr_digits='0123456789'
15632 as_cr_alnum=$as_cr_Letters$as_cr_digits
15634 ECHO_C= ECHO_N= ECHO_T=
15635 case `echo -n x` in #(((((
15637 case `echo 'xy\c'` in
15638 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15640 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15647 rm -f conf$$ conf$$.exe conf$$.file
15648 if test -d conf$$.dir; then
15649 rm -f conf$$.dir/conf$$.file
15652 mkdir conf$$.dir 2>/dev/null
15654 if (echo >conf$$.file) 2>/dev/null; then
15655 if ln -s conf$$.file conf$$ 2>/dev/null; then
15657 # ... but there are two gotchas:
15658 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15659 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15660 # In both cases, we have to default to `cp -p'.
15661 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15663 elif ln conf$$.file conf$$ 2>/dev/null; then
15671 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15672 rmdir conf$$.dir 2>/dev/null
15677 # Create "$as_dir" as a directory, including parents if necessary.
15682 -*) as_dir=./$as_dir;;
15684 test -d "$as_dir" || eval $as_mkdir_p || {
15688 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15689 *) as_qdir=$as_dir;;
15691 as_dirs="'$as_qdir' $as_dirs"
15692 as_dir=`$as_dirname -- "$as_dir" ||
15693 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15694 X"$as_dir" : 'X\(//\)[^/]' \| \
15695 X"$as_dir" : 'X\(//\)$' \| \
15696 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15697 $as_echo X"$as_dir" |
15698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15702 /^X\(\/\/\)[^/].*/{
15715 test -d "$as_dir" && break
15717 test -z "$as_dirs" || eval "mkdir $as_dirs"
15718 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15722 if mkdir -p . 2>/dev/null; then
15723 as_mkdir_p='mkdir -p "$as_dir"'
15725 test -d ./-p && rmdir ./-p
15729 if test -x / >/dev/null 2>&1; then
15730 as_test_x='test -x'
15732 if ls -dL / >/dev/null 2>&1; then
15739 if test -d "$1"; then
15745 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15746 ???[sx]*):;;*)false;;esac;fi
15750 as_executable_p=$as_test_x
15752 # Sed expression to map a string onto a valid CPP name.
15753 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15755 # Sed expression to map a string onto a valid variable name.
15756 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15760 ## ----------------------------------- ##
15761 ## Main body of $CONFIG_STATUS script. ##
15762 ## ----------------------------------- ##
15764 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15767 # Save the log message, to keep $0 and so on meaningful, and to
15768 # report actual input values of CONFIG_FILES etc. instead of their
15769 # values after options handling.
15771 This file was extended by glabels $as_me 3.0.0, which was
15772 generated by GNU Autoconf 2.68. Invocation command line was
15774 CONFIG_FILES = $CONFIG_FILES
15775 CONFIG_HEADERS = $CONFIG_HEADERS
15776 CONFIG_LINKS = $CONFIG_LINKS
15777 CONFIG_COMMANDS = $CONFIG_COMMANDS
15780 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15785 case $ac_config_files in *"
15786 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15789 case $ac_config_headers in *"
15790 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15795 # Files that config.status was made for.
15796 config_files="$ac_config_files"
15797 config_headers="$ac_config_headers"
15798 config_commands="$ac_config_commands"
15802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15804 \`$as_me' instantiates files and other configuration actions
15805 from templates according to the current configuration. Unless the files
15806 and actions are specified as TAGs, all are instantiated by default.
15808 Usage: $0 [OPTION]... [TAG]...
15810 -h, --help print this help, then exit
15811 -V, --version print version number and configuration settings, then exit
15812 --config print configuration, then exit
15813 -q, --quiet, --silent
15814 do not print progress messages
15815 -d, --debug don't remove temporary files
15816 --recheck update $as_me by reconfiguring in the same conditions
15817 --file=FILE[:TEMPLATE]
15818 instantiate the configuration file FILE
15819 --header=FILE[:TEMPLATE]
15820 instantiate the configuration header FILE
15822 Configuration files:
15825 Configuration headers:
15828 Configuration commands:
15831 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>."
15834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15835 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15837 glabels config.status 3.0.0
15838 configured by $0, generated by GNU Autoconf 2.68,
15839 with options \\"\$ac_cs_config\\"
15841 Copyright (C) 2010 Free Software Foundation, Inc.
15842 This config.status script is free software; the Free Software Foundation
15843 gives unlimited permission to copy, distribute and modify it."
15850 test -n "\$AWK" || AWK=awk
15853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15854 # The default lists apply if the user does not specify any file.
15860 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15861 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15865 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15877 # Handling of the options.
15878 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15880 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15881 $as_echo "$ac_cs_version"; exit ;;
15882 --config | --confi | --conf | --con | --co | --c )
15883 $as_echo "$ac_cs_config"; exit ;;
15884 --debug | --debu | --deb | --de | --d | -d )
15886 --file | --fil | --fi | --f )
15889 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15890 '') as_fn_error $? "missing file argument" ;;
15892 as_fn_append CONFIG_FILES " '$ac_optarg'"
15893 ac_need_defaults=false;;
15894 --header | --heade | --head | --hea )
15897 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15899 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15900 ac_need_defaults=false;;
15902 # Conflict between --help and --header
15903 as_fn_error $? "ambiguous option: \`$1'
15904 Try \`$0 --help' for more information.";;
15905 --help | --hel | -h )
15906 $as_echo "$ac_cs_usage"; exit ;;
15907 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15908 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15911 # This is an error.
15912 -*) as_fn_error $? "unrecognized option: \`$1'
15913 Try \`$0 --help' for more information." ;;
15915 *) as_fn_append ac_config_targets " $1"
15916 ac_need_defaults=false ;;
15922 ac_configure_extra_args=
15924 if $ac_cs_silent; then
15926 ac_configure_extra_args="$ac_configure_extra_args --silent"
15930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15931 if \$ac_cs_recheck; then
15932 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15934 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15935 CONFIG_SHELL='$SHELL'
15936 export CONFIG_SHELL
15941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15945 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15946 ## Running $as_me. ##
15952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15956 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15959 # The HP-UX ksh and POSIX shell print the target directory to stdout
15960 # if CDPATH is set.
15961 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15963 sed_quote_subst='$sed_quote_subst'
15964 double_quote_subst='$double_quote_subst'
15965 delay_variable_subst='$delay_variable_subst'
15966 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15967 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15968 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15969 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15970 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15971 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15972 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15973 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15974 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15975 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15976 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15977 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15978 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15979 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15980 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15981 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15982 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15983 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15984 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15985 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15986 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15987 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15988 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15989 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15990 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15991 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15992 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15993 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15994 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15995 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15996 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15997 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15998 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15999 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16000 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16001 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16002 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16003 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16004 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16005 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16006 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16007 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16008 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16009 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16010 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16011 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16012 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16013 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16014 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16015 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16016 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16017 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16018 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16019 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16020 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16021 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16022 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16023 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16024 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16025 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16026 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16027 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16028 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16029 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16030 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16031 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16032 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16033 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16034 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16035 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16036 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16037 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16038 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16039 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16040 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16041 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16042 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16043 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16044 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16045 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16046 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16047 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16048 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16049 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16050 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16051 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16052 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16053 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16054 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16055 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16056 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16057 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16058 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16059 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16060 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16061 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16062 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16063 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16064 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16065 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16066 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16067 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16068 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16069 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16070 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16071 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16072 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16073 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16074 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16075 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16076 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16077 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16078 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16079 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16080 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16081 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16082 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16083 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16084 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16085 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16086 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16087 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16088 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16089 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16090 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16091 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16092 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16093 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16094 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16095 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16098 LTCFLAGS='$LTCFLAGS'
16099 compiler='$compiler_DEFAULT'
16101 # A function that is used when there is no print builtin or printf.
16102 func_fallback_echo ()
16104 eval 'cat <<_LTECHO_EOF
16109 # Quote evaled strings.
16123 deplibs_check_method \
16128 sharedlib_from_linklib_cmd \
16131 archiver_list_spec \
16137 lt_cv_sys_global_symbol_pipe \
16138 lt_cv_sys_global_symbol_to_cdecl \
16139 lt_cv_sys_global_symbol_to_c_name_address \
16140 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16141 nm_file_list_spec \
16142 lt_prog_compiler_no_builtin_flag \
16143 lt_prog_compiler_pic \
16144 lt_prog_compiler_wl \
16145 lt_prog_compiler_static \
16146 lt_cv_prog_compiler_c_o \
16155 export_dynamic_flag_spec \
16156 whole_archive_flag_spec \
16157 compiler_needs_object \
16159 allow_undefined_flag \
16160 no_undefined_flag \
16161 hardcode_libdir_flag_spec \
16162 hardcode_libdir_flag_spec_ld \
16163 hardcode_libdir_separator \
16167 variables_saved_for_relink \
16169 library_names_spec \
16171 install_override_mode \
16175 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16176 *[\\\\\\\`\\"\\\$]*)
16177 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16180 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16185 # Double-quote double-evaled strings.
16186 for var in reload_cmds \
16187 old_postinstall_cmds \
16188 old_postuninstall_cmds \
16190 extract_expsyms_cmds \
16191 old_archive_from_new_cmds \
16192 old_archive_from_expsyms_cmds \
16194 archive_expsym_cmds \
16196 module_expsym_cmds \
16197 export_symbols_cmds \
16201 postuninstall_cmds \
16203 sys_lib_search_path_spec \
16204 sys_lib_dlsearch_path_spec; do
16205 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16206 *[\\\\\\\`\\"\\\$]*)
16207 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16210 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16215 ac_aux_dir='$ac_aux_dir'
16216 xsi_shell='$xsi_shell'
16217 lt_shell_append='$lt_shell_append'
16219 # See if we are running on zsh, and set the options which allow our
16220 # commands through without removal of \ escapes INIT.
16221 if test -n "\${ZSH_VERSION+set}" ; then
16222 setopt NO_GLOB_SUBST
16228 TIMESTAMP='$TIMESTAMP'
16238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16240 # Handling of arguments.
16241 for ac_config_target in $ac_config_targets
16243 case $ac_config_target in
16244 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16245 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16246 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16247 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16248 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16249 "libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES libglabels/Makefile" ;;
16250 "libglabels/${LIBGLABELS_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglabels/${LIBGLABELS_BRANCH}.pc" ;;
16251 "libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES libglbarcode/Makefile" ;;
16252 "libglbarcode/${LIBGLBARCODE_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglbarcode/${LIBGLBARCODE_BRANCH}.pc" ;;
16253 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16254 "src/cursors/Makefile") CONFIG_FILES="$CONFIG_FILES src/cursors/Makefile" ;;
16255 "src/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/pixmaps/Makefile" ;;
16256 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16257 "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
16258 "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
16259 "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
16260 "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
16261 "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
16262 "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
16263 "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
16264 "data/man/Makefile") CONFIG_FILES="$CONFIG_FILES data/man/Makefile" ;;
16265 "data/mime/Makefile") CONFIG_FILES="$CONFIG_FILES data/mime/Makefile" ;;
16266 "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
16267 "data/schemas/Makefile") CONFIG_FILES="$CONFIG_FILES data/schemas/Makefile" ;;
16268 "data/schemas/org.gnome.glabels-3.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES data/schemas/org.gnome.glabels-3.gschema.xml.in" ;;
16269 "data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
16270 "templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
16271 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16272 "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
16273 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16274 "docs/libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglabels/Makefile" ;;
16275 "docs/libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglbarcode/Makefile" ;;
16276 "glabels.spec") CONFIG_FILES="$CONFIG_FILES glabels.spec" ;;
16277 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16279 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16284 # If the user did not use the arguments to specify the items to instantiate,
16285 # then the envvar interface is used. Set only those that are not.
16286 # We use the long form for the default assignment because of an extremely
16287 # bizarre bug on SunOS 4.1.3.
16288 if $ac_need_defaults; then
16289 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16290 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16291 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16294 # Have a temporary directory for convenience. Make it in the build tree
16295 # simply because there is no reason against having it here, and in addition,
16296 # creating and moving files from /tmp can sometimes cause problems.
16297 # Hook for its removal unless debugging.
16298 # Note that there is a small window in which the directory will not be cleaned:
16299 # after its creation but before its name has been assigned to `$tmp'.
16303 trap 'exit_status=$?
16304 : "${ac_tmp:=$tmp}"
16305 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16307 trap 'as_fn_exit 1' 1 2 13 15
16309 # Create a (secure) tmp directory for tmp files.
16312 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16316 tmp=./conf$$-$RANDOM
16317 (umask 077 && mkdir "$tmp")
16318 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16321 # Set up the scripts for CONFIG_FILES section.
16322 # No need to generate them if there are no CONFIG_FILES.
16323 # This happens for instance with `./config.status config.h'.
16324 if test -n "$CONFIG_FILES"; then
16327 ac_cr=`echo X | tr X '\015'`
16328 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16329 # But we know of no other shell where ac_cr would be empty at this
16330 # point, so we can use a bashism as a fallback.
16331 if test "x$ac_cr" = x; then
16332 eval ac_cr=\$\'\\r\'
16334 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16335 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16338 ac_cs_awk_cr=$ac_cr
16341 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16346 echo "cat >conf$$subs.awk <<_ACEOF" &&
16347 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16349 } >conf$$subs.sh ||
16350 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16351 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16353 for ac_last_try in false false false false false :; do
16354 . ./conf$$subs.sh ||
16355 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16357 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16358 if test $ac_delim_n = $ac_delim_num; then
16360 elif $ac_last_try; then
16361 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16363 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16366 rm -f conf$$subs.sh
16368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16369 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16373 s/^/S["/; s/!.*/"]=/
16383 s/\(.\{148\}\)..*/\1/
16385 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16390 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16397 s/\(.\{148\}\)..*/\1/
16399 s/["\\]/\\&/g; s/^/"/; s/$/"/
16403 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16408 ' <conf$$subs.awk | sed '
16413 ' >>$CONFIG_STATUS || ac_write_fail=1
16414 rm -f conf$$subs.awk
16415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16417 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16418 for (key in S) S_is_set[key] = 1
16424 nfields = split(line, field, "@")
16426 len = length(field[1])
16427 for (i = 2; i < nfields; i++) {
16429 keylen = length(key)
16430 if (S_is_set[key]) {
16432 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16433 len += length(value) + length(field[++i])
16444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16445 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16446 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16449 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16450 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16453 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16454 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16455 # trailing colons and then remove the whole line if VPATH becomes empty
16456 # (actually we leave an empty line to preserve line numbers).
16457 if test "x$srcdir" = x.; then
16458 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16477 fi # test -n "$CONFIG_FILES"
16479 # Set up the scripts for CONFIG_HEADERS section.
16480 # No need to generate them if there are no CONFIG_HEADERS.
16481 # This happens for instance with `./config.status Makefile'.
16482 if test -n "$CONFIG_HEADERS"; then
16483 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16487 # Transform confdefs.h into an awk script `defines.awk', embedded as
16488 # here-document in config.status, that substitutes the proper values into
16489 # config.h.in to produce config.h.
16491 # Create a delimiter string that does not exist in confdefs.h, to ease
16492 # handling of long lines.
16494 for ac_last_try in false false :; do
16495 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16496 if test -z "$ac_tt"; then
16498 elif $ac_last_try; then
16499 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16501 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16505 # For the awk script, D is an array of macro values keyed by name,
16506 # likewise P contains macro parameters if any. Preserve backslash
16507 # newline sequences.
16509 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16511 s/.\{148\}/&'"$ac_delim"'/g
16514 s/^[ ]*#[ ]*define[ ][ ]*/ /
16521 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16523 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16527 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16528 D["\1"]=" \3\\\\\\n"\\/p
16530 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16535 s/.\{148\}/&'"$ac_delim"'/g
16540 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16543 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16545 ' <confdefs.h | sed '
16546 s/'"$ac_delim"'/"\\\
16547 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16550 for (key in D) D_is_set[key] = 1
16553 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16555 split(line, arg, " ")
16556 if (arg[1] == "#") {
16560 defundef = substr(arg[1], 2)
16563 split(mac1, mac2, "(") #)
16565 prefix = substr(line, 1, index(line, defundef) - 1)
16566 if (D_is_set[macro]) {
16567 # Preserve the white space surrounding the "#".
16568 print prefix "define", macro P[macro] D[macro]
16571 # Replace #undef with comments. This is necessary, for example,
16572 # in the case of _POSIX_SOURCE, which is predefined and required
16573 # on some systems where configure will not decide to define it.
16574 if (defundef == "undef") {
16575 print "/*", prefix defundef, macro, "*/"
16583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16584 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16585 fi # test -n "$CONFIG_HEADERS"
16588 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16593 :[FHLC]) ac_mode=$ac_tag; continue;;
16595 case $ac_mode$ac_tag in
16597 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16598 :[FH]-) ac_tag=-:-;;
16599 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16616 -) ac_f="$ac_tmp/stdin";;
16617 *) # Look for the file first in the build tree, then in the source tree
16618 # (if the path is not absolute). The absolute path cannot be DOS-style,
16619 # because $ac_f cannot contain `:'.
16623 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16625 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16627 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16628 as_fn_append ac_file_inputs " '$ac_f'"
16631 # Let's still pretend it is `configure' which instantiates (i.e., don't
16632 # use $as_me), people would be surprised to read:
16633 # /* config.h. Generated by config.status. */
16634 configure_input='Generated from '`
16635 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16637 if test x"$ac_file" != x-; then
16638 configure_input="$ac_file. $configure_input"
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16640 $as_echo "$as_me: creating $ac_file" >&6;}
16642 # Neutralize special characters interpreted by sed in replacement strings.
16643 case $configure_input in #(
16644 *\&* | *\|* | *\\* )
16645 ac_sed_conf_input=`$as_echo "$configure_input" |
16646 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16647 *) ac_sed_conf_input=$configure_input;;
16651 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16652 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16657 ac_dir=`$as_dirname -- "$ac_file" ||
16658 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16659 X"$ac_file" : 'X\(//\)[^/]' \| \
16660 X"$ac_file" : 'X\(//\)$' \| \
16661 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16662 $as_echo X"$ac_file" |
16663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16667 /^X\(\/\/\)[^/].*/{
16680 as_dir="$ac_dir"; as_fn_mkdir_p
16684 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16686 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16687 # A ".." for each directory in $ac_dir_suffix.
16688 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16689 case $ac_top_builddir_sub in
16690 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16691 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16694 ac_abs_top_builddir=$ac_pwd
16695 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16696 # for backward compatibility:
16697 ac_top_builddir=$ac_top_build_prefix
16700 .) # We are building in place.
16702 ac_top_srcdir=$ac_top_builddir_sub
16703 ac_abs_top_srcdir=$ac_pwd ;;
16704 [\\/]* | ?:[\\/]* ) # Absolute name.
16705 ac_srcdir=$srcdir$ac_dir_suffix;
16706 ac_top_srcdir=$srcdir
16707 ac_abs_top_srcdir=$srcdir ;;
16708 *) # Relative name.
16709 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16710 ac_top_srcdir=$ac_top_build_prefix$srcdir
16711 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16713 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16723 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16724 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16726 ac_MKDIR_P=$MKDIR_P
16728 [\\/$]* | ?:[\\/]* ) ;;
16729 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16734 # If the template does not know about datarootdir, expand it.
16735 # FIXME: This hack should be removed a few years after 2.60.
16736 ac_datarootdir_hack=; ac_datarootdir_seen=
16747 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16748 *datarootdir*) ac_datarootdir_seen=yes;;
16749 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16751 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16754 ac_datarootdir_hack='
16755 s&@datadir@&$datadir&g
16756 s&@docdir@&$docdir&g
16757 s&@infodir@&$infodir&g
16758 s&@localedir@&$localedir&g
16759 s&@mandir@&$mandir&g
16760 s&\\\${datarootdir}&$datarootdir&g' ;;
16764 # Neutralize VPATH when `$srcdir' = `.'.
16765 # Shell code in configure.ac might set extrasub.
16766 # FIXME: do we really want to maintain this feature?
16767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16768 ac_sed_extra="$ac_vpsub
16771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16773 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16774 s|@configure_input@|$ac_sed_conf_input|;t t
16775 s&@top_builddir@&$ac_top_builddir_sub&;t t
16776 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16777 s&@srcdir@&$ac_srcdir&;t t
16778 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16779 s&@top_srcdir@&$ac_top_srcdir&;t t
16780 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16781 s&@builddir@&$ac_builddir&;t t
16782 s&@abs_builddir@&$ac_abs_builddir&;t t
16783 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16784 s&@INSTALL@&$ac_INSTALL&;t t
16785 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16786 $ac_datarootdir_hack
16788 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16789 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16791 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16792 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16793 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16794 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16796 which seems to be undefined. Please make sure it is defined" >&5
16797 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16798 which seems to be undefined. Please make sure it is defined" >&2;}
16800 rm -f "$ac_tmp/stdin"
16802 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16803 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16805 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16811 if test x"$ac_file" != x-; then
16813 $as_echo "/* $configure_input */" \
16814 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16815 } >"$ac_tmp/config.h" \
16816 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16817 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16819 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16822 mv "$ac_tmp/config.h" "$ac_file" \
16823 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16826 $as_echo "/* $configure_input */" \
16827 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16828 || as_fn_error $? "could not create -" "$LINENO" 5
16830 # Compute "$ac_file"'s index in $config_headers.
16833 for _am_header in $config_headers :; do
16834 case $_am_header in
16835 $_am_arg | $_am_arg:* )
16838 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16841 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16842 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16843 X"$_am_arg" : 'X\(//\)[^/]' \| \
16844 X"$_am_arg" : 'X\(//\)$' \| \
16845 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16846 $as_echo X"$_am_arg" |
16847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16851 /^X\(\/\/\)[^/].*/{
16863 s/.*/./; q'`/stamp-h$_am_stamp_count
16866 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16867 $as_echo "$as_me: executing $ac_file commands" >&6;}
16872 case $ac_file$ac_mode in
16873 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16874 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16875 # are listed without --file. Let's play safe and only enable the eval
16876 # if we detect the quoting.
16877 case $CONFIG_FILES in
16878 *\'*) eval set x "$CONFIG_FILES" ;;
16879 *) set x $CONFIG_FILES ;;
16884 # Strip MF so we end up with the name of the file.
16885 mf=`echo "$mf" | sed -e 's/:.*$//'`
16886 # Check whether this is an Automake generated Makefile or not.
16887 # We used to match only the files named `Makefile.in', but
16888 # some people rename them; so instead we look at the file content.
16889 # Grep'ing the first line is not enough: some people post-process
16890 # each Makefile.in and add a new line on top of each file to say so.
16891 # Grep'ing the whole file is not good either: AIX grep has a line
16892 # limit of 2048, but all sed's we know have understand at least 4000.
16893 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16894 dirpart=`$as_dirname -- "$mf" ||
16895 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16896 X"$mf" : 'X\(//\)[^/]' \| \
16897 X"$mf" : 'X\(//\)$' \| \
16898 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16904 /^X\(\/\/\)[^/].*/{
16920 # Extract the definition of DEPDIR, am__include, and am__quote
16921 # from the Makefile without running `make'.
16922 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16923 test -z "$DEPDIR" && continue
16924 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16925 test -z "am__include" && continue
16926 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16927 # When using ansi2knr, U may be empty or an underscore; expand it
16928 U=`sed -n 's/^U = //p' < "$mf"`
16929 # Find all dependency output files, they are included files with
16930 # $(DEPDIR) in their names. We invoke sed twice because it is the
16931 # simplest approach to changing $(DEPDIR) to its actual value in the
16933 for file in `sed -n "
16934 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16935 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16936 # Make sure the directory exists.
16937 test -f "$dirpart/$file" && continue
16938 fdir=`$as_dirname -- "$file" ||
16939 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16940 X"$file" : 'X\(//\)[^/]' \| \
16941 X"$file" : 'X\(//\)$' \| \
16942 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16943 $as_echo X"$file" |
16944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16948 /^X\(\/\/\)[^/].*/{
16961 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16962 # echo "creating $dirpart/$file"
16963 echo '# dummy' > "$dirpart/$file"
16970 # See if we are running on zsh, and set the options which allow our
16971 # commands through without removal of \ escapes.
16972 if test -n "${ZSH_VERSION+set}" ; then
16973 setopt NO_GLOB_SUBST
16976 cfgfile="${ofile}T"
16977 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16980 cat <<_LT_EOF >> "$cfgfile"
16983 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16984 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16985 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16986 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16988 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16989 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16991 # Written by Gordon Matzigkeit, 1996
16993 # This file is part of GNU Libtool.
16995 # GNU Libtool is free software; you can redistribute it and/or
16996 # modify it under the terms of the GNU General Public License as
16997 # published by the Free Software Foundation; either version 2 of
16998 # the License, or (at your option) any later version.
17000 # As a special exception to the GNU General Public License,
17001 # if you distribute this file as part of a program or library that
17002 # is built using GNU Libtool, you may include this file under the
17003 # same distribution terms that you use for the rest of that program.
17005 # GNU Libtool is distributed in the hope that it will be useful,
17006 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17007 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17008 # GNU General Public License for more details.
17010 # You should have received a copy of the GNU General Public License
17011 # along with GNU Libtool; see the file COPYING. If not, a copy
17012 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17013 # obtained by writing to the Free Software Foundation, Inc.,
17014 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17017 # The names of the tagged configurations supported by this script.
17020 # ### BEGIN LIBTOOL CONFIG
17022 # Which release of libtool.m4 was used?
17023 macro_version=$macro_version
17024 macro_revision=$macro_revision
17026 # Whether or not to build shared libraries.
17027 build_libtool_libs=$enable_shared
17029 # Whether or not to build static libraries.
17030 build_old_libs=$enable_static
17032 # What type of objects to build.
17035 # Whether or not to optimize for fast installation.
17036 fast_install=$enable_fast_install
17038 # Shell to use when invoking shell scripts.
17041 # An echo program that protects backslashes.
17045 host_alias=$host_alias
17049 # The build system.
17050 build_alias=$build_alias
17054 # A sed program that does not truncate output.
17057 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17058 Xsed="\$SED -e 1s/^X//"
17060 # A grep program that handles long lines.
17066 # A literal string matcher.
17069 # A BSD- or MS-compatible name lister.
17072 # Whether we need soft or hard links.
17075 # What is the maximum length of a command?
17076 max_cmd_len=$max_cmd_len
17078 # Object file suffix (normally "o").
17081 # Executable file suffix (normally "").
17084 # whether the shell understands "unset".
17087 # turn spaces into newlines.
17090 # turn newlines into spaces.
17093 # convert \$build file names to \$host format.
17094 to_host_file_cmd=$lt_cv_to_host_file_cmd
17096 # convert \$build files to toolchain format.
17097 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17099 # An object symbol dumper.
17100 OBJDUMP=$lt_OBJDUMP
17102 # Method to check whether dependent libraries are shared objects.
17103 deplibs_check_method=$lt_deplibs_check_method
17105 # Command to use when deplibs_check_method = "file_magic".
17106 file_magic_cmd=$lt_file_magic_cmd
17108 # How to find potential files when deplibs_check_method = "file_magic".
17109 file_magic_glob=$lt_file_magic_glob
17111 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17112 want_nocaseglob=$lt_want_nocaseglob
17114 # DLL creation program.
17115 DLLTOOL=$lt_DLLTOOL
17117 # Command to associate shared and link libraries.
17118 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17123 # Flags to create an archive.
17124 AR_FLAGS=$lt_AR_FLAGS
17126 # How to feed a file listing to the archiver.
17127 archiver_list_spec=$lt_archiver_list_spec
17129 # A symbol stripping program.
17132 # Commands used to install an old-style archive.
17134 old_postinstall_cmds=$lt_old_postinstall_cmds
17135 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17137 # Whether to use a lock for old archive extraction.
17138 lock_old_archive_extraction=$lock_old_archive_extraction
17143 # LTCC compiler flags.
17144 LTCFLAGS=$lt_CFLAGS
17146 # Take the output of nm and produce a listing of raw symbols and C names.
17147 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17149 # Transform the output of nm in a proper C declaration.
17150 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17152 # Transform the output of nm in a C name address pair.
17153 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17155 # Transform the output of nm in a C name address pair when lib prefix is needed.
17156 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17158 # Specify filename containing input files for \$NM.
17159 nm_file_list_spec=$lt_nm_file_list_spec
17161 # The root where to search for dependent libraries,and in which our libraries should be installed.
17162 lt_sysroot=$lt_sysroot
17164 # The name of the directory that contains temporary libtool files.
17167 # Used to examine libraries when file_magic_cmd begins with "file".
17168 MAGIC_CMD=$MAGIC_CMD
17170 # Must we lock files when doing compilation?
17171 need_locks=$lt_need_locks
17174 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17176 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17177 DSYMUTIL=$lt_DSYMUTIL
17179 # Tool to change global to local symbols on Mac OS X.
17182 # Tool to manipulate fat objects and archives on Mac OS X.
17185 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17188 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17189 OTOOL64=$lt_OTOOL64
17191 # Old archive suffix (normally "a").
17194 # Shared library suffix (normally ".so").
17195 shrext_cmds=$lt_shrext_cmds
17197 # The commands to extract the exported symbol list from a shared archive.
17198 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17200 # Variables whose values should be saved in libtool wrapper scripts and
17201 # restored at link time.
17202 variables_saved_for_relink=$lt_variables_saved_for_relink
17204 # Do we need the "lib" prefix for modules?
17205 need_lib_prefix=$need_lib_prefix
17207 # Do we need a version for libraries?
17208 need_version=$need_version
17210 # Library versioning type.
17211 version_type=$version_type
17213 # Shared library runtime path variable.
17214 runpath_var=$runpath_var
17216 # Shared library path variable.
17217 shlibpath_var=$shlibpath_var
17219 # Is shlibpath searched before the hard-coded library search path?
17220 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17222 # Format of library name prefix.
17223 libname_spec=$lt_libname_spec
17225 # List of archive names. First name is the real one, the rest are links.
17226 # The last name is the one that the linker finds with -lNAME
17227 library_names_spec=$lt_library_names_spec
17229 # The coded name of the library, if different from the real name.
17230 soname_spec=$lt_soname_spec
17232 # Permission mode override for installation of shared libraries.
17233 install_override_mode=$lt_install_override_mode
17235 # Command to use after installation of a shared archive.
17236 postinstall_cmds=$lt_postinstall_cmds
17238 # Command to use after uninstallation of a shared archive.
17239 postuninstall_cmds=$lt_postuninstall_cmds
17241 # Commands used to finish a libtool library installation in a directory.
17242 finish_cmds=$lt_finish_cmds
17244 # As "finish_cmds", except a single script fragment to be evaled but
17246 finish_eval=$lt_finish_eval
17248 # Whether we should hardcode library paths into libraries.
17249 hardcode_into_libs=$hardcode_into_libs
17251 # Compile-time system search path for libraries.
17252 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17254 # Run-time system search path for libraries.
17255 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17257 # Whether dlopen is supported.
17258 dlopen_support=$enable_dlopen
17260 # Whether dlopen of programs is supported.
17261 dlopen_self=$enable_dlopen_self
17263 # Whether dlopen of statically linked programs is supported.
17264 dlopen_self_static=$enable_dlopen_self_static
17266 # Commands to strip libraries.
17267 old_striplib=$lt_old_striplib
17268 striplib=$lt_striplib
17271 # The linker used to build libraries.
17274 # How to create reloadable object files.
17275 reload_flag=$lt_reload_flag
17276 reload_cmds=$lt_reload_cmds
17278 # Commands used to build an old-style archive.
17279 old_archive_cmds=$lt_old_archive_cmds
17281 # A language specific compiler.
17284 # Is the compiler the GNU compiler?
17287 # Compiler flag to turn off builtin functions.
17288 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17290 # Additional compiler flags for building library objects.
17291 pic_flag=$lt_lt_prog_compiler_pic
17293 # How to pass a linker flag through the compiler.
17294 wl=$lt_lt_prog_compiler_wl
17296 # Compiler flag to prevent dynamic linking.
17297 link_static_flag=$lt_lt_prog_compiler_static
17299 # Does compiler simultaneously support -c and -o options?
17300 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17302 # Whether or not to add -lc for building shared libraries.
17303 build_libtool_need_lc=$archive_cmds_need_lc
17305 # Whether or not to disallow shared libs when runtime libs are static.
17306 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17308 # Compiler flag to allow reflexive dlopens.
17309 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17311 # Compiler flag to generate shared objects directly from archives.
17312 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17314 # Whether the compiler copes with passing no objects directly.
17315 compiler_needs_object=$lt_compiler_needs_object
17317 # Create an old-style archive from a shared archive.
17318 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17320 # Create a temporary old-style archive to link instead of a shared archive.
17321 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17323 # Commands used to build a shared archive.
17324 archive_cmds=$lt_archive_cmds
17325 archive_expsym_cmds=$lt_archive_expsym_cmds
17327 # Commands used to build a loadable module if different from building
17328 # a shared archive.
17329 module_cmds=$lt_module_cmds
17330 module_expsym_cmds=$lt_module_expsym_cmds
17332 # Whether we are building with GNU ld or not.
17333 with_gnu_ld=$lt_with_gnu_ld
17335 # Flag that allows shared libraries with undefined symbols to be built.
17336 allow_undefined_flag=$lt_allow_undefined_flag
17338 # Flag that enforces no undefined symbols.
17339 no_undefined_flag=$lt_no_undefined_flag
17341 # Flag to hardcode \$libdir into a binary during linking.
17342 # This must work even if \$libdir does not exist
17343 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17345 # If ld is used when linking, flag to hardcode \$libdir into a binary
17346 # during linking. This must work even if \$libdir does not exist.
17347 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17349 # Whether we need a single "-rpath" flag with a separated argument.
17350 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17352 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17353 # DIR into the resulting binary.
17354 hardcode_direct=$hardcode_direct
17356 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17357 # DIR into the resulting binary and the resulting library dependency is
17358 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17359 # library is relocated.
17360 hardcode_direct_absolute=$hardcode_direct_absolute
17362 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17363 # into the resulting binary.
17364 hardcode_minus_L=$hardcode_minus_L
17366 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17367 # into the resulting binary.
17368 hardcode_shlibpath_var=$hardcode_shlibpath_var
17370 # Set to "yes" if building a shared library automatically hardcodes DIR
17371 # into the library and all subsequent libraries and executables linked
17373 hardcode_automatic=$hardcode_automatic
17375 # Set to yes if linker adds runtime paths of dependent libraries
17376 # to runtime path list.
17377 inherit_rpath=$inherit_rpath
17379 # Whether libtool must link a program against all its dependency libraries.
17380 link_all_deplibs=$link_all_deplibs
17382 # Set to "yes" if exported symbols are required.
17383 always_export_symbols=$always_export_symbols
17385 # The commands to list exported symbols.
17386 export_symbols_cmds=$lt_export_symbols_cmds
17388 # Symbols that should not be listed in the preloaded symbols.
17389 exclude_expsyms=$lt_exclude_expsyms
17391 # Symbols that must always be exported.
17392 include_expsyms=$lt_include_expsyms
17394 # Commands necessary for linking programs (against libraries) with templates.
17395 prelink_cmds=$lt_prelink_cmds
17397 # Commands necessary for finishing linking programs.
17398 postlink_cmds=$lt_postlink_cmds
17400 # Specify filename containing input files.
17401 file_list_spec=$lt_file_list_spec
17403 # How to hardcode a shared library path into an executable.
17404 hardcode_action=$hardcode_action
17406 # ### END LIBTOOL CONFIG
17412 cat <<\_LT_EOF >> "$cfgfile"
17413 # AIX sometimes has problems with the GCC collect2 program. For some
17414 # reason, if we set the COLLECT_NAMES environment variable, the problems
17415 # vanish in a puff of smoke.
17416 if test "X${COLLECT_NAMES+set}" != Xset; then
17418 export COLLECT_NAMES
17425 ltmain="$ac_aux_dir/ltmain.sh"
17428 # We use sed instead of cat because bash on DJGPP gets confused if
17429 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17430 # text mode, it properly converts lines to CR/LF. This bash problem
17431 # is reportedly fixed, but why not run on old versions too?
17432 sed '$q' "$ltmain" >> "$cfgfile" \
17433 || (rm -f "$cfgfile"; exit 1)
17435 if test x"$xsi_shell" = xyes; then
17436 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17440 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17441 \ * ) func_dirname_result="${3}" ;;\
17443 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17444 && mv -f "$cfgfile.tmp" "$cfgfile" \
17445 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17446 test 0 -eq $? || _lt_function_replace_fail=:
17449 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17452 \ func_basename_result="${1##*/}"\
17453 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17454 && mv -f "$cfgfile.tmp" "$cfgfile" \
17455 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17456 test 0 -eq $? || _lt_function_replace_fail=:
17459 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17460 func_dirname_and_basename ()\
17463 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17464 \ * ) func_dirname_result="${3}" ;;\
17466 \ func_basename_result="${1##*/}"\
17467 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17468 && mv -f "$cfgfile.tmp" "$cfgfile" \
17469 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17470 test 0 -eq $? || _lt_function_replace_fail=:
17473 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17476 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17477 \ # positional parameters, so assign one to ordinary parameter first.\
17478 \ func_stripname_result=${3}\
17479 \ func_stripname_result=${func_stripname_result#"${1}"}\
17480 \ func_stripname_result=${func_stripname_result%"${2}"}\
17481 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17482 && mv -f "$cfgfile.tmp" "$cfgfile" \
17483 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17484 test 0 -eq $? || _lt_function_replace_fail=:
17487 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17488 func_split_long_opt ()\
17490 \ func_split_long_opt_name=${1%%=*}\
17491 \ func_split_long_opt_arg=${1#*=}\
17492 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17493 && mv -f "$cfgfile.tmp" "$cfgfile" \
17494 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17495 test 0 -eq $? || _lt_function_replace_fail=:
17498 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17499 func_split_short_opt ()\
17501 \ func_split_short_opt_arg=${1#??}\
17502 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17503 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17504 && mv -f "$cfgfile.tmp" "$cfgfile" \
17505 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17506 test 0 -eq $? || _lt_function_replace_fail=:
17509 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17513 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17514 \ *) func_lo2o_result=${1} ;;\
17516 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17517 && mv -f "$cfgfile.tmp" "$cfgfile" \
17518 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17519 test 0 -eq $? || _lt_function_replace_fail=:
17522 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17525 func_xform_result=${1%.*}.lo\
17526 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17527 && mv -f "$cfgfile.tmp" "$cfgfile" \
17528 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17529 test 0 -eq $? || _lt_function_replace_fail=:
17532 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17535 func_arith_result=$(( $* ))\
17536 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17537 && mv -f "$cfgfile.tmp" "$cfgfile" \
17538 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17539 test 0 -eq $? || _lt_function_replace_fail=:
17542 sed -e '/^func_len ()$/,/^} # func_len /c\
17545 func_len_result=${#1}\
17546 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17547 && mv -f "$cfgfile.tmp" "$cfgfile" \
17548 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17549 test 0 -eq $? || _lt_function_replace_fail=:
17553 if test x"$lt_shell_append" = xyes; then
17554 sed -e '/^func_append ()$/,/^} # func_append /c\
17557 eval "${1}+=\\${2}"\
17558 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17559 && mv -f "$cfgfile.tmp" "$cfgfile" \
17560 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17561 test 0 -eq $? || _lt_function_replace_fail=:
17564 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17565 func_append_quoted ()\
17567 \ func_quote_for_eval "${2}"\
17568 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17569 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17570 && mv -f "$cfgfile.tmp" "$cfgfile" \
17571 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17572 test 0 -eq $? || _lt_function_replace_fail=:
17575 # Save a `func_append' function call where possible by direct use of '+='
17576 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17577 && mv -f "$cfgfile.tmp" "$cfgfile" \
17578 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17579 test 0 -eq $? || _lt_function_replace_fail=:
17581 # Save a `func_append' function call even when '+=' is not available
17582 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17583 && mv -f "$cfgfile.tmp" "$cfgfile" \
17584 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17585 test 0 -eq $? || _lt_function_replace_fail=:
17588 if test x"$_lt_function_replace_fail" = x":"; then
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17590 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17594 mv -f "$cfgfile" "$ofile" ||
17595 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17599 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17600 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17603 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17604 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17606 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17611 '"s|^| $ac_top_srcdir/|" \
17612 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17614 sed '/^POTFILES =/,/[^\\]$/ {
17618 ' "po/Makefile.in" >"po/Makefile"
17619 rm -f "po/Makefile.tmp"
17620 mv "po/stamp-it.tmp" "po/stamp-it"
17629 ac_clean_files=$ac_clean_files_save
17631 test $ac_write_fail = 0 ||
17632 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17635 # configure is writing to config.log, and then calls config.status.
17636 # config.status does its own redirection, appending to config.log.
17637 # Unfortunately, on DOS this fails, as config.log is still kept open
17638 # by configure, so config.status won't be able to write to it; its
17639 # output is simply discarded. So we exec the FD to /dev/null,
17640 # effectively closing config.log, so it can be properly (re)opened and
17641 # appended to by config.status. When coming back to configure, we
17642 # need to make the FD available again.
17643 if test "$no_create" != yes; then
17645 ac_config_status_args=
17646 test "$silent" = yes &&
17647 ac_config_status_args="$ac_config_status_args --quiet"
17649 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17651 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17652 # would make configure fail if this is the last instruction.
17653 $ac_cs_success || as_fn_exit 1
17655 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17657 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17666 Package ................. ${PACKAGE}-${VERSION}
17667 Installation prefix ..... ${prefix}
17668 Source code location .... ${srcdir}
17669 Compiler ................ ${CC}
17672 Optional data merge backends:
17674 Evolution Data Server ... ${have_libebook}
17677 Optional barcode backends:
17679 GNU Barcode ............. ${have_libbarcode} ${help_libbarcode}
17680 QR Code ................. ${have_libqrencode} ${help_libqrencode}
17681 IEC 16022 ............... ${have_libiec16022} ${help_libiec16022}
17682 Zint .................... ${have_libzint} ${help_libzint}