2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for glabels 3.2.0.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=glabels
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='glabels'
593 PACKAGE_TARNAME='glabels'
594 PACKAGE_VERSION='3.2.0'
595 PACKAGE_STRING='glabels 3.2.0'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glabels'
599 ac_unique_file="src/glabels.c"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
652 DISABLE_DEPRECATED_CFLAGS
680 LIBGLBARCODE_API_VERSION
681 LIBGLABELS_API_VERSION
685 GTK_UPDATE_ICON_CACHE
692 GSETTINGS_DISABLE_SCHEMAS_COMPILE
693 GTK_DOC_USE_REBASE_FALSE
694 GTK_DOC_USE_REBASE_TRUE
695 GTK_DOC_USE_LIBTOOL_FALSE
696 GTK_DOC_USE_LIBTOOL_TRUE
697 GTK_DOC_BUILD_PDF_FALSE
698 GTK_DOC_BUILD_PDF_TRUE
699 GTK_DOC_BUILD_HTML_FALSE
700 GTK_DOC_BUILD_HTML_TRUE
771 INTLTOOL_SERVICE_RULE
773 INTLTOOL_SCHEMAS_RULE
775 INTLTOOL_XML_NOMERGE_RULE
780 INTLTOOL_SOUNDLIST_RULE
787 INTLTOOL_DIRECTORY_RULE
788 INTLTOOL_DESKTOP_RULE
789 intltool__v_merge_options_0
790 intltool__v_merge_options_
791 INTLTOOL_V_MERGE_OPTIONS
804 MAINTAINER_MODE_FALSE
814 INSTALL_STRIP_PROGRAM
856 program_transform_name
869 enable_option_checking
870 enable_maintainer_mode
873 enable_dependency_tracking
886 enable_schemas_compile
887 enable_compile_warnings
896 ac_precious_vars='build_alias
926 # Initialize some variables set by options.
928 ac_init_version=false
929 ac_unrecognized_opts=
931 # The variables have the same names as the options, with
932 # dashes changed to underlines.
940 program_transform_name=s,x,x,
948 # Installation directory options.
949 # These are left unexpanded so users can "make install exec_prefix=/foo"
950 # and all the variables that are supposed to be based on exec_prefix
951 # by default will actually change.
952 # Use braces instead of parens because sh, perl, etc. also accept them.
953 # (The list follows the same order as the GNU Coding Standards.)
954 bindir='${exec_prefix}/bin'
955 sbindir='${exec_prefix}/sbin'
956 libexecdir='${exec_prefix}/libexec'
957 datarootdir='${prefix}/share'
958 datadir='${datarootdir}'
959 sysconfdir='${prefix}/etc'
960 sharedstatedir='${prefix}/com'
961 localstatedir='${prefix}/var'
962 includedir='${prefix}/include'
963 oldincludedir='/usr/include'
964 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
965 infodir='${datarootdir}/info'
970 libdir='${exec_prefix}/lib'
971 localedir='${datarootdir}/locale'
972 mandir='${datarootdir}/man'
978 # If the previous option needs an argument, assign it.
979 if test -n "$ac_prev"; then
980 eval $ac_prev=\$ac_option
986 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
991 # Accept the important Cygnus configure options, so we can diagnose typos.
993 case $ac_dashdash$ac_option in
997 -bindir | --bindir | --bindi | --bind | --bin | --bi)
999 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1000 bindir=$ac_optarg ;;
1002 -build | --build | --buil | --bui | --bu)
1003 ac_prev=build_alias ;;
1004 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1005 build_alias=$ac_optarg ;;
1007 -cache-file | --cache-file | --cache-fil | --cache-fi \
1008 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1009 ac_prev=cache_file ;;
1010 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1011 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1012 cache_file=$ac_optarg ;;
1014 --config-cache | -C)
1015 cache_file=config.cache ;;
1017 -datadir | --datadir | --datadi | --datad)
1019 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1020 datadir=$ac_optarg ;;
1022 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1023 | --dataroo | --dataro | --datar)
1024 ac_prev=datarootdir ;;
1025 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1026 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1027 datarootdir=$ac_optarg ;;
1029 -disable-* | --disable-*)
1030 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1033 as_fn_error $? "invalid feature name: $ac_useropt"
1034 ac_useropt_orig=$ac_useropt
1035 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1036 case $ac_user_opts in
1038 "enable_$ac_useropt"
1040 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1041 ac_unrecognized_sep=', ';;
1043 eval enable_$ac_useropt=no ;;
1045 -docdir | --docdir | --docdi | --doc | --do)
1047 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1048 docdir=$ac_optarg ;;
1050 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1052 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1053 dvidir=$ac_optarg ;;
1055 -enable-* | --enable-*)
1056 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059 as_fn_error $? "invalid feature name: $ac_useropt"
1060 ac_useropt_orig=$ac_useropt
1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1064 "enable_$ac_useropt"
1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1067 ac_unrecognized_sep=', ';;
1069 eval enable_$ac_useropt=\$ac_optarg ;;
1071 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1072 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1073 | --exec | --exe | --ex)
1074 ac_prev=exec_prefix ;;
1075 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1076 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1077 | --exec=* | --exe=* | --ex=*)
1078 exec_prefix=$ac_optarg ;;
1080 -gas | --gas | --ga | --g)
1081 # Obsolete; use --with-gas.
1084 -help | --help | --hel | --he | -h)
1085 ac_init_help=long ;;
1086 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1087 ac_init_help=recursive ;;
1088 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1089 ac_init_help=short ;;
1091 -host | --host | --hos | --ho)
1092 ac_prev=host_alias ;;
1093 -host=* | --host=* | --hos=* | --ho=*)
1094 host_alias=$ac_optarg ;;
1096 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1098 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1100 htmldir=$ac_optarg ;;
1102 -includedir | --includedir | --includedi | --included | --include \
1103 | --includ | --inclu | --incl | --inc)
1104 ac_prev=includedir ;;
1105 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1106 | --includ=* | --inclu=* | --incl=* | --inc=*)
1107 includedir=$ac_optarg ;;
1109 -infodir | --infodir | --infodi | --infod | --info | --inf)
1111 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1112 infodir=$ac_optarg ;;
1114 -libdir | --libdir | --libdi | --libd)
1116 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1117 libdir=$ac_optarg ;;
1119 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1120 | --libexe | --libex | --libe)
1121 ac_prev=libexecdir ;;
1122 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1123 | --libexe=* | --libex=* | --libe=*)
1124 libexecdir=$ac_optarg ;;
1126 -localedir | --localedir | --localedi | --localed | --locale)
1127 ac_prev=localedir ;;
1128 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1129 localedir=$ac_optarg ;;
1131 -localstatedir | --localstatedir | --localstatedi | --localstated \
1132 | --localstate | --localstat | --localsta | --localst | --locals)
1133 ac_prev=localstatedir ;;
1134 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1135 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1136 localstatedir=$ac_optarg ;;
1138 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1140 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1141 mandir=$ac_optarg ;;
1143 -nfp | --nfp | --nf)
1144 # Obsolete; use --without-fp.
1147 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1148 | --no-cr | --no-c | -n)
1151 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1152 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1155 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1156 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1157 | --oldin | --oldi | --old | --ol | --o)
1158 ac_prev=oldincludedir ;;
1159 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1160 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1161 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1162 oldincludedir=$ac_optarg ;;
1164 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1166 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1167 prefix=$ac_optarg ;;
1169 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1170 | --program-pre | --program-pr | --program-p)
1171 ac_prev=program_prefix ;;
1172 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1173 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1174 program_prefix=$ac_optarg ;;
1176 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1177 | --program-suf | --program-su | --program-s)
1178 ac_prev=program_suffix ;;
1179 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1180 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1181 program_suffix=$ac_optarg ;;
1183 -program-transform-name | --program-transform-name \
1184 | --program-transform-nam | --program-transform-na \
1185 | --program-transform-n | --program-transform- \
1186 | --program-transform | --program-transfor \
1187 | --program-transfo | --program-transf \
1188 | --program-trans | --program-tran \
1189 | --progr-tra | --program-tr | --program-t)
1190 ac_prev=program_transform_name ;;
1191 -program-transform-name=* | --program-transform-name=* \
1192 | --program-transform-nam=* | --program-transform-na=* \
1193 | --program-transform-n=* | --program-transform-=* \
1194 | --program-transform=* | --program-transfor=* \
1195 | --program-transfo=* | --program-transf=* \
1196 | --program-trans=* | --program-tran=* \
1197 | --progr-tra=* | --program-tr=* | --program-t=*)
1198 program_transform_name=$ac_optarg ;;
1200 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1202 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1203 pdfdir=$ac_optarg ;;
1205 -psdir | --psdir | --psdi | --psd | --ps)
1207 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1210 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1211 | -silent | --silent | --silen | --sile | --sil)
1214 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1216 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1218 sbindir=$ac_optarg ;;
1220 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1221 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1222 | --sharedst | --shareds | --shared | --share | --shar \
1224 ac_prev=sharedstatedir ;;
1225 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1226 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1227 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1229 sharedstatedir=$ac_optarg ;;
1231 -site | --site | --sit)
1233 -site=* | --site=* | --sit=*)
1236 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1238 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1239 srcdir=$ac_optarg ;;
1241 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1242 | --syscon | --sysco | --sysc | --sys | --sy)
1243 ac_prev=sysconfdir ;;
1244 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1245 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1246 sysconfdir=$ac_optarg ;;
1248 -target | --target | --targe | --targ | --tar | --ta | --t)
1249 ac_prev=target_alias ;;
1250 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1251 target_alias=$ac_optarg ;;
1253 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1256 -version | --version | --versio | --versi | --vers | -V)
1257 ac_init_version=: ;;
1260 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1261 # Reject names that are not valid shell variable names.
1262 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1263 as_fn_error $? "invalid package name: $ac_useropt"
1264 ac_useropt_orig=$ac_useropt
1265 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1266 case $ac_user_opts in
1270 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1271 ac_unrecognized_sep=', ';;
1273 eval with_$ac_useropt=\$ac_optarg ;;
1275 -without-* | --without-*)
1276 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1277 # Reject names that are not valid shell variable names.
1278 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1279 as_fn_error $? "invalid package name: $ac_useropt"
1280 ac_useropt_orig=$ac_useropt
1281 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1282 case $ac_user_opts in
1286 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1287 ac_unrecognized_sep=', ';;
1289 eval with_$ac_useropt=no ;;
1292 # Obsolete; use --with-x.
1295 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1296 | --x-incl | --x-inc | --x-in | --x-i)
1297 ac_prev=x_includes ;;
1298 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1299 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1300 x_includes=$ac_optarg ;;
1302 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1303 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1304 ac_prev=x_libraries ;;
1305 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1306 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1307 x_libraries=$ac_optarg ;;
1309 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1310 Try \`$0 --help' for more information"
1314 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1315 # Reject names that are not valid shell variable names.
1316 case $ac_envvar in #(
1317 '' | [0-9]* | *[!_$as_cr_alnum]* )
1318 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1320 eval $ac_envvar=\$ac_optarg
1321 export $ac_envvar ;;
1324 # FIXME: should be removed in autoconf 3.0.
1325 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1326 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1327 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1328 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1334 if test -n "$ac_prev"; then
1335 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1336 as_fn_error $? "missing argument to $ac_option"
1339 if test -n "$ac_unrecognized_opts"; then
1340 case $enable_option_checking in
1342 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1343 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1347 # Check all directory arguments for consistency.
1348 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1349 datadir sysconfdir sharedstatedir localstatedir includedir \
1350 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1351 libdir localedir mandir
1353 eval ac_val=\$$ac_var
1354 # Remove trailing slashes.
1357 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1358 eval $ac_var=\$ac_val;;
1360 # Be sure to have absolute directory names.
1362 [\\/$]* | ?:[\\/]* ) continue;;
1363 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1365 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1368 # There might be people who depend on the old broken behavior: `$host'
1369 # used to hold the argument of --host etc.
1370 # FIXME: To remove some day.
1373 target=$target_alias
1375 # FIXME: To remove some day.
1376 if test "x$host_alias" != x; then
1377 if test "x$build_alias" = x; then
1378 cross_compiling=maybe
1379 elif test "x$build_alias" != "x$host_alias"; then
1385 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1387 test "$silent" = yes && exec 6>/dev/null
1390 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1391 ac_ls_di=`ls -di .` &&
1392 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1393 as_fn_error $? "working directory cannot be determined"
1394 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1395 as_fn_error $? "pwd does not report name of working directory"
1398 # Find the source files, if location was not specified.
1399 if test -z "$srcdir"; then
1400 ac_srcdir_defaulted=yes
1401 # Try the directory containing this script, then the parent directory.
1402 ac_confdir=`$as_dirname -- "$as_myself" ||
1403 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1404 X"$as_myself" : 'X\(//\)[^/]' \| \
1405 X"$as_myself" : 'X\(//\)$' \| \
1406 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1407 $as_echo X"$as_myself" |
1408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1426 if test ! -r "$srcdir/$ac_unique_file"; then
1430 ac_srcdir_defaulted=no
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1433 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1434 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1436 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1438 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1440 # When building in place, set srcdir=.
1441 if test "$ac_abs_confdir" = "$ac_pwd"; then
1444 # Remove unnecessary trailing slashes from srcdir.
1445 # Double slashes in file names in object file debugging info
1446 # mess up M-x gdb in Emacs.
1448 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1450 for ac_var in $ac_precious_vars; do
1451 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1452 eval ac_env_${ac_var}_value=\$${ac_var}
1453 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1454 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1458 # Report the --help message.
1460 if test "$ac_init_help" = "long"; then
1461 # Omit some internal or obsolete options to make the list less imposing.
1462 # This message is too long to be a string in the A/UX 3.1 sh.
1464 \`configure' configures glabels 3.2.0 to adapt to many kinds of systems.
1466 Usage: $0 [OPTION]... [VAR=VALUE]...
1468 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1469 VAR=VALUE. See below for descriptions of some of the useful variables.
1471 Defaults for the options are specified in brackets.
1474 -h, --help display this help and exit
1475 --help=short display options specific to this package
1476 --help=recursive display the short help of all the included packages
1477 -V, --version display version information and exit
1478 -q, --quiet, --silent do not print \`checking ...' messages
1479 --cache-file=FILE cache test results in FILE [disabled]
1480 -C, --config-cache alias for \`--cache-file=config.cache'
1481 -n, --no-create do not create output files
1482 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1484 Installation directories:
1485 --prefix=PREFIX install architecture-independent files in PREFIX
1486 [$ac_default_prefix]
1487 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1490 By default, \`make install' will install all the files in
1491 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1492 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1493 for instance \`--prefix=\$HOME'.
1495 For better control, use the options below.
1497 Fine tuning of the installation directories:
1498 --bindir=DIR user executables [EPREFIX/bin]
1499 --sbindir=DIR system admin executables [EPREFIX/sbin]
1500 --libexecdir=DIR program executables [EPREFIX/libexec]
1501 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1502 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1503 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1504 --libdir=DIR object code libraries [EPREFIX/lib]
1505 --includedir=DIR C header files [PREFIX/include]
1506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1509 --infodir=DIR info documentation [DATAROOTDIR/info]
1510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1511 --mandir=DIR man documentation [DATAROOTDIR/man]
1512 --docdir=DIR documentation root [DATAROOTDIR/doc/glabels]
1513 --htmldir=DIR html documentation [DOCDIR]
1514 --dvidir=DIR dvi documentation [DOCDIR]
1515 --pdfdir=DIR pdf documentation [DOCDIR]
1516 --psdir=DIR ps documentation [DOCDIR]
1522 --program-prefix=PREFIX prepend PREFIX to installed program names
1523 --program-suffix=SUFFIX append SUFFIX to installed program names
1524 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1527 --build=BUILD configure for building on BUILD [guessed]
1528 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1532 if test -n "$ac_init_help"; then
1533 case $ac_init_help in
1534 short | recursive ) echo "Configuration of glabels 3.2.0:";;
1539 --disable-option-checking ignore unrecognized --enable/--with options
1540 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1541 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1542 --enable-maintainer-mode enable make rules and dependencies not useful
1543 (and sometimes confusing) to the casual installer
1544 --enable-silent-rules less verbose build output (undo: `make V=1')
1545 --disable-silent-rules verbose build output (undo: `make V=0')
1546 --disable-nls do not use Native Language Support
1547 --disable-dependency-tracking speeds up one-time build
1548 --enable-dependency-tracking do not reject slow dependency extractors
1549 --enable-shared[=PKGS] build shared libraries [default=yes]
1550 --enable-static[=PKGS] build static libraries [default=yes]
1551 --enable-fast-install[=PKGS]
1552 optimize for fast installation [default=yes]
1553 --disable-libtool-lock avoid locking (might break parallel builds)
1554 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1555 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1556 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1557 --disable-schemas-compile
1558 Disable regeneration of gschemas.compiled on install
1559 --enable-compile-warnings=[no/minimum/yes/maximum/error]
1560 Turn on compiler warnings
1561 --enable-iso-c Try to warn if code is not ISO C
1562 --enable-deprecations warn about deprecated usages [default=no]
1565 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1566 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1567 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1569 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1570 --with-sysroot=DIR Search for dependent libraries within DIR
1571 (or the compiler's sysroot if not specified).
1572 --with-help-dir=DIR path where help files are installed
1573 --with-html-dir=PATH path to installed docs
1574 --without-libebook build without Evolution Data Server support
1575 --without-libbarcode build without GNU Barcode support
1576 --without-libzint build without Zint Barcode support
1577 --without-libqrencode build without QR code support
1578 --without-libiec16022 build without IEC 16022 support
1580 Some influential environment variables:
1581 CC C compiler command
1582 CFLAGS C compiler flags
1583 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1584 nonstandard directory <lib dir>
1585 LIBS libraries to pass to the linker, e.g. -l<library>
1586 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1587 you have headers in a nonstandard directory <include dir>
1588 PKG_CONFIG path to pkg-config utility
1590 directories to add to pkg-config's search path
1592 path overriding pkg-config's built-in search path
1594 ITSTOOL Path to the `itstool` command
1595 XMLLINT Path to the `xmllint` command
1597 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1599 linker flags for GTKDOC_DEPS, overriding pkg-config
1601 C compiler flags for GLABELS, overriding pkg-config
1603 linker flags for GLABELS, overriding pkg-config
1605 C compiler flags for LIBGLABELS, overriding pkg-config
1607 linker flags for LIBGLABELS, overriding pkg-config
1609 C compiler flags for LIBGLBARCODE, overriding pkg-config
1611 linker flags for LIBGLBARCODE, overriding pkg-config
1613 C compiler flags for LIBEBOOK, overriding pkg-config
1615 linker flags for LIBEBOOK, overriding pkg-config
1617 C compiler flags for LIBQRENCODE, overriding pkg-config
1619 linker flags for LIBQRENCODE, overriding pkg-config
1621 C compiler flags for LIBIEC16022, overriding pkg-config
1623 linker flags for LIBIEC16022, overriding pkg-config
1625 Use these variables to override the choices made by `configure' or to help
1626 it to find libraries and programs with nonstandard names/locations.
1628 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
1633 if test "$ac_init_help" = "recursive"; then
1634 # If there are subdirs, report their specific --help.
1635 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1636 test -d "$ac_dir" ||
1637 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1642 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1644 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1645 # A ".." for each directory in $ac_dir_suffix.
1646 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1647 case $ac_top_builddir_sub in
1648 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1649 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1652 ac_abs_top_builddir=$ac_pwd
1653 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1654 # for backward compatibility:
1655 ac_top_builddir=$ac_top_build_prefix
1658 .) # We are building in place.
1660 ac_top_srcdir=$ac_top_builddir_sub
1661 ac_abs_top_srcdir=$ac_pwd ;;
1662 [\\/]* | ?:[\\/]* ) # Absolute name.
1663 ac_srcdir=$srcdir$ac_dir_suffix;
1664 ac_top_srcdir=$srcdir
1665 ac_abs_top_srcdir=$srcdir ;;
1667 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1668 ac_top_srcdir=$ac_top_build_prefix$srcdir
1669 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1671 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1673 cd "$ac_dir" || { ac_status=$?; continue; }
1674 # Check for guested configure.
1675 if test -f "$ac_srcdir/configure.gnu"; then
1677 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1678 elif test -f "$ac_srcdir/configure"; then
1680 $SHELL "$ac_srcdir/configure" --help=recursive
1682 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1684 cd "$ac_pwd" || { ac_status=$?; break; }
1688 test -n "$ac_init_help" && exit $ac_status
1689 if $ac_init_version; then
1691 glabels configure 3.2.0
1692 generated by GNU Autoconf 2.69
1694 Copyright (C) 2012 Free Software Foundation, Inc.
1695 This configure script is free software; the Free Software Foundation
1696 gives unlimited permission to copy, distribute and modify it.
1701 ## ------------------------ ##
1702 ## Autoconf initialization. ##
1703 ## ------------------------ ##
1705 # ac_fn_c_try_compile LINENO
1706 # --------------------------
1707 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1708 ac_fn_c_try_compile ()
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 rm -f conftest.$ac_objext
1712 if { { ac_try="$ac_compile"
1714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_compile") 2>conftest.err
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && {
1728 test -z "$ac_c_werror_flag" ||
1729 test ! -s conftest.err
1730 } && test -s conftest.$ac_objext; then :
1733 $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1739 as_fn_set_status $ac_retval
1741 } # ac_fn_c_try_compile
1743 # ac_fn_c_try_link LINENO
1744 # -----------------------
1745 # Try to link conftest.$ac_ext, and return whether this succeeded.
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 rm -f conftest.$ac_objext conftest$ac_exeext
1750 if { { ac_try="$ac_link"
1752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1753 *) ac_try_echo=$ac_try;;
1755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_link") 2>conftest.err
1759 if test -s conftest.err; then
1760 grep -v '^ *+' conftest.err >conftest.er1
1761 cat conftest.er1 >&5
1762 mv -f conftest.er1 conftest.err
1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765 test $ac_status = 0; } && {
1766 test -z "$ac_c_werror_flag" ||
1767 test ! -s conftest.err
1768 } && test -s conftest$ac_exeext && {
1769 test "$cross_compiling" = yes ||
1770 test -x conftest$ac_exeext
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1779 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1780 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1781 # interfere with the next link command; also delete a directory that is
1782 # left behind by Apple's compiler. We do this before executing the actions.
1783 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785 as_fn_set_status $ac_retval
1787 } # ac_fn_c_try_link
1789 # ac_fn_c_check_func LINENO FUNC VAR
1790 # ----------------------------------
1791 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1792 ac_fn_c_check_func ()
1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1796 $as_echo_n "checking for $2... " >&6; }
1797 if eval \${$3+:} false; then :
1798 $as_echo_n "(cached) " >&6
1800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h. */
1802 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1804 #define $2 innocuous_$2
1806 /* System header to define __stub macros and hopefully few prototypes,
1807 which can conflict with char $2 (); below.
1808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1809 <limits.h> exists even on freestanding compilers. */
1812 # include <limits.h>
1814 # include <assert.h>
1819 /* Override any GCC internal prototype to avoid an error.
1820 Use char because int might match the return type of a GCC
1821 builtin and then its argument prototype would still apply. */
1826 /* The GNU C library defines this for functions which it implements
1827 to always fail with ENOSYS. Some functions are actually named
1828 something starting with __ and the normal name is an alias. */
1829 #if defined __stub_$2 || defined __stub___$2
1841 if ac_fn_c_try_link "$LINENO"; then :
1846 rm -f core conftest.err conftest.$ac_objext \
1847 conftest$ac_exeext conftest.$ac_ext
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854 } # ac_fn_c_check_func
1856 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1857 # -------------------------------------------------------
1858 # Tests whether HEADER exists and can be compiled using the include files in
1859 # INCLUDES, setting the cache variable VAR accordingly.
1860 ac_fn_c_check_header_compile ()
1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1864 $as_echo_n "checking for $2... " >&6; }
1865 if eval \${$3+:} false; then :
1866 $as_echo_n "(cached) " >&6
1868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1869 /* end confdefs.h. */
1873 if ac_fn_c_try_compile "$LINENO"; then :
1878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1882 $as_echo "$ac_res" >&6; }
1883 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885 } # ac_fn_c_check_header_compile
1887 # ac_fn_c_try_cpp LINENO
1888 # ----------------------
1889 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 if { { ac_try="$ac_cpp conftest.$ac_ext"
1895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1896 *) ac_try_echo=$ac_try;;
1898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899 $as_echo "$ac_try_echo"; } >&5
1900 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1902 if test -s conftest.err; then
1903 grep -v '^ *+' conftest.err >conftest.er1
1904 cat conftest.er1 >&5
1905 mv -f conftest.er1 conftest.err
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; } > conftest.i && {
1909 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1910 test ! -s conftest.err
1914 $as_echo "$as_me: failed program was:" >&5
1915 sed 's/^/| /' conftest.$ac_ext >&5
1919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1920 as_fn_set_status $ac_retval
1924 # ac_fn_c_try_run LINENO
1925 # ----------------------
1926 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1927 # that executables *can* be run.
1930 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1931 if { { ac_try="$ac_link"
1933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1934 *) ac_try_echo=$ac_try;;
1936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1937 $as_echo "$ac_try_echo"; } >&5
1938 (eval "$ac_link") 2>&5
1940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1941 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1942 { { case "(($ac_try" in
1943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1944 *) ac_try_echo=$ac_try;;
1946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947 $as_echo "$ac_try_echo"; } >&5
1948 (eval "$ac_try") 2>&5
1950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1951 test $ac_status = 0; }; }; then :
1954 $as_echo "$as_me: program exited with status $ac_status" >&5
1955 $as_echo "$as_me: failed program was:" >&5
1956 sed 's/^/| /' conftest.$ac_ext >&5
1958 ac_retval=$ac_status
1960 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962 as_fn_set_status $ac_retval
1966 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1967 # -------------------------------------------------------
1968 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1969 # the include files in INCLUDES and setting the cache variable VAR
1971 ac_fn_c_check_header_mongrel ()
1973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974 if eval \${$3+:} false; then :
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1976 $as_echo_n "checking for $2... " >&6; }
1977 if eval \${$3+:} false; then :
1978 $as_echo_n "(cached) " >&6
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1982 $as_echo "$ac_res" >&6; }
1984 # Is the header compilable?
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1986 $as_echo_n "checking $2 usability... " >&6; }
1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1992 if ac_fn_c_try_compile "$LINENO"; then :
1993 ac_header_compiler=yes
1995 ac_header_compiler=no
1997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1999 $as_echo "$ac_header_compiler" >&6; }
2001 # Is the header present?
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2003 $as_echo_n "checking $2 presence... " >&6; }
2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2008 if ac_fn_c_try_cpp "$LINENO"; then :
2009 ac_header_preproc=yes
2011 ac_header_preproc=no
2013 rm -f conftest.err conftest.i conftest.$ac_ext
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2015 $as_echo "$ac_header_preproc" >&6; }
2017 # So? What about this header?
2018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2021 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2023 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2027 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2029 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2031 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2033 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2035 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2036 ( $as_echo "## ---------------------------------------------------------------------- ##
2037 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glabels ##
2038 ## ---------------------------------------------------------------------- ##"
2039 ) | sed "s/^/$as_me: WARNING: /" >&2
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2043 $as_echo_n "checking for $2... " >&6; }
2044 if eval \${$3+:} false; then :
2045 $as_echo_n "(cached) " >&6
2047 eval "$3=\$ac_header_compiler"
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051 $as_echo "$ac_res" >&6; }
2053 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2055 } # ac_fn_c_check_header_mongrel
2056 cat >config.log <<_ACEOF
2057 This file contains any messages produced by compilers while
2058 running configure, to aid debugging if configure makes a mistake.
2060 It was created by glabels $as_me 3.2.0, which was
2061 generated by GNU Autoconf 2.69. Invocation command line was
2073 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2074 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2075 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2076 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2077 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2079 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2080 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2082 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2083 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2084 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2085 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2086 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2087 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2088 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 test -z "$as_dir" && as_dir=.
2097 $as_echo "PATH: $as_dir"
2113 # Keep a trace of the command line.
2114 # Strip out --no-create and --no-recursion so they do not pile up.
2115 # Strip out --silent because we don't want to record it for future runs.
2116 # Also quote any args containing shell meta-characters.
2117 # Make two passes to allow for proper duplicate-argument suppression.
2121 ac_must_keep_next=false
2127 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2129 | -silent | --silent | --silen | --sile | --sil)
2132 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2135 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2137 as_fn_append ac_configure_args1 " '$ac_arg'"
2138 if test $ac_must_keep_next = true; then
2139 ac_must_keep_next=false # Got value, back to normal.
2142 *=* | --config-cache | -C | -disable-* | --disable-* \
2143 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2144 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2145 | -with-* | --with-* | -without-* | --without-* | --x)
2146 case "$ac_configure_args0 " in
2147 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2150 -* ) ac_must_keep_next=true ;;
2153 as_fn_append ac_configure_args " '$ac_arg'"
2158 { ac_configure_args0=; unset ac_configure_args0;}
2159 { ac_configure_args1=; unset ac_configure_args1;}
2161 # When interrupted or exit'd, cleanup temporary files, and complete
2162 # config.log. We remove comments because anyway the quotes in there
2163 # would cause problems or look ugly.
2164 # WARNING: Use '\'' to represent an apostrophe within the trap.
2165 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2166 trap 'exit_status=$?
2167 # Save into config.log some information that might help in debugging.
2171 $as_echo "## ---------------- ##
2172 ## Cache variables. ##
2173 ## ---------------- ##"
2175 # The following way of writing the cache mishandles newlines in values,
2177 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2178 eval ac_val=\$$ac_var
2182 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2183 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2186 _ | IFS | as_nl) ;; #(
2187 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2188 *) { eval $ac_var=; unset $ac_var;} ;;
2193 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2194 *${as_nl}ac_space=\ *)
2196 "s/'\''/'\''\\\\'\'''\''/g;
2197 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2200 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2207 $as_echo "## ----------------- ##
2208 ## Output variables. ##
2209 ## ----------------- ##"
2211 for ac_var in $ac_subst_vars
2213 eval ac_val=\$$ac_var
2215 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2217 $as_echo "$ac_var='\''$ac_val'\''"
2221 if test -n "$ac_subst_files"; then
2222 $as_echo "## ------------------- ##
2223 ## File substitutions. ##
2224 ## ------------------- ##"
2226 for ac_var in $ac_subst_files
2228 eval ac_val=\$$ac_var
2230 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2232 $as_echo "$ac_var='\''$ac_val'\''"
2237 if test -s confdefs.h; then
2238 $as_echo "## ----------- ##
2245 test "$ac_signal" != 0 &&
2246 $as_echo "$as_me: caught signal $ac_signal"
2247 $as_echo "$as_me: exit $exit_status"
2249 rm -f core *.core core.conftest.* &&
2250 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2253 for ac_signal in 1 2 13 15; do
2254 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2258 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2259 rm -f -r conftest* confdefs.h
2261 $as_echo "/* confdefs.h */" > confdefs.h
2263 # Predefined preprocessor variables.
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_NAME "$PACKAGE_NAME"
2269 cat >>confdefs.h <<_ACEOF
2270 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_STRING "$PACKAGE_STRING"
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_URL "$PACKAGE_URL"
2290 # Let the site file select an alternate cache file if it wants to.
2291 # Prefer an explicitly selected file to automatically selected ones.
2294 if test -n "$CONFIG_SITE"; then
2295 # We do not want a PATH search for config.site.
2296 case $CONFIG_SITE in #((
2297 -*) ac_site_file1=./$CONFIG_SITE;;
2298 */*) ac_site_file1=$CONFIG_SITE;;
2299 *) ac_site_file1=./$CONFIG_SITE;;
2301 elif test "x$prefix" != xNONE; then
2302 ac_site_file1=$prefix/share/config.site
2303 ac_site_file2=$prefix/etc/config.site
2305 ac_site_file1=$ac_default_prefix/share/config.site
2306 ac_site_file2=$ac_default_prefix/etc/config.site
2308 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2310 test "x$ac_site_file" = xNONE && continue
2311 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2313 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2314 sed 's/^/| /' "$ac_site_file" >&5
2316 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2318 as_fn_error $? "failed to load site script $ac_site_file
2319 See \`config.log' for more details" "$LINENO" 5; }
2323 if test -r "$cache_file"; then
2324 # Some versions of bash will fail to source /dev/null (special files
2325 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2326 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2328 $as_echo "$as_me: loading cache $cache_file" >&6;}
2330 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2331 *) . "./$cache_file";;
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2336 $as_echo "$as_me: creating cache $cache_file" >&6;}
2340 # Check that the precious variables saved in the cache have kept the same
2342 ac_cache_corrupted=false
2343 for ac_var in $ac_precious_vars; do
2344 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2345 eval ac_new_set=\$ac_env_${ac_var}_set
2346 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2347 eval ac_new_val=\$ac_env_${ac_var}_value
2348 case $ac_old_set,$ac_new_set in
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2351 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2352 ac_cache_corrupted=: ;;
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2355 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2356 ac_cache_corrupted=: ;;
2359 if test "x$ac_old_val" != "x$ac_new_val"; then
2360 # differences in whitespace do not lead to failure.
2361 ac_old_val_w=`echo x $ac_old_val`
2362 ac_new_val_w=`echo x $ac_new_val`
2363 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2365 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2366 ac_cache_corrupted=:
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2369 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2370 eval $ac_var=\$ac_old_val
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2373 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2375 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2378 # Pass precious variables to config.status.
2379 if test "$ac_new_set" = set; then
2381 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2382 *) ac_arg=$ac_var=$ac_new_val ;;
2384 case " $ac_configure_args " in
2385 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2386 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2390 if $ac_cache_corrupted; then
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2394 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2395 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2397 ## -------------------- ##
2398 ## Main body of script. ##
2399 ## -------------------- ##
2402 ac_cpp='$CPP $CPPFLAGS'
2403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2411 am__api_version='1.11'
2414 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2415 if test -f "$ac_dir/install-sh"; then
2417 ac_install_sh="$ac_aux_dir/install-sh -c"
2419 elif test -f "$ac_dir/install.sh"; then
2421 ac_install_sh="$ac_aux_dir/install.sh -c"
2423 elif test -f "$ac_dir/shtool"; then
2425 ac_install_sh="$ac_aux_dir/shtool install -c"
2429 if test -z "$ac_aux_dir"; then
2430 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2433 # These three variables are undocumented and unsupported,
2434 # and are intended to be withdrawn in a future Autoconf release.
2435 # They can cause serious problems if a builder's source tree is in a directory
2436 # whose full name contains unusual characters.
2437 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2438 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2439 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2442 # Find a good install program. We prefer a C program (faster),
2443 # so one script is as good as another. But avoid the broken or
2444 # incompatible versions:
2445 # SysV /etc/install, /usr/sbin/install
2446 # SunOS /usr/etc/install
2447 # IRIX /sbin/install
2449 # AmigaOS /C/install, which installs bootblocks on floppy discs
2450 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2451 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2452 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2453 # OS/2's system install, which has a completely different semantic
2454 # ./install, which can be erroneously created by make from ./install.sh.
2455 # Reject install programs that cannot install multiple files.
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2457 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2458 if test -z "$INSTALL"; then
2459 if ${ac_cv_path_install+:} false; then :
2460 $as_echo_n "(cached) " >&6
2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466 test -z "$as_dir" && as_dir=.
2467 # Account for people who put trailing slashes in PATH elements.
2468 case $as_dir/ in #((
2469 ./ | .// | /[cC]/* | \
2470 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2471 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2474 # OSF1 and SCO ODT 3.0 have their own names for install.
2475 # Don't use installbsd from OSF since it installs stuff as root
2477 for ac_prog in ginstall scoinst install; do
2478 for ac_exec_ext in '' $ac_executable_extensions; do
2479 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2480 if test $ac_prog = install &&
2481 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2482 # AIX install. It has an incompatible calling convention.
2484 elif test $ac_prog = install &&
2485 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2486 # program-specific install script used by HP pwplus--don't use.
2489 rm -rf conftest.one conftest.two conftest.dir
2490 echo one > conftest.one
2491 echo two > conftest.two
2493 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2494 test -s conftest.one && test -s conftest.two &&
2495 test -s conftest.dir/conftest.one &&
2496 test -s conftest.dir/conftest.two
2498 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2511 rm -rf conftest.one conftest.two conftest.dir
2514 if test "${ac_cv_path_install+set}" = set; then
2515 INSTALL=$ac_cv_path_install
2517 # As a last resort, use the slow shell script. Don't cache a
2518 # value for INSTALL within a source directory, because that will
2519 # break other packages using the cache if that directory is
2520 # removed, or if the value is a relative name.
2521 INSTALL=$ac_install_sh
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2525 $as_echo "$INSTALL" >&6; }
2527 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2528 # It thinks the first close brace ends the variable substitution.
2529 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2531 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2533 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2536 $as_echo_n "checking whether build environment is sane... " >&6; }
2539 echo timestamp > conftest.file
2540 # Reject unsafe characters in $srcdir or the absolute working directory
2541 # name. Accept space and tab only in the latter.
2545 *[\\\"\#\$\&\'\`$am_lf]*)
2546 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2549 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2550 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2553 # Do `set' in a subshell so we don't clobber the current shell's
2554 # arguments. Must try -L first in case configure is actually a
2555 # symlink; some systems play weird games with the mod time of symlinks
2556 # (eg FreeBSD returns the mod time of the symlink's containing
2559 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2560 if test "$*" = "X"; then
2562 set X `ls -t "$srcdir/configure" conftest.file`
2565 if test "$*" != "X $srcdir/configure conftest.file" \
2566 && test "$*" != "X conftest.file $srcdir/configure"; then
2568 # If neither matched, then we have a broken ls. This can happen
2569 # if, for instance, CONFIG_SHELL is bash and it inherits a
2570 # broken ls alias from the environment. This has actually
2571 # happened. Such a system could not be considered "sane".
2572 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2573 alias in your environment" "$LINENO" 5
2576 test "$2" = conftest.file
2582 as_fn_error $? "newly created file is older than distributed files!
2583 Check your system clock" "$LINENO" 5
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2586 $as_echo "yes" >&6; }
2587 test "$program_prefix" != NONE &&
2588 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2589 # Use a double $ so make ignores it.
2590 test "$program_suffix" != NONE &&
2591 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2592 # Double any \ or $.
2593 # By default was `s,x,x', remove it if useless.
2594 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2595 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2597 # expand $ac_aux_dir to an absolute path
2598 am_aux_dir=`cd $ac_aux_dir && pwd`
2600 if test x"${MISSING+set}" != xset; then
2603 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2605 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2608 # Use eval to expand $SHELL
2609 if eval "$MISSING --run true"; then
2610 am_missing_run="$MISSING --run "
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2614 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2617 if test x"${install_sh}" != xset; then
2620 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2622 install_sh="\${SHELL} $am_aux_dir/install-sh"
2626 # Installed binaries are usually stripped using `strip' when the user
2627 # run `make install-strip'. However `strip' might not be the right
2628 # tool to use in cross-compilation environments, therefore Automake
2629 # will honor the `STRIP' environment variable to overrule this program.
2630 if test "$cross_compiling" != no; then
2631 if test -n "$ac_tool_prefix"; then
2632 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2633 set dummy ${ac_tool_prefix}strip; ac_word=$2
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2635 $as_echo_n "checking for $ac_word... " >&6; }
2636 if ${ac_cv_prog_STRIP+:} false; then :
2637 $as_echo_n "(cached) " >&6
2639 if test -n "$STRIP"; then
2640 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir=.
2647 for ac_exec_ext in '' $ac_executable_extensions; do
2648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2649 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 STRIP=$ac_cv_prog_STRIP
2660 if test -n "$STRIP"; then
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2662 $as_echo "$STRIP" >&6; }
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665 $as_echo "no" >&6; }
2670 if test -z "$ac_cv_prog_STRIP"; then
2672 # Extract the first word of "strip", so it can be a program name with args.
2673 set dummy strip; ac_word=$2
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675 $as_echo_n "checking for $ac_word... " >&6; }
2676 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2677 $as_echo_n "(cached) " >&6
2679 if test -n "$ac_ct_STRIP"; then
2680 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686 test -z "$as_dir" && as_dir=.
2687 for ac_exec_ext in '' $ac_executable_extensions; do
2688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2689 ac_cv_prog_ac_ct_STRIP="strip"
2690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2699 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2700 if test -n "$ac_ct_STRIP"; then
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2702 $as_echo "$ac_ct_STRIP" >&6; }
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2705 $as_echo "no" >&6; }
2708 if test "x$ac_ct_STRIP" = x; then
2711 case $cross_compiling:$ac_tool_warned in
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2715 ac_tool_warned=yes ;;
2720 STRIP="$ac_cv_prog_STRIP"
2724 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2727 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2728 if test -z "$MKDIR_P"; then
2729 if ${ac_cv_path_mkdir+:} false; then :
2730 $as_echo_n "(cached) " >&6
2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2736 test -z "$as_dir" && as_dir=.
2737 for ac_prog in mkdir gmkdir; do
2738 for ac_exec_ext in '' $ac_executable_extensions; do
2739 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2740 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2741 'mkdir (GNU coreutils) '* | \
2742 'mkdir (coreutils) '* | \
2743 'mkdir (fileutils) '4.1*)
2744 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2754 test -d ./--version && rmdir ./--version
2755 if test "${ac_cv_path_mkdir+set}" = set; then
2756 MKDIR_P="$ac_cv_path_mkdir -p"
2758 # As a last resort, use the slow shell script. Don't cache a
2759 # value for MKDIR_P within a source directory, because that will
2760 # break other packages using the cache if that directory is
2761 # removed, or if the value is a relative name.
2762 MKDIR_P="$ac_install_sh -d"
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2766 $as_echo "$MKDIR_P" >&6; }
2770 [\\/$]* | ?:[\\/]*) ;;
2771 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2774 for ac_prog in gawk mawk nawk awk
2776 # Extract the first word of "$ac_prog", so it can be a program name with args.
2777 set dummy $ac_prog; ac_word=$2
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2779 $as_echo_n "checking for $ac_word... " >&6; }
2780 if ${ac_cv_prog_AWK+:} false; then :
2781 $as_echo_n "(cached) " >&6
2783 if test -n "$AWK"; then
2784 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2790 test -z "$as_dir" && as_dir=.
2791 for ac_exec_ext in '' $ac_executable_extensions; do
2792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2793 ac_cv_prog_AWK="$ac_prog"
2794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2804 if test -n "$AWK"; then
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2806 $as_echo "$AWK" >&6; }
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809 $as_echo "no" >&6; }
2813 test -n "$AWK" && break
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2817 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2819 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2820 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2821 $as_echo_n "(cached) " >&6
2823 cat >conftest.make <<\_ACEOF
2826 @echo '@@@%%%=$(MAKE)=@@@%%%'
2828 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2829 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2831 eval ac_cv_prog_make_${ac_make}_set=yes;;
2833 eval ac_cv_prog_make_${ac_make}_set=no;;
2837 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2839 $as_echo "yes" >&6; }
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843 $as_echo "no" >&6; }
2844 SET_MAKE="MAKE=${MAKE-make}"
2847 rm -rf .tst 2>/dev/null
2848 mkdir .tst 2>/dev/null
2849 if test -d .tst; then
2854 rmdir .tst 2>/dev/null
2856 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2857 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2858 # is not polluted with repeated "-I."
2859 am__isrc=' -I$(srcdir)'
2860 # test to see if srcdir already configured
2861 if test -f $srcdir/config.status; then
2862 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2866 # test whether we have cygpath
2867 if test -z "$CYGPATH_W"; then
2868 if (cygpath --version) >/dev/null 2>/dev/null; then
2869 CYGPATH_W='cygpath -w'
2876 # Define the identity of the package.
2881 cat >>confdefs.h <<_ACEOF
2882 #define PACKAGE "$PACKAGE"
2886 cat >>confdefs.h <<_ACEOF
2887 #define VERSION "$VERSION"
2890 # Some tools Automake needs.
2892 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2895 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2898 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2901 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2904 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2906 # We need awk for the "check" target. The system "awk" is bad on
2908 # Always define AMTAR for backward compatibility. Yes, it's still used
2909 # in the wild :-( We should find a proper way to deprecate it ...
2912 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2921 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2922 # Check whether --enable-maintainer-mode was given.
2923 if test "${enable_maintainer_mode+set}" = set; then :
2924 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2926 USE_MAINTAINER_MODE=no
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2930 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2931 if test $USE_MAINTAINER_MODE = yes; then
2932 MAINTAINER_MODE_TRUE=
2933 MAINTAINER_MODE_FALSE='#'
2935 MAINTAINER_MODE_TRUE='#'
2936 MAINTAINER_MODE_FALSE=
2939 MAINT=$MAINTAINER_MODE_TRUE
2942 # Check whether --enable-silent-rules was given.
2943 if test "${enable_silent_rules+set}" = set; then :
2944 enableval=$enable_silent_rules;
2947 case $enable_silent_rules in
2948 yes) AM_DEFAULT_VERBOSITY=0;;
2949 no) AM_DEFAULT_VERBOSITY=1;;
2950 *) AM_DEFAULT_VERBOSITY=0;;
2952 am_make=${MAKE-make}
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2954 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2955 if ${am_cv_make_support_nested_variables+:} false; then :
2956 $as_echo_n "(cached) " >&6
2958 if $as_echo 'TRUE=$(BAR$(V))
2964 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2965 am_cv_make_support_nested_variables=yes
2967 am_cv_make_support_nested_variables=no
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2971 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2972 if test $am_cv_make_support_nested_variables = yes; then
2974 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2976 AM_V=$AM_DEFAULT_VERBOSITY
2977 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2982 ac_config_headers="$ac_config_headers config.h"
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2987 $as_echo_n "checking whether NLS is requested... " >&6; }
2988 # Check whether --enable-nls was given.
2989 if test "${enable_nls+set}" = set; then :
2990 enableval=$enable_nls; USE_NLS=$enableval
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2996 $as_echo "$USE_NLS" >&6; }
2999 DEPDIR="${am__leading_dot}deps"
3001 ac_config_commands="$ac_config_commands depfiles"
3004 am_make=${MAKE-make}
3005 cat > confinc << 'END'
3007 @echo this is the am__doit target
3010 # If we don't find an include directive, just comment out the code.
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3012 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3016 # First try GNU make style include.
3017 echo "include confinc" > confmf
3018 # Ignore all kinds of additional output from `make'.
3019 case `$am_make -s -f confmf 2> /dev/null` in #(
3020 *the\ am__doit\ target*)
3026 # Now try BSD make style include.
3027 if test "$am__include" = "#"; then
3028 echo '.include "confinc"' > confmf
3029 case `$am_make -s -f confmf 2> /dev/null` in #(
3030 *the\ am__doit\ target*)
3031 am__include=.include
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3040 $as_echo "$_am_result" >&6; }
3041 rm -f confinc confmf
3043 # Check whether --enable-dependency-tracking was given.
3044 if test "${enable_dependency_tracking+set}" = set; then :
3045 enableval=$enable_dependency_tracking;
3048 if test "x$enable_dependency_tracking" != xno; then
3049 am_depcomp="$ac_aux_dir/depcomp"
3053 if test "x$enable_dependency_tracking" != xno; then
3063 ac_cpp='$CPP $CPPFLAGS'
3064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3067 if test -n "$ac_tool_prefix"; then
3068 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3069 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3071 $as_echo_n "checking for $ac_word... " >&6; }
3072 if ${ac_cv_prog_CC+:} false; then :
3073 $as_echo_n "(cached) " >&6
3075 if test -n "$CC"; then
3076 ac_cv_prog_CC="$CC" # Let the user override the test.
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082 test -z "$as_dir" && as_dir=.
3083 for ac_exec_ext in '' $ac_executable_extensions; do
3084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3085 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 if test -n "$CC"; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3098 $as_echo "$CC" >&6; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 $as_echo "no" >&6; }
3106 if test -z "$ac_cv_prog_CC"; then
3108 # Extract the first word of "gcc", so it can be a program name with args.
3109 set dummy gcc; ac_word=$2
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3111 $as_echo_n "checking for $ac_word... " >&6; }
3112 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3113 $as_echo_n "(cached) " >&6
3115 if test -n "$ac_ct_CC"; then
3116 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 test -z "$as_dir" && as_dir=.
3123 for ac_exec_ext in '' $ac_executable_extensions; do
3124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3125 ac_cv_prog_ac_ct_CC="gcc"
3126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3135 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3136 if test -n "$ac_ct_CC"; then
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3138 $as_echo "$ac_ct_CC" >&6; }
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141 $as_echo "no" >&6; }
3144 if test "x$ac_ct_CC" = x; then
3147 case $cross_compiling:$ac_tool_warned in
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3151 ac_tool_warned=yes ;;
3159 if test -z "$CC"; then
3160 if test -n "$ac_tool_prefix"; then
3161 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3162 set dummy ${ac_tool_prefix}cc; ac_word=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if ${ac_cv_prog_CC+:} false; then :
3166 $as_echo_n "(cached) " >&6
3168 if test -n "$CC"; then
3169 ac_cv_prog_CC="$CC" # Let the user override the test.
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 test -z "$as_dir" && as_dir=.
3176 for ac_exec_ext in '' $ac_executable_extensions; do
3177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3178 ac_cv_prog_CC="${ac_tool_prefix}cc"
3179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189 if test -n "$CC"; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3191 $as_echo "$CC" >&6; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194 $as_echo "no" >&6; }
3200 if test -z "$CC"; then
3201 # Extract the first word of "cc", so it can be a program name with args.
3202 set dummy cc; ac_word=$2
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3204 $as_echo_n "checking for $ac_word... " >&6; }
3205 if ${ac_cv_prog_CC+:} false; then :
3206 $as_echo_n "(cached) " >&6
3208 if test -n "$CC"; then
3209 ac_cv_prog_CC="$CC" # Let the user override the test.
3212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3216 test -z "$as_dir" && as_dir=.
3217 for ac_exec_ext in '' $ac_executable_extensions; do
3218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3219 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3220 ac_prog_rejected=yes
3224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3231 if test $ac_prog_rejected = yes; then
3232 # We found a bogon in the path, so make sure we never use it.
3233 set dummy $ac_cv_prog_CC
3235 if test $# != 0; then
3236 # We chose a different compiler from the bogus one.
3237 # However, it has the same basename, so the bogon will be chosen
3238 # first if we set CC to just the basename; use the full file name.
3240 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3246 if test -n "$CC"; then
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3248 $as_echo "$CC" >&6; }
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251 $as_echo "no" >&6; }
3256 if test -z "$CC"; then
3257 if test -n "$ac_tool_prefix"; then
3258 for ac_prog in cl.exe
3260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3263 $as_echo_n "checking for $ac_word... " >&6; }
3264 if ${ac_cv_prog_CC+:} false; then :
3265 $as_echo_n "(cached) " >&6
3267 if test -n "$CC"; then
3268 ac_cv_prog_CC="$CC" # Let the user override the test.
3270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3274 test -z "$as_dir" && as_dir=.
3275 for ac_exec_ext in '' $ac_executable_extensions; do
3276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3277 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3288 if test -n "$CC"; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3290 $as_echo "$CC" >&6; }
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3297 test -n "$CC" && break
3300 if test -z "$CC"; then
3302 for ac_prog in cl.exe
3304 # Extract the first word of "$ac_prog", so it can be a program name with args.
3305 set dummy $ac_prog; ac_word=$2
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307 $as_echo_n "checking for $ac_word... " >&6; }
3308 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3309 $as_echo_n "(cached) " >&6
3311 if test -n "$ac_ct_CC"; then
3312 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir=.
3319 for ac_exec_ext in '' $ac_executable_extensions; do
3320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3321 ac_cv_prog_ac_ct_CC="$ac_prog"
3322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3332 if test -n "$ac_ct_CC"; then
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3334 $as_echo "$ac_ct_CC" >&6; }
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3341 test -n "$ac_ct_CC" && break
3344 if test "x$ac_ct_CC" = x; then
3347 case $cross_compiling:$ac_tool_warned in
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3351 ac_tool_warned=yes ;;
3360 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3362 as_fn_error $? "no acceptable C compiler found in \$PATH
3363 See \`config.log' for more details" "$LINENO" 5; }
3365 # Provide some information about the compiler.
3366 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3369 for ac_option in --version -v -V -qversion; do
3370 { { ac_try="$ac_compiler $ac_option >&5"
3372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3373 *) ac_try_echo=$ac_try;;
3375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3376 $as_echo "$ac_try_echo"; } >&5
3377 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3379 if test -s conftest.err; then
3381 ... rest of stderr output deleted ...
3382 10q' conftest.err >conftest.er1
3383 cat conftest.er1 >&5
3385 rm -f conftest.er1 conftest.err
3386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3387 test $ac_status = 0; }
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h. */
3401 ac_clean_files_save=$ac_clean_files
3402 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3403 # Try to create an executable without -o first, disregard a.out.
3404 # It will help us diagnose broken compilers, and finding out an intuition
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3407 $as_echo_n "checking whether the C compiler works... " >&6; }
3408 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3410 # The possible output files:
3411 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3414 for ac_file in $ac_files
3417 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3418 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3423 if { { ac_try="$ac_link_default"
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3429 $as_echo "$ac_try_echo"; } >&5
3430 (eval "$ac_link_default") 2>&5
3432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3433 test $ac_status = 0; }; then :
3434 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3435 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3436 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3437 # so that the user can short-circuit this test for compilers unknown to
3439 for ac_file in $ac_files ''
3441 test -f "$ac_file" || continue
3443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3446 # We found the default executable, but exeext='' is most
3450 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3452 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3454 # We set ac_cv_exeext here because the later test for it is not
3455 # safe: cross compilers may not add the suffix if given an `-o'
3456 # argument, so we may need to know it at that point already.
3457 # Even if this section looks crufty: it has the advantage of
3464 test "$ac_cv_exeext" = no && ac_cv_exeext=
3469 if test -z "$ac_file"; then :
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3471 $as_echo "no" >&6; }
3472 $as_echo "$as_me: failed program was:" >&5
3473 sed 's/^/| /' conftest.$ac_ext >&5
3475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3477 as_fn_error 77 "C compiler cannot create executables
3478 See \`config.log' for more details" "$LINENO" 5; }
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3481 $as_echo "yes" >&6; }
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3484 $as_echo_n "checking for C compiler default output file name... " >&6; }
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3486 $as_echo "$ac_file" >&6; }
3487 ac_exeext=$ac_cv_exeext
3489 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3490 ac_clean_files=$ac_clean_files_save
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3492 $as_echo_n "checking for suffix of executables... " >&6; }
3493 if { { 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; }; then :
3504 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3505 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3506 # work properly (i.e., refer to `conftest.exe'), while it won't with
3508 for ac_file in conftest.exe conftest conftest.*; do
3509 test -f "$ac_file" || continue
3511 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3512 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3520 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3521 See \`config.log' for more details" "$LINENO" 5; }
3523 rm -f conftest conftest$ac_cv_exeext
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3525 $as_echo "$ac_cv_exeext" >&6; }
3527 rm -f conftest.$ac_ext
3528 EXEEXT=$ac_cv_exeext
3530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3531 /* end confdefs.h. */
3536 FILE *f = fopen ("conftest.out", "w");
3537 return ferror (f) || fclose (f) != 0;
3543 ac_clean_files="$ac_clean_files conftest.out"
3544 # Check that the compiler produces executables we can run. If not, either
3545 # the compiler is broken, or we cross compile.
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3547 $as_echo_n "checking whether we are cross compiling... " >&6; }
3548 if test "$cross_compiling" != yes; then
3549 { { ac_try="$ac_link"
3551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552 *) ac_try_echo=$ac_try;;
3554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3555 $as_echo "$ac_try_echo"; } >&5
3556 (eval "$ac_link") 2>&5
3558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559 test $ac_status = 0; }
3560 if { ac_try='./conftest$ac_cv_exeext'
3561 { { case "(($ac_try" in
3562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563 *) ac_try_echo=$ac_try;;
3565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3566 $as_echo "$ac_try_echo"; } >&5
3567 (eval "$ac_try") 2>&5
3569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3570 test $ac_status = 0; }; }; then
3573 if test "$cross_compiling" = maybe; then
3576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3578 as_fn_error $? "cannot run C compiled programs.
3579 If you meant to cross compile, use \`--host'.
3580 See \`config.log' for more details" "$LINENO" 5; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3585 $as_echo "$cross_compiling" >&6; }
3587 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3588 ac_clean_files=$ac_clean_files_save
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3590 $as_echo_n "checking for suffix of object files... " >&6; }
3591 if ${ac_cv_objext+:} false; then :
3592 $as_echo_n "(cached) " >&6
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3605 rm -f conftest.o conftest.obj
3606 if { { ac_try="$ac_compile"
3608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612 $as_echo "$ac_try_echo"; } >&5
3613 (eval "$ac_compile") 2>&5
3615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3616 test $ac_status = 0; }; then :
3617 for ac_file in conftest.o conftest.obj conftest.*; do
3618 test -f "$ac_file" || continue;
3620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3621 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3626 $as_echo "$as_me: failed program was:" >&5
3627 sed 's/^/| /' conftest.$ac_ext >&5
3629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631 as_fn_error $? "cannot compute suffix of object files: cannot compile
3632 See \`config.log' for more details" "$LINENO" 5; }
3634 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3637 $as_echo "$ac_cv_objext" >&6; }
3638 OBJEXT=$ac_cv_objext
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3641 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3642 if ${ac_cv_c_compiler_gnu+:} false; then :
3643 $as_echo_n "(cached) " >&6
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3659 if ac_fn_c_try_compile "$LINENO"; then :
3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3669 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3670 if test $ac_compiler_gnu = yes; then
3675 ac_test_CFLAGS=${CFLAGS+set}
3676 ac_save_CFLAGS=$CFLAGS
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3678 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3679 if ${ac_cv_prog_cc_g+:} false; then :
3680 $as_echo_n "(cached) " >&6
3682 ac_save_c_werror_flag=$ac_c_werror_flag
3683 ac_c_werror_flag=yes
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3697 if ac_fn_c_try_compile "$LINENO"; then :
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3712 if ac_fn_c_try_compile "$LINENO"; then :
3715 ac_c_werror_flag=$ac_save_c_werror_flag
3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h. */
3728 if ac_fn_c_try_compile "$LINENO"; then :
3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3736 ac_c_werror_flag=$ac_save_c_werror_flag
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3739 $as_echo "$ac_cv_prog_cc_g" >&6; }
3740 if test "$ac_test_CFLAGS" = set; then
3741 CFLAGS=$ac_save_CFLAGS
3742 elif test $ac_cv_prog_cc_g = yes; then
3743 if test "$GCC" = yes; then
3749 if test "$GCC" = yes; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3756 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3757 if ${ac_cv_prog_cc_c89+:} false; then :
3758 $as_echo_n "(cached) " >&6
3760 ac_cv_prog_cc_c89=no
3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3767 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3768 struct buf { int x; };
3769 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3770 static char *e (p, i)
3776 static char *f (char * (*g) (char **, int), char **p, ...)
3781 s = g (p, va_arg (v,int));
3786 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3787 function prototypes and stuff, but not '\xHH' hex character constants.
3788 These don't provoke an error unfortunately, instead are silently treated
3789 as 'x'. The following induces an error, until -std is added to get
3790 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3791 array size at least. It's necessary to write '\x00'==0 to get something
3792 that's true only with -std. */
3793 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3795 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3796 inside strings and character constants. */
3798 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3800 int test (int i, double x);
3801 struct s1 {int (*f) (int a);};
3802 struct s2 {int (*f) (double a);};
3803 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3809 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3814 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3815 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3817 CC="$ac_save_CC $ac_arg"
3818 if ac_fn_c_try_compile "$LINENO"; then :
3819 ac_cv_prog_cc_c89=$ac_arg
3821 rm -f core conftest.err conftest.$ac_objext
3822 test "x$ac_cv_prog_cc_c89" != "xno" && break
3824 rm -f conftest.$ac_ext
3829 case "x$ac_cv_prog_cc_c89" in
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3832 $as_echo "none needed" >&6; } ;;
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3835 $as_echo "unsupported" >&6; } ;;
3837 CC="$CC $ac_cv_prog_cc_c89"
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3839 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3841 if test "x$ac_cv_prog_cc_c89" != xno; then :
3846 ac_cpp='$CPP $CPPFLAGS'
3847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3851 depcc="$CC" am_compiler_list=
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3854 $as_echo_n "checking dependency style of $depcc... " >&6; }
3855 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3856 $as_echo_n "(cached) " >&6
3858 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3859 # We make a subdir and do the tests there. Otherwise we can end up
3860 # making bogus files that we don't know about and never remove. For
3861 # instance it was reported that on HP-UX the gcc test will end up
3862 # making a dummy file named `D' -- because `-MD' means `put the output
3866 # Copy depcomp to subdir because otherwise we won't find it if we're
3867 # using a relative directory.
3868 cp "$am_depcomp" conftest.dir
3870 # We will build objects and dependencies in a subdirectory because
3871 # it helps to detect inapplicable dependency modes. For instance
3872 # both Tru64's cc and ICC support -MD to output dependencies as a
3873 # side effect of compilation, but ICC will put the dependencies in
3874 # the current directory while Tru64 will put them in the object
3878 am_cv_CC_dependencies_compiler_type=none
3879 if test "$am_compiler_list" = ""; then
3880 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3883 case " $depcc " in #(
3884 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3887 for depmode in $am_compiler_list; do
3888 # Setup a source with many dependencies, because some compilers
3889 # like to wrap large dependency lists on column 80 (with \), and
3890 # we should not choose a depcomp mode which is confused by this.
3892 # We need to recreate these files for each test, as the compiler may
3893 # overwrite some of them when testing with obscure command lines.
3894 # This happens at least with the AIX C compiler.
3896 for i in 1 2 3 4 5 6; do
3897 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3898 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3899 # Solaris 8's {/usr,}/bin/sh.
3900 touch sub/conftst$i.h
3902 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3904 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3905 # mode. It turns out that the SunPro C++ compiler does not properly
3906 # handle `-M -o', and we need to detect this. Also, some Intel
3907 # versions had trouble with output in subdirs
3908 am__obj=sub/conftest.${OBJEXT-o}
3909 am__minus_obj="-o $am__obj"
3912 # This depmode causes a compiler race in universal mode.
3913 test "$am__universal" = false || continue
3916 # after this tag, mechanisms are not by side-effect, so they'll
3917 # only be used when explicitly requested
3918 if test "x$enable_dependency_tracking" = xyes; then
3924 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3925 # This compiler won't grok `-c -o', but also, the minuso test has
3926 # not run yet. These depmodes are late enough in the game, and
3927 # so weak that their functioning should not be impacted.
3928 am__obj=conftest.${OBJEXT-o}
3933 if depmode=$depmode \
3934 source=sub/conftest.c object=$am__obj \
3935 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3936 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3937 >/dev/null 2>conftest.err &&
3938 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3939 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3940 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3941 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3942 # icc doesn't choke on unknown options, it will just issue warnings
3943 # or remarks (even with -Werror). So we grep stderr for any message
3944 # that says an option was ignored or not supported.
3945 # When given -MP, icc 7.0 and 7.1 complain thusly:
3946 # icc: Command line warning: ignoring option '-M'; no argument required
3947 # The diagnosis changed in icc 8.0:
3948 # icc: Command line remark: option '-MP' not supported
3949 if (grep 'ignoring option' conftest.err ||
3950 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3951 am_cv_CC_dependencies_compiler_type=$depmode
3960 am_cv_CC_dependencies_compiler_type=none
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3965 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3966 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3969 test "x$enable_dependency_tracking" != xno \
3970 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3972 am__fastdepCC_FALSE='#'
3974 am__fastdepCC_TRUE='#'
3975 am__fastdepCC_FALSE=
3982 case "$am__api_version" in
3984 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3990 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3991 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3992 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3993 if test -n "0.21"; then
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5
3995 $as_echo_n "checking for intltool >= 0.21... " >&6; }
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3997 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3998 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3999 as_fn_error $? "Your intltool is too old. You need intltool 0.21 or later." "$LINENO" 5
4002 # Extract the first word of "intltool-update", so it can be a program name with args.
4003 set dummy intltool-update; ac_word=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4007 $as_echo_n "(cached) " >&6
4009 case $INTLTOOL_UPDATE in
4011 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018 test -z "$as_dir" && as_dir=.
4019 for ac_exec_ext in '' $ac_executable_extensions; do
4020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4021 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4033 if test -n "$INTLTOOL_UPDATE"; then
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4035 $as_echo "$INTLTOOL_UPDATE" >&6; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038 $as_echo "no" >&6; }
4042 # Extract the first word of "intltool-merge", so it can be a program name with args.
4043 set dummy intltool-merge; ac_word=$2
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4045 $as_echo_n "checking for $ac_word... " >&6; }
4046 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4047 $as_echo_n "(cached) " >&6
4049 case $INTLTOOL_MERGE in
4051 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4058 test -z "$as_dir" && as_dir=.
4059 for ac_exec_ext in '' $ac_executable_extensions; do
4060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4061 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4072 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4073 if test -n "$INTLTOOL_MERGE"; then
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4075 $as_echo "$INTLTOOL_MERGE" >&6; }
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4082 # Extract the first word of "intltool-extract", so it can be a program name with args.
4083 set dummy intltool-extract; ac_word=$2
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4085 $as_echo_n "checking for $ac_word... " >&6; }
4086 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4087 $as_echo_n "(cached) " >&6
4089 case $INTLTOOL_EXTRACT in
4091 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4098 test -z "$as_dir" && as_dir=.
4099 for ac_exec_ext in '' $ac_executable_extensions; do
4100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4101 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4113 if test -n "$INTLTOOL_EXTRACT"; then
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4115 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4122 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4123 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4126 if test -z "$AM_DEFAULT_VERBOSITY"; then
4127 AM_DEFAULT_VERBOSITY=1
4131 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
4132 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
4133 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
4138 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
4139 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
4140 intltool__v_merge_options_0='-q'
4145 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4146 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4147 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4148 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4149 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
4150 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4151 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4152 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4153 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4154 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4155 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4156 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
4157 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
4159 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
4161 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4162 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4163 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4164 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4165 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4166 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4167 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4265 # Check the gettext tools to make sure they are GNU
4266 # Extract the first word of "xgettext", so it can be a program name with args.
4267 set dummy xgettext; ac_word=$2
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4269 $as_echo_n "checking for $ac_word... " >&6; }
4270 if ${ac_cv_path_XGETTEXT+:} false; then :
4271 $as_echo_n "(cached) " >&6
4275 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282 test -z "$as_dir" && as_dir=.
4283 for ac_exec_ext in '' $ac_executable_extensions; do
4284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4285 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4296 XGETTEXT=$ac_cv_path_XGETTEXT
4297 if test -n "$XGETTEXT"; then
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4299 $as_echo "$XGETTEXT" >&6; }
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4302 $as_echo "no" >&6; }
4306 # Extract the first word of "msgmerge", so it can be a program name with args.
4307 set dummy msgmerge; ac_word=$2
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 $as_echo_n "checking for $ac_word... " >&6; }
4310 if ${ac_cv_path_MSGMERGE+:} false; then :
4311 $as_echo_n "(cached) " >&6
4315 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322 test -z "$as_dir" && as_dir=.
4323 for ac_exec_ext in '' $ac_executable_extensions; do
4324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4325 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 MSGMERGE=$ac_cv_path_MSGMERGE
4337 if test -n "$MSGMERGE"; then
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4339 $as_echo "$MSGMERGE" >&6; }
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4342 $as_echo "no" >&6; }
4346 # Extract the first word of "msgfmt", so it can be a program name with args.
4347 set dummy msgfmt; ac_word=$2
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4349 $as_echo_n "checking for $ac_word... " >&6; }
4350 if ${ac_cv_path_MSGFMT+:} false; then :
4351 $as_echo_n "(cached) " >&6
4355 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4362 test -z "$as_dir" && as_dir=.
4363 for ac_exec_ext in '' $ac_executable_extensions; do
4364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4365 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 MSGFMT=$ac_cv_path_MSGFMT
4377 if test -n "$MSGFMT"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4379 $as_echo "$MSGFMT" >&6; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4386 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4387 set dummy gmsgfmt; ac_word=$2
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4389 $as_echo_n "checking for $ac_word... " >&6; }
4390 if ${ac_cv_path_GMSGFMT+:} false; then :
4391 $as_echo_n "(cached) " >&6
4395 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4402 test -z "$as_dir" && as_dir=.
4403 for ac_exec_ext in '' $ac_executable_extensions; do
4404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4405 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4413 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4417 GMSGFMT=$ac_cv_path_GMSGFMT
4418 if test -n "$GMSGFMT"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4420 $as_echo "$GMSGFMT" >&6; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4427 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4428 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4430 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4431 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4432 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4433 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4434 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4437 # Extract the first word of "perl", so it can be a program name with args.
4438 set dummy perl; ac_word=$2
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4440 $as_echo_n "checking for $ac_word... " >&6; }
4441 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4442 $as_echo_n "(cached) " >&6
4444 case $INTLTOOL_PERL in
4446 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 test -z "$as_dir" && as_dir=.
4454 for ac_exec_ext in '' $ac_executable_extensions; do
4455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4456 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4467 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4468 if test -n "$INTLTOOL_PERL"; then
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4470 $as_echo "$INTLTOOL_PERL" >&6; }
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 $as_echo "no" >&6; }
4477 if test -z "$INTLTOOL_PERL"; then
4478 as_fn_error $? "perl not found" "$LINENO" 5
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4481 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4482 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4483 if test $? -ne 0; then
4484 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4486 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4488 $as_echo "$IT_PERL_VERSION" >&6; }
4490 if test "x" != "xno-xml"; then
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4492 $as_echo_n "checking for XML::Parser... " >&6; }
4493 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4495 $as_echo "ok" >&6; }
4497 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4501 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4504 # Set DATADIRNAME correctly if it is not set yet
4505 # (copied from glib-gettext.m4)
4506 if test -z "$DATADIRNAME"; then
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4513 extern int _nl_msg_cat_cntr;
4514 return _nl_msg_cat_cntr
4519 if ac_fn_c_try_link "$LINENO"; then :
4524 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4525 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4537 rm -f core conftest.err conftest.$ac_objext \
4538 conftest$ac_exeext conftest.$ac_ext
4553 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4554 if test -n "$ac_tool_prefix"; then
4555 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4556 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4558 $as_echo_n "checking for $ac_word... " >&6; }
4559 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4560 $as_echo_n "(cached) " >&6
4564 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4571 test -z "$as_dir" && as_dir=.
4572 for ac_exec_ext in '' $ac_executable_extensions; do
4573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4574 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4585 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4586 if test -n "$PKG_CONFIG"; then
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4588 $as_echo "$PKG_CONFIG" >&6; }
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4596 if test -z "$ac_cv_path_PKG_CONFIG"; then
4597 ac_pt_PKG_CONFIG=$PKG_CONFIG
4598 # Extract the first word of "pkg-config", so it can be a program name with args.
4599 set dummy pkg-config; ac_word=$2
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601 $as_echo_n "checking for $ac_word... " >&6; }
4602 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4603 $as_echo_n "(cached) " >&6
4605 case $ac_pt_PKG_CONFIG in
4607 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4614 test -z "$as_dir" && as_dir=.
4615 for ac_exec_ext in '' $ac_executable_extensions; do
4616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4617 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4628 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4629 if test -n "$ac_pt_PKG_CONFIG"; then
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4631 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4637 if test "x$ac_pt_PKG_CONFIG" = x; then
4640 case $cross_compiling:$ac_tool_warned in
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4644 ac_tool_warned=yes ;;
4646 PKG_CONFIG=$ac_pt_PKG_CONFIG
4649 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4653 if test -n "$PKG_CONFIG"; then
4654 _pkg_min_version=0.9.0
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4656 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4657 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4659 $as_echo "yes" >&6; }
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4662 $as_echo "no" >&6; }
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4670 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4675 macro_version='2.4.2'
4676 macro_revision='1.3337'
4690 ltmain="$ac_aux_dir/ltmain.sh"
4692 # Make sure we can run config.sub.
4693 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4694 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4697 $as_echo_n "checking build system type... " >&6; }
4698 if ${ac_cv_build+:} false; then :
4699 $as_echo_n "(cached) " >&6
4701 ac_build_alias=$build_alias
4702 test "x$ac_build_alias" = x &&
4703 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4704 test "x$ac_build_alias" = x &&
4705 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4706 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4707 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4711 $as_echo "$ac_cv_build" >&6; }
4712 case $ac_cv_build in
4714 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4717 ac_save_IFS=$IFS; IFS='-'
4723 # Remember, the first character of IFS is used to create $*,
4724 # except with old shells:
4727 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4731 $as_echo_n "checking host system type... " >&6; }
4732 if ${ac_cv_host+:} false; then :
4733 $as_echo_n "(cached) " >&6
4735 if test "x$host_alias" = x; then
4736 ac_cv_host=$ac_cv_build
4738 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4739 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4744 $as_echo "$ac_cv_host" >&6; }
4747 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4750 ac_save_IFS=$IFS; IFS='-'
4756 # Remember, the first character of IFS is used to create $*,
4757 # except with old shells:
4760 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4763 # Backslashify metacharacters that are still active within
4764 # double-quoted strings.
4765 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4767 # Same as above, but do not quote variable references.
4768 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4770 # Sed substitution to delay expansion of an escaped shell variable in a
4771 # double_quote_subst'ed string.
4772 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4774 # Sed substitution to delay expansion of an escaped single quote.
4775 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4777 # Sed substitution to avoid accidental globbing in evaled expressions
4778 no_glob_subst='s/\*/\\\*/g'
4780 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4781 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4782 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4785 $as_echo_n "checking how to print strings... " >&6; }
4786 # Test print first, because it will be a builtin if present.
4787 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4788 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4790 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4793 # Use this function as a fallback that always works.
4794 func_fallback_echo ()
4796 eval 'cat <<_LTECHO_EOF
4800 ECHO='func_fallback_echo'
4803 # func_echo_all arg...
4804 # Invoke $ECHO with all args, space-separated.
4811 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4812 $as_echo "printf" >&6; } ;;
4813 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4814 $as_echo "print -r" >&6; } ;;
4815 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4816 $as_echo "cat" >&6; } ;;
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4833 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4834 if ${ac_cv_path_SED+:} false; then :
4835 $as_echo_n "(cached) " >&6
4837 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4838 for ac_i in 1 2 3 4 5 6 7; do
4839 ac_script="$ac_script$as_nl$ac_script"
4841 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4842 { ac_script=; unset ac_script;}
4843 if test -z "$SED"; then
4844 ac_path_SED_found=false
4845 # Loop through the user's path and test for each of PROGNAME-LIST
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4850 test -z "$as_dir" && as_dir=.
4851 for ac_prog in sed gsed; do
4852 for ac_exec_ext in '' $ac_executable_extensions; do
4853 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4854 as_fn_executable_p "$ac_path_SED" || continue
4855 # Check for GNU ac_path_SED and select it if it is found.
4856 # Check for GNU $ac_path_SED
4857 case `"$ac_path_SED" --version 2>&1` in
4859 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4862 $as_echo_n 0123456789 >"conftest.in"
4865 cat "conftest.in" "conftest.in" >"conftest.tmp"
4866 mv "conftest.tmp" "conftest.in"
4867 cp "conftest.in" "conftest.nl"
4868 $as_echo '' >> "conftest.nl"
4869 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4870 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4871 as_fn_arith $ac_count + 1 && ac_count=$as_val
4872 if test $ac_count -gt ${ac_path_SED_max-0}; then
4873 # Best one so far, save it but keep looking for a better one
4874 ac_cv_path_SED="$ac_path_SED"
4875 ac_path_SED_max=$ac_count
4877 # 10*(2^10) chars as input seems more than enough
4878 test $ac_count -gt 10 && break
4880 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4883 $ac_path_SED_found && break 3
4888 if test -z "$ac_cv_path_SED"; then
4889 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4897 $as_echo "$ac_cv_path_SED" >&6; }
4898 SED="$ac_cv_path_SED"
4901 test -z "$SED" && SED=sed
4902 Xsed="$SED -e 1s/^X//"
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4915 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4916 if ${ac_cv_path_GREP+:} false; then :
4917 $as_echo_n "(cached) " >&6
4919 if test -z "$GREP"; then
4920 ac_path_GREP_found=false
4921 # Loop through the user's path and test for each of PROGNAME-LIST
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4926 test -z "$as_dir" && as_dir=.
4927 for ac_prog in grep ggrep; do
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4930 as_fn_executable_p "$ac_path_GREP" || continue
4931 # Check for GNU ac_path_GREP and select it if it is found.
4932 # Check for GNU $ac_path_GREP
4933 case `"$ac_path_GREP" --version 2>&1` in
4935 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4938 $as_echo_n 0123456789 >"conftest.in"
4941 cat "conftest.in" "conftest.in" >"conftest.tmp"
4942 mv "conftest.tmp" "conftest.in"
4943 cp "conftest.in" "conftest.nl"
4944 $as_echo 'GREP' >> "conftest.nl"
4945 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4946 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4947 as_fn_arith $ac_count + 1 && ac_count=$as_val
4948 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4949 # Best one so far, save it but keep looking for a better one
4950 ac_cv_path_GREP="$ac_path_GREP"
4951 ac_path_GREP_max=$ac_count
4953 # 10*(2^10) chars as input seems more than enough
4954 test $ac_count -gt 10 && break
4956 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4959 $ac_path_GREP_found && break 3
4964 if test -z "$ac_cv_path_GREP"; then
4965 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4968 ac_cv_path_GREP=$GREP
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4973 $as_echo "$ac_cv_path_GREP" >&6; }
4974 GREP="$ac_cv_path_GREP"
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4978 $as_echo_n "checking for egrep... " >&6; }
4979 if ${ac_cv_path_EGREP+:} false; then :
4980 $as_echo_n "(cached) " >&6
4982 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4983 then ac_cv_path_EGREP="$GREP -E"
4985 if test -z "$EGREP"; then
4986 ac_path_EGREP_found=false
4987 # Loop through the user's path and test for each of PROGNAME-LIST
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4992 test -z "$as_dir" && as_dir=.
4993 for ac_prog in egrep; do
4994 for ac_exec_ext in '' $ac_executable_extensions; do
4995 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4996 as_fn_executable_p "$ac_path_EGREP" || continue
4997 # Check for GNU ac_path_EGREP and select it if it is found.
4998 # Check for GNU $ac_path_EGREP
4999 case `"$ac_path_EGREP" --version 2>&1` in
5001 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5004 $as_echo_n 0123456789 >"conftest.in"
5007 cat "conftest.in" "conftest.in" >"conftest.tmp"
5008 mv "conftest.tmp" "conftest.in"
5009 cp "conftest.in" "conftest.nl"
5010 $as_echo 'EGREP' >> "conftest.nl"
5011 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5012 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5013 as_fn_arith $ac_count + 1 && ac_count=$as_val
5014 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5015 # Best one so far, save it but keep looking for a better one
5016 ac_cv_path_EGREP="$ac_path_EGREP"
5017 ac_path_EGREP_max=$ac_count
5019 # 10*(2^10) chars as input seems more than enough
5020 test $ac_count -gt 10 && break
5022 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5025 $ac_path_EGREP_found && break 3
5030 if test -z "$ac_cv_path_EGREP"; then
5031 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5034 ac_cv_path_EGREP=$EGREP
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5040 $as_echo "$ac_cv_path_EGREP" >&6; }
5041 EGREP="$ac_cv_path_EGREP"
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5045 $as_echo_n "checking for fgrep... " >&6; }
5046 if ${ac_cv_path_FGREP+:} false; then :
5047 $as_echo_n "(cached) " >&6
5049 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5050 then ac_cv_path_FGREP="$GREP -F"
5052 if test -z "$FGREP"; then
5053 ac_path_FGREP_found=false
5054 # Loop through the user's path and test for each of PROGNAME-LIST
5055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5059 test -z "$as_dir" && as_dir=.
5060 for ac_prog in fgrep; do
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5063 as_fn_executable_p "$ac_path_FGREP" || continue
5064 # Check for GNU ac_path_FGREP and select it if it is found.
5065 # Check for GNU $ac_path_FGREP
5066 case `"$ac_path_FGREP" --version 2>&1` in
5068 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5071 $as_echo_n 0123456789 >"conftest.in"
5074 cat "conftest.in" "conftest.in" >"conftest.tmp"
5075 mv "conftest.tmp" "conftest.in"
5076 cp "conftest.in" "conftest.nl"
5077 $as_echo 'FGREP' >> "conftest.nl"
5078 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5079 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5080 as_fn_arith $ac_count + 1 && ac_count=$as_val
5081 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5082 # Best one so far, save it but keep looking for a better one
5083 ac_cv_path_FGREP="$ac_path_FGREP"
5084 ac_path_FGREP_max=$ac_count
5086 # 10*(2^10) chars as input seems more than enough
5087 test $ac_count -gt 10 && break
5089 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5092 $ac_path_FGREP_found && break 3
5097 if test -z "$ac_cv_path_FGREP"; then
5098 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5101 ac_cv_path_FGREP=$FGREP
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5107 $as_echo "$ac_cv_path_FGREP" >&6; }
5108 FGREP="$ac_cv_path_FGREP"
5111 test -z "$GREP" && GREP=grep
5131 # Check whether --with-gnu-ld was given.
5132 if test "${with_gnu_ld+set}" = set; then :
5133 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5139 if test "$GCC" = yes; then
5140 # Check if gcc -print-prog-name=ld gives a path.
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5142 $as_echo_n "checking for ld used by $CC... " >&6; }
5145 # gcc leaves a trailing carriage return which upsets mingw
5146 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5148 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5151 # Accept absolute paths.
5153 re_direlt='/[^/][^/]*/\.\./'
5154 # Canonicalize the pathname of ld
5155 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5156 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5157 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5159 test -z "$LD" && LD="$ac_prog"
5162 # If it fails, then pretend we aren't using GCC.
5166 # If it is relative, then search for the first ld in PATH.
5170 elif test "$with_gnu_ld" = yes; then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5172 $as_echo_n "checking for GNU ld... " >&6; }
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5175 $as_echo_n "checking for non-GNU ld... " >&6; }
5177 if ${lt_cv_path_LD+:} false; then :
5178 $as_echo_n "(cached) " >&6
5180 if test -z "$LD"; then
5181 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5182 for ac_dir in $PATH; do
5184 test -z "$ac_dir" && ac_dir=.
5185 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5186 lt_cv_path_LD="$ac_dir/$ac_prog"
5187 # Check to see if the program is GNU ld. I'd rather use --version,
5188 # but apparently some variants of GNU ld only accept -v.
5189 # Break only if it was the GNU/non-GNU ld that we prefer.
5190 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5191 *GNU* | *'with BFD'*)
5192 test "$with_gnu_ld" != no && break
5195 test "$with_gnu_ld" != yes && break
5202 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5207 if test -n "$LD"; then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5209 $as_echo "$LD" >&6; }
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5214 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5216 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5217 if ${lt_cv_prog_gnu_ld+:} false; then :
5218 $as_echo_n "(cached) " >&6
5220 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5221 case `$LD -v 2>&1 </dev/null` in
5222 *GNU* | *'with BFD'*)
5223 lt_cv_prog_gnu_ld=yes
5226 lt_cv_prog_gnu_ld=no
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5231 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5232 with_gnu_ld=$lt_cv_prog_gnu_ld
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5243 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5244 if ${lt_cv_path_NM+:} false; then :
5245 $as_echo_n "(cached) " >&6
5247 if test -n "$NM"; then
5248 # Let the user override the test.
5251 lt_nm_to_check="${ac_tool_prefix}nm"
5252 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5253 lt_nm_to_check="$lt_nm_to_check nm"
5255 for lt_tmp_nm in $lt_nm_to_check; do
5256 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5257 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5259 test -z "$ac_dir" && ac_dir=.
5260 tmp_nm="$ac_dir/$lt_tmp_nm"
5261 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5262 # Check to see if the nm accepts a BSD-compat flag.
5263 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5264 # nm: unknown option "B" ignored
5265 # Tru64's nm complains that /dev/null is an invalid object file
5266 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5267 */dev/null* | *'Invalid file or object type'*)
5268 lt_cv_path_NM="$tmp_nm -B"
5272 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5274 lt_cv_path_NM="$tmp_nm -p"
5278 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5279 continue # so that we can try to find one that supports BSD flags
5288 : ${lt_cv_path_NM=no}
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5292 $as_echo "$lt_cv_path_NM" >&6; }
5293 if test "$lt_cv_path_NM" != "no"; then
5296 # Didn't find any BSD compatible name lister, look for dumpbin.
5297 if test -n "$DUMPBIN"; then :
5298 # Let the user override the test.
5300 if test -n "$ac_tool_prefix"; then
5301 for ac_prog in dumpbin "link -dump"
5303 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5304 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if ${ac_cv_prog_DUMPBIN+:} false; then :
5308 $as_echo_n "(cached) " >&6
5310 if test -n "$DUMPBIN"; then
5311 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5317 test -z "$as_dir" && as_dir=.
5318 for ac_exec_ext in '' $ac_executable_extensions; do
5319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5320 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5330 DUMPBIN=$ac_cv_prog_DUMPBIN
5331 if test -n "$DUMPBIN"; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5333 $as_echo "$DUMPBIN" >&6; }
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5340 test -n "$DUMPBIN" && break
5343 if test -z "$DUMPBIN"; then
5344 ac_ct_DUMPBIN=$DUMPBIN
5345 for ac_prog in dumpbin "link -dump"
5347 # Extract the first word of "$ac_prog", so it can be a program name with args.
5348 set dummy $ac_prog; ac_word=$2
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5350 $as_echo_n "checking for $ac_word... " >&6; }
5351 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5352 $as_echo_n "(cached) " >&6
5354 if test -n "$ac_ct_DUMPBIN"; then
5355 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361 test -z "$as_dir" && as_dir=.
5362 for ac_exec_ext in '' $ac_executable_extensions; do
5363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5364 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5375 if test -n "$ac_ct_DUMPBIN"; then
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5377 $as_echo "$ac_ct_DUMPBIN" >&6; }
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5380 $as_echo "no" >&6; }
5384 test -n "$ac_ct_DUMPBIN" && break
5387 if test "x$ac_ct_DUMPBIN" = x; then
5390 case $cross_compiling:$ac_tool_warned in
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5394 ac_tool_warned=yes ;;
5396 DUMPBIN=$ac_ct_DUMPBIN
5400 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5402 DUMPBIN="$DUMPBIN -symbols"
5410 if test "$DUMPBIN" != ":"; then
5414 test -z "$NM" && NM=nm
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5422 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5423 if ${lt_cv_nm_interface+:} false; then :
5424 $as_echo_n "(cached) " >&6
5426 lt_cv_nm_interface="BSD nm"
5427 echo "int some_variable = 0;" > conftest.$ac_ext
5428 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5429 (eval "$ac_compile" 2>conftest.err)
5430 cat conftest.err >&5
5431 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5432 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5433 cat conftest.err >&5
5434 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5435 cat conftest.out >&5
5436 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5437 lt_cv_nm_interface="MS dumpbin"
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5442 $as_echo "$lt_cv_nm_interface" >&6; }
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5445 $as_echo_n "checking whether ln -s works... " >&6; }
5447 if test "$LN_S" = "ln -s"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5449 $as_echo "yes" >&6; }
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5452 $as_echo "no, using $LN_S" >&6; }
5455 # find the maximum length of command line arguments
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5457 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5458 if ${lt_cv_sys_max_cmd_len+:} false; then :
5459 $as_echo_n "(cached) " >&6
5466 # On DJGPP, this test can blow up pretty badly due to problems in libc
5467 # (any single argument exceeding 2000 bytes causes a buffer overrun
5468 # during glob expansion). Even if it were fixed, the result of this
5469 # check would be larger than it should be.
5470 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5474 # Under GNU Hurd, this test is not required because there is
5475 # no limit to the length of command line arguments.
5476 # Libtool will interpret -1 as no limit whatsoever
5477 lt_cv_sys_max_cmd_len=-1;
5480 cygwin* | mingw* | cegcc*)
5481 # On Win9x/ME, this test blows up -- it succeeds, but takes
5482 # about 5 minutes as the teststring grows exponentially.
5483 # Worse, since 9x/ME are not pre-emptively multitasking,
5484 # you end up with a "frozen" computer, even though with patience
5485 # the test eventually succeeds (with a max line length of 256k).
5486 # Instead, let's just punt: use the minimum linelength reported by
5487 # all of the supported platforms: 8192 (on NT/2K/XP).
5488 lt_cv_sys_max_cmd_len=8192;
5492 # On MiNT this can take a long time and run out of memory.
5493 lt_cv_sys_max_cmd_len=8192;
5497 # On AmigaOS with pdksh, this test takes hours, literally.
5498 # So we just punt and use a minimum line length of 8192.
5499 lt_cv_sys_max_cmd_len=8192;
5502 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5503 # This has been around since 386BSD, at least. Likely further.
5504 if test -x /sbin/sysctl; then
5505 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5506 elif test -x /usr/sbin/sysctl; then
5507 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5509 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5511 # And add a safety zone
5512 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5513 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5517 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5518 lt_cv_sys_max_cmd_len=196608
5522 # The test takes a long time on OS/2.
5523 lt_cv_sys_max_cmd_len=8192
5527 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5528 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5529 # nice to cause kernel panics so lets avoid the loop below.
5530 # First set a reasonable default.
5531 lt_cv_sys_max_cmd_len=16384
5533 if test -x /sbin/sysconfig; then
5534 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5535 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5540 lt_cv_sys_max_cmd_len=102400
5542 sysv5* | sco5v6* | sysv4.2uw2*)
5543 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5544 if test -n "$kargmax"; then
5545 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5547 lt_cv_sys_max_cmd_len=32768
5551 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5552 if test -n "$lt_cv_sys_max_cmd_len" && \
5553 test undefined != "$lt_cv_sys_max_cmd_len"; then
5554 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5555 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5557 # Make teststring a little bigger before we do anything with it.
5558 # a 1K string should be a reasonable start.
5559 for i in 1 2 3 4 5 6 7 8 ; do
5560 teststring=$teststring$teststring
5562 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5563 # If test is not a shell built-in, we'll probably end up computing a
5564 # maximum length that is only half of the actual maximum length, but
5566 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5567 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5568 test $i != 17 # 1/2 MB should be enough
5571 teststring=$teststring$teststring
5573 # Only check the string length outside the loop.
5574 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5576 # Add a significant safety factor because C++ compilers can tack on
5577 # massive amounts of additional arguments before passing them to the
5578 # linker. It appears as though 1/2 is a usable value.
5579 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5586 if test -n $lt_cv_sys_max_cmd_len ; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5588 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5591 $as_echo "none" >&6; }
5593 max_cmd_len=$lt_cv_sys_max_cmd_len
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5605 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5606 # Try some XSI features
5609 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5611 && eval 'test $(( 1 + 1 )) -eq 2 \
5612 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5615 $as_echo "$xsi_shell" >&6; }
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5619 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5621 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5623 && lt_shell_append=yes
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5625 $as_echo "$lt_shell_append" >&6; }
5628 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5638 # test EBCDIC or ASCII
5639 case `echo X|tr X '\101'` in
5640 A) # ASCII based system
5641 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5642 lt_SP2NL='tr \040 \012'
5643 lt_NL2SP='tr \015\012 \040\040'
5645 *) # EBCDIC based system
5646 lt_SP2NL='tr \100 \n'
5647 lt_NL2SP='tr \r\n \100\100'
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5660 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5661 if ${lt_cv_to_host_file_cmd+:} false; then :
5662 $as_echo_n "(cached) " >&6
5667 *-*-mingw* ) # actually msys
5668 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5671 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5673 * ) # otherwise, assume *nix
5674 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5680 *-*-mingw* ) # actually msys
5681 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5684 lt_cv_to_host_file_cmd=func_convert_file_noop
5686 * ) # otherwise, assume *nix
5687 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5691 * ) # unhandled hosts (and "normal" native builds)
5692 lt_cv_to_host_file_cmd=func_convert_file_noop
5698 to_host_file_cmd=$lt_cv_to_host_file_cmd
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5700 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5707 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5708 if ${lt_cv_to_tool_file_cmd+:} false; then :
5709 $as_echo_n "(cached) " >&6
5711 #assume ordinary cross tools, or native build.
5712 lt_cv_to_tool_file_cmd=func_convert_file_noop
5716 *-*-mingw* ) # actually msys
5717 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5725 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5727 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5734 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5735 if ${lt_cv_ld_reload_flag+:} false; then :
5736 $as_echo_n "(cached) " >&6
5738 lt_cv_ld_reload_flag='-r'
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5741 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5742 reload_flag=$lt_cv_ld_reload_flag
5743 case $reload_flag in
5745 *) reload_flag=" $reload_flag" ;;
5747 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5749 cygwin* | mingw* | pw32* | cegcc*)
5750 if test "$GCC" != yes; then
5755 if test "$GCC" = yes; then
5756 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5758 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5771 if test -n "$ac_tool_prefix"; then
5772 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5773 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5775 $as_echo_n "checking for $ac_word... " >&6; }
5776 if ${ac_cv_prog_OBJDUMP+:} false; then :
5777 $as_echo_n "(cached) " >&6
5779 if test -n "$OBJDUMP"; then
5780 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 test -z "$as_dir" && as_dir=.
5787 for ac_exec_ext in '' $ac_executable_extensions; do
5788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5789 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5799 OBJDUMP=$ac_cv_prog_OBJDUMP
5800 if test -n "$OBJDUMP"; then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5802 $as_echo "$OBJDUMP" >&6; }
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5805 $as_echo "no" >&6; }
5810 if test -z "$ac_cv_prog_OBJDUMP"; then
5811 ac_ct_OBJDUMP=$OBJDUMP
5812 # Extract the first word of "objdump", so it can be a program name with args.
5813 set dummy objdump; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5817 $as_echo_n "(cached) " >&6
5819 if test -n "$ac_ct_OBJDUMP"; then
5820 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5840 if test -n "$ac_ct_OBJDUMP"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5842 $as_echo "$ac_ct_OBJDUMP" >&6; }
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5848 if test "x$ac_ct_OBJDUMP" = x; then
5851 case $cross_compiling:$ac_tool_warned in
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5855 ac_tool_warned=yes ;;
5857 OBJDUMP=$ac_ct_OBJDUMP
5860 OBJDUMP="$ac_cv_prog_OBJDUMP"
5863 test -z "$OBJDUMP" && OBJDUMP=objdump
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5874 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5875 if ${lt_cv_deplibs_check_method+:} false; then :
5876 $as_echo_n "(cached) " >&6
5878 lt_cv_file_magic_cmd='$MAGIC_CMD'
5879 lt_cv_file_magic_test_file=
5880 lt_cv_deplibs_check_method='unknown'
5881 # Need to set the preceding variable on all platforms that support
5882 # interlibrary dependencies.
5883 # 'none' -- dependencies not supported.
5884 # `unknown' -- same as none, but documents that we really don't know.
5885 # 'pass_all' -- all dependencies passed with no checks.
5886 # 'test_compile' -- check by making test program.
5887 # 'file_magic [[regex]]' -- check by looking for files in library path
5888 # which responds to the $file_magic_cmd with a given extended regex.
5889 # If you have `file' or equivalent on your system and you're not sure
5890 # whether `pass_all' will *always* work, you probably want this one.
5894 lt_cv_deplibs_check_method=pass_all
5898 lt_cv_deplibs_check_method=pass_all
5902 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5903 lt_cv_file_magic_cmd='/usr/bin/file -L'
5904 lt_cv_file_magic_test_file=/shlib/libc.so
5908 # func_win32_libid is a shell function defined in ltmain.sh
5909 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5910 lt_cv_file_magic_cmd='func_win32_libid'
5914 # Base MSYS/MinGW do not provide the 'file' command needed by
5915 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5916 # unless we find 'file', for example because we are cross-compiling.
5917 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5918 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5919 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5920 lt_cv_file_magic_cmd='func_win32_libid'
5922 # Keep this pattern in sync with the one in func_win32_libid.
5923 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5924 lt_cv_file_magic_cmd='$OBJDUMP -f'
5929 # use the weaker test based on 'objdump'. See mingw*.
5930 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5931 lt_cv_file_magic_cmd='$OBJDUMP -f'
5934 darwin* | rhapsody*)
5935 lt_cv_deplibs_check_method=pass_all
5938 freebsd* | dragonfly*)
5939 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5942 # Not sure whether the presence of OpenBSD here was a mistake.
5943 # Let's accept both of them until this is cleared up.
5944 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5945 lt_cv_file_magic_cmd=/usr/bin/file
5946 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5950 lt_cv_deplibs_check_method=pass_all
5955 lt_cv_deplibs_check_method=pass_all
5958 hpux10.20* | hpux11*)
5959 lt_cv_file_magic_cmd=/usr/bin/file
5962 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5963 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5966 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]'
5967 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5970 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5971 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5977 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5978 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5981 irix5* | irix6* | nonstopux*)
5983 *-32|*"-32 ") libmagic=32-bit;;
5984 *-n32|*"-n32 ") libmagic=N32;;
5985 *-64|*"-64 ") libmagic=64-bit;;
5986 *) libmagic=never-match;;
5988 lt_cv_deplibs_check_method=pass_all
5991 # This must be glibc/ELF.
5992 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5993 lt_cv_deplibs_check_method=pass_all
5996 netbsd* | netbsdelf*-gnu)
5997 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5998 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6000 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6005 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6006 lt_cv_file_magic_cmd=/usr/bin/file
6007 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6011 lt_cv_deplibs_check_method=pass_all
6015 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6016 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6018 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6022 osf3* | osf4* | osf5*)
6023 lt_cv_deplibs_check_method=pass_all
6027 lt_cv_deplibs_check_method=pass_all
6031 lt_cv_deplibs_check_method=pass_all
6034 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6035 lt_cv_deplibs_check_method=pass_all
6039 case $host_vendor in
6041 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]'
6042 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6045 lt_cv_deplibs_check_method=pass_all
6048 lt_cv_file_magic_cmd='/bin/file'
6049 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6052 lt_cv_file_magic_cmd='/bin/file'
6053 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6054 lt_cv_file_magic_test_file=/lib/libc.so
6057 lt_cv_deplibs_check_method=pass_all
6060 lt_cv_deplibs_check_method=pass_all
6066 lt_cv_deplibs_check_method=pass_all
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6072 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6076 if test "$build" = "$host"; then
6079 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6082 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6088 file_magic_cmd=$lt_cv_file_magic_cmd
6089 deplibs_check_method=$lt_cv_deplibs_check_method
6090 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6113 if test -n "$ac_tool_prefix"; then
6114 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6115 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 $as_echo_n "checking for $ac_word... " >&6; }
6118 if ${ac_cv_prog_DLLTOOL+:} false; then :
6119 $as_echo_n "(cached) " >&6
6121 if test -n "$DLLTOOL"; then
6122 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 test -z "$as_dir" && as_dir=.
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6131 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141 DLLTOOL=$ac_cv_prog_DLLTOOL
6142 if test -n "$DLLTOOL"; then
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6144 $as_echo "$DLLTOOL" >&6; }
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 $as_echo "no" >&6; }
6152 if test -z "$ac_cv_prog_DLLTOOL"; then
6153 ac_ct_DLLTOOL=$DLLTOOL
6154 # Extract the first word of "dlltool", so it can be a program name with args.
6155 set dummy dlltool; ac_word=$2
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157 $as_echo_n "checking for $ac_word... " >&6; }
6158 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6159 $as_echo_n "(cached) " >&6
6161 if test -n "$ac_ct_DLLTOOL"; then
6162 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168 test -z "$as_dir" && as_dir=.
6169 for ac_exec_ext in '' $ac_executable_extensions; do
6170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6171 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6182 if test -n "$ac_ct_DLLTOOL"; then
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6184 $as_echo "$ac_ct_DLLTOOL" >&6; }
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187 $as_echo "no" >&6; }
6190 if test "x$ac_ct_DLLTOOL" = x; then
6193 case $cross_compiling:$ac_tool_warned in
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6197 ac_tool_warned=yes ;;
6199 DLLTOOL=$ac_ct_DLLTOOL
6202 DLLTOOL="$ac_cv_prog_DLLTOOL"
6205 test -z "$DLLTOOL" && DLLTOOL=dlltool
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6217 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6218 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6219 $as_echo_n "(cached) " >&6
6221 lt_cv_sharedlib_from_linklib_cmd='unknown'
6224 cygwin* | mingw* | pw32* | cegcc*)
6225 # two different shell functions defined in ltmain.sh
6226 # decide which to use based on capabilities of $DLLTOOL
6227 case `$DLLTOOL --help 2>&1` in
6228 *--identify-strict*)
6229 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6232 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6237 # fallback: assume linklib IS sharedlib
6238 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6244 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6245 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6246 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6254 if test -n "$ac_tool_prefix"; then
6257 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6258 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if ${ac_cv_prog_AR+:} false; then :
6262 $as_echo_n "(cached) " >&6
6264 if test -n "$AR"; then
6265 ac_cv_prog_AR="$AR" # Let the user override the test.
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271 test -z "$as_dir" && as_dir=.
6272 for ac_exec_ext in '' $ac_executable_extensions; do
6273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6274 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6285 if test -n "$AR"; then
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6287 $as_echo "$AR" >&6; }
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290 $as_echo "no" >&6; }
6294 test -n "$AR" && break
6297 if test -z "$AR"; then
6301 # Extract the first word of "$ac_prog", so it can be a program name with args.
6302 set dummy $ac_prog; ac_word=$2
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6304 $as_echo_n "checking for $ac_word... " >&6; }
6305 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6306 $as_echo_n "(cached) " >&6
6308 if test -n "$ac_ct_AR"; then
6309 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 test -z "$as_dir" && as_dir=.
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6318 ac_cv_prog_ac_ct_AR="$ac_prog"
6319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6328 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6329 if test -n "$ac_ct_AR"; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6331 $as_echo "$ac_ct_AR" >&6; }
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6334 $as_echo "no" >&6; }
6338 test -n "$ac_ct_AR" && break
6341 if test "x$ac_ct_AR" = x; then
6344 case $cross_compiling:$ac_tool_warned in
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6348 ac_tool_warned=yes ;;
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6368 $as_echo_n "checking for archiver @FILE support... " >&6; }
6369 if ${lt_cv_ar_at_file+:} false; then :
6370 $as_echo_n "(cached) " >&6
6373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6384 if ac_fn_c_try_compile "$LINENO"; then :
6385 echo conftest.$ac_objext > conftest.lst
6386 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6387 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6388 (eval $lt_ar_try) 2>&5
6390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6391 test $ac_status = 0; }
6392 if test "$ac_status" -eq 0; then
6393 # Ensure the archiver fails upon bogus file names.
6394 rm -f conftest.$ac_objext libconftest.a
6395 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6396 (eval $lt_ar_try) 2>&5
6398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6399 test $ac_status = 0; }
6400 if test "$ac_status" -ne 0; then
6404 rm -f conftest.* libconftest.a
6407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6411 $as_echo "$lt_cv_ar_at_file" >&6; }
6413 if test "x$lt_cv_ar_at_file" = xno; then
6416 archiver_list_spec=$lt_cv_ar_at_file
6425 if test -n "$ac_tool_prefix"; then
6426 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6427 set dummy ${ac_tool_prefix}strip; ac_word=$2
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 $as_echo_n "checking for $ac_word... " >&6; }
6430 if ${ac_cv_prog_STRIP+:} false; then :
6431 $as_echo_n "(cached) " >&6
6433 if test -n "$STRIP"; then
6434 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6440 test -z "$as_dir" && as_dir=.
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6453 STRIP=$ac_cv_prog_STRIP
6454 if test -n "$STRIP"; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6456 $as_echo "$STRIP" >&6; }
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6464 if test -z "$ac_cv_prog_STRIP"; then
6466 # Extract the first word of "strip", so it can be a program name with args.
6467 set dummy strip; ac_word=$2
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6469 $as_echo_n "checking for $ac_word... " >&6; }
6470 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6471 $as_echo_n "(cached) " >&6
6473 if test -n "$ac_ct_STRIP"; then
6474 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480 test -z "$as_dir" && as_dir=.
6481 for ac_exec_ext in '' $ac_executable_extensions; do
6482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6483 ac_cv_prog_ac_ct_STRIP="strip"
6484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6493 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6494 if test -n "$ac_ct_STRIP"; then
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6496 $as_echo "$ac_ct_STRIP" >&6; }
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6499 $as_echo "no" >&6; }
6502 if test "x$ac_ct_STRIP" = x; then
6505 case $cross_compiling:$ac_tool_warned in
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6509 ac_tool_warned=yes ;;
6514 STRIP="$ac_cv_prog_STRIP"
6517 test -z "$STRIP" && STRIP=:
6524 if test -n "$ac_tool_prefix"; then
6525 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6526 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6528 $as_echo_n "checking for $ac_word... " >&6; }
6529 if ${ac_cv_prog_RANLIB+:} false; then :
6530 $as_echo_n "(cached) " >&6
6532 if test -n "$RANLIB"; then
6533 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6539 test -z "$as_dir" && as_dir=.
6540 for ac_exec_ext in '' $ac_executable_extensions; do
6541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6542 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6552 RANLIB=$ac_cv_prog_RANLIB
6553 if test -n "$RANLIB"; then
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6555 $as_echo "$RANLIB" >&6; }
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6558 $as_echo "no" >&6; }
6563 if test -z "$ac_cv_prog_RANLIB"; then
6564 ac_ct_RANLIB=$RANLIB
6565 # Extract the first word of "ranlib", so it can be a program name with args.
6566 set dummy ranlib; ac_word=$2
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6568 $as_echo_n "checking for $ac_word... " >&6; }
6569 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6570 $as_echo_n "(cached) " >&6
6572 if test -n "$ac_ct_RANLIB"; then
6573 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6579 test -z "$as_dir" && as_dir=.
6580 for ac_exec_ext in '' $ac_executable_extensions; do
6581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6582 ac_cv_prog_ac_ct_RANLIB="ranlib"
6583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6592 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6593 if test -n "$ac_ct_RANLIB"; then
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6595 $as_echo "$ac_ct_RANLIB" >&6; }
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6598 $as_echo "no" >&6; }
6601 if test "x$ac_ct_RANLIB" = x; then
6604 case $cross_compiling:$ac_tool_warned in
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6608 ac_tool_warned=yes ;;
6610 RANLIB=$ac_ct_RANLIB
6613 RANLIB="$ac_cv_prog_RANLIB"
6616 test -z "$RANLIB" && RANLIB=:
6623 # Determine commands to create old-style static archives.
6624 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6625 old_postinstall_cmds='chmod 644 $oldlib'
6626 old_postuninstall_cmds=
6628 if test -n "$RANLIB"; then
6631 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6634 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6637 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6642 lock_old_archive_extraction=yes ;;
6644 lock_old_archive_extraction=no ;;
6685 # If no C compiler was specified, use CC.
6688 # If no C compiler flags were specified, use CFLAGS.
6689 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6691 # Allow CC to be a program name with arguments.
6695 # Check for command to grab the raw symbol name followed by C symbol from nm.
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6697 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6698 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6699 $as_echo_n "(cached) " >&6
6702 # These are sane defaults that work on at least a few old systems.
6703 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6705 # Character class describing NM global symbol codes.
6706 symcode='[BCDEGRST]'
6708 # Regexp to match symbols that can be accessed directly from C.
6709 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6711 # Define system-specific variables.
6716 cygwin* | mingw* | pw32* | cegcc*)
6717 symcode='[ABCDGISTW]'
6720 if test "$host_cpu" = ia64; then
6721 symcode='[ABCDEGRST]'
6725 symcode='[BCDEGRST]'
6728 symcode='[BCDEGQRST]'
6739 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6747 # If we're using GNU nm, then use its standard symbol codes.
6748 case `$NM -V 2>&1` in
6749 *GNU* | *'with BFD'*)
6750 symcode='[ABCDGIRSTW]' ;;
6753 # Transform an extracted symbol line into a proper C declaration.
6754 # Some systems (esp. on ia64) link data and code symbols differently,
6755 # so use this general approach.
6756 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6758 # Transform an extracted symbol line into symbol name and symbol address
6759 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6760 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'"
6762 # Handle CRLF in mingw tool chain
6766 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6770 # Try without a prefix underscore, then with it.
6771 for ac_symprfx in "" "_"; do
6773 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6774 symxfrm="\\1 $ac_symprfx\\2 \\2"
6776 # Write the raw and C identifiers.
6777 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6778 # Fake it for dumpbin and say T for any non-static function
6779 # and D for any global variable.
6780 # Also find C++ and __fastcall symbols from MSVC++,
6781 # which start with @ or ?.
6782 lt_cv_sys_global_symbol_pipe="$AWK '"\
6783 " {last_section=section; section=\$ 3};"\
6784 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6785 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6786 " \$ 0!~/External *\|/{next};"\
6787 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6788 " {if(hide[section]) next};"\
6789 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6790 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6791 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6792 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6793 " ' prfx=^$ac_symprfx"
6795 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6797 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6799 # Check to see that the pipe works correctly.
6803 cat > conftest.$ac_ext <<_LT_EOF
6808 void nm_test_func(void);
6809 void nm_test_func(void){}
6813 int main(){nm_test_var='a';nm_test_func();return(0);}
6816 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6817 (eval $ac_compile) 2>&5
6819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6820 test $ac_status = 0; }; then
6821 # Now try to grab the symbols.
6823 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6824 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6827 test $ac_status = 0; } && test -s "$nlist"; then
6828 # Try sorting and uniquifying the output.
6829 if sort "$nlist" | uniq > "$nlist"T; then
6830 mv -f "$nlist"T "$nlist"
6835 # Make sure that we snagged all the symbols we need.
6836 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6837 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6838 cat <<_LT_EOF > conftest.$ac_ext
6839 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6840 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6841 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6842 relocations are performed -- see ld's documentation on pseudo-relocs. */
6843 # define LT_DLSYM_CONST
6844 #elif defined(__osf__)
6845 /* This system does not cope well with relocations in const data. */
6846 # define LT_DLSYM_CONST
6848 # define LT_DLSYM_CONST const
6856 # Now generate the symbol file.
6857 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6859 cat <<_LT_EOF >> conftest.$ac_ext
6861 /* The mapping between symbol names and symbols. */
6862 LT_DLSYM_CONST struct {
6866 lt__PROGRAM__LTX_preloaded_symbols[] =
6868 { "@PROGRAM@", (void *) 0 },
6870 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6871 cat <<\_LT_EOF >> conftest.$ac_ext
6875 /* This works around a problem in FreeBSD linker */
6876 #ifdef FREEBSD_WORKAROUND
6877 static const void *lt_preloaded_setup() {
6878 return lt__PROGRAM__LTX_preloaded_symbols;
6886 # Now try linking the two files.
6887 mv conftest.$ac_objext conftstm.$ac_objext
6888 lt_globsym_save_LIBS=$LIBS
6889 lt_globsym_save_CFLAGS=$CFLAGS
6890 LIBS="conftstm.$ac_objext"
6891 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6892 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6893 (eval $ac_link) 2>&5
6895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6896 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6899 LIBS=$lt_globsym_save_LIBS
6900 CFLAGS=$lt_globsym_save_CFLAGS
6902 echo "cannot find nm_test_func in $nlist" >&5
6905 echo "cannot find nm_test_var in $nlist" >&5
6908 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6911 echo "$progname: failed program was:" >&5
6912 cat conftest.$ac_ext >&5
6914 rm -rf conftest* conftst*
6916 # Do not use the global_symbol_pipe unless it works.
6917 if test "$pipe_works" = yes; then
6920 lt_cv_sys_global_symbol_pipe=
6926 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6927 lt_cv_sys_global_symbol_to_cdecl=
6929 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6931 $as_echo "failed" >&6; }
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6934 $as_echo "ok" >&6; }
6937 # Response file support.
6938 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6939 nm_file_list_spec='@'
6940 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6941 nm_file_list_spec='@'
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6971 $as_echo_n "checking for sysroot... " >&6; }
6973 # Check whether --with-sysroot was given.
6974 if test "${with_sysroot+set}" = set; then :
6975 withval=$with_sysroot;
6982 case ${with_sysroot} in #(
6984 if test "$GCC" = yes; then
6985 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6989 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6995 $as_echo "${with_sysroot}" >&6; }
6996 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7001 $as_echo "${lt_sysroot:-no}" >&6; }
7007 # Check whether --enable-libtool-lock was given.
7008 if test "${enable_libtool_lock+set}" = set; then :
7009 enableval=$enable_libtool_lock;
7012 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7014 # Some flags need to be propagated to the compiler or linker for good
7018 # Find out which ABI we are using.
7019 echo 'int i;' > conftest.$ac_ext
7020 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7021 (eval $ac_compile) 2>&5
7023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7024 test $ac_status = 0; }; then
7025 case `/usr/bin/file conftest.$ac_objext` in
7037 # Find out which ABI we are using.
7038 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7040 (eval $ac_compile) 2>&5
7042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7043 test $ac_status = 0; }; then
7044 if test "$lt_cv_prog_gnu_ld" = yes; then
7045 case `/usr/bin/file conftest.$ac_objext` in
7047 LD="${LD-ld} -melf32bsmip"
7050 LD="${LD-ld} -melf32bmipn32"
7053 LD="${LD-ld} -melf64bmip"
7057 case `/usr/bin/file conftest.$ac_objext` in
7073 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7074 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7075 # Find out which ABI we are using.
7076 echo 'int i;' > conftest.$ac_ext
7077 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7078 (eval $ac_compile) 2>&5
7080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7081 test $ac_status = 0; }; then
7082 case `/usr/bin/file conftest.o` in
7085 x86_64-*kfreebsd*-gnu)
7086 LD="${LD-ld} -m elf_i386_fbsd"
7089 case `/usr/bin/file conftest.o` in
7091 LD="${LD-ld} -m elf32_x86_64"
7094 LD="${LD-ld} -m elf_i386"
7098 ppc64-*linux*|powerpc64-*linux*)
7099 LD="${LD-ld} -m elf32ppclinux"
7102 LD="${LD-ld} -m elf_s390"
7105 LD="${LD-ld} -m elf32_sparc"
7111 x86_64-*kfreebsd*-gnu)
7112 LD="${LD-ld} -m elf_x86_64_fbsd"
7115 LD="${LD-ld} -m elf_x86_64"
7117 ppc*-*linux*|powerpc*-*linux*)
7118 LD="${LD-ld} -m elf64ppc"
7120 s390*-*linux*|s390*-*tpf*)
7121 LD="${LD-ld} -m elf64_s390"
7124 LD="${LD-ld} -m elf64_sparc"
7134 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7135 SAVE_CFLAGS="$CFLAGS"
7136 CFLAGS="$CFLAGS -belf"
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7138 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7139 if ${lt_cv_cc_needs_belf+:} false; then :
7140 $as_echo_n "(cached) " >&6
7143 ac_cpp='$CPP $CPPFLAGS'
7144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7149 /* end confdefs.h. */
7159 if ac_fn_c_try_link "$LINENO"; then :
7160 lt_cv_cc_needs_belf=yes
7162 lt_cv_cc_needs_belf=no
7164 rm -f core conftest.err conftest.$ac_objext \
7165 conftest$ac_exeext conftest.$ac_ext
7167 ac_cpp='$CPP $CPPFLAGS'
7168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7174 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7175 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7176 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7177 CFLAGS="$SAVE_CFLAGS"
7181 # Find out which ABI we are using.
7182 echo 'int i;' > conftest.$ac_ext
7183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7184 (eval $ac_compile) 2>&5
7186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7187 test $ac_status = 0; }; then
7188 case `/usr/bin/file conftest.o` in
7190 case $lt_cv_prog_gnu_ld in
7194 LD="${LD-ld} -m elf_x86_64"
7197 LD="${LD-ld} -m elf64_sparc"
7200 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7201 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7206 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7218 need_locks="$enable_libtool_lock"
7220 if test -n "$ac_tool_prefix"; then
7221 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7222 set dummy ${ac_tool_prefix}mt; ac_word=$2
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7224 $as_echo_n "checking for $ac_word... " >&6; }
7225 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7226 $as_echo_n "(cached) " >&6
7228 if test -n "$MANIFEST_TOOL"; then
7229 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235 test -z "$as_dir" && as_dir=.
7236 for ac_exec_ext in '' $ac_executable_extensions; do
7237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7238 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7248 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7249 if test -n "$MANIFEST_TOOL"; then
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7251 $as_echo "$MANIFEST_TOOL" >&6; }
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7254 $as_echo "no" >&6; }
7259 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7260 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7261 # Extract the first word of "mt", so it can be a program name with args.
7262 set dummy mt; ac_word=$2
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7264 $as_echo_n "checking for $ac_word... " >&6; }
7265 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7266 $as_echo_n "(cached) " >&6
7268 if test -n "$ac_ct_MANIFEST_TOOL"; then
7269 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7275 test -z "$as_dir" && as_dir=.
7276 for ac_exec_ext in '' $ac_executable_extensions; do
7277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7278 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7288 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7289 if test -n "$ac_ct_MANIFEST_TOOL"; then
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7291 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7294 $as_echo "no" >&6; }
7297 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7300 case $cross_compiling:$ac_tool_warned in
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7304 ac_tool_warned=yes ;;
7306 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7309 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7312 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7314 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7315 if ${lt_cv_path_mainfest_tool+:} false; then :
7316 $as_echo_n "(cached) " >&6
7318 lt_cv_path_mainfest_tool=no
7319 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7320 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7321 cat conftest.err >&5
7322 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7323 lt_cv_path_mainfest_tool=yes
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7328 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7329 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7339 rhapsody* | darwin*)
7340 if test -n "$ac_tool_prefix"; then
7341 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7342 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344 $as_echo_n "checking for $ac_word... " >&6; }
7345 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7346 $as_echo_n "(cached) " >&6
7348 if test -n "$DSYMUTIL"; then
7349 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7355 test -z "$as_dir" && as_dir=.
7356 for ac_exec_ext in '' $ac_executable_extensions; do
7357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7369 if test -n "$DSYMUTIL"; then
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7371 $as_echo "$DSYMUTIL" >&6; }
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 $as_echo "no" >&6; }
7379 if test -z "$ac_cv_prog_DSYMUTIL"; then
7380 ac_ct_DSYMUTIL=$DSYMUTIL
7381 # Extract the first word of "dsymutil", so it can be a program name with args.
7382 set dummy dsymutil; ac_word=$2
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7384 $as_echo_n "checking for $ac_word... " >&6; }
7385 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7386 $as_echo_n "(cached) " >&6
7388 if test -n "$ac_ct_DSYMUTIL"; then
7389 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7395 test -z "$as_dir" && as_dir=.
7396 for ac_exec_ext in '' $ac_executable_extensions; do
7397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7398 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7409 if test -n "$ac_ct_DSYMUTIL"; then
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7411 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7414 $as_echo "no" >&6; }
7417 if test "x$ac_ct_DSYMUTIL" = x; then
7420 case $cross_compiling:$ac_tool_warned in
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7424 ac_tool_warned=yes ;;
7426 DSYMUTIL=$ac_ct_DSYMUTIL
7429 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7432 if test -n "$ac_tool_prefix"; then
7433 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7434 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 $as_echo_n "checking for $ac_word... " >&6; }
7437 if ${ac_cv_prog_NMEDIT+:} false; then :
7438 $as_echo_n "(cached) " >&6
7440 if test -n "$NMEDIT"; then
7441 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7447 test -z "$as_dir" && as_dir=.
7448 for ac_exec_ext in '' $ac_executable_extensions; do
7449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7450 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460 NMEDIT=$ac_cv_prog_NMEDIT
7461 if test -n "$NMEDIT"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7463 $as_echo "$NMEDIT" >&6; }
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7471 if test -z "$ac_cv_prog_NMEDIT"; then
7472 ac_ct_NMEDIT=$NMEDIT
7473 # Extract the first word of "nmedit", so it can be a program name with args.
7474 set dummy nmedit; ac_word=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 $as_echo_n "checking for $ac_word... " >&6; }
7477 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7478 $as_echo_n "(cached) " >&6
7480 if test -n "$ac_ct_NMEDIT"; then
7481 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7487 test -z "$as_dir" && as_dir=.
7488 for ac_exec_ext in '' $ac_executable_extensions; do
7489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7490 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7501 if test -n "$ac_ct_NMEDIT"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7503 $as_echo "$ac_ct_NMEDIT" >&6; }
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7509 if test "x$ac_ct_NMEDIT" = x; then
7512 case $cross_compiling:$ac_tool_warned in
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7516 ac_tool_warned=yes ;;
7518 NMEDIT=$ac_ct_NMEDIT
7521 NMEDIT="$ac_cv_prog_NMEDIT"
7524 if test -n "$ac_tool_prefix"; then
7525 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7526 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7528 $as_echo_n "checking for $ac_word... " >&6; }
7529 if ${ac_cv_prog_LIPO+:} false; then :
7530 $as_echo_n "(cached) " >&6
7532 if test -n "$LIPO"; then
7533 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7539 test -z "$as_dir" && as_dir=.
7540 for ac_exec_ext in '' $ac_executable_extensions; do
7541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7542 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7552 LIPO=$ac_cv_prog_LIPO
7553 if test -n "$LIPO"; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7555 $as_echo "$LIPO" >&6; }
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7558 $as_echo "no" >&6; }
7563 if test -z "$ac_cv_prog_LIPO"; then
7565 # Extract the first word of "lipo", so it can be a program name with args.
7566 set dummy lipo; ac_word=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568 $as_echo_n "checking for $ac_word... " >&6; }
7569 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7570 $as_echo_n "(cached) " >&6
7572 if test -n "$ac_ct_LIPO"; then
7573 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7579 test -z "$as_dir" && as_dir=.
7580 for ac_exec_ext in '' $ac_executable_extensions; do
7581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7582 ac_cv_prog_ac_ct_LIPO="lipo"
7583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7593 if test -n "$ac_ct_LIPO"; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7595 $as_echo "$ac_ct_LIPO" >&6; }
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7601 if test "x$ac_ct_LIPO" = x; then
7604 case $cross_compiling:$ac_tool_warned in
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7608 ac_tool_warned=yes ;;
7613 LIPO="$ac_cv_prog_LIPO"
7616 if test -n "$ac_tool_prefix"; then
7617 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7618 set dummy ${ac_tool_prefix}otool; ac_word=$2
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7620 $as_echo_n "checking for $ac_word... " >&6; }
7621 if ${ac_cv_prog_OTOOL+:} false; then :
7622 $as_echo_n "(cached) " >&6
7624 if test -n "$OTOOL"; then
7625 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7631 test -z "$as_dir" && as_dir=.
7632 for ac_exec_ext in '' $ac_executable_extensions; do
7633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7634 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644 OTOOL=$ac_cv_prog_OTOOL
7645 if test -n "$OTOOL"; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7647 $as_echo "$OTOOL" >&6; }
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7650 $as_echo "no" >&6; }
7655 if test -z "$ac_cv_prog_OTOOL"; then
7657 # Extract the first word of "otool", so it can be a program name with args.
7658 set dummy otool; ac_word=$2
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7660 $as_echo_n "checking for $ac_word... " >&6; }
7661 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7662 $as_echo_n "(cached) " >&6
7664 if test -n "$ac_ct_OTOOL"; then
7665 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7671 test -z "$as_dir" && as_dir=.
7672 for ac_exec_ext in '' $ac_executable_extensions; do
7673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7674 ac_cv_prog_ac_ct_OTOOL="otool"
7675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7684 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7685 if test -n "$ac_ct_OTOOL"; then
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7687 $as_echo "$ac_ct_OTOOL" >&6; }
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7690 $as_echo "no" >&6; }
7693 if test "x$ac_ct_OTOOL" = x; then
7696 case $cross_compiling:$ac_tool_warned in
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7700 ac_tool_warned=yes ;;
7705 OTOOL="$ac_cv_prog_OTOOL"
7708 if test -n "$ac_tool_prefix"; then
7709 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7710 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7712 $as_echo_n "checking for $ac_word... " >&6; }
7713 if ${ac_cv_prog_OTOOL64+:} false; then :
7714 $as_echo_n "(cached) " >&6
7716 if test -n "$OTOOL64"; then
7717 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7723 test -z "$as_dir" && as_dir=.
7724 for ac_exec_ext in '' $ac_executable_extensions; do
7725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7726 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7736 OTOOL64=$ac_cv_prog_OTOOL64
7737 if test -n "$OTOOL64"; then
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7739 $as_echo "$OTOOL64" >&6; }
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7742 $as_echo "no" >&6; }
7747 if test -z "$ac_cv_prog_OTOOL64"; then
7748 ac_ct_OTOOL64=$OTOOL64
7749 # Extract the first word of "otool64", so it can be a program name with args.
7750 set dummy otool64; ac_word=$2
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7752 $as_echo_n "checking for $ac_word... " >&6; }
7753 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7754 $as_echo_n "(cached) " >&6
7756 if test -n "$ac_ct_OTOOL64"; then
7757 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7763 test -z "$as_dir" && as_dir=.
7764 for ac_exec_ext in '' $ac_executable_extensions; do
7765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7766 ac_cv_prog_ac_ct_OTOOL64="otool64"
7767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7776 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7777 if test -n "$ac_ct_OTOOL64"; then
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7779 $as_echo "$ac_ct_OTOOL64" >&6; }
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7782 $as_echo "no" >&6; }
7785 if test "x$ac_ct_OTOOL64" = x; then
7788 case $cross_compiling:$ac_tool_warned in
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7792 ac_tool_warned=yes ;;
7794 OTOOL64=$ac_ct_OTOOL64
7797 OTOOL64="$ac_cv_prog_OTOOL64"
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7827 $as_echo_n "checking for -single_module linker flag... " >&6; }
7828 if ${lt_cv_apple_cc_single_mod+:} false; then :
7829 $as_echo_n "(cached) " >&6
7831 lt_cv_apple_cc_single_mod=no
7832 if test -z "${LT_MULTI_MODULE}"; then
7833 # By default we will add the -single_module flag. You can override
7834 # by either setting the environment variable LT_MULTI_MODULE
7835 # non-empty at configure time, or by adding -multi_module to the
7837 rm -rf libconftest.dylib*
7838 echo "int foo(void){return 1;}" > conftest.c
7839 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7840 -dynamiclib -Wl,-single_module conftest.c" >&5
7841 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7842 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7844 # If there is a non-empty error log, and "single_module"
7845 # appears in it, assume the flag caused a linker warning
7846 if test -s conftest.err && $GREP single_module conftest.err; then
7847 cat conftest.err >&5
7848 # Otherwise, if the output was created with a 0 exit code from
7849 # the compiler, it worked.
7850 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7851 lt_cv_apple_cc_single_mod=yes
7853 cat conftest.err >&5
7855 rm -rf libconftest.dylib*
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7860 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7863 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7864 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7865 $as_echo_n "(cached) " >&6
7867 lt_cv_ld_exported_symbols_list=no
7868 save_LDFLAGS=$LDFLAGS
7869 echo "_main" > conftest.sym
7870 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7872 /* end confdefs.h. */
7882 if ac_fn_c_try_link "$LINENO"; then :
7883 lt_cv_ld_exported_symbols_list=yes
7885 lt_cv_ld_exported_symbols_list=no
7887 rm -f core conftest.err conftest.$ac_objext \
7888 conftest$ac_exeext conftest.$ac_ext
7889 LDFLAGS="$save_LDFLAGS"
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7893 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7896 $as_echo_n "checking for -force_load linker flag... " >&6; }
7897 if ${lt_cv_ld_force_load+:} false; then :
7898 $as_echo_n "(cached) " >&6
7900 lt_cv_ld_force_load=no
7901 cat > conftest.c << _LT_EOF
7902 int forced_loaded() { return 2;}
7904 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7905 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7906 echo "$AR cru libconftest.a conftest.o" >&5
7907 $AR cru libconftest.a conftest.o 2>&5
7908 echo "$RANLIB libconftest.a" >&5
7909 $RANLIB libconftest.a 2>&5
7910 cat > conftest.c << _LT_EOF
7911 int main() { return 0;}
7913 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7914 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7916 if test -s conftest.err && $GREP force_load conftest.err; then
7917 cat conftest.err >&5
7918 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7919 lt_cv_ld_force_load=yes
7921 cat conftest.err >&5
7923 rm -f conftest.err libconftest.a conftest conftest.c
7924 rm -rf conftest.dSYM
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7928 $as_echo "$lt_cv_ld_force_load" >&6; }
7930 rhapsody* | darwin1.[012])
7931 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7933 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7934 darwin*) # darwin 5.x on
7935 # if running on 10.5 or later, the deployment target defaults
7936 # to the OS version, if on x86, and 10.4, the deployment
7937 # target defaults to 10.4. Don't you love it?
7938 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7939 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7940 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7942 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7944 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7948 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7949 _lt_dar_single_mod='$single_module'
7951 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7952 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7954 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7956 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7957 _lt_dsymutil='~$DSYMUTIL $lib || :'
7965 ac_cpp='$CPP $CPPFLAGS'
7966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7970 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7971 # On Suns, sometimes $CPP names a directory.
7972 if test -n "$CPP" && test -d "$CPP"; then
7975 if test -z "$CPP"; then
7976 if ${ac_cv_prog_CPP+:} false; then :
7977 $as_echo_n "(cached) " >&6
7979 # Double quotes because CPP needs to be expanded
7980 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7983 for ac_c_preproc_warn_flag in '' yes
7985 # Use a header file that comes with gcc, so configuring glibc
7986 # with a fresh cross-compiler works.
7987 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7988 # <limits.h> exists even on freestanding compilers.
7989 # On the NeXT, cc -E runs the code through the compiler's parser,
7990 # not just through cpp. "Syntax error" is here to catch this case.
7991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7992 /* end confdefs.h. */
7994 # include <limits.h>
7996 # include <assert.h>
8000 if ac_fn_c_try_cpp "$LINENO"; then :
8003 # Broken: fails on valid input.
8006 rm -f conftest.err conftest.i conftest.$ac_ext
8008 # OK, works on sane cases. Now check whether nonexistent headers
8009 # can be detected and how.
8010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8011 /* end confdefs.h. */
8012 #include <ac_nonexistent.h>
8014 if ac_fn_c_try_cpp "$LINENO"; then :
8015 # Broken: success on invalid input.
8018 # Passes both tests.
8022 rm -f conftest.err conftest.i conftest.$ac_ext
8025 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8026 rm -f conftest.i conftest.err conftest.$ac_ext
8027 if $ac_preproc_ok; then :
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8040 $as_echo "$CPP" >&6; }
8042 for ac_c_preproc_warn_flag in '' yes
8044 # Use a header file that comes with gcc, so configuring glibc
8045 # with a fresh cross-compiler works.
8046 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8047 # <limits.h> exists even on freestanding compilers.
8048 # On the NeXT, cc -E runs the code through the compiler's parser,
8049 # not just through cpp. "Syntax error" is here to catch this case.
8050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8051 /* end confdefs.h. */
8053 # include <limits.h>
8055 # include <assert.h>
8059 if ac_fn_c_try_cpp "$LINENO"; then :
8062 # Broken: fails on valid input.
8065 rm -f conftest.err conftest.i conftest.$ac_ext
8067 # OK, works on sane cases. Now check whether nonexistent headers
8068 # can be detected and how.
8069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8070 /* end confdefs.h. */
8071 #include <ac_nonexistent.h>
8073 if ac_fn_c_try_cpp "$LINENO"; then :
8074 # Broken: success on invalid input.
8077 # Passes both tests.
8081 rm -f conftest.err conftest.i conftest.$ac_ext
8084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8085 rm -f conftest.i conftest.err conftest.$ac_ext
8086 if $ac_preproc_ok; then :
8089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8091 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8092 See \`config.log' for more details" "$LINENO" 5; }
8096 ac_cpp='$CPP $CPPFLAGS'
8097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8103 $as_echo_n "checking for ANSI C header files... " >&6; }
8104 if ${ac_cv_header_stdc+:} false; then :
8105 $as_echo_n "(cached) " >&6
8107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8108 /* end confdefs.h. */
8122 if ac_fn_c_try_compile "$LINENO"; then :
8123 ac_cv_header_stdc=yes
8125 ac_cv_header_stdc=no
8127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8129 if test $ac_cv_header_stdc = yes; then
8130 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8132 /* end confdefs.h. */
8136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8137 $EGREP "memchr" >/dev/null 2>&1; then :
8140 ac_cv_header_stdc=no
8146 if test $ac_cv_header_stdc = yes; then
8147 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8149 /* end confdefs.h. */
8153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8154 $EGREP "free" >/dev/null 2>&1; then :
8157 ac_cv_header_stdc=no
8163 if test $ac_cv_header_stdc = yes; then
8164 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8165 if test "$cross_compiling" = yes; then :
8168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h. */
8172 #if ((' ' & 0x0FF) == 0x020)
8173 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8174 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8176 # define ISLOWER(c) \
8177 (('a' <= (c) && (c) <= 'i') \
8178 || ('j' <= (c) && (c) <= 'r') \
8179 || ('s' <= (c) && (c) <= 'z'))
8180 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8183 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8188 for (i = 0; i < 256; i++)
8189 if (XOR (islower (i), ISLOWER (i))
8190 || toupper (i) != TOUPPER (i))
8195 if ac_fn_c_try_run "$LINENO"; then :
8198 ac_cv_header_stdc=no
8200 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8201 conftest.$ac_objext conftest.beam conftest.$ac_ext
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8207 $as_echo "$ac_cv_header_stdc" >&6; }
8208 if test $ac_cv_header_stdc = yes; then
8210 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8214 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8215 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8216 inttypes.h stdint.h unistd.h
8218 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8219 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8221 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8222 cat >>confdefs.h <<_ACEOF
8223 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8231 for ac_header in dlfcn.h
8233 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8235 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8236 cat >>confdefs.h <<_ACEOF
8237 #define HAVE_DLFCN_H 1
8258 # Check whether --enable-shared was given.
8259 if test "${enable_shared+set}" = set; then :
8260 enableval=$enable_shared; p=${PACKAGE-default}
8262 yes) enable_shared=yes ;;
8263 no) enable_shared=no ;;
8266 # Look at the argument we got. We use all the common list separators.
8267 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8268 for pkg in $enableval; do
8270 if test "X$pkg" = "X$p"; then
8289 # Check whether --enable-static was given.
8290 if test "${enable_static+set}" = set; then :
8291 enableval=$enable_static; p=${PACKAGE-default}
8293 yes) enable_static=yes ;;
8294 no) enable_static=no ;;
8297 # Look at the argument we got. We use all the common list separators.
8298 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8299 for pkg in $enableval; do
8301 if test "X$pkg" = "X$p"; then
8321 # Check whether --with-pic was given.
8322 if test "${with_pic+set}" = set; then :
8323 withval=$with_pic; lt_p=${PACKAGE-default}
8325 yes|no) pic_mode=$withval ;;
8328 # Look at the argument we got. We use all the common list separators.
8329 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8330 for lt_pkg in $withval; do
8332 if test "X$lt_pkg" = "X$lt_p"; then
8344 test -z "$pic_mode" && pic_mode=default
8352 # Check whether --enable-fast-install was given.
8353 if test "${enable_fast_install+set}" = set; then :
8354 enableval=$enable_fast_install; p=${PACKAGE-default}
8356 yes) enable_fast_install=yes ;;
8357 no) enable_fast_install=no ;;
8359 enable_fast_install=no
8360 # Look at the argument we got. We use all the common list separators.
8361 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8362 for pkg in $enableval; do
8364 if test "X$pkg" = "X$p"; then
8365 enable_fast_install=yes
8372 enable_fast_install=yes
8385 # This can be used to rebuild libtool when needed
8386 LIBTOOL_DEPS="$ltmain"
8388 # Always use our own libtool.
8389 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8420 test -z "$LN_S" && LN_S="ln -s"
8435 if test -n "${ZSH_VERSION+set}" ; then
8436 setopt NO_GLOB_SUBST
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8440 $as_echo_n "checking for objdir... " >&6; }
8441 if ${lt_cv_objdir+:} false; then :
8442 $as_echo_n "(cached) " >&6
8444 rm -f .libs 2>/dev/null
8445 mkdir .libs 2>/dev/null
8446 if test -d .libs; then
8449 # MS-DOS does not allow filenames that begin with a dot.
8452 rmdir .libs 2>/dev/null
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8455 $as_echo "$lt_cv_objdir" >&6; }
8456 objdir=$lt_cv_objdir
8462 cat >>confdefs.h <<_ACEOF
8463 #define LT_OBJDIR "$lt_cv_objdir/"
8471 # AIX sometimes has problems with the GCC collect2 program. For some
8472 # reason, if we set the COLLECT_NAMES environment variable, the problems
8473 # vanish in a puff of smoke.
8474 if test "X${COLLECT_NAMES+set}" != Xset; then
8476 export COLLECT_NAMES
8483 can_build_shared=yes
8485 # All known linkers require a `.a' archive for static linking (except MSVC,
8486 # which needs '.lib').
8489 with_gnu_ld="$lt_cv_prog_gnu_ld"
8492 old_CFLAGS="$CFLAGS"
8494 # Set sane defaults for various variables
8495 test -z "$CC" && CC=cc
8496 test -z "$LTCC" && LTCC=$CC
8497 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8498 test -z "$LD" && LD=ld
8499 test -z "$ac_objext" && ac_objext=o
8501 for cc_temp in $compiler""; do
8503 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8504 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8509 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8512 # Only perform the check for file, if the check method requires it
8513 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8514 case $deplibs_check_method in
8516 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8518 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8519 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8520 $as_echo_n "(cached) " >&6
8524 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8527 lt_save_MAGIC_CMD="$MAGIC_CMD"
8528 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8529 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8530 for ac_dir in $ac_dummy; do
8532 test -z "$ac_dir" && ac_dir=.
8533 if test -f $ac_dir/${ac_tool_prefix}file; then
8534 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8535 if test -n "$file_magic_test_file"; then
8536 case $deplibs_check_method in
8538 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8539 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8540 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8541 $EGREP "$file_magic_regex" > /dev/null; then
8546 *** Warning: the command libtool uses to detect shared libraries,
8547 *** $file_magic_cmd, produces output that libtool cannot recognize.
8548 *** The result is that libtool may fail to recognize shared libraries
8549 *** as such. This will affect the creation of libtool libraries that
8550 *** depend on shared libraries, but programs linked with such libtool
8551 *** libraries will work regardless of this problem. Nevertheless, you
8552 *** may want to report the problem to your system manager and/or to
8553 *** bug-libtool@gnu.org
8563 MAGIC_CMD="$lt_save_MAGIC_CMD"
8568 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8569 if test -n "$MAGIC_CMD"; then
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8571 $as_echo "$MAGIC_CMD" >&6; }
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8574 $as_echo "no" >&6; }
8581 if test -z "$lt_cv_path_MAGIC_CMD"; then
8582 if test -n "$ac_tool_prefix"; then
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8584 $as_echo_n "checking for file... " >&6; }
8585 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8586 $as_echo_n "(cached) " >&6
8590 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8593 lt_save_MAGIC_CMD="$MAGIC_CMD"
8594 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8595 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8596 for ac_dir in $ac_dummy; do
8598 test -z "$ac_dir" && ac_dir=.
8599 if test -f $ac_dir/file; then
8600 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8601 if test -n "$file_magic_test_file"; then
8602 case $deplibs_check_method in
8604 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8605 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8606 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8607 $EGREP "$file_magic_regex" > /dev/null; then
8612 *** Warning: the command libtool uses to detect shared libraries,
8613 *** $file_magic_cmd, produces output that libtool cannot recognize.
8614 *** The result is that libtool may fail to recognize shared libraries
8615 *** as such. This will affect the creation of libtool libraries that
8616 *** depend on shared libraries, but programs linked with such libtool
8617 *** libraries will work regardless of this problem. Nevertheless, you
8618 *** may want to report the problem to your system manager and/or to
8619 *** bug-libtool@gnu.org
8629 MAGIC_CMD="$lt_save_MAGIC_CMD"
8634 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8635 if test -n "$MAGIC_CMD"; then
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8637 $as_echo "$MAGIC_CMD" >&6; }
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8640 $as_echo "no" >&6; }
8653 # Use C for the default configuration in the libtool script
8657 ac_cpp='$CPP $CPPFLAGS'
8658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8663 # Source file extension for C test sources.
8666 # Object file extension for compiled C test sources.
8670 # Code to be used in simple compile tests
8671 lt_simple_compile_test_code="int some_variable = 0;"
8673 # Code to be used in simple link tests
8674 lt_simple_link_test_code='int main(){return(0);}'
8682 # If no C compiler was specified, use CC.
8685 # If no C compiler flags were specified, use CFLAGS.
8686 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8688 # Allow CC to be a program name with arguments.
8691 # Save the default compiler, since it gets overwritten when the other
8692 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8693 compiler_DEFAULT=$CC
8695 # save warnings/boilerplate of simple test code
8696 ac_outfile=conftest.$ac_objext
8697 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8698 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8699 _lt_compiler_boilerplate=`cat conftest.err`
8702 ac_outfile=conftest.$ac_objext
8703 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8704 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8705 _lt_linker_boilerplate=`cat conftest.err`
8709 if test -n "$compiler"; then
8711 lt_prog_compiler_no_builtin_flag=
8713 if test "$GCC" = yes; then
8714 case $cc_basename in
8716 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8718 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8722 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8723 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8724 $as_echo_n "(cached) " >&6
8726 lt_cv_prog_compiler_rtti_exceptions=no
8727 ac_outfile=conftest.$ac_objext
8728 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8729 lt_compiler_flag="-fno-rtti -fno-exceptions"
8730 # Insert the option either (1) after the last *FLAGS variable, or
8731 # (2) before a word containing "conftest.", or (3) at the end.
8732 # Note that $ac_compile itself does not contain backslashes and begins
8733 # with a dollar sign (not a hyphen), so the echo should work correctly.
8734 # The option is referenced via a variable to avoid confusing sed.
8735 lt_compile=`echo "$ac_compile" | $SED \
8736 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8737 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8738 -e 's:$: $lt_compiler_flag:'`
8739 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8740 (eval "$lt_compile" 2>conftest.err)
8742 cat conftest.err >&5
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 if (exit $ac_status) && test -s "$ac_outfile"; then
8745 # The compiler can only warn and ignore the option if not recognized
8746 # So say no if there are warnings other than the usual output.
8747 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8748 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8749 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8750 lt_cv_prog_compiler_rtti_exceptions=yes
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8757 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8759 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8760 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8772 lt_prog_compiler_wl=
8773 lt_prog_compiler_pic=
8774 lt_prog_compiler_static=
8777 if test "$GCC" = yes; then
8778 lt_prog_compiler_wl='-Wl,'
8779 lt_prog_compiler_static='-static'
8783 # All AIX code is PIC.
8784 if test "$host_cpu" = ia64; then
8785 # AIX 5 now supports IA64 processor
8786 lt_prog_compiler_static='-Bstatic'
8793 # see comment about AmigaOS4 .so support
8794 lt_prog_compiler_pic='-fPIC'
8797 # FIXME: we need at least 68020 code to build shared libraries, but
8798 # adding the `-m68020' flag to GCC prevents building anything better,
8800 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8805 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8806 # PIC is the default for these OSes.
8809 mingw* | cygwin* | pw32* | os2* | cegcc*)
8810 # This hack is so that the source file can tell whether it is being
8811 # built for inclusion in a dll (and should export symbols for example).
8812 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8813 # (--disable-auto-import) libraries
8814 lt_prog_compiler_pic='-DDLL_EXPORT'
8817 darwin* | rhapsody*)
8818 # PIC is the default on this platform
8819 # Common symbols not allowed in MH_DYLIB files
8820 lt_prog_compiler_pic='-fno-common'
8824 # PIC is the default for Haiku.
8825 # The "-static" flag exists, but is broken.
8826 lt_prog_compiler_static=
8830 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8831 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8832 # sets the default TLS model and affects inlining.
8838 lt_prog_compiler_pic='-fPIC'
8844 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8845 # Instead, we relocate shared libraries at runtime.
8849 # Just because we use GCC doesn't mean we suddenly get shared libraries
8850 # on systems that don't support them.
8851 lt_prog_compiler_can_build_shared=no
8856 # QNX uses GNU C++, but need to define -shared option too, otherwise
8858 lt_prog_compiler_pic='-fPIC -shared'
8862 if test -d /usr/nec; then
8863 lt_prog_compiler_pic=-Kconform_pic
8868 lt_prog_compiler_pic='-fPIC'
8872 case $cc_basename in
8873 nvcc*) # Cuda Compiler Driver 2.2
8874 lt_prog_compiler_wl='-Xlinker '
8875 if test -n "$lt_prog_compiler_pic"; then
8876 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8881 # PORTME Check for flag to pass linker flags through the system compiler.
8884 lt_prog_compiler_wl='-Wl,'
8885 if test "$host_cpu" = ia64; then
8886 # AIX 5 now supports IA64 processor
8887 lt_prog_compiler_static='-Bstatic'
8889 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8893 mingw* | cygwin* | pw32* | os2* | cegcc*)
8894 # This hack is so that the source file can tell whether it is being
8895 # built for inclusion in a dll (and should export symbols for example).
8896 lt_prog_compiler_pic='-DDLL_EXPORT'
8899 hpux9* | hpux10* | hpux11*)
8900 lt_prog_compiler_wl='-Wl,'
8901 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8908 lt_prog_compiler_pic='+Z'
8911 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8912 lt_prog_compiler_static='${wl}-a ${wl}archive'
8915 irix5* | irix6* | nonstopux*)
8916 lt_prog_compiler_wl='-Wl,'
8917 # PIC (with -KPIC) is the default.
8918 lt_prog_compiler_static='-non_shared'
8921 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8922 case $cc_basename in
8923 # old Intel for x86_64 which still supported -KPIC.
8925 lt_prog_compiler_wl='-Wl,'
8926 lt_prog_compiler_pic='-KPIC'
8927 lt_prog_compiler_static='-static'
8929 # icc used to be incompatible with GCC.
8930 # ICC 10 doesn't accept -KPIC any more.
8932 lt_prog_compiler_wl='-Wl,'
8933 lt_prog_compiler_pic='-fPIC'
8934 lt_prog_compiler_static='-static'
8936 # Lahey Fortran 8.1.
8938 lt_prog_compiler_wl='-Wl,'
8939 lt_prog_compiler_pic='--shared'
8940 lt_prog_compiler_static='--static'
8943 # NAG Fortran compiler
8944 lt_prog_compiler_wl='-Wl,-Wl,,'
8945 lt_prog_compiler_pic='-PIC'
8946 lt_prog_compiler_static='-Bstatic'
8948 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8949 # Portland Group compilers (*not* the Pentium gcc compiler,
8950 # which looks to be a dead project)
8951 lt_prog_compiler_wl='-Wl,'
8952 lt_prog_compiler_pic='-fpic'
8953 lt_prog_compiler_static='-Bstatic'
8956 lt_prog_compiler_wl='-Wl,'
8957 # All Alpha code is PIC.
8958 lt_prog_compiler_static='-non_shared'
8960 xl* | bgxl* | bgf* | mpixl*)
8961 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8962 lt_prog_compiler_wl='-Wl,'
8963 lt_prog_compiler_pic='-qpic'
8964 lt_prog_compiler_static='-qstaticlink'
8967 case `$CC -V 2>&1 | sed 5q` in
8968 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8969 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8970 lt_prog_compiler_pic='-KPIC'
8971 lt_prog_compiler_static='-Bstatic'
8972 lt_prog_compiler_wl=''
8974 *Sun\ F* | *Sun*Fortran*)
8975 lt_prog_compiler_pic='-KPIC'
8976 lt_prog_compiler_static='-Bstatic'
8977 lt_prog_compiler_wl='-Qoption ld '
8981 lt_prog_compiler_pic='-KPIC'
8982 lt_prog_compiler_static='-Bstatic'
8983 lt_prog_compiler_wl='-Wl,'
8985 *Intel*\ [CF]*Compiler*)
8986 lt_prog_compiler_wl='-Wl,'
8987 lt_prog_compiler_pic='-fPIC'
8988 lt_prog_compiler_static='-static'
8991 lt_prog_compiler_wl='-Wl,'
8992 lt_prog_compiler_pic='-fpic'
8993 lt_prog_compiler_static='-Bstatic'
9001 lt_prog_compiler_pic='-KPIC'
9002 lt_prog_compiler_static='-Bstatic'
9006 # QNX uses GNU C++, but need to define -shared option too, otherwise
9008 lt_prog_compiler_pic='-fPIC -shared'
9011 osf3* | osf4* | osf5*)
9012 lt_prog_compiler_wl='-Wl,'
9013 # All OSF/1 code is PIC.
9014 lt_prog_compiler_static='-non_shared'
9018 lt_prog_compiler_static='-non_shared'
9022 lt_prog_compiler_pic='-KPIC'
9023 lt_prog_compiler_static='-Bstatic'
9024 case $cc_basename in
9025 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9026 lt_prog_compiler_wl='-Qoption ld ';;
9028 lt_prog_compiler_wl='-Wl,';;
9033 lt_prog_compiler_wl='-Qoption ld '
9034 lt_prog_compiler_pic='-PIC'
9035 lt_prog_compiler_static='-Bstatic'
9038 sysv4 | sysv4.2uw2* | sysv4.3*)
9039 lt_prog_compiler_wl='-Wl,'
9040 lt_prog_compiler_pic='-KPIC'
9041 lt_prog_compiler_static='-Bstatic'
9045 if test -d /usr/nec ;then
9046 lt_prog_compiler_pic='-Kconform_pic'
9047 lt_prog_compiler_static='-Bstatic'
9051 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9052 lt_prog_compiler_wl='-Wl,'
9053 lt_prog_compiler_pic='-KPIC'
9054 lt_prog_compiler_static='-Bstatic'
9058 lt_prog_compiler_wl='-Wl,'
9059 lt_prog_compiler_can_build_shared=no
9063 lt_prog_compiler_pic='-pic'
9064 lt_prog_compiler_static='-Bstatic'
9068 lt_prog_compiler_can_build_shared=no
9074 # For platforms which do not support PIC, -DPIC is meaningless:
9076 lt_prog_compiler_pic=
9079 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9084 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9085 if ${lt_cv_prog_compiler_pic+:} false; then :
9086 $as_echo_n "(cached) " >&6
9088 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9091 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9092 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9095 # Check to make sure the PIC flag actually works.
9097 if test -n "$lt_prog_compiler_pic"; then
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9099 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9100 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9101 $as_echo_n "(cached) " >&6
9103 lt_cv_prog_compiler_pic_works=no
9104 ac_outfile=conftest.$ac_objext
9105 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9106 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9107 # Insert the option either (1) after the last *FLAGS variable, or
9108 # (2) before a word containing "conftest.", or (3) at the end.
9109 # Note that $ac_compile itself does not contain backslashes and begins
9110 # with a dollar sign (not a hyphen), so the echo should work correctly.
9111 # The option is referenced via a variable to avoid confusing sed.
9112 lt_compile=`echo "$ac_compile" | $SED \
9113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9115 -e 's:$: $lt_compiler_flag:'`
9116 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9117 (eval "$lt_compile" 2>conftest.err)
9119 cat conftest.err >&5
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 if (exit $ac_status) && test -s "$ac_outfile"; then
9122 # The compiler can only warn and ignore the option if not recognized
9123 # So say no if there are warnings other than the usual output.
9124 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9125 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9126 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9127 lt_cv_prog_compiler_pic_works=yes
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9134 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9136 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9137 case $lt_prog_compiler_pic in
9139 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9142 lt_prog_compiler_pic=
9143 lt_prog_compiler_can_build_shared=no
9159 # Check to make sure the static flag actually works.
9161 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9163 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9164 if ${lt_cv_prog_compiler_static_works+:} false; then :
9165 $as_echo_n "(cached) " >&6
9167 lt_cv_prog_compiler_static_works=no
9168 save_LDFLAGS="$LDFLAGS"
9169 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9170 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9171 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9172 # The linker can only warn and ignore the option if not recognized
9173 # So say no if there are warnings
9174 if test -s conftest.err; then
9175 # Append any errors to the config.log.
9176 cat conftest.err 1>&5
9177 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9178 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9179 if diff conftest.exp conftest.er2 >/dev/null; then
9180 lt_cv_prog_compiler_static_works=yes
9183 lt_cv_prog_compiler_static_works=yes
9187 LDFLAGS="$save_LDFLAGS"
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9191 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9193 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9196 lt_prog_compiler_static=
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9206 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9207 if ${lt_cv_prog_compiler_c_o+:} false; then :
9208 $as_echo_n "(cached) " >&6
9210 lt_cv_prog_compiler_c_o=no
9211 $RM -r conftest 2>/dev/null
9215 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9217 lt_compiler_flag="-o out/conftest2.$ac_objext"
9218 # Insert the option either (1) after the last *FLAGS variable, or
9219 # (2) before a word containing "conftest.", or (3) at the end.
9220 # Note that $ac_compile itself does not contain backslashes and begins
9221 # with a dollar sign (not a hyphen), so the echo should work correctly.
9222 lt_compile=`echo "$ac_compile" | $SED \
9223 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9224 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9225 -e 's:$: $lt_compiler_flag:'`
9226 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9227 (eval "$lt_compile" 2>out/conftest.err)
9229 cat out/conftest.err >&5
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9233 # The compiler can only warn and ignore the option if not recognized
9234 # So say no if there are warnings
9235 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9236 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9237 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9238 lt_cv_prog_compiler_c_o=yes
9243 # SGI C++ compiler will create directory out/ii_files/ for
9244 # template instantiation
9245 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9246 $RM out/* && rmdir out
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9253 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9261 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9262 if ${lt_cv_prog_compiler_c_o+:} false; then :
9263 $as_echo_n "(cached) " >&6
9265 lt_cv_prog_compiler_c_o=no
9266 $RM -r conftest 2>/dev/null
9270 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9272 lt_compiler_flag="-o out/conftest2.$ac_objext"
9273 # Insert the option either (1) after the last *FLAGS variable, or
9274 # (2) before a word containing "conftest.", or (3) at the end.
9275 # Note that $ac_compile itself does not contain backslashes and begins
9276 # with a dollar sign (not a hyphen), so the echo should work correctly.
9277 lt_compile=`echo "$ac_compile" | $SED \
9278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9280 -e 's:$: $lt_compiler_flag:'`
9281 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9282 (eval "$lt_compile" 2>out/conftest.err)
9284 cat out/conftest.err >&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9288 # The compiler can only warn and ignore the option if not recognized
9289 # So say no if there are warnings
9290 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9291 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9292 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9293 lt_cv_prog_compiler_c_o=yes
9298 # SGI C++ compiler will create directory out/ii_files/ for
9299 # template instantiation
9300 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9301 $RM out/* && rmdir out
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9308 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9313 hard_links="nottested"
9314 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9315 # do not overwrite the value of need_locks provided by the user
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9317 $as_echo_n "checking if we can lock with hard links... " >&6; }
9320 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9322 ln conftest.a conftest.b 2>&5 || hard_links=no
9323 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9325 $as_echo "$hard_links" >&6; }
9326 if test "$hard_links" = no; then
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9328 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9341 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9344 allow_undefined_flag=
9345 always_export_symbols=no
9347 archive_expsym_cmds=
9348 compiler_needs_object=no
9349 enable_shared_with_static_runtimes=no
9350 export_dynamic_flag_spec=
9351 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9352 hardcode_automatic=no
9354 hardcode_direct_absolute=no
9355 hardcode_libdir_flag_spec=
9356 hardcode_libdir_separator=
9358 hardcode_shlibpath_var=unsupported
9360 link_all_deplibs=unknown
9363 old_archive_from_new_cmds=
9364 old_archive_from_expsyms_cmds=
9365 thread_safe_flag_spec=
9366 whole_archive_flag_spec=
9367 # include_expsyms should be a list of space-separated symbols to be *always*
9368 # included in the symbol list
9370 # exclude_expsyms can be an extended regexp of symbols to exclude
9371 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9372 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9373 # as well as any symbol that contains `d'.
9374 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9375 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9376 # platforms (ab)use it in PIC code, but their linkers get confused if
9377 # the symbol is explicitly referenced. Since portable code cannot
9378 # rely on this symbol name, it's probably fine to never include it in
9379 # preloaded symbol tables.
9380 # Exclude shared library initialization/finalization symbols.
9381 extract_expsyms_cmds=
9384 cygwin* | mingw* | pw32* | cegcc*)
9385 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9386 # When not using gcc, we currently assume that we are using
9387 # Microsoft Visual C++.
9388 if test "$GCC" != yes; then
9393 # we just hope/assume this is gcc and not c89 (= MSVC++)
9399 linux* | k*bsd*-gnu | gnu*)
9406 # On some targets, GNU ld is compatible enough with the native linker
9407 # that we're better off using the native interface for both.
9408 lt_use_gnu_ld_interface=no
9409 if test "$with_gnu_ld" = yes; then
9412 # The AIX port of GNU ld has always aspired to compatibility
9413 # with the native linker. However, as the warning in the GNU ld
9414 # block says, versions before 2.19.5* couldn't really create working
9415 # shared libraries, regardless of the interface used.
9416 case `$LD -v 2>&1` in
9417 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9418 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9419 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9421 lt_use_gnu_ld_interface=yes
9426 lt_use_gnu_ld_interface=yes
9431 if test "$lt_use_gnu_ld_interface" = yes; then
9432 # If archive_cmds runs LD, not CC, wlarc should be empty
9435 # Set some defaults for GNU ld with shared library support. These
9436 # are reset later if shared libraries are not supported. Putting them
9437 # here allows them to be overridden if necessary.
9438 runpath_var=LD_RUN_PATH
9439 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9440 export_dynamic_flag_spec='${wl}--export-dynamic'
9441 # ancient GNU ld didn't support --whole-archive et. al.
9442 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9443 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9445 whole_archive_flag_spec=
9447 supports_anon_versioning=no
9448 case `$LD -v 2>&1` in
9449 *GNU\ gold*) supports_anon_versioning=yes ;;
9450 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9451 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9452 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9453 *\ 2.11.*) ;; # other 2.11 versions
9454 *) supports_anon_versioning=yes ;;
9457 # See if GNU ld supports shared libraries.
9460 # On AIX/PPC, the GNU linker is very broken
9461 if test "$host_cpu" != ia64; then
9465 *** Warning: the GNU linker, at least up to release 2.19, is reported
9466 *** to be unable to reliably create shared libraries on AIX.
9467 *** Therefore, libtool is disabling shared libraries support. If you
9468 *** really care for shared libraries, you may want to install binutils
9469 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9470 *** You will then need to restart the configuration process.
9479 # see comment about AmigaOS4 .so support
9480 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9481 archive_expsym_cmds=''
9484 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)'
9485 hardcode_libdir_flag_spec='-L$libdir'
9486 hardcode_minus_L=yes
9492 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9493 allow_undefined_flag=unsupported
9494 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9495 # support --undefined. This deserves some investigation. FIXME
9496 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9502 cygwin* | mingw* | pw32* | cegcc*)
9503 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9504 # as there is no search path for DLLs.
9505 hardcode_libdir_flag_spec='-L$libdir'
9506 export_dynamic_flag_spec='${wl}--export-all-symbols'
9507 allow_undefined_flag=unsupported
9508 always_export_symbols=no
9509 enable_shared_with_static_runtimes=yes
9510 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'
9511 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9513 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9514 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9515 # If the export-symbols file already is a .def file (1st line
9516 # is EXPORTS), use it as is; otherwise, prepend...
9517 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9518 cp $export_symbols $output_objdir/$soname.def;
9520 echo EXPORTS > $output_objdir/$soname.def;
9521 cat $export_symbols >> $output_objdir/$soname.def;
9523 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9530 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9531 link_all_deplibs=yes
9536 hardcode_shlibpath_var=no
9537 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9538 export_dynamic_flag_spec='${wl}-E'
9539 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9540 # Instead, shared libraries are loaded at an image base (0x10000000 by
9541 # default) and relocated if they conflict, which is a slow very memory
9542 # consuming and fragmenting process. To avoid this, we pick a random,
9543 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9544 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9545 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9546 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'
9549 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9551 if test "$host_os" = linux-dietlibc; then
9552 case $cc_basename in
9553 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9556 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9557 && test "$tmp_diet" = no
9559 tmp_addflag=' $pic_flag'
9560 tmp_sharedflag='-shared'
9561 case $cc_basename,$host_cpu in
9562 pgcc*) # Portland Group C compiler
9563 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'
9564 tmp_addflag=' $pic_flag'
9566 pgf77* | pgf90* | pgf95* | pgfortran*)
9567 # Portland Group f77 and f90 compilers
9568 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'
9569 tmp_addflag=' $pic_flag -Mnomain' ;;
9570 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9571 tmp_addflag=' -i_dynamic' ;;
9572 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9573 tmp_addflag=' -i_dynamic -nofor_main' ;;
9574 ifc* | ifort*) # Intel Fortran compiler
9575 tmp_addflag=' -nofor_main' ;;
9576 lf95*) # Lahey Fortran 8.1
9577 whole_archive_flag_spec=
9578 tmp_sharedflag='--shared' ;;
9579 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9580 tmp_sharedflag='-qmkshrobj'
9582 nvcc*) # Cuda Compiler Driver 2.2
9583 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'
9584 compiler_needs_object=yes
9587 case `$CC -V 2>&1 | sed 5q` in
9588 *Sun\ C*) # Sun C 5.9
9589 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'
9590 compiler_needs_object=yes
9591 tmp_sharedflag='-G' ;;
9592 *Sun\ F*) # Sun Fortran 8.3
9593 tmp_sharedflag='-G' ;;
9595 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9597 if test "x$supports_anon_versioning" = xyes; then
9598 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9599 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9600 echo "local: *; };" >> $output_objdir/$libname.ver~
9601 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9604 case $cc_basename in
9605 xlf* | bgf* | bgxlf* | mpixlf*)
9606 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9607 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9608 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9609 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9610 if test "x$supports_anon_versioning" = xyes; then
9611 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9612 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9613 echo "local: *; };" >> $output_objdir/$libname.ver~
9614 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9623 netbsd* | netbsdelf*-gnu)
9624 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9625 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9628 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9629 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9634 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9638 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9639 *** create shared libraries on Solaris systems. Therefore, libtool
9640 *** is disabling shared libraries support. We urge you to upgrade GNU
9641 *** binutils to release 2.9.1 or newer. Another option is to modify
9642 *** your PATH or compiler configuration so that the native linker is
9643 *** used, and then restart.
9646 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9647 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9648 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9654 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9655 case `$LD -v 2>&1` in
9656 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9660 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9661 *** reliably create shared libraries on SCO systems. Therefore, libtool
9662 *** is disabling shared libraries support. We urge you to upgrade GNU
9663 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9664 *** your PATH or compiler configuration so that the native linker is
9665 *** used, and then restart.
9670 # For security reasons, it is highly recommended that you always
9671 # use absolute paths for naming shared libraries, and exclude the
9672 # DT_RUNPATH tag from executables and libraries. But doing so
9673 # requires that you compile everything twice, which is a pain.
9674 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9675 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9676 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9677 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9686 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9689 hardcode_shlibpath_var=no
9693 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9694 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9695 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9702 if test "$ld_shlibs" = no; then
9704 hardcode_libdir_flag_spec=
9705 export_dynamic_flag_spec=
9706 whole_archive_flag_spec=
9709 # PORTME fill in a description of your system's linker (not GNU ld)
9712 allow_undefined_flag=unsupported
9713 always_export_symbols=yes
9714 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'
9715 # Note: this linker hardcodes the directories in LIBPATH if there
9716 # are no directories specified by -L.
9717 hardcode_minus_L=yes
9718 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9719 # Neither direct hardcoding nor static linking is supported with a
9721 hardcode_direct=unsupported
9726 if test "$host_cpu" = ia64; then
9727 # On IA64, the linker does run time linking by default, so we don't
9728 # have to do anything special.
9729 aix_use_runtimelinking=no
9730 exp_sym_flag='-Bexport'
9733 # If we're using GNU nm, then we don't want the "-C" option.
9734 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9735 # Also, AIX nm treats weak defined symbols like other global
9736 # defined symbols, whereas GNU nm marks them as "W".
9737 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9738 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'
9740 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'
9742 aix_use_runtimelinking=no
9744 # Test if we are trying to use run time linking or normal
9745 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9746 # need to do runtime linking.
9747 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9748 for ld_flag in $LDFLAGS; do
9749 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9750 aix_use_runtimelinking=yes
9757 exp_sym_flag='-bexport'
9758 no_entry_flag='-bnoentry'
9761 # When large executables or shared objects are built, AIX ld can
9762 # have problems creating the table of contents. If linking a library
9763 # or program results in "error TOC overflow" add -mminimal-toc to
9764 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9765 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9769 hardcode_direct_absolute=yes
9770 hardcode_libdir_separator=':'
9771 link_all_deplibs=yes
9772 file_list_spec='${wl}-f,'
9774 if test "$GCC" = yes; then
9775 case $host_os in aix4.[012]|aix4.[012].*)
9776 # We only want to do this on AIX 4.2 and lower, the check
9777 # below for broken collect2 doesn't work under 4.3+
9778 collect2name=`${CC} -print-prog-name=collect2`
9779 if test -f "$collect2name" &&
9780 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9782 # We have reworked collect2
9785 # We have old collect2
9786 hardcode_direct=unsupported
9787 # It fails to find uninstalled libraries when the uninstalled
9788 # path is not listed in the libpath. Setting hardcode_minus_L
9789 # to unsupported forces relinking
9790 hardcode_minus_L=yes
9791 hardcode_libdir_flag_spec='-L$libdir'
9792 hardcode_libdir_separator=
9796 shared_flag='-shared'
9797 if test "$aix_use_runtimelinking" = yes; then
9798 shared_flag="$shared_flag "'${wl}-G'
9803 if test "$host_cpu" = ia64; then
9804 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9805 # chokes on -Wl,-G. The following line is correct:
9808 if test "$aix_use_runtimelinking" = yes; then
9809 shared_flag='${wl}-G'
9811 shared_flag='${wl}-bM:SRE'
9816 export_dynamic_flag_spec='${wl}-bexpall'
9817 # It seems that -bexpall does not export symbols beginning with
9818 # underscore (_), so it is better to generate a list of symbols to export.
9819 always_export_symbols=yes
9820 if test "$aix_use_runtimelinking" = yes; then
9821 # Warning - without using the other runtime loading flags (-brtl),
9822 # -berok will link without error, but may produce a broken library.
9823 allow_undefined_flag='-berok'
9824 # Determine the default libpath from the value encoded in an
9826 if test "${lt_cv_aix_libpath+set}" = set; then
9827 aix_libpath=$lt_cv_aix_libpath
9829 if ${lt_cv_aix_libpath_+:} false; then :
9830 $as_echo_n "(cached) " >&6
9832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9843 if ac_fn_c_try_link "$LINENO"; then :
9845 lt_aix_libpath_sed='
9846 /Import File Strings/,/^$/ {
9848 s/^0 *\([^ ]*\) *$/\1/
9852 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9853 # Check for a 64-bit object if we didn't find anything.
9854 if test -z "$lt_cv_aix_libpath_"; then
9855 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9858 rm -f core conftest.err conftest.$ac_objext \
9859 conftest$ac_exeext conftest.$ac_ext
9860 if test -z "$lt_cv_aix_libpath_"; then
9861 lt_cv_aix_libpath_="/usr/lib:/lib"
9866 aix_libpath=$lt_cv_aix_libpath_
9869 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9870 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"
9872 if test "$host_cpu" = ia64; then
9873 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9874 allow_undefined_flag="-z nodefs"
9875 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"
9877 # Determine the default libpath from the value encoded in an
9879 if test "${lt_cv_aix_libpath+set}" = set; then
9880 aix_libpath=$lt_cv_aix_libpath
9882 if ${lt_cv_aix_libpath_+:} false; then :
9883 $as_echo_n "(cached) " >&6
9885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9886 /* end confdefs.h. */
9896 if ac_fn_c_try_link "$LINENO"; then :
9898 lt_aix_libpath_sed='
9899 /Import File Strings/,/^$/ {
9901 s/^0 *\([^ ]*\) *$/\1/
9905 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9906 # Check for a 64-bit object if we didn't find anything.
9907 if test -z "$lt_cv_aix_libpath_"; then
9908 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9911 rm -f core conftest.err conftest.$ac_objext \
9912 conftest$ac_exeext conftest.$ac_ext
9913 if test -z "$lt_cv_aix_libpath_"; then
9914 lt_cv_aix_libpath_="/usr/lib:/lib"
9919 aix_libpath=$lt_cv_aix_libpath_
9922 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9923 # Warning - without using the other run time loading flags,
9924 # -berok will link without error, but may produce a broken library.
9925 no_undefined_flag=' ${wl}-bernotok'
9926 allow_undefined_flag=' ${wl}-berok'
9927 if test "$with_gnu_ld" = yes; then
9928 # We only use this code for GNU lds that support --whole-archive.
9929 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9931 # Exported symbols can be pulled into shared objects from archives
9932 whole_archive_flag_spec='$convenience'
9934 archive_cmds_need_lc=yes
9935 # This is similar to how AIX traditionally builds its shared libraries.
9936 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'
9944 # see comment about AmigaOS4 .so support
9945 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9946 archive_expsym_cmds=''
9949 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)'
9950 hardcode_libdir_flag_spec='-L$libdir'
9951 hardcode_minus_L=yes
9957 export_dynamic_flag_spec=-rdynamic
9960 cygwin* | mingw* | pw32* | cegcc*)
9961 # When not using gcc, we currently assume that we are using
9962 # Microsoft Visual C++.
9963 # hardcode_libdir_flag_spec is actually meaningless, as there is
9964 # no search path for DLLs.
9965 case $cc_basename in
9968 hardcode_libdir_flag_spec=' '
9969 allow_undefined_flag=unsupported
9970 always_export_symbols=yes
9972 # Tell ltmain to make .lib files, not .a files.
9974 # Tell ltmain to make .dll files, not .so files.
9976 # FIXME: Setting linknames here is a bad hack.
9977 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9978 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9979 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9981 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9983 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9985 # The linker will not automatically build a static lib if we build a DLL.
9986 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9987 enable_shared_with_static_runtimes=yes
9988 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9989 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9991 old_postinstall_cmds='chmod 644 $oldlib'
9992 postlink_cmds='lt_outputfile="@OUTPUT@"~
9993 lt_tool_outputfile="@TOOL_OUTPUT@"~
9994 case $lt_outputfile in
9997 lt_outputfile="$lt_outputfile.exe"
9998 lt_tool_outputfile="$lt_tool_outputfile.exe"
10001 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10002 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10003 $RM "$lt_outputfile.manifest";
10007 # Assume MSVC wrapper
10008 hardcode_libdir_flag_spec=' '
10009 allow_undefined_flag=unsupported
10010 # Tell ltmain to make .lib files, not .a files.
10012 # Tell ltmain to make .dll files, not .so files.
10014 # FIXME: Setting linknames here is a bad hack.
10015 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10016 # The linker will automatically build a .lib file if we build a DLL.
10017 old_archive_from_new_cmds='true'
10018 # FIXME: Should let the user specify the lib program.
10019 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10020 enable_shared_with_static_runtimes=yes
10025 darwin* | rhapsody*)
10028 archive_cmds_need_lc=no
10030 hardcode_automatic=yes
10031 hardcode_shlibpath_var=unsupported
10032 if test "$lt_cv_ld_force_load" = "yes"; then
10033 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\"`'
10036 whole_archive_flag_spec=''
10038 link_all_deplibs=yes
10039 allow_undefined_flag="$_lt_dar_allow_undefined"
10040 case $cc_basename in
10041 ifort*) _lt_dar_can_shared=yes ;;
10042 *) _lt_dar_can_shared=$GCC ;;
10044 if test "$_lt_dar_can_shared" = "yes"; then
10045 output_verbose_link_cmd=func_echo_all
10046 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10047 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10048 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}"
10049 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}"
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_libdir_flag_spec='-L$libdir'
10060 hardcode_shlibpath_var=no
10063 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10064 # support. Future versions do this automatically, but an explicit c++rt0.o
10065 # does not break anything, and helps significantly (at the cost of a little
10068 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10069 hardcode_libdir_flag_spec='-R$libdir'
10070 hardcode_direct=yes
10071 hardcode_shlibpath_var=no
10074 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10076 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10077 hardcode_direct=yes
10078 hardcode_minus_L=yes
10079 hardcode_shlibpath_var=no
10082 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10083 freebsd* | dragonfly*)
10084 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10085 hardcode_libdir_flag_spec='-R$libdir'
10086 hardcode_direct=yes
10087 hardcode_shlibpath_var=no
10091 if test "$GCC" = yes; then
10092 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'
10094 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'
10096 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10097 hardcode_libdir_separator=:
10098 hardcode_direct=yes
10100 # hardcode_minus_L: Not really in the search PATH,
10101 # but as the default location of the library.
10102 hardcode_minus_L=yes
10103 export_dynamic_flag_spec='${wl}-E'
10107 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10108 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10110 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10112 if test "$with_gnu_ld" = no; then
10113 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10114 hardcode_libdir_separator=:
10115 hardcode_direct=yes
10116 hardcode_direct_absolute=yes
10117 export_dynamic_flag_spec='${wl}-E'
10118 # hardcode_minus_L: Not really in the search PATH,
10119 # but as the default location of the library.
10120 hardcode_minus_L=yes
10125 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10128 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10131 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10134 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10140 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10143 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10147 # Older versions of the 11.00 compiler do not understand -b yet
10148 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10150 $as_echo_n "checking if $CC understands -b... " >&6; }
10151 if ${lt_cv_prog_compiler__b+:} false; then :
10152 $as_echo_n "(cached) " >&6
10154 lt_cv_prog_compiler__b=no
10155 save_LDFLAGS="$LDFLAGS"
10156 LDFLAGS="$LDFLAGS -b"
10157 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10158 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10159 # The linker can only warn and ignore the option if not recognized
10160 # So say no if there are warnings
10161 if test -s conftest.err; then
10162 # Append any errors to the config.log.
10163 cat conftest.err 1>&5
10164 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10165 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10166 if diff conftest.exp conftest.er2 >/dev/null; then
10167 lt_cv_prog_compiler__b=yes
10170 lt_cv_prog_compiler__b=yes
10174 LDFLAGS="$save_LDFLAGS"
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10178 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10180 if test x"$lt_cv_prog_compiler__b" = xyes; then
10181 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10183 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10189 if test "$with_gnu_ld" = no; then
10190 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10191 hardcode_libdir_separator=:
10196 hardcode_shlibpath_var=no
10199 hardcode_direct=yes
10200 hardcode_direct_absolute=yes
10201 export_dynamic_flag_spec='${wl}-E'
10203 # hardcode_minus_L: Not really in the search PATH,
10204 # but as the default location of the library.
10205 hardcode_minus_L=yes
10211 irix5* | irix6* | nonstopux*)
10212 if test "$GCC" = yes; then
10213 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'
10214 # Try to use the -exported_symbol ld option, if it does not
10215 # work, assume that -exports_file does not work either and
10216 # implicitly export all symbols.
10217 # This should be the same for all languages, so no per-tag cache variable.
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10219 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10220 if ${lt_cv_irix_exported_symbol+:} false; then :
10221 $as_echo_n "(cached) " >&6
10223 save_LDFLAGS="$LDFLAGS"
10224 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10226 /* end confdefs.h. */
10227 int foo (void) { return 0; }
10229 if ac_fn_c_try_link "$LINENO"; then :
10230 lt_cv_irix_exported_symbol=yes
10232 lt_cv_irix_exported_symbol=no
10234 rm -f core conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10236 LDFLAGS="$save_LDFLAGS"
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10239 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10240 if test "$lt_cv_irix_exported_symbol" = yes; then
10241 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'
10244 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'
10245 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'
10247 archive_cmds_need_lc='no'
10248 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10249 hardcode_libdir_separator=:
10251 link_all_deplibs=yes
10254 netbsd* | netbsdelf*-gnu)
10255 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10256 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10258 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10260 hardcode_libdir_flag_spec='-R$libdir'
10261 hardcode_direct=yes
10262 hardcode_shlibpath_var=no
10266 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10267 hardcode_direct=yes
10268 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10269 hardcode_libdir_separator=:
10270 hardcode_shlibpath_var=no
10277 if test -f /usr/libexec/ld.so; then
10278 hardcode_direct=yes
10279 hardcode_shlibpath_var=no
10280 hardcode_direct_absolute=yes
10281 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10282 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10283 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10284 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10285 export_dynamic_flag_spec='${wl}-E'
10288 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10289 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10290 hardcode_libdir_flag_spec='-R$libdir'
10293 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10294 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10304 hardcode_libdir_flag_spec='-L$libdir'
10305 hardcode_minus_L=yes
10306 allow_undefined_flag=unsupported
10307 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'
10308 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10312 if test "$GCC" = yes; then
10313 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10314 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'
10316 allow_undefined_flag=' -expect_unresolved \*'
10317 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'
10319 archive_cmds_need_lc='no'
10320 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10321 hardcode_libdir_separator=:
10324 osf4* | osf5*) # as osf3* with the addition of -msym flag
10325 if test "$GCC" = yes; then
10326 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10327 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'
10328 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10330 allow_undefined_flag=' -expect_unresolved \*'
10331 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'
10332 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~
10333 $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'
10335 # Both c and cxx compiler support -rpath directly
10336 hardcode_libdir_flag_spec='-rpath $libdir'
10338 archive_cmds_need_lc='no'
10339 hardcode_libdir_separator=:
10343 no_undefined_flag=' -z defs'
10344 if test "$GCC" = yes; then
10346 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10347 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10348 $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'
10350 case `$CC -V 2>&1` in
10353 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10354 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10355 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10359 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10360 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10361 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10365 hardcode_libdir_flag_spec='-R$libdir'
10366 hardcode_shlibpath_var=no
10368 solaris2.[0-5] | solaris2.[0-5].*) ;;
10370 # The compiler driver will combine and reorder linker options,
10371 # but understands `-z linker_flag'. GCC discards it without `$wl',
10372 # but is careful enough not to reorder.
10373 # Supported since Solaris 2.6 (maybe 2.5.1?)
10374 if test "$GCC" = yes; then
10375 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10377 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10381 link_all_deplibs=yes
10385 if test "x$host_vendor" = xsequent; then
10386 # Use $CC to link under sequent, because it throws in some extra .o
10387 # files that make .init and .fini sections work.
10388 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10390 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10392 hardcode_libdir_flag_spec='-L$libdir'
10393 hardcode_direct=yes
10394 hardcode_minus_L=yes
10395 hardcode_shlibpath_var=no
10399 case $host_vendor in
10401 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10402 hardcode_direct=yes # is this really true???
10405 ## LD is ld it makes a PLAMLIB
10406 ## CC just makes a GrossModule.
10407 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10408 reload_cmds='$CC -r -o $output$reload_objs'
10412 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10413 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10416 runpath_var='LD_RUN_PATH'
10417 hardcode_shlibpath_var=no
10421 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10422 hardcode_shlibpath_var=no
10423 export_dynamic_flag_spec='-Bexport'
10427 if test -d /usr/nec; then
10428 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10429 hardcode_shlibpath_var=no
10430 runpath_var=LD_RUN_PATH
10431 hardcode_runpath_var=yes
10436 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10437 no_undefined_flag='${wl}-z,text'
10438 archive_cmds_need_lc=no
10439 hardcode_shlibpath_var=no
10440 runpath_var='LD_RUN_PATH'
10442 if test "$GCC" = yes; then
10443 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10444 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10446 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10447 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10451 sysv5* | sco3.2v5* | sco5v6*)
10452 # Note: We can NOT use -z defs as we might desire, because we do not
10453 # link with -lc, and that would cause any symbols used from libc to
10454 # always be unresolved, which means just about no library would
10455 # ever link correctly. If we're not using GNU ld we use -z text
10456 # though, which does catch some bad symbols but isn't as heavy-handed
10458 no_undefined_flag='${wl}-z,text'
10459 allow_undefined_flag='${wl}-z,nodefs'
10460 archive_cmds_need_lc=no
10461 hardcode_shlibpath_var=no
10462 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10463 hardcode_libdir_separator=':'
10464 link_all_deplibs=yes
10465 export_dynamic_flag_spec='${wl}-Bexport'
10466 runpath_var='LD_RUN_PATH'
10468 if test "$GCC" = yes; then
10469 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10470 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10472 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10473 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10478 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10479 hardcode_libdir_flag_spec='-L$libdir'
10480 hardcode_shlibpath_var=no
10488 if test x$host_vendor = xsni; then
10490 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10491 export_dynamic_flag_spec='${wl}-Blargedynsym'
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10498 $as_echo "$ld_shlibs" >&6; }
10499 test "$ld_shlibs" = no && can_build_shared=no
10501 with_gnu_ld=$with_gnu_ld
10518 # Do we need to explicitly link libc?
10520 case "x$archive_cmds_need_lc" in
10522 # Assume -lc should be added
10523 archive_cmds_need_lc=yes
10525 if test "$enable_shared" = yes && test "$GCC" = yes; then
10526 case $archive_cmds in
10528 # FIXME: we may have to deal with multi-command sequences.
10531 # Test whether the compiler implicitly links with -lc since on some
10532 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10533 # to ld, don't add -lc before -lgcc.
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10535 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10536 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10537 $as_echo_n "(cached) " >&6
10540 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10542 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10543 (eval $ac_compile) 2>&5
10545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10546 test $ac_status = 0; } 2>conftest.err; then
10549 libobjs=conftest.$ac_objext
10551 wl=$lt_prog_compiler_wl
10552 pic_flag=$lt_prog_compiler_pic
10558 lt_save_allow_undefined_flag=$allow_undefined_flag
10559 allow_undefined_flag=
10560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10561 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10564 test $ac_status = 0; }
10566 lt_cv_archive_cmds_need_lc=no
10568 lt_cv_archive_cmds_need_lc=yes
10570 allow_undefined_flag=$lt_save_allow_undefined_flag
10572 cat conftest.err 1>&5
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10578 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10579 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10738 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10740 if test "$GCC" = yes; then
10742 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10743 *) lt_awk_arg="/^libraries:/" ;;
10746 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10747 *) lt_sed_strip_eq="s,=/,/,g" ;;
10749 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10750 case $lt_search_path_spec in
10752 # if the path contains ";" then we assume it to be the separator
10753 # otherwise default to the standard path separator (i.e. ":") - it is
10754 # assumed that no part of a normal pathname contains ";" but that should
10755 # okay in the real world where ";" in dirpaths is itself problematic.
10756 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10759 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10762 # Ok, now we have the path, separated by spaces, we can step through it
10763 # and add multilib dir if necessary.
10764 lt_tmp_lt_search_path_spec=
10765 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10766 for lt_sys_path in $lt_search_path_spec; do
10767 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10768 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10770 test -d "$lt_sys_path" && \
10771 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10774 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10775 BEGIN {RS=" "; FS="/|\n";} {
10778 for (lt_i = NF; lt_i > 0; lt_i--) {
10779 if ($lt_i != "" && $lt_i != ".") {
10780 if ($lt_i == "..") {
10783 if (lt_count == 0) {
10784 lt_foo="/" $lt_i lt_foo;
10791 if (lt_foo != "") { lt_freq[lt_foo]++; }
10792 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10794 # AWK program above erroneously prepends '/' to C:/dos/paths
10797 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10798 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10800 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10802 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10804 library_names_spec=
10805 libname_spec='lib$name'
10809 postuninstall_cmds=
10813 shlibpath_overrides_runpath=unknown
10815 dynamic_linker="$host_os ld.so"
10816 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10817 need_lib_prefix=unknown
10818 hardcode_into_libs=no
10820 # when you set need_version to no, make sure it does not cause -set_version
10821 # flags to be left without arguments
10822 need_version=unknown
10826 version_type=linux # correct to gnu/linux during the next big refactor
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10828 shlibpath_var=LIBPATH
10830 # AIX 3 has no versioning support, so we append a major version to the name.
10831 soname_spec='${libname}${release}${shared_ext}$major'
10835 version_type=linux # correct to gnu/linux during the next big refactor
10838 hardcode_into_libs=yes
10839 if test "$host_cpu" = ia64; then
10840 # AIX 5 supports IA64
10841 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10842 shlibpath_var=LD_LIBRARY_PATH
10844 # With GCC up to 2.95.x, collect2 would create an import file
10845 # for dependence libraries. The import file would start with
10846 # the line `#! .'. This would cause the generated library to
10847 # depend on `.', always an invalid library. This was fixed in
10848 # development snapshots of GCC prior to 3.0.
10850 aix4 | aix4.[01] | aix4.[01].*)
10851 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10853 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10856 can_build_shared=no
10860 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10861 # soname into executable. Probably we can add versioning support to
10862 # collect2, so additional links can be useful in future.
10863 if test "$aix_use_runtimelinking" = yes; then
10864 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10865 # instead of lib<name>.a to let people know that these are not
10866 # typical AIX shared libraries.
10867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10869 # We preserve .a as extension for shared libraries through AIX4.2
10870 # and later when we are not doing run time linking.
10871 library_names_spec='${libname}${release}.a $libname.a'
10872 soname_spec='${libname}${release}${shared_ext}$major'
10874 shlibpath_var=LIBPATH
10881 # Since July 2007 AmigaOS4 officially supports .so libraries.
10882 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10886 library_names_spec='$libname.ixlibrary $libname.a'
10887 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10888 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'
10894 library_names_spec='${libname}${shared_ext}'
10895 dynamic_linker="$host_os ld.so"
10896 shlibpath_var=LIBRARY_PATH
10900 version_type=linux # correct to gnu/linux during the next big refactor
10902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10903 soname_spec='${libname}${release}${shared_ext}$major'
10904 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10905 shlibpath_var=LD_LIBRARY_PATH
10906 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10907 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10908 # the default ld.so.conf also contains /usr/contrib/lib and
10909 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10910 # libtool to hard-code these into programs
10913 cygwin* | mingw* | pw32* | cegcc*)
10914 version_type=windows
10919 case $GCC,$cc_basename in
10922 library_names_spec='$libname.dll.a'
10923 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10924 postinstall_cmds='base_file=`basename \${file}`~
10925 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10926 dldir=$destdir/`dirname \$dlpath`~
10927 test -d \$dldir || mkdir -p \$dldir~
10928 $install_prog $dir/$dlname \$dldir/$dlname~
10929 chmod a+x \$dldir/$dlname~
10930 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10931 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10933 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10934 dlpath=$dir/\$dldll~
10936 shlibpath_overrides_runpath=yes
10940 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10941 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10943 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10946 # MinGW DLLs use traditional 'lib' prefix
10947 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10950 # pw32 DLLs use 'pw' prefix rather than 'lib'
10951 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10954 dynamic_linker='Win32 ld.exe'
10959 libname_spec='$name'
10960 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10961 library_names_spec='${libname}.dll.lib'
10965 sys_lib_search_path_spec=
10968 for lt_path in $LIB
10971 # Let DOS variable expansion print the short 8.3 style file name.
10972 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10973 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10976 # Convert to MSYS style.
10977 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10980 # Convert to unix form, then to dos form, then back to unix form
10981 # but this time dos style (no spaces!) so that the unix form looks
10982 # like /cygdrive/c/PROGRA~1:/cygdr...
10983 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10984 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10985 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10988 sys_lib_search_path_spec="$LIB"
10989 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10990 # It is most probably a Windows format PATH.
10991 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10993 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10995 # FIXME: find the short name or the path components, as spaces are
10996 # common. (e.g. "Program Files" -> "PROGRA~1")
11000 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11001 postinstall_cmds='base_file=`basename \${file}`~
11002 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11003 dldir=$destdir/`dirname \$dlpath`~
11004 test -d \$dldir || mkdir -p \$dldir~
11005 $install_prog $dir/$dlname \$dldir/$dlname'
11006 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11007 dlpath=$dir/\$dldll~
11009 shlibpath_overrides_runpath=yes
11010 dynamic_linker='Win32 link.exe'
11014 # Assume MSVC wrapper
11015 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11016 dynamic_linker='Win32 ld.exe'
11019 # FIXME: first we should search . and the directory the executable is in
11023 darwin* | rhapsody*)
11024 dynamic_linker="$host_os dyld"
11025 version_type=darwin
11028 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11029 soname_spec='${libname}${release}${major}$shared_ext'
11030 shlibpath_overrides_runpath=yes
11031 shlibpath_var=DYLD_LIBRARY_PATH
11032 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11034 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11035 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11039 version_type=linux # correct to gnu/linux during the next big refactor
11042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11043 soname_spec='${libname}${release}${shared_ext}$major'
11044 shlibpath_var=LD_LIBRARY_PATH
11047 freebsd* | dragonfly*)
11048 # DragonFly does not have aout. When/if they implement a new
11049 # versioning mechanism, adjust this.
11050 if test -x /usr/bin/objformat; then
11051 objformat=`/usr/bin/objformat`
11054 freebsd[23].*) objformat=aout ;;
11055 *) objformat=elf ;;
11058 version_type=freebsd-$objformat
11059 case $version_type in
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11066 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11070 shlibpath_var=LD_LIBRARY_PATH
11073 shlibpath_overrides_runpath=yes
11075 freebsd3.[01]* | freebsdelf3.[01]*)
11076 shlibpath_overrides_runpath=yes
11077 hardcode_into_libs=yes
11079 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11080 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11081 shlibpath_overrides_runpath=no
11082 hardcode_into_libs=yes
11084 *) # from 4.6 on, and DragonFly
11085 shlibpath_overrides_runpath=yes
11086 hardcode_into_libs=yes
11092 version_type=linux # correct to gnu/linux during the next big refactor
11095 dynamic_linker="$host_os runtime_loader"
11096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11097 soname_spec='${libname}${release}${shared_ext}$major'
11098 shlibpath_var=LIBRARY_PATH
11099 shlibpath_overrides_runpath=yes
11100 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11101 hardcode_into_libs=yes
11104 hpux9* | hpux10* | hpux11*)
11105 # Give a soname corresponding to the major version so that dld.sl refuses to
11106 # link against other versions.
11113 hardcode_into_libs=yes
11114 dynamic_linker="$host_os dld.so"
11115 shlibpath_var=LD_LIBRARY_PATH
11116 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11118 soname_spec='${libname}${release}${shared_ext}$major'
11119 if test "X$HPUX_IA64_MODE" = X32; then
11120 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11122 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11124 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11128 hardcode_into_libs=yes
11129 dynamic_linker="$host_os dld.sl"
11130 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11131 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11133 soname_spec='${libname}${release}${shared_ext}$major'
11134 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11135 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11139 dynamic_linker="$host_os dld.sl"
11140 shlibpath_var=SHLIB_PATH
11141 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11143 soname_spec='${libname}${release}${shared_ext}$major'
11146 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11147 postinstall_cmds='chmod 555 $lib'
11148 # or fails outright, so override atomically:
11149 install_override_mode=555
11153 version_type=linux # correct to gnu/linux during the next big refactor
11156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11157 soname_spec='${libname}${release}${shared_ext}$major'
11158 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11159 shlibpath_var=LD_LIBRARY_PATH
11160 shlibpath_overrides_runpath=no
11161 hardcode_into_libs=yes
11164 irix5* | irix6* | nonstopux*)
11166 nonstopux*) version_type=nonstopux ;;
11168 if test "$lt_cv_prog_gnu_ld" = yes; then
11169 version_type=linux # correct to gnu/linux during the next big refactor
11176 soname_spec='${libname}${release}${shared_ext}$major'
11177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11179 irix5* | nonstopux*)
11180 libsuff= shlibsuff=
11183 case $LD in # libtool.m4 will add one of these switches to LD
11184 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11185 libsuff= shlibsuff= libmagic=32-bit;;
11186 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11187 libsuff=32 shlibsuff=N32 libmagic=N32;;
11188 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11189 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11190 *) libsuff= shlibsuff= libmagic=never-match;;
11194 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11195 shlibpath_overrides_runpath=no
11196 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11197 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11198 hardcode_into_libs=yes
11201 # No shared lib support for Linux oldld, aout, or coff.
11202 linux*oldld* | linux*aout* | linux*coff*)
11206 # This must be glibc/ELF.
11207 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11208 version_type=linux # correct to gnu/linux during the next big refactor
11211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11212 soname_spec='${libname}${release}${shared_ext}$major'
11213 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11214 shlibpath_var=LD_LIBRARY_PATH
11215 shlibpath_overrides_runpath=no
11217 # Some binutils ld are patched to set DT_RUNPATH
11218 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11219 $as_echo_n "(cached) " >&6
11221 lt_cv_shlibpath_overrides_runpath=no
11222 save_LDFLAGS=$LDFLAGS
11223 save_libdir=$libdir
11224 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11225 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11237 if ac_fn_c_try_link "$LINENO"; then :
11238 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11239 lt_cv_shlibpath_overrides_runpath=yes
11242 rm -f core conftest.err conftest.$ac_objext \
11243 conftest$ac_exeext conftest.$ac_ext
11244 LDFLAGS=$save_LDFLAGS
11245 libdir=$save_libdir
11249 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11251 # This implies no fast_install, which is unacceptable.
11252 # Some rework will be needed to allow for fast_install
11253 # before this can be enabled.
11254 hardcode_into_libs=yes
11256 # Append ld.so.conf contents to the search path
11257 if test -f /etc/ld.so.conf; then
11258 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' ' '`
11259 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11262 # We used to test for /lib/ld.so.1 and disable shared libraries on
11263 # powerpc, because MkLinux only supported shared libraries with the
11264 # GNU dynamic linker. Since this was broken with cross compilers,
11265 # most powerpc-linux boxes support dynamic linking these days and
11266 # people can always --disable-shared, the test was removed, and we
11267 # assume the GNU/Linux dynamic linker is in use.
11268 dynamic_linker='GNU/Linux ld.so'
11275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11276 soname_spec='${libname}${release}${shared_ext}$major'
11277 shlibpath_var=LD_LIBRARY_PATH
11278 shlibpath_overrides_runpath=no
11279 hardcode_into_libs=yes
11280 dynamic_linker='NetBSD ld.elf_so'
11287 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11289 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11290 dynamic_linker='NetBSD (a.out) ld.so'
11292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11293 soname_spec='${libname}${release}${shared_ext}$major'
11294 dynamic_linker='NetBSD ld.elf_so'
11296 shlibpath_var=LD_LIBRARY_PATH
11297 shlibpath_overrides_runpath=yes
11298 hardcode_into_libs=yes
11302 version_type=linux # correct to gnu/linux during the next big refactor
11303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11304 shlibpath_var=LD_LIBRARY_PATH
11305 shlibpath_overrides_runpath=yes
11312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11313 soname_spec='${libname}${release}${shared_ext}$major'
11314 shlibpath_var=LD_LIBRARY_PATH
11315 shlibpath_overrides_runpath=no
11316 hardcode_into_libs=yes
11317 dynamic_linker='ldqnx.so'
11322 sys_lib_dlsearch_path_spec="/usr/lib"
11324 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11326 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11327 *) need_version=no ;;
11329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11330 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11331 shlibpath_var=LD_LIBRARY_PATH
11332 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11334 openbsd2.[89] | openbsd2.[89].*)
11335 shlibpath_overrides_runpath=no
11338 shlibpath_overrides_runpath=yes
11342 shlibpath_overrides_runpath=yes
11347 libname_spec='$name'
11350 library_names_spec='$libname${shared_ext} $libname.a'
11351 dynamic_linker='OS/2 ld.exe'
11352 shlibpath_var=LIBPATH
11355 osf3* | osf4* | osf5*)
11359 soname_spec='${libname}${release}${shared_ext}$major'
11360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11361 shlibpath_var=LD_LIBRARY_PATH
11362 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11363 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11371 version_type=linux # correct to gnu/linux during the next big refactor
11374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11375 soname_spec='${libname}${release}${shared_ext}$major'
11376 shlibpath_var=LD_LIBRARY_PATH
11377 shlibpath_overrides_runpath=yes
11378 hardcode_into_libs=yes
11379 # ldd complains unless libraries are executable
11380 postinstall_cmds='chmod +x $lib'
11385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11386 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11387 shlibpath_var=LD_LIBRARY_PATH
11388 shlibpath_overrides_runpath=yes
11389 if test "$with_gnu_ld" = yes; then
11396 version_type=linux # correct to gnu/linux during the next big refactor
11397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11398 soname_spec='${libname}${release}${shared_ext}$major'
11399 shlibpath_var=LD_LIBRARY_PATH
11400 case $host_vendor in
11402 shlibpath_overrides_runpath=no
11404 runpath_var=LD_RUN_PATH
11412 shlibpath_overrides_runpath=no
11413 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11419 if test -d /usr/nec ;then
11420 version_type=linux # correct to gnu/linux during the next big refactor
11421 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11422 soname_spec='$libname${shared_ext}.$major'
11423 shlibpath_var=LD_LIBRARY_PATH
11427 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11428 version_type=freebsd-elf
11431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11432 soname_spec='${libname}${release}${shared_ext}$major'
11433 shlibpath_var=LD_LIBRARY_PATH
11434 shlibpath_overrides_runpath=yes
11435 hardcode_into_libs=yes
11436 if test "$with_gnu_ld" = yes; then
11437 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11439 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11442 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11446 sys_lib_dlsearch_path_spec='/usr/lib'
11450 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11451 version_type=linux # correct to gnu/linux during the next big refactor
11454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11455 shlibpath_var=LD_LIBRARY_PATH
11456 shlibpath_overrides_runpath=no
11457 hardcode_into_libs=yes
11461 version_type=linux # correct to gnu/linux during the next big refactor
11462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11463 soname_spec='${libname}${release}${shared_ext}$major'
11464 shlibpath_var=LD_LIBRARY_PATH
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11472 $as_echo "$dynamic_linker" >&6; }
11473 test "$dynamic_linker" = no && can_build_shared=no
11475 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11476 if test "$GCC" = yes; then
11477 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11480 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11481 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11483 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11484 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11579 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11581 if test -n "$hardcode_libdir_flag_spec" ||
11582 test -n "$runpath_var" ||
11583 test "X$hardcode_automatic" = "Xyes" ; then
11585 # We can hardcode non-existent directories.
11586 if test "$hardcode_direct" != no &&
11587 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11588 # have to relink, otherwise we might link with an installed library
11589 # when we should be linking with a yet-to-be-installed one
11590 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11591 test "$hardcode_minus_L" != no; then
11592 # Linking always hardcodes the temporary library directory.
11593 hardcode_action=relink
11595 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11596 hardcode_action=immediate
11599 # We cannot hardcode anything, or else we can only hardcode existing
11601 hardcode_action=unsupported
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11604 $as_echo "$hardcode_action" >&6; }
11606 if test "$hardcode_action" = relink ||
11607 test "$inherit_rpath" = yes; then
11608 # Fast installation is not supported
11609 enable_fast_install=no
11610 elif test "$shlibpath_overrides_runpath" = yes ||
11611 test "$enable_shared" = no; then
11612 # Fast installation is not necessary
11613 enable_fast_install=needless
11621 if test "x$enable_dlopen" != xyes; then
11622 enable_dlopen=unknown
11623 enable_dlopen_self=unknown
11624 enable_dlopen_self_static=unknown
11631 lt_cv_dlopen="load_add_on"
11633 lt_cv_dlopen_self=yes
11636 mingw* | pw32* | cegcc*)
11637 lt_cv_dlopen="LoadLibrary"
11642 lt_cv_dlopen="dlopen"
11647 # if libdl is installed we need to link against it
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11649 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11650 if ${ac_cv_lib_dl_dlopen+:} false; then :
11651 $as_echo_n "(cached) " >&6
11653 ac_check_lib_save_LIBS=$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_dl_dlopen=yes
11676 ac_cv_lib_dl_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_dl_dlopen" >&5
11683 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11684 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11685 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11688 lt_cv_dlopen="dyld"
11690 lt_cv_dlopen_self=yes
11697 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11698 if test "x$ac_cv_func_shl_load" = xyes; then :
11699 lt_cv_dlopen="shl_load"
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11702 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11703 if ${ac_cv_lib_dld_shl_load+:} false; then :
11704 $as_echo_n "(cached) " >&6
11706 ac_check_lib_save_LIBS=$LIBS
11708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h. */
11711 /* Override any GCC internal prototype to avoid an error.
11712 Use char because int might match the return type of a GCC
11713 builtin and then its argument prototype would still apply. */
11721 return shl_load ();
11726 if ac_fn_c_try_link "$LINENO"; then :
11727 ac_cv_lib_dld_shl_load=yes
11729 ac_cv_lib_dld_shl_load=no
11731 rm -f core conftest.err conftest.$ac_objext \
11732 conftest$ac_exeext conftest.$ac_ext
11733 LIBS=$ac_check_lib_save_LIBS
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11736 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11737 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11738 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11740 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11741 if test "x$ac_cv_func_dlopen" = xyes; then :
11742 lt_cv_dlopen="dlopen"
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11745 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11746 if ${ac_cv_lib_dl_dlopen+:} false; then :
11747 $as_echo_n "(cached) " >&6
11749 ac_check_lib_save_LIBS=$LIBS
11751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11752 /* end confdefs.h. */
11754 /* Override any GCC internal prototype to avoid an error.
11755 Use char because int might match the return type of a GCC
11756 builtin and then its argument prototype would still apply. */
11769 if ac_fn_c_try_link "$LINENO"; then :
11770 ac_cv_lib_dl_dlopen=yes
11772 ac_cv_lib_dl_dlopen=no
11774 rm -f core conftest.err conftest.$ac_objext \
11775 conftest$ac_exeext conftest.$ac_ext
11776 LIBS=$ac_check_lib_save_LIBS
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11779 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11780 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11781 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11784 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11785 if ${ac_cv_lib_svld_dlopen+:} false; then :
11786 $as_echo_n "(cached) " >&6
11788 ac_check_lib_save_LIBS=$LIBS
11789 LIBS="-lsvld $LIBS"
11790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11793 /* Override any GCC internal prototype to avoid an error.
11794 Use char because int might match the return type of a GCC
11795 builtin and then its argument prototype would still apply. */
11808 if ac_fn_c_try_link "$LINENO"; then :
11809 ac_cv_lib_svld_dlopen=yes
11811 ac_cv_lib_svld_dlopen=no
11813 rm -f core conftest.err conftest.$ac_objext \
11814 conftest$ac_exeext conftest.$ac_ext
11815 LIBS=$ac_check_lib_save_LIBS
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11818 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11819 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11820 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11823 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11824 if ${ac_cv_lib_dld_dld_link+:} false; then :
11825 $as_echo_n "(cached) " >&6
11827 ac_check_lib_save_LIBS=$LIBS
11829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11832 /* Override any GCC internal prototype to avoid an error.
11833 Use char because int might match the return type of a GCC
11834 builtin and then its argument prototype would still apply. */
11842 return dld_link ();
11847 if ac_fn_c_try_link "$LINENO"; then :
11848 ac_cv_lib_dld_dld_link=yes
11850 ac_cv_lib_dld_dld_link=no
11852 rm -f core conftest.err conftest.$ac_objext \
11853 conftest$ac_exeext conftest.$ac_ext
11854 LIBS=$ac_check_lib_save_LIBS
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11857 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11858 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11859 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11880 if test "x$lt_cv_dlopen" != xno; then
11886 case $lt_cv_dlopen in
11888 save_CPPFLAGS="$CPPFLAGS"
11889 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11891 save_LDFLAGS="$LDFLAGS"
11892 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11895 LIBS="$lt_cv_dlopen_libs $LIBS"
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11898 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11899 if ${lt_cv_dlopen_self+:} false; then :
11900 $as_echo_n "(cached) " >&6
11902 if test "$cross_compiling" = yes; then :
11903 lt_cv_dlopen_self=cross
11905 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11906 lt_status=$lt_dlunknown
11907 cat > conftest.$ac_ext <<_LT_EOF
11908 #line $LINENO "configure"
11909 #include "confdefs.h"
11918 # define LT_DLGLOBAL RTLD_GLOBAL
11921 # define LT_DLGLOBAL DL_GLOBAL
11923 # define LT_DLGLOBAL 0
11927 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11928 find out it does not work in some platform. */
11929 #ifndef LT_DLLAZY_OR_NOW
11931 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11934 # define LT_DLLAZY_OR_NOW DL_LAZY
11937 # define LT_DLLAZY_OR_NOW RTLD_NOW
11940 # define LT_DLLAZY_OR_NOW DL_NOW
11942 # define LT_DLLAZY_OR_NOW 0
11949 /* When -fvisbility=hidden is used, assume the code has been annotated
11950 correspondingly for the symbols needed. */
11951 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11952 int fnord () __attribute__((visibility("default")));
11955 int fnord () { return 42; }
11958 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11959 int status = $lt_dlunknown;
11963 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11966 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11967 else puts (dlerror ());
11969 /* dlclose (self); */
11977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11978 (eval $ac_link) 2>&5
11980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11981 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11982 (./conftest; exit; ) >&5 2>/dev/null
11984 case x$lt_status in
11985 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11986 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11987 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11990 # compilation failed
11991 lt_cv_dlopen_self=no
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11999 $as_echo "$lt_cv_dlopen_self" >&6; }
12001 if test "x$lt_cv_dlopen_self" = xyes; then
12002 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12004 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12005 if ${lt_cv_dlopen_self_static+:} false; then :
12006 $as_echo_n "(cached) " >&6
12008 if test "$cross_compiling" = yes; then :
12009 lt_cv_dlopen_self_static=cross
12011 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12012 lt_status=$lt_dlunknown
12013 cat > conftest.$ac_ext <<_LT_EOF
12014 #line $LINENO "configure"
12015 #include "confdefs.h"
12024 # define LT_DLGLOBAL RTLD_GLOBAL
12027 # define LT_DLGLOBAL DL_GLOBAL
12029 # define LT_DLGLOBAL 0
12033 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12034 find out it does not work in some platform. */
12035 #ifndef LT_DLLAZY_OR_NOW
12037 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12040 # define LT_DLLAZY_OR_NOW DL_LAZY
12043 # define LT_DLLAZY_OR_NOW RTLD_NOW
12046 # define LT_DLLAZY_OR_NOW DL_NOW
12048 # define LT_DLLAZY_OR_NOW 0
12055 /* When -fvisbility=hidden is used, assume the code has been annotated
12056 correspondingly for the symbols needed. */
12057 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12058 int fnord () __attribute__((visibility("default")));
12061 int fnord () { return 42; }
12064 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12065 int status = $lt_dlunknown;
12069 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12072 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12073 else puts (dlerror ());
12075 /* dlclose (self); */
12083 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12084 (eval $ac_link) 2>&5
12086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12087 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12088 (./conftest; exit; ) >&5 2>/dev/null
12090 case x$lt_status in
12091 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12092 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12093 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12096 # compilation failed
12097 lt_cv_dlopen_self_static=no
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12105 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12108 CPPFLAGS="$save_CPPFLAGS"
12109 LDFLAGS="$save_LDFLAGS"
12114 case $lt_cv_dlopen_self in
12115 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12116 *) enable_dlopen_self=unknown ;;
12119 case $lt_cv_dlopen_self_static in
12120 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12121 *) enable_dlopen_self_static=unknown ;;
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12144 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12145 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12146 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12147 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12149 $as_echo "yes" >&6; }
12151 # FIXME - insert some real tests, host_os isn't really good enough
12154 if test -n "$STRIP" ; then
12155 striplib="$STRIP -x"
12156 old_striplib="$STRIP -S"
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12158 $as_echo "yes" >&6; }
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12161 $as_echo "no" >&6; }
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12166 $as_echo "no" >&6; }
12182 # Report which library types will actually be built
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12184 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12186 $as_echo "$can_build_shared" >&6; }
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12189 $as_echo_n "checking whether to build shared libraries... " >&6; }
12190 test "$can_build_shared" = "no" && enable_shared=no
12192 # On AIX, shared libraries and static libraries use the same namespace, and
12193 # are all built from PIC.
12196 test "$enable_shared" = yes && enable_static=no
12197 if test -n "$RANLIB"; then
12198 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12199 postinstall_cmds='$RANLIB $lib'
12204 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12205 test "$enable_shared" = yes && enable_static=no
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12210 $as_echo "$enable_shared" >&6; }
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12213 $as_echo_n "checking whether to build static libraries... " >&6; }
12214 # Make sure either enable_shared or enable_static is yes.
12215 test "$enable_shared" = yes || enable_static=yes
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12217 $as_echo "$enable_static" >&6; }
12224 ac_cpp='$CPP $CPPFLAGS'
12225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12245 ac_config_commands="$ac_config_commands libtool"
12250 # Only expand once:
12260 # Check whether --with-help-dir was given.
12261 if test "${with_help_dir+set}" = set; then :
12262 withval=$with_help_dir;
12264 with_help_dir='${datadir}/help'
12267 HELP_DIR="$with_help_dir"
12271 # Extract the first word of "itstool", so it can be a program name with args.
12272 set dummy itstool; ac_word=$2
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12274 $as_echo_n "checking for $ac_word... " >&6; }
12275 if ${ac_cv_prog_ITSTOOL+:} false; then :
12276 $as_echo_n "(cached) " >&6
12278 if test -n "$ITSTOOL"; then
12279 ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
12281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12282 for as_dir in $PATH
12285 test -z "$as_dir" && as_dir=.
12286 for ac_exec_ext in '' $ac_executable_extensions; do
12287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12288 ac_cv_prog_ITSTOOL="itstool"
12289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12298 ITSTOOL=$ac_cv_prog_ITSTOOL
12299 if test -n "$ITSTOOL"; then
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5
12301 $as_echo "$ITSTOOL" >&6; }
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12304 $as_echo "no" >&6; }
12308 if test x"$ITSTOOL" = x; then
12309 as_fn_error $? "itstool not found" "$LINENO" 5
12313 # Extract the first word of "xmllint", so it can be a program name with args.
12314 set dummy xmllint; ac_word=$2
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12316 $as_echo_n "checking for $ac_word... " >&6; }
12317 if ${ac_cv_prog_XMLLINT+:} false; then :
12318 $as_echo_n "(cached) " >&6
12320 if test -n "$XMLLINT"; then
12321 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
12323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12324 for as_dir in $PATH
12327 test -z "$as_dir" && as_dir=.
12328 for ac_exec_ext in '' $ac_executable_extensions; do
12329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12330 ac_cv_prog_XMLLINT="xmllint"
12331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12340 XMLLINT=$ac_cv_prog_XMLLINT
12341 if test -n "$XMLLINT"; then
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
12343 $as_echo "$XMLLINT" >&6; }
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12350 if test x"$XMLLINT" = x; then
12351 as_fn_error $? "xmllint not found" "$LINENO" 5
12362 _HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
12363 _HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
12364 _HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
12365 _HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
12366 _HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
12367 _HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
12368 _HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
12369 _HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
12370 _HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
12372 _HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
12373 _HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
12374 _HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
12375 _HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V))
12376 _HELP_LC_VERBOSE_0 = @echo " GEN "$(dir $@);
12378 all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
12381 pot: $(_HELP_POTFILE)
12382 $(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
12383 $(AM_V_GEN)$(ITSTOOL) -o "$@" $(_HELP_C_FILES)
12386 repo: $(_HELP_POTFILE)
12387 $(AM_V_at)for po in $(_HELP_POFILES); do \
12388 if test "x$(_HELP_V)" = "x0"; then echo " GEN $${po}"; fi; \
12389 msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \
12393 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12394 $(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi
12395 $(AM_V_GEN)if ! test -f "$@"; then \
12396 (cd "$(dir $@)" && \
12397 $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
12398 mv "$(notdir $@).tmp" "$(notdir $@)"); \
12400 (cd "$(dir $@)" && \
12401 $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
12402 msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \
12403 rm "$(notdir $@).tmp"); \
12406 $(_HELP_MOFILES): %.mo: %.po
12407 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12408 $(AM_V_GEN)msgfmt -o "$@" "$<"
12410 $(_HELP_LC_FILES): $(_HELP_LINGUAS)
12411 $(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
12412 $(_HELP_LC_STAMPS): %.stamp: %.mo
12413 $(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
12414 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12415 $(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
12416 mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
12417 if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
12418 (cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
12422 mostlyclean-am: $(if $(HELP_ID),clean-help)
12424 rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
12427 EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
12428 EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp)
12429 EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po)
12430 EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
12432 distdir: distdir-help-files
12433 distdir-help-files:
12434 @for lc in C $(HELP_LINGUAS); do \
12435 $(MKDIR_P) "$(distdir)/$$lc"; \
12436 for file in $(HELP_FILES); do \
12437 if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
12438 cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \
12445 for lc in C $(_HELP_LINGUAS); do \
12446 if test -d "$$lc"; \
12451 xmlpath="$$lc:$(srcdir)/$$lc"; \
12453 for page in $(HELP_FILES); do \
12454 echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
12455 $(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
12460 .PHONY: install-help
12461 install-data-am: $(if $(HELP_ID),install-help)
12463 @for lc in C $(_HELP_LINGUAS); do \
12464 $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
12466 @for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
12467 if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \
12468 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12469 if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
12470 echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \
12471 $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \
12473 @for f in $(_HELP_C_EXTRA); do \
12474 lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
12475 if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
12476 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12477 if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
12478 echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \
12479 $(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \
12481 @for f in $(HELP_MEDIA); do \
12482 for lc in C $(_HELP_LINGUAS); do \
12483 if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \
12484 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12485 mdir=`dirname "$$f"`; \
12486 if test "x$mdir" = "x."; then mdir=""; fi; \
12487 if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \
12488 if test -f "$$d$$lc/$$f"; then \
12489 echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
12490 $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
12491 elif test "x$$lc" != "xC"; then \
12492 echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
12493 $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
12498 .PHONY: uninstall-help
12499 uninstall-am: $(if $(HELP_ID),uninstall-help)
12501 for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
12502 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12503 echo "rm -f $$helpdir`basename $$f`"; \
12504 rm -f "$$helpdir`basename $$f`"; \
12506 @for f in $(_HELP_C_EXTRA); do \
12507 lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
12508 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12509 echo "rm -f $$helpdir`basename $$f`"; \
12510 rm -f "$$helpdir`basename $$f`"; \
12512 @for f in $(HELP_MEDIA); do \
12513 for lc in C $(_HELP_LINGUAS); do \
12514 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12515 echo "rm -f $$helpdir$$f"; \
12516 rm -f "$$helpdir$$f"; \
12526 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12527 set dummy gtkdoc-check; ac_word=$2
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12529 $as_echo_n "checking for $ac_word... " >&6; }
12530 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12531 $as_echo_n "(cached) " >&6
12533 case $GTKDOC_CHECK in
12535 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12539 for as_dir in $PATH
12542 test -z "$as_dir" && as_dir=.
12543 for ac_exec_ext in '' $ac_executable_extensions; do
12544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12545 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12556 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12557 if test -n "$GTKDOC_CHECK"; then
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12559 $as_echo "$GTKDOC_CHECK" >&6; }
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12562 $as_echo "no" >&6; }
12566 for ac_prog in gtkdoc-rebase
12568 # Extract the first word of "$ac_prog", so it can be a program name with args.
12569 set dummy $ac_prog; ac_word=$2
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12571 $as_echo_n "checking for $ac_word... " >&6; }
12572 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12573 $as_echo_n "(cached) " >&6
12575 case $GTKDOC_REBASE in
12577 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12581 for as_dir in $PATH
12584 test -z "$as_dir" && as_dir=.
12585 for ac_exec_ext in '' $ac_executable_extensions; do
12586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12587 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12598 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12599 if test -n "$GTKDOC_REBASE"; then
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12601 $as_echo "$GTKDOC_REBASE" >&6; }
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12604 $as_echo "no" >&6; }
12608 test -n "$GTKDOC_REBASE" && break
12610 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12612 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12613 set dummy gtkdoc-mkpdf; ac_word=$2
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12615 $as_echo_n "checking for $ac_word... " >&6; }
12616 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12617 $as_echo_n "(cached) " >&6
12619 case $GTKDOC_MKPDF in
12621 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12625 for as_dir in $PATH
12628 test -z "$as_dir" && as_dir=.
12629 for ac_exec_ext in '' $ac_executable_extensions; do
12630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12631 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12642 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12643 if test -n "$GTKDOC_MKPDF"; then
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12645 $as_echo "$GTKDOC_MKPDF" >&6; }
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12648 $as_echo "no" >&6; }
12654 # Check whether --with-html-dir was given.
12655 if test "${with_html_dir+set}" = set; then :
12656 withval=$with_html_dir;
12658 with_html_dir='${datadir}/gtk-doc/html'
12661 HTML_DIR="$with_html_dir"
12664 # Check whether --enable-gtk-doc was given.
12665 if test "${enable_gtk_doc+set}" = set; then :
12666 enableval=$enable_gtk_doc;
12672 if test x$enable_gtk_doc = xyes; then
12673 if test -n "$PKG_CONFIG" && \
12674 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
12675 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
12677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12678 test $ac_status = 0; }; then
12681 as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
12683 if test "x$PACKAGE_NAME" != "xglib"; then
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12687 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12689 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12690 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12691 elif test -n "$PKG_CONFIG"; then
12692 if test -n "$PKG_CONFIG" && \
12693 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
12694 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12697 test $ac_status = 0; }; then
12698 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12699 test "x$?" != "x0" && pkg_failed=yes
12706 if test -n "$GTKDOC_DEPS_LIBS"; then
12707 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12708 elif test -n "$PKG_CONFIG"; then
12709 if test -n "$PKG_CONFIG" && \
12710 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
12711 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12714 test $ac_status = 0; }; then
12715 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12716 test "x$?" != "x0" && pkg_failed=yes
12726 if test $pkg_failed = yes; then
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12728 $as_echo "no" >&6; }
12730 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12731 _pkg_short_errors_supported=yes
12733 _pkg_short_errors_supported=no
12735 if test $_pkg_short_errors_supported = yes; then
12736 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12738 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12740 # Put the nasty error message in config.log where it belongs
12741 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12743 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
12745 $GTKDOC_DEPS_PKG_ERRORS
12747 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12748 installed software in a non-standard prefix.
12750 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12751 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12752 See the pkg-config man page for more details." "$LINENO" 5
12753 elif test $pkg_failed = untried; then
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12755 $as_echo "no" >&6; }
12756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12758 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12759 is in your PATH or set the PKG_CONFIG environment variable to the full
12760 path to pkg-config.
12762 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12763 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12764 See the pkg-config man page for more details.
12766 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12767 See \`config.log' for more details" "$LINENO" 5; }
12769 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12770 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12772 $as_echo "yes" >&6; }
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12779 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12781 $as_echo "$enable_gtk_doc" >&6; }
12783 # Check whether --enable-gtk-doc-html was given.
12784 if test "${enable_gtk_doc_html+set}" = set; then :
12785 enableval=$enable_gtk_doc_html;
12787 enable_gtk_doc_html=yes
12790 # Check whether --enable-gtk-doc-pdf was given.
12791 if test "${enable_gtk_doc_pdf+set}" = set; then :
12792 enableval=$enable_gtk_doc_pdf;
12794 enable_gtk_doc_pdf=no
12798 if test -z "$GTKDOC_MKPDF"; then
12799 enable_gtk_doc_pdf=no
12803 if test x$enable_gtk_doc = xyes; then
12804 ENABLE_GTK_DOC_TRUE=
12805 ENABLE_GTK_DOC_FALSE='#'
12807 ENABLE_GTK_DOC_TRUE='#'
12808 ENABLE_GTK_DOC_FALSE=
12811 if test x$enable_gtk_doc_html = xyes; then
12812 GTK_DOC_BUILD_HTML_TRUE=
12813 GTK_DOC_BUILD_HTML_FALSE='#'
12815 GTK_DOC_BUILD_HTML_TRUE='#'
12816 GTK_DOC_BUILD_HTML_FALSE=
12819 if test x$enable_gtk_doc_pdf = xyes; then
12820 GTK_DOC_BUILD_PDF_TRUE=
12821 GTK_DOC_BUILD_PDF_FALSE='#'
12823 GTK_DOC_BUILD_PDF_TRUE='#'
12824 GTK_DOC_BUILD_PDF_FALSE=
12827 if test -n "$LIBTOOL"; then
12828 GTK_DOC_USE_LIBTOOL_TRUE=
12829 GTK_DOC_USE_LIBTOOL_FALSE='#'
12831 GTK_DOC_USE_LIBTOOL_TRUE='#'
12832 GTK_DOC_USE_LIBTOOL_FALSE=
12835 if test -n "$GTKDOC_REBASE"; then
12836 GTK_DOC_USE_REBASE_TRUE=
12837 GTK_DOC_USE_REBASE_FALSE='#'
12839 GTK_DOC_USE_REBASE_TRUE='#'
12840 GTK_DOC_USE_REBASE_FALSE=
12847 # Check whether --enable-schemas-compile was given.
12848 if test "${enable_schemas_compile+set}" = set; then :
12849 enableval=$enable_schemas_compile; case ${enableval} in
12850 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
12851 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
12852 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
12864 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12865 if test -n "$ac_tool_prefix"; then
12866 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12867 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12869 $as_echo_n "checking for $ac_word... " >&6; }
12870 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12871 $as_echo_n "(cached) " >&6
12873 case $PKG_CONFIG in
12875 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12879 for as_dir in $PATH
12882 test -z "$as_dir" && as_dir=.
12883 for ac_exec_ext in '' $ac_executable_extensions; do
12884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12885 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12896 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12897 if test -n "$PKG_CONFIG"; then
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12899 $as_echo "$PKG_CONFIG" >&6; }
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12902 $as_echo "no" >&6; }
12907 if test -z "$ac_cv_path_PKG_CONFIG"; then
12908 ac_pt_PKG_CONFIG=$PKG_CONFIG
12909 # Extract the first word of "pkg-config", so it can be a program name with args.
12910 set dummy pkg-config; ac_word=$2
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12912 $as_echo_n "checking for $ac_word... " >&6; }
12913 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12914 $as_echo_n "(cached) " >&6
12916 case $ac_pt_PKG_CONFIG in
12918 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12922 for as_dir in $PATH
12925 test -z "$as_dir" && as_dir=.
12926 for ac_exec_ext in '' $ac_executable_extensions; do
12927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12928 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12939 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12940 if test -n "$ac_pt_PKG_CONFIG"; then
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12942 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12945 $as_echo "no" >&6; }
12948 if test "x$ac_pt_PKG_CONFIG" = x; then
12951 case $cross_compiling:$ac_tool_warned in
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12955 ac_tool_warned=yes ;;
12957 PKG_CONFIG=$ac_pt_PKG_CONFIG
12960 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12964 if test -n "$PKG_CONFIG"; then
12965 _pkg_min_version=0.16
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12967 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12968 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12970 $as_echo "yes" >&6; }
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12973 $as_echo "no" >&6; }
12977 gsettingsschemadir=${datadir}/glib-2.0/schemas
12979 if test x$cross_compiling != xyes; then
12980 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
12982 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
12983 set dummy glib-compile-schemas; ac_word=$2
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12985 $as_echo_n "checking for $ac_word... " >&6; }
12986 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
12987 $as_echo_n "(cached) " >&6
12989 case $GLIB_COMPILE_SCHEMAS in
12991 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
12994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12995 for as_dir in $PATH
12998 test -z "$as_dir" && as_dir=.
12999 for ac_exec_ext in '' $ac_executable_extensions; do
13000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13001 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
13002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13012 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
13013 if test -n "$GLIB_COMPILE_SCHEMAS"; then
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
13015 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13018 $as_echo "no" >&6; }
13024 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
13025 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
13031 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
13033 mostlyclean-am: clean-gsettings-schemas
13035 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
13037 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
13038 $(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 $@
13040 all-am: $(gsettings_SCHEMAS:.xml=.valid)
13041 uninstall-am: uninstall-gsettings-schemas
13042 install-data-am: install-gsettings-schemas
13044 .SECONDARY: $(gsettings_SCHEMAS)
13046 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
13048 if test -n "$^"; then \
13049 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
13050 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
13051 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
13054 uninstall-gsettings-schemas:
13055 @$(NORMAL_UNINSTALL)
13056 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
13057 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
13058 test -n "$$files" || exit 0; \
13059 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
13060 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
13061 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
13063 clean-gsettings-schemas:
13064 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
13066 ifdef gsettings_ENUM_NAMESPACE
13067 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
13068 $(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 $@
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
13079 $as_echo_n "checking for library containing strerror... " >&6; }
13080 if ${ac_cv_search_strerror+:} false; then :
13081 $as_echo_n "(cached) " >&6
13083 ac_func_search_save_LIBS=$LIBS
13084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13087 /* Override any GCC internal prototype to avoid an error.
13088 Use char because int might match the return type of a GCC
13089 builtin and then its argument prototype would still apply. */
13097 return strerror ();
13102 for ac_lib in '' cposix; do
13103 if test -z "$ac_lib"; then
13104 ac_res="none required"
13107 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13109 if ac_fn_c_try_link "$LINENO"; then :
13110 ac_cv_search_strerror=$ac_res
13112 rm -f core conftest.err conftest.$ac_objext \
13114 if ${ac_cv_search_strerror+:} false; then :
13118 if ${ac_cv_search_strerror+:} false; then :
13121 ac_cv_search_strerror=no
13123 rm conftest.$ac_ext
13124 LIBS=$ac_func_search_save_LIBS
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
13127 $as_echo "$ac_cv_search_strerror" >&6; }
13128 ac_res=$ac_cv_search_strerror
13129 if test "$ac_res" != no; then :
13130 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13135 ac_cpp='$CPP $CPPFLAGS'
13136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13139 if test -n "$ac_tool_prefix"; then
13140 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13141 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13143 $as_echo_n "checking for $ac_word... " >&6; }
13144 if ${ac_cv_prog_CC+:} false; then :
13145 $as_echo_n "(cached) " >&6
13147 if test -n "$CC"; then
13148 ac_cv_prog_CC="$CC" # Let the user override the test.
13150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13151 for as_dir in $PATH
13154 test -z "$as_dir" && as_dir=.
13155 for ac_exec_ext in '' $ac_executable_extensions; do
13156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13157 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13168 if test -n "$CC"; then
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13170 $as_echo "$CC" >&6; }
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13173 $as_echo "no" >&6; }
13178 if test -z "$ac_cv_prog_CC"; then
13180 # Extract the first word of "gcc", so it can be a program name with args.
13181 set dummy gcc; ac_word=$2
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13183 $as_echo_n "checking for $ac_word... " >&6; }
13184 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13185 $as_echo_n "(cached) " >&6
13187 if test -n "$ac_ct_CC"; then
13188 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13191 for as_dir in $PATH
13194 test -z "$as_dir" && as_dir=.
13195 for ac_exec_ext in '' $ac_executable_extensions; do
13196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13197 ac_cv_prog_ac_ct_CC="gcc"
13198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13207 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13208 if test -n "$ac_ct_CC"; then
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13210 $as_echo "$ac_ct_CC" >&6; }
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13213 $as_echo "no" >&6; }
13216 if test "x$ac_ct_CC" = x; then
13219 case $cross_compiling:$ac_tool_warned in
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13223 ac_tool_warned=yes ;;
13228 CC="$ac_cv_prog_CC"
13231 if test -z "$CC"; then
13232 if test -n "$ac_tool_prefix"; then
13233 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13234 set dummy ${ac_tool_prefix}cc; ac_word=$2
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13236 $as_echo_n "checking for $ac_word... " >&6; }
13237 if ${ac_cv_prog_CC+:} false; then :
13238 $as_echo_n "(cached) " >&6
13240 if test -n "$CC"; then
13241 ac_cv_prog_CC="$CC" # Let the user override the test.
13243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13244 for as_dir in $PATH
13247 test -z "$as_dir" && as_dir=.
13248 for ac_exec_ext in '' $ac_executable_extensions; do
13249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13250 ac_cv_prog_CC="${ac_tool_prefix}cc"
13251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13261 if test -n "$CC"; then
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13263 $as_echo "$CC" >&6; }
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13266 $as_echo "no" >&6; }
13272 if test -z "$CC"; then
13273 # Extract the first word of "cc", so it can be a program name with args.
13274 set dummy cc; ac_word=$2
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13276 $as_echo_n "checking for $ac_word... " >&6; }
13277 if ${ac_cv_prog_CC+:} false; then :
13278 $as_echo_n "(cached) " >&6
13280 if test -n "$CC"; then
13281 ac_cv_prog_CC="$CC" # Let the user override the test.
13283 ac_prog_rejected=no
13284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13285 for as_dir in $PATH
13288 test -z "$as_dir" && as_dir=.
13289 for ac_exec_ext in '' $ac_executable_extensions; do
13290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13291 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13292 ac_prog_rejected=yes
13296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13303 if test $ac_prog_rejected = yes; then
13304 # We found a bogon in the path, so make sure we never use it.
13305 set dummy $ac_cv_prog_CC
13307 if test $# != 0; then
13308 # We chose a different compiler from the bogus one.
13309 # However, it has the same basename, so the bogon will be chosen
13310 # first if we set CC to just the basename; use the full file name.
13312 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13318 if test -n "$CC"; then
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13320 $as_echo "$CC" >&6; }
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13323 $as_echo "no" >&6; }
13328 if test -z "$CC"; then
13329 if test -n "$ac_tool_prefix"; then
13330 for ac_prog in cl.exe
13332 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13333 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13335 $as_echo_n "checking for $ac_word... " >&6; }
13336 if ${ac_cv_prog_CC+:} false; then :
13337 $as_echo_n "(cached) " >&6
13339 if test -n "$CC"; then
13340 ac_cv_prog_CC="$CC" # Let the user override the test.
13342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13343 for as_dir in $PATH
13346 test -z "$as_dir" && as_dir=.
13347 for ac_exec_ext in '' $ac_executable_extensions; do
13348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13349 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13360 if test -n "$CC"; then
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13362 $as_echo "$CC" >&6; }
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13365 $as_echo "no" >&6; }
13369 test -n "$CC" && break
13372 if test -z "$CC"; then
13374 for ac_prog in cl.exe
13376 # Extract the first word of "$ac_prog", so it can be a program name with args.
13377 set dummy $ac_prog; ac_word=$2
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13379 $as_echo_n "checking for $ac_word... " >&6; }
13380 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13381 $as_echo_n "(cached) " >&6
13383 if test -n "$ac_ct_CC"; then
13384 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13387 for as_dir in $PATH
13390 test -z "$as_dir" && as_dir=.
13391 for ac_exec_ext in '' $ac_executable_extensions; do
13392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13393 ac_cv_prog_ac_ct_CC="$ac_prog"
13394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13403 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13404 if test -n "$ac_ct_CC"; then
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13406 $as_echo "$ac_ct_CC" >&6; }
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13409 $as_echo "no" >&6; }
13413 test -n "$ac_ct_CC" && break
13416 if test "x$ac_ct_CC" = x; then
13419 case $cross_compiling:$ac_tool_warned in
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13423 ac_tool_warned=yes ;;
13432 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13434 as_fn_error $? "no acceptable C compiler found in \$PATH
13435 See \`config.log' for more details" "$LINENO" 5; }
13437 # Provide some information about the compiler.
13438 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13441 for ac_option in --version -v -V -qversion; do
13442 { { ac_try="$ac_compiler $ac_option >&5"
13443 case "(($ac_try" in
13444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13445 *) ac_try_echo=$ac_try;;
13447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13448 $as_echo "$ac_try_echo"; } >&5
13449 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13451 if test -s conftest.err; then
13453 ... rest of stderr output deleted ...
13454 10q' conftest.err >conftest.er1
13455 cat conftest.er1 >&5
13457 rm -f conftest.er1 conftest.err
13458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13459 test $ac_status = 0; }
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13463 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13464 if ${ac_cv_c_compiler_gnu+:} false; then :
13465 $as_echo_n "(cached) " >&6
13467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13468 /* end confdefs.h. */
13481 if ac_fn_c_try_compile "$LINENO"; then :
13482 ac_compiler_gnu=yes
13486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13487 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13491 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13492 if test $ac_compiler_gnu = yes; then
13497 ac_test_CFLAGS=${CFLAGS+set}
13498 ac_save_CFLAGS=$CFLAGS
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13500 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13501 if ${ac_cv_prog_cc_g+:} false; then :
13502 $as_echo_n "(cached) " >&6
13504 ac_save_c_werror_flag=$ac_c_werror_flag
13505 ac_c_werror_flag=yes
13508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13509 /* end confdefs.h. */
13519 if ac_fn_c_try_compile "$LINENO"; then :
13520 ac_cv_prog_cc_g=yes
13523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13534 if ac_fn_c_try_compile "$LINENO"; then :
13537 ac_c_werror_flag=$ac_save_c_werror_flag
13539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13540 /* end confdefs.h. */
13550 if ac_fn_c_try_compile "$LINENO"; then :
13551 ac_cv_prog_cc_g=yes
13553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13558 ac_c_werror_flag=$ac_save_c_werror_flag
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13561 $as_echo "$ac_cv_prog_cc_g" >&6; }
13562 if test "$ac_test_CFLAGS" = set; then
13563 CFLAGS=$ac_save_CFLAGS
13564 elif test $ac_cv_prog_cc_g = yes; then
13565 if test "$GCC" = yes; then
13571 if test "$GCC" = yes; then
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13578 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13579 if ${ac_cv_prog_cc_c89+:} false; then :
13580 $as_echo_n "(cached) " >&6
13582 ac_cv_prog_cc_c89=no
13584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13585 /* end confdefs.h. */
13586 #include <stdarg.h>
13589 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13590 struct buf { int x; };
13591 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13592 static char *e (p, i)
13598 static char *f (char * (*g) (char **, int), char **p, ...)
13603 s = g (p, va_arg (v,int));
13608 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13609 function prototypes and stuff, but not '\xHH' hex character constants.
13610 These don't provoke an error unfortunately, instead are silently treated
13611 as 'x'. The following induces an error, until -std is added to get
13612 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13613 array size at least. It's necessary to write '\x00'==0 to get something
13614 that's true only with -std. */
13615 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13617 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13618 inside strings and character constants. */
13620 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13622 int test (int i, double x);
13623 struct s1 {int (*f) (int a);};
13624 struct s2 {int (*f) (double a);};
13625 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13631 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13636 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13637 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13639 CC="$ac_save_CC $ac_arg"
13640 if ac_fn_c_try_compile "$LINENO"; then :
13641 ac_cv_prog_cc_c89=$ac_arg
13643 rm -f core conftest.err conftest.$ac_objext
13644 test "x$ac_cv_prog_cc_c89" != "xno" && break
13646 rm -f conftest.$ac_ext
13651 case "x$ac_cv_prog_cc_c89" in
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13654 $as_echo "none needed" >&6; } ;;
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13657 $as_echo "unsupported" >&6; } ;;
13659 CC="$CC $ac_cv_prog_cc_c89"
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13661 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13663 if test "x$ac_cv_prog_cc_c89" != xno; then :
13668 ac_cpp='$CPP $CPPFLAGS'
13669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13673 depcc="$CC" am_compiler_list=
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13676 $as_echo_n "checking dependency style of $depcc... " >&6; }
13677 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13678 $as_echo_n "(cached) " >&6
13680 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13681 # We make a subdir and do the tests there. Otherwise we can end up
13682 # making bogus files that we don't know about and never remove. For
13683 # instance it was reported that on HP-UX the gcc test will end up
13684 # making a dummy file named `D' -- because `-MD' means `put the output
13686 rm -rf conftest.dir
13688 # Copy depcomp to subdir because otherwise we won't find it if we're
13689 # using a relative directory.
13690 cp "$am_depcomp" conftest.dir
13692 # We will build objects and dependencies in a subdirectory because
13693 # it helps to detect inapplicable dependency modes. For instance
13694 # both Tru64's cc and ICC support -MD to output dependencies as a
13695 # side effect of compilation, but ICC will put the dependencies in
13696 # the current directory while Tru64 will put them in the object
13700 am_cv_CC_dependencies_compiler_type=none
13701 if test "$am_compiler_list" = ""; then
13702 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13704 am__universal=false
13705 case " $depcc " in #(
13706 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13709 for depmode in $am_compiler_list; do
13710 # Setup a source with many dependencies, because some compilers
13711 # like to wrap large dependency lists on column 80 (with \), and
13712 # we should not choose a depcomp mode which is confused by this.
13714 # We need to recreate these files for each test, as the compiler may
13715 # overwrite some of them when testing with obscure command lines.
13716 # This happens at least with the AIX C compiler.
13718 for i in 1 2 3 4 5 6; do
13719 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13720 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13721 # Solaris 8's {/usr,}/bin/sh.
13722 touch sub/conftst$i.h
13724 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13726 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13727 # mode. It turns out that the SunPro C++ compiler does not properly
13728 # handle `-M -o', and we need to detect this. Also, some Intel
13729 # versions had trouble with output in subdirs
13730 am__obj=sub/conftest.${OBJEXT-o}
13731 am__minus_obj="-o $am__obj"
13734 # This depmode causes a compiler race in universal mode.
13735 test "$am__universal" = false || continue
13738 # after this tag, mechanisms are not by side-effect, so they'll
13739 # only be used when explicitly requested
13740 if test "x$enable_dependency_tracking" = xyes; then
13746 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13747 # This compiler won't grok `-c -o', but also, the minuso test has
13748 # not run yet. These depmodes are late enough in the game, and
13749 # so weak that their functioning should not be impacted.
13750 am__obj=conftest.${OBJEXT-o}
13755 if depmode=$depmode \
13756 source=sub/conftest.c object=$am__obj \
13757 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13758 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13759 >/dev/null 2>conftest.err &&
13760 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13761 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13762 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13763 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13764 # icc doesn't choke on unknown options, it will just issue warnings
13765 # or remarks (even with -Werror). So we grep stderr for any message
13766 # that says an option was ignored or not supported.
13767 # When given -MP, icc 7.0 and 7.1 complain thusly:
13768 # icc: Command line warning: ignoring option '-M'; no argument required
13769 # The diagnosis changed in icc 8.0:
13770 # icc: Command line remark: option '-MP' not supported
13771 if (grep 'ignoring option' conftest.err ||
13772 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13773 am_cv_CC_dependencies_compiler_type=$depmode
13780 rm -rf conftest.dir
13782 am_cv_CC_dependencies_compiler_type=none
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13787 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13788 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13791 test "x$enable_dependency_tracking" != xno \
13792 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13793 am__fastdepCC_TRUE=
13794 am__fastdepCC_FALSE='#'
13796 am__fastdepCC_TRUE='#'
13797 am__fastdepCC_FALSE=
13805 # Check whether --enable-compile-warnings was given.
13806 if test "${enable_compile_warnings+set}" = set; then :
13807 enableval=$enable_compile_warnings;
13809 enable_compile_warnings="yes"
13814 if test "x$GCC" != xyes; then
13815 enable_compile_warnings=no
13819 realsave_CFLAGS="$CFLAGS"
13821 case "$enable_compile_warnings" in
13826 warning_flags="-Wall"
13829 warning_flags="-Wall -Wmissing-prototypes"
13832 warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
13833 CFLAGS="$warning_flags $CFLAGS"
13834 for option in -Wno-sign-compare; do
13835 SAVE_CFLAGS="$CFLAGS"
13836 CFLAGS="$CFLAGS $option"
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
13838 $as_echo_n "checking whether gcc understands $option... " >&6; }
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13850 if ac_fn_c_try_compile "$LINENO"; then :
13855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13856 CFLAGS="$SAVE_CFLAGS"
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
13858 $as_echo "$has_option" >&6; }
13859 if test $has_option = yes; then
13860 warning_flags="$warning_flags $option"
13866 if test "$enable_compile_warnings" = "error" ; then
13867 warning_flags="$warning_flags -Werror"
13871 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
13874 CFLAGS="$realsave_CFLAGS"
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
13876 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
13878 $as_echo "$warning_flags" >&6; }
13880 # Check whether --enable-iso-c was given.
13881 if test "${enable_iso_c+set}" = set; then :
13882 enableval=$enable_iso_c;
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
13889 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
13891 if test "x$enable_iso_c" != "xno"; then
13892 if test "x$GCC" = "xyes"; then
13893 case " $CFLAGS " in
13894 *\ \ -ansi\ \ *) ;;
13895 *) complCFLAGS="$complCFLAGS -ansi" ;;
13897 case " $CFLAGS " in
13898 *\ \ -pedantic\ \ *) ;;
13899 *) complCFLAGS="$complCFLAGS -pedantic" ;;
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
13904 $as_echo "$complCFLAGS" >&6; }
13906 WARN_CFLAGS="$warning_flags $complCFLAGS"
13910 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
13911 set dummy glib-genmarshal; ac_word=$2
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13913 $as_echo_n "checking for $ac_word... " >&6; }
13914 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
13915 $as_echo_n "(cached) " >&6
13917 case $GLIB_GENMARSHAL in
13919 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
13922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13923 for as_dir in $PATH
13926 test -z "$as_dir" && as_dir=.
13927 for ac_exec_ext in '' $ac_executable_extensions; do
13928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13929 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
13930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13940 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
13941 if test -n "$GLIB_GENMARSHAL"; then
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
13943 $as_echo "$GLIB_GENMARSHAL" >&6; }
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13946 $as_echo "no" >&6; }
13950 # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
13951 set dummy gdk-pixbuf-csource; ac_word=$2
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13953 $as_echo_n "checking for $ac_word... " >&6; }
13954 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
13955 $as_echo_n "(cached) " >&6
13957 case $GDK_PIXBUF_CSOURCE in
13959 ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
13962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13963 for as_dir in $PATH
13966 test -z "$as_dir" && as_dir=.
13967 for ac_exec_ext in '' $ac_executable_extensions; do
13968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13969 ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
13970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13980 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
13981 if test -n "$GDK_PIXBUF_CSOURCE"; then
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
13983 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13986 $as_echo "no" >&6; }
13990 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
13991 set dummy gtk-update-icon-cache; ac_word=$2
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13993 $as_echo_n "checking for $ac_word... " >&6; }
13994 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
13995 $as_echo_n "(cached) " >&6
13997 case $GTK_UPDATE_ICON_CACHE in
13999 ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
14002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14003 for as_dir in $PATH
14006 test -z "$as_dir" && as_dir=.
14007 for ac_exec_ext in '' $ac_executable_extensions; do
14008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14009 ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
14010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14020 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
14021 if test -n "$GTK_UPDATE_ICON_CACHE"; then
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
14023 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14026 $as_echo "no" >&6; }
14032 GLABELS_BRANCH=glabels-3.0
14035 LIBGLABELS_BRANCH=libglabels-3.0
14038 LIBGLBARCODE_BRANCH=libglbarcode-3.0
14045 LIBGLABELS_API_VERSION=${LIBGLABELS_C}:${LIBGLABELS_R}:${LIBGLABELS_A}
14052 LIBGLBARCODE_API_VERSION=${LIBGLBARCODE_C}:${LIBGLBARCODE_R}:${LIBGLBARCODE_A}
14055 GLIB_REQUIRED=2.28.2
14057 LIBXML_REQUIRED=2.7.8
14058 LIBRSVG_REQUIRED=2.32.0
14059 CAIRO_REQUIRED=1.10.0
14060 PANGO_REQUIRED=1.28.1
14062 LIBEBOOK_REQUIRED=2.30.3
14063 LIBBARCODE_REQUIRED=0.98
14064 LIBQRENCODE_REQUIRED=3.1.0
14065 LIBIEC16022_REQUIRED=0.2.4
14066 LIBZINT_REQUIRED=2.4.0
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLABELS" >&5
14084 $as_echo_n "checking for GLABELS... " >&6; }
14086 if test -n "$GLABELS_CFLAGS"; then
14087 pkg_cv_GLABELS_CFLAGS="$GLABELS_CFLAGS"
14088 elif test -n "$PKG_CONFIG"; then
14089 if test -n "$PKG_CONFIG" && \
14090 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14091 glib-2.0 >= \$GLIB_REQUIRED \\
14092 gtk+-3.0 >= \$GTK_REQUIRED \\
14093 libxml-2.0 >= \$LIBXML_REQUIRED \\
14094 librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
14096 ($PKG_CONFIG --exists --print-errors "\
14097 glib-2.0 >= $GLIB_REQUIRED \
14098 gtk+-3.0 >= $GTK_REQUIRED \
14099 libxml-2.0 >= $LIBXML_REQUIRED \
14100 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14104 test $ac_status = 0; }; then
14105 pkg_cv_GLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14106 glib-2.0 >= $GLIB_REQUIRED \
14107 gtk+-3.0 >= $GTK_REQUIRED \
14108 libxml-2.0 >= $LIBXML_REQUIRED \
14109 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14111 test "x$?" != "x0" && pkg_failed=yes
14118 if test -n "$GLABELS_LIBS"; then
14119 pkg_cv_GLABELS_LIBS="$GLABELS_LIBS"
14120 elif test -n "$PKG_CONFIG"; then
14121 if test -n "$PKG_CONFIG" && \
14122 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14123 glib-2.0 >= \$GLIB_REQUIRED \\
14124 gtk+-3.0 >= \$GTK_REQUIRED \\
14125 libxml-2.0 >= \$LIBXML_REQUIRED \\
14126 librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
14128 ($PKG_CONFIG --exists --print-errors "\
14129 glib-2.0 >= $GLIB_REQUIRED \
14130 gtk+-3.0 >= $GTK_REQUIRED \
14131 libxml-2.0 >= $LIBXML_REQUIRED \
14132 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14136 test $ac_status = 0; }; then
14137 pkg_cv_GLABELS_LIBS=`$PKG_CONFIG --libs "\
14138 glib-2.0 >= $GLIB_REQUIRED \
14139 gtk+-3.0 >= $GTK_REQUIRED \
14140 libxml-2.0 >= $LIBXML_REQUIRED \
14141 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14143 test "x$?" != "x0" && pkg_failed=yes
14153 if test $pkg_failed = yes; then
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14155 $as_echo "no" >&6; }
14157 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14158 _pkg_short_errors_supported=yes
14160 _pkg_short_errors_supported=no
14162 if test $_pkg_short_errors_supported = yes; then
14163 GLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14164 glib-2.0 >= $GLIB_REQUIRED \
14165 gtk+-3.0 >= $GTK_REQUIRED \
14166 libxml-2.0 >= $LIBXML_REQUIRED \
14167 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14170 GLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14171 glib-2.0 >= $GLIB_REQUIRED \
14172 gtk+-3.0 >= $GTK_REQUIRED \
14173 libxml-2.0 >= $LIBXML_REQUIRED \
14174 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14177 # Put the nasty error message in config.log where it belongs
14178 echo "$GLABELS_PKG_ERRORS" >&5
14180 as_fn_error $? "Package requirements (\
14181 glib-2.0 >= $GLIB_REQUIRED \
14182 gtk+-3.0 >= $GTK_REQUIRED \
14183 libxml-2.0 >= $LIBXML_REQUIRED \
14184 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14187 $GLABELS_PKG_ERRORS
14189 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14190 installed software in a non-standard prefix.
14192 Alternatively, you may set the environment variables GLABELS_CFLAGS
14193 and GLABELS_LIBS to avoid the need to call pkg-config.
14194 See the pkg-config man page for more details." "$LINENO" 5
14195 elif test $pkg_failed = untried; then
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14197 $as_echo "no" >&6; }
14198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14200 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14201 is in your PATH or set the PKG_CONFIG environment variable to the full
14202 path to pkg-config.
14204 Alternatively, you may set the environment variables GLABELS_CFLAGS
14205 and GLABELS_LIBS to avoid the need to call pkg-config.
14206 See the pkg-config man page for more details.
14208 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14209 See \`config.log' for more details" "$LINENO" 5; }
14211 GLABELS_CFLAGS=$pkg_cv_GLABELS_CFLAGS
14212 GLABELS_LIBS=$pkg_cv_GLABELS_LIBS
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14214 $as_echo "yes" >&6; }
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLABELS" >&5
14225 $as_echo_n "checking for LIBGLABELS... " >&6; }
14227 if test -n "$LIBGLABELS_CFLAGS"; then
14228 pkg_cv_LIBGLABELS_CFLAGS="$LIBGLABELS_CFLAGS"
14229 elif test -n "$PKG_CONFIG"; then
14230 if test -n "$PKG_CONFIG" && \
14231 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14232 glib-2.0 >= \$GLIB_REQUIRED \\
14233 gobject-2.0 >= \$GLIB_REQUIRED \\
14234 libxml-2.0 >= \$LIBXML_REQUIRED \\
14236 ($PKG_CONFIG --exists --print-errors "\
14237 glib-2.0 >= $GLIB_REQUIRED \
14238 gobject-2.0 >= $GLIB_REQUIRED \
14239 libxml-2.0 >= $LIBXML_REQUIRED \
14242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14243 test $ac_status = 0; }; then
14244 pkg_cv_LIBGLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14245 glib-2.0 >= $GLIB_REQUIRED \
14246 gobject-2.0 >= $GLIB_REQUIRED \
14247 libxml-2.0 >= $LIBXML_REQUIRED \
14249 test "x$?" != "x0" && pkg_failed=yes
14256 if test -n "$LIBGLABELS_LIBS"; then
14257 pkg_cv_LIBGLABELS_LIBS="$LIBGLABELS_LIBS"
14258 elif test -n "$PKG_CONFIG"; then
14259 if test -n "$PKG_CONFIG" && \
14260 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14261 glib-2.0 >= \$GLIB_REQUIRED \\
14262 gobject-2.0 >= \$GLIB_REQUIRED \\
14263 libxml-2.0 >= \$LIBXML_REQUIRED \\
14265 ($PKG_CONFIG --exists --print-errors "\
14266 glib-2.0 >= $GLIB_REQUIRED \
14267 gobject-2.0 >= $GLIB_REQUIRED \
14268 libxml-2.0 >= $LIBXML_REQUIRED \
14271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14272 test $ac_status = 0; }; then
14273 pkg_cv_LIBGLABELS_LIBS=`$PKG_CONFIG --libs "\
14274 glib-2.0 >= $GLIB_REQUIRED \
14275 gobject-2.0 >= $GLIB_REQUIRED \
14276 libxml-2.0 >= $LIBXML_REQUIRED \
14278 test "x$?" != "x0" && pkg_failed=yes
14288 if test $pkg_failed = yes; then
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14290 $as_echo "no" >&6; }
14292 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14293 _pkg_short_errors_supported=yes
14295 _pkg_short_errors_supported=no
14297 if test $_pkg_short_errors_supported = yes; then
14298 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14299 glib-2.0 >= $GLIB_REQUIRED \
14300 gobject-2.0 >= $GLIB_REQUIRED \
14301 libxml-2.0 >= $LIBXML_REQUIRED \
14304 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14305 glib-2.0 >= $GLIB_REQUIRED \
14306 gobject-2.0 >= $GLIB_REQUIRED \
14307 libxml-2.0 >= $LIBXML_REQUIRED \
14310 # Put the nasty error message in config.log where it belongs
14311 echo "$LIBGLABELS_PKG_ERRORS" >&5
14313 as_fn_error $? "Package requirements (\
14314 glib-2.0 >= $GLIB_REQUIRED \
14315 gobject-2.0 >= $GLIB_REQUIRED \
14316 libxml-2.0 >= $LIBXML_REQUIRED \
14319 $LIBGLABELS_PKG_ERRORS
14321 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14322 installed software in a non-standard prefix.
14324 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14325 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14326 See the pkg-config man page for more details." "$LINENO" 5
14327 elif test $pkg_failed = untried; then
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14329 $as_echo "no" >&6; }
14330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14332 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14333 is in your PATH or set the PKG_CONFIG environment variable to the full
14334 path to pkg-config.
14336 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14337 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14338 See the pkg-config man page for more details.
14340 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14341 See \`config.log' for more details" "$LINENO" 5; }
14343 LIBGLABELS_CFLAGS=$pkg_cv_LIBGLABELS_CFLAGS
14344 LIBGLABELS_LIBS=$pkg_cv_LIBGLABELS_LIBS
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14346 $as_echo "yes" >&6; }
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLBARCODE" >&5
14357 $as_echo_n "checking for LIBGLBARCODE... " >&6; }
14359 if test -n "$LIBGLBARCODE_CFLAGS"; then
14360 pkg_cv_LIBGLBARCODE_CFLAGS="$LIBGLBARCODE_CFLAGS"
14361 elif test -n "$PKG_CONFIG"; then
14362 if test -n "$PKG_CONFIG" && \
14363 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14364 glib-2.0 >= \$GLIB_REQUIRED \\
14365 cairo >= \$CAIRO_REQUIRED \\
14366 pango >= \$PANGO_REQUIRED \\
14367 pangocairo >= \$PANGO_REQUIRED \\
14369 ($PKG_CONFIG --exists --print-errors "\
14370 glib-2.0 >= $GLIB_REQUIRED \
14371 cairo >= $CAIRO_REQUIRED \
14372 pango >= $PANGO_REQUIRED \
14373 pangocairo >= $PANGO_REQUIRED \
14376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14377 test $ac_status = 0; }; then
14378 pkg_cv_LIBGLBARCODE_CFLAGS=`$PKG_CONFIG --cflags "\
14379 glib-2.0 >= $GLIB_REQUIRED \
14380 cairo >= $CAIRO_REQUIRED \
14381 pango >= $PANGO_REQUIRED \
14382 pangocairo >= $PANGO_REQUIRED \
14384 test "x$?" != "x0" && pkg_failed=yes
14391 if test -n "$LIBGLBARCODE_LIBS"; then
14392 pkg_cv_LIBGLBARCODE_LIBS="$LIBGLBARCODE_LIBS"
14393 elif test -n "$PKG_CONFIG"; then
14394 if test -n "$PKG_CONFIG" && \
14395 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14396 glib-2.0 >= \$GLIB_REQUIRED \\
14397 cairo >= \$CAIRO_REQUIRED \\
14398 pango >= \$PANGO_REQUIRED \\
14399 pangocairo >= \$PANGO_REQUIRED \\
14401 ($PKG_CONFIG --exists --print-errors "\
14402 glib-2.0 >= $GLIB_REQUIRED \
14403 cairo >= $CAIRO_REQUIRED \
14404 pango >= $PANGO_REQUIRED \
14405 pangocairo >= $PANGO_REQUIRED \
14408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14409 test $ac_status = 0; }; then
14410 pkg_cv_LIBGLBARCODE_LIBS=`$PKG_CONFIG --libs "\
14411 glib-2.0 >= $GLIB_REQUIRED \
14412 cairo >= $CAIRO_REQUIRED \
14413 pango >= $PANGO_REQUIRED \
14414 pangocairo >= $PANGO_REQUIRED \
14416 test "x$?" != "x0" && pkg_failed=yes
14426 if test $pkg_failed = yes; then
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14428 $as_echo "no" >&6; }
14430 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14431 _pkg_short_errors_supported=yes
14433 _pkg_short_errors_supported=no
14435 if test $_pkg_short_errors_supported = yes; then
14436 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14437 glib-2.0 >= $GLIB_REQUIRED \
14438 cairo >= $CAIRO_REQUIRED \
14439 pango >= $PANGO_REQUIRED \
14440 pangocairo >= $PANGO_REQUIRED \
14443 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14444 glib-2.0 >= $GLIB_REQUIRED \
14445 cairo >= $CAIRO_REQUIRED \
14446 pango >= $PANGO_REQUIRED \
14447 pangocairo >= $PANGO_REQUIRED \
14450 # Put the nasty error message in config.log where it belongs
14451 echo "$LIBGLBARCODE_PKG_ERRORS" >&5
14453 as_fn_error $? "Package requirements (\
14454 glib-2.0 >= $GLIB_REQUIRED \
14455 cairo >= $CAIRO_REQUIRED \
14456 pango >= $PANGO_REQUIRED \
14457 pangocairo >= $PANGO_REQUIRED \
14460 $LIBGLBARCODE_PKG_ERRORS
14462 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14463 installed software in a non-standard prefix.
14465 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14466 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14467 See the pkg-config man page for more details." "$LINENO" 5
14468 elif test $pkg_failed = untried; then
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14470 $as_echo "no" >&6; }
14471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14473 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14474 is in your PATH or set the PKG_CONFIG environment variable to the full
14475 path to pkg-config.
14477 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14478 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14479 See the pkg-config man page for more details.
14481 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14482 See \`config.log' for more details" "$LINENO" 5; }
14484 LIBGLBARCODE_CFLAGS=$pkg_cv_LIBGLBARCODE_CFLAGS
14485 LIBGLBARCODE_LIBS=$pkg_cv_LIBGLBARCODE_LIBS
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14487 $as_echo "yes" >&6; }
14496 # Check whether --with-libebook was given.
14497 if test "${with_libebook+set}" = set; then :
14498 withval=$with_libebook;
14502 if test "x$with_libebook" != xno; then
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEBOOK" >&5
14506 $as_echo_n "checking for LIBEBOOK... " >&6; }
14508 if test -n "$LIBEBOOK_CFLAGS"; then
14509 pkg_cv_LIBEBOOK_CFLAGS="$LIBEBOOK_CFLAGS"
14510 elif test -n "$PKG_CONFIG"; then
14511 if test -n "$PKG_CONFIG" && \
14512 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14513 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14516 test $ac_status = 0; }; then
14517 pkg_cv_LIBEBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14518 test "x$?" != "x0" && pkg_failed=yes
14525 if test -n "$LIBEBOOK_LIBS"; then
14526 pkg_cv_LIBEBOOK_LIBS="$LIBEBOOK_LIBS"
14527 elif test -n "$PKG_CONFIG"; then
14528 if test -n "$PKG_CONFIG" && \
14529 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14530 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14533 test $ac_status = 0; }; then
14534 pkg_cv_LIBEBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14535 test "x$?" != "x0" && pkg_failed=yes
14545 if test $pkg_failed = yes; then
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14547 $as_echo "no" >&6; }
14549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14550 _pkg_short_errors_supported=yes
14552 _pkg_short_errors_supported=no
14554 if test $_pkg_short_errors_supported = yes; then
14555 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14557 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14559 # Put the nasty error message in config.log where it belongs
14560 echo "$LIBEBOOK_PKG_ERRORS" >&5
14563 elif test $pkg_failed = untried; then
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14565 $as_echo "no" >&6; }
14568 LIBEBOOK_CFLAGS=$pkg_cv_LIBEBOOK_CFLAGS
14569 LIBEBOOK_LIBS=$pkg_cv_LIBEBOOK_LIBS
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14571 $as_echo "yes" >&6; }
14576 if test "x$have_libebook" = "xyes"; then
14578 $as_echo "#define HAVE_LIBEBOOK 1" >>confdefs.h
14586 # Check whether --with-libbarcode was given.
14587 if test "${with_libbarcode+set}" = set; then :
14588 withval=$with_libbarcode;
14592 if test "x$with_libbarcode" != xno; then
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Barcode_Create in -lbarcode" >&5
14594 $as_echo_n "checking for Barcode_Create in -lbarcode... " >&6; }
14595 if ${ac_cv_lib_barcode_Barcode_Create+:} false; then :
14596 $as_echo_n "(cached) " >&6
14598 ac_check_lib_save_LIBS=$LIBS
14599 LIBS="-lbarcode $LIBS"
14600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14601 /* end confdefs.h. */
14603 /* Override any GCC internal prototype to avoid an error.
14604 Use char because int might match the return type of a GCC
14605 builtin and then its argument prototype would still apply. */
14609 char Barcode_Create ();
14613 return Barcode_Create ();
14618 if ac_fn_c_try_link "$LINENO"; then :
14619 ac_cv_lib_barcode_Barcode_Create=yes
14621 ac_cv_lib_barcode_Barcode_Create=no
14623 rm -f core conftest.err conftest.$ac_objext \
14624 conftest$ac_exeext conftest.$ac_ext
14625 LIBS=$ac_check_lib_save_LIBS
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_barcode_Barcode_Create" >&5
14628 $as_echo "$ac_cv_lib_barcode_Barcode_Create" >&6; }
14629 if test "x$ac_cv_lib_barcode_Barcode_Create" = xyes; then :
14630 have_libbarcode=yes
14637 if test "x$have_libbarcode" = "xyes"; then
14639 $as_echo "#define HAVE_LIBBARCODE 1" >>confdefs.h
14641 LIBBARCODE_CFLAGS=""
14642 LIBBARCODE_LIBS="-lbarcode"
14646 help_libbarcode="(See http://www.gnu.org/software/barcode/barcode.html)"
14650 # Check whether --with-libzint was given.
14651 if test "${with_libzint+set}" = set; then :
14652 withval=$with_libzint;
14656 if test "x$with_libzint" != xno; then
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZBarcode_Render in -lzint" >&5
14658 $as_echo_n "checking for ZBarcode_Render in -lzint... " >&6; }
14659 if ${ac_cv_lib_zint_ZBarcode_Render+:} false; then :
14660 $as_echo_n "(cached) " >&6
14662 ac_check_lib_save_LIBS=$LIBS
14663 LIBS="-lzint $LIBS"
14664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14665 /* end confdefs.h. */
14667 /* Override any GCC internal prototype to avoid an error.
14668 Use char because int might match the return type of a GCC
14669 builtin and then its argument prototype would still apply. */
14673 char ZBarcode_Render ();
14677 return ZBarcode_Render ();
14682 if ac_fn_c_try_link "$LINENO"; then :
14683 ac_cv_lib_zint_ZBarcode_Render=yes
14685 ac_cv_lib_zint_ZBarcode_Render=no
14687 rm -f core conftest.err conftest.$ac_objext \
14688 conftest$ac_exeext conftest.$ac_ext
14689 LIBS=$ac_check_lib_save_LIBS
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zint_ZBarcode_Render" >&5
14692 $as_echo "$ac_cv_lib_zint_ZBarcode_Render" >&6; }
14693 if test "x$ac_cv_lib_zint_ZBarcode_Render" = xyes; then :
14701 if test "x$have_libzint" = "xyes"; then
14703 $as_echo "#define HAVE_LIBZINT 1" >>confdefs.h
14706 LIBZINT_LIBS="-lzint"
14710 help_libzint="(See http://www.zint.org.uk)"
14715 # Check whether --with-libqrencode was given.
14716 if test "${with_libqrencode+set}" = set; then :
14717 withval=$with_libqrencode;
14720 have_libqrencode=no
14721 if test "x$with_libqrencode" != xno; then
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBQRENCODE" >&5
14725 $as_echo_n "checking for LIBQRENCODE... " >&6; }
14727 if test -n "$LIBQRENCODE_CFLAGS"; then
14728 pkg_cv_LIBQRENCODE_CFLAGS="$LIBQRENCODE_CFLAGS"
14729 elif test -n "$PKG_CONFIG"; then
14730 if test -n "$PKG_CONFIG" && \
14731 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
14732 ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
14734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14735 test $ac_status = 0; }; then
14736 pkg_cv_LIBQRENCODE_CFLAGS=`$PKG_CONFIG --cflags "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
14737 test "x$?" != "x0" && pkg_failed=yes
14744 if test -n "$LIBQRENCODE_LIBS"; then
14745 pkg_cv_LIBQRENCODE_LIBS="$LIBQRENCODE_LIBS"
14746 elif test -n "$PKG_CONFIG"; then
14747 if test -n "$PKG_CONFIG" && \
14748 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
14749 ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
14751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14752 test $ac_status = 0; }; then
14753 pkg_cv_LIBQRENCODE_LIBS=`$PKG_CONFIG --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
14754 test "x$?" != "x0" && pkg_failed=yes
14764 if test $pkg_failed = yes; then
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14766 $as_echo "no" >&6; }
14768 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14769 _pkg_short_errors_supported=yes
14771 _pkg_short_errors_supported=no
14773 if test $_pkg_short_errors_supported = yes; then
14774 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
14776 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
14778 # Put the nasty error message in config.log where it belongs
14779 echo "$LIBQRENCODE_PKG_ERRORS" >&5
14781 have_libqrencode=no
14782 elif test $pkg_failed = untried; then
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14784 $as_echo "no" >&6; }
14785 have_libqrencode=no
14787 LIBQRENCODE_CFLAGS=$pkg_cv_LIBQRENCODE_CFLAGS
14788 LIBQRENCODE_LIBS=$pkg_cv_LIBQRENCODE_LIBS
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14790 $as_echo "yes" >&6; }
14791 have_libqrencode=yes
14795 if test "x$have_libqrencode" = "xyes"; then
14797 $as_echo "#define HAVE_LIBQRENCODE 1" >>confdefs.h
14802 help_libqrencode="(See http://megaui.net/fukuchi/works/qrencode/index.en.html)"
14807 # Check whether --with-libiec16022 was given.
14808 if test "${with_libiec16022+set}" = set; then :
14809 withval=$with_libiec16022;
14812 have_libiec16022=no
14813 if test "x$with_libiec16022" != xno; then
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIEC16022" >&5
14817 $as_echo_n "checking for LIBIEC16022... " >&6; }
14819 if test -n "$LIBIEC16022_CFLAGS"; then
14820 pkg_cv_LIBIEC16022_CFLAGS="$LIBIEC16022_CFLAGS"
14821 elif test -n "$PKG_CONFIG"; then
14822 if test -n "$PKG_CONFIG" && \
14823 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
14824 ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
14826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14827 test $ac_status = 0; }; then
14828 pkg_cv_LIBIEC16022_CFLAGS=`$PKG_CONFIG --cflags "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
14829 test "x$?" != "x0" && pkg_failed=yes
14836 if test -n "$LIBIEC16022_LIBS"; then
14837 pkg_cv_LIBIEC16022_LIBS="$LIBIEC16022_LIBS"
14838 elif test -n "$PKG_CONFIG"; then
14839 if test -n "$PKG_CONFIG" && \
14840 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
14841 ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
14843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14844 test $ac_status = 0; }; then
14845 pkg_cv_LIBIEC16022_LIBS=`$PKG_CONFIG --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
14846 test "x$?" != "x0" && pkg_failed=yes
14856 if test $pkg_failed = yes; then
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14858 $as_echo "no" >&6; }
14860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14861 _pkg_short_errors_supported=yes
14863 _pkg_short_errors_supported=no
14865 if test $_pkg_short_errors_supported = yes; then
14866 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
14868 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
14870 # Put the nasty error message in config.log where it belongs
14871 echo "$LIBIEC16022_PKG_ERRORS" >&5
14873 have_libiec16022=no
14874 elif test $pkg_failed = untried; then
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14876 $as_echo "no" >&6; }
14877 have_libiec16022=no
14879 LIBIEC16022_CFLAGS=$pkg_cv_LIBIEC16022_CFLAGS
14880 LIBIEC16022_LIBS=$pkg_cv_LIBIEC16022_LIBS
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14882 $as_echo "yes" >&6; }
14883 have_libiec16022=yes
14887 if test "x$have_libiec16022" = "xyes"; then
14889 $as_echo "#define HAVE_LIBIEC16022 1" >>confdefs.h
14894 help_libiec16022="(See http://datenfreihafen.org/projects/iec16022.html)"
14898 # Check whether --enable-deprecations was given.
14899 if test "${enable_deprecations+set}" = set; then :
14900 enableval=$enable_deprecations;
14902 enable_deprecations=no
14906 if test "x$enable_deprecations" = "xyes"; then
14907 DISABLE_DEPRECATED_CFLAGS="\
14908 -DG_DISABLE_DEPRECATED \
14909 -DGDK_DISABLE_DEPRECATED \
14910 -DGTK_DISABLE_DEPRECATED \
14911 -DGDK_PIXBUF_DISABLE_DEPRECATED \
14917 GETTEXT_PACKAGE=${GLABELS_BRANCH}
14920 cat >>confdefs.h <<_ACEOF
14921 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14926 for ac_header in locale.h
14928 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14929 if test "x$ac_cv_header_locale_h" = xyes; then :
14930 cat >>confdefs.h <<_ACEOF
14931 #define HAVE_LOCALE_H 1
14938 if test $ac_cv_header_locale_h = yes; then
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14940 $as_echo_n "checking for LC_MESSAGES... " >&6; }
14941 if ${am_cv_val_LC_MESSAGES+:} false; then :
14942 $as_echo_n "(cached) " >&6
14944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14945 /* end confdefs.h. */
14946 #include <locale.h>
14955 if ac_fn_c_try_link "$LINENO"; then :
14956 am_cv_val_LC_MESSAGES=yes
14958 am_cv_val_LC_MESSAGES=no
14960 rm -f core conftest.err conftest.$ac_objext \
14961 conftest$ac_exeext conftest.$ac_ext
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14964 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14965 if test $am_cv_val_LC_MESSAGES = yes; then
14967 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14974 gt_cv_have_gettext=no
14980 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14981 if test "x$ac_cv_header_libintl_h" = xyes; then :
14982 gt_cv_func_dgettext_libintl="no"
14983 libintl_extra_libs=""
14986 # First check in libc
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14989 $as_echo_n "checking for ngettext in libc... " >&6; }
14990 if ${gt_cv_func_ngettext_libc+:} false; then :
14991 $as_echo_n "(cached) " >&6
14993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14994 /* end confdefs.h. */
14996 #include <libintl.h>
15001 return !ngettext ("","", 1)
15006 if ac_fn_c_try_link "$LINENO"; then :
15007 gt_cv_func_ngettext_libc=yes
15009 gt_cv_func_ngettext_libc=no
15011 rm -f core conftest.err conftest.$ac_objext \
15012 conftest$ac_exeext conftest.$ac_ext
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
15016 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
15018 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15020 $as_echo_n "checking for dgettext in libc... " >&6; }
15021 if ${gt_cv_func_dgettext_libc+:} false; then :
15022 $as_echo_n "(cached) " >&6
15024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15027 #include <libintl.h>
15032 return !dgettext ("","")
15037 if ac_fn_c_try_link "$LINENO"; then :
15038 gt_cv_func_dgettext_libc=yes
15040 gt_cv_func_dgettext_libc=no
15042 rm -f core conftest.err conftest.$ac_objext \
15043 conftest$ac_exeext conftest.$ac_ext
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15047 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
15050 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15051 for ac_func in bind_textdomain_codeset
15053 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15054 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15055 cat >>confdefs.h <<_ACEOF
15056 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15065 # If we don't have everything we want, check in libintl
15067 if test "$gt_cv_func_dgettext_libc" != "yes" \
15068 || test "$gt_cv_func_ngettext_libc" != "yes" \
15069 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15072 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15073 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
15074 $as_echo_n "(cached) " >&6
15076 ac_check_lib_save_LIBS=$LIBS
15077 LIBS="-lintl $LIBS"
15078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h. */
15081 /* Override any GCC internal prototype to avoid an error.
15082 Use char because int might match the return type of a GCC
15083 builtin and then its argument prototype would still apply. */
15087 char bindtextdomain ();
15091 return bindtextdomain ();
15096 if ac_fn_c_try_link "$LINENO"; then :
15097 ac_cv_lib_intl_bindtextdomain=yes
15099 ac_cv_lib_intl_bindtextdomain=no
15101 rm -f core conftest.err conftest.$ac_objext \
15102 conftest$ac_exeext conftest.$ac_ext
15103 LIBS=$ac_check_lib_save_LIBS
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
15106 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15107 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15109 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15110 if ${ac_cv_lib_intl_ngettext+:} false; then :
15111 $as_echo_n "(cached) " >&6
15113 ac_check_lib_save_LIBS=$LIBS
15114 LIBS="-lintl $LIBS"
15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15118 /* Override any GCC internal prototype to avoid an error.
15119 Use char because int might match the return type of a GCC
15120 builtin and then its argument prototype would still apply. */
15128 return ngettext ();
15133 if ac_fn_c_try_link "$LINENO"; then :
15134 ac_cv_lib_intl_ngettext=yes
15136 ac_cv_lib_intl_ngettext=no
15138 rm -f core conftest.err conftest.$ac_objext \
15139 conftest$ac_exeext conftest.$ac_ext
15140 LIBS=$ac_check_lib_save_LIBS
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15143 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15144 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15146 $as_echo_n "checking for dgettext in -lintl... " >&6; }
15147 if ${ac_cv_lib_intl_dgettext+:} false; then :
15148 $as_echo_n "(cached) " >&6
15150 ac_check_lib_save_LIBS=$LIBS
15151 LIBS="-lintl $LIBS"
15152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15153 /* end confdefs.h. */
15155 /* Override any GCC internal prototype to avoid an error.
15156 Use char because int might match the return type of a GCC
15157 builtin and then its argument prototype would still apply. */
15165 return dgettext ();
15170 if ac_fn_c_try_link "$LINENO"; then :
15171 ac_cv_lib_intl_dgettext=yes
15173 ac_cv_lib_intl_dgettext=no
15175 rm -f core conftest.err conftest.$ac_objext \
15176 conftest$ac_exeext conftest.$ac_ext
15177 LIBS=$ac_check_lib_save_LIBS
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15180 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15181 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15182 gt_cv_func_dgettext_libintl=yes
15190 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15192 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15196 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15197 if ${ac_cv_lib_intl_ngettext+:} false; then :
15198 $as_echo_n "(cached) " >&6
15200 ac_check_lib_save_LIBS=$LIBS
15201 LIBS="-lintl -liconv $LIBS"
15202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15203 /* end confdefs.h. */
15205 /* Override any GCC internal prototype to avoid an error.
15206 Use char because int might match the return type of a GCC
15207 builtin and then its argument prototype would still apply. */
15215 return ngettext ();
15220 if ac_fn_c_try_link "$LINENO"; then :
15221 ac_cv_lib_intl_ngettext=yes
15223 ac_cv_lib_intl_ngettext=no
15225 rm -f core conftest.err conftest.$ac_objext \
15226 conftest$ac_exeext conftest.$ac_ext
15227 LIBS=$ac_check_lib_save_LIBS
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15230 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15231 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15233 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
15234 if ${ac_cv_lib_intl_dcgettext+:} false; then :
15235 $as_echo_n "(cached) " >&6
15237 ac_check_lib_save_LIBS=$LIBS
15238 LIBS="-lintl -liconv $LIBS"
15239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15240 /* end confdefs.h. */
15242 /* Override any GCC internal prototype to avoid an error.
15243 Use char because int might match the return type of a GCC
15244 builtin and then its argument prototype would still apply. */
15252 return dcgettext ();
15257 if ac_fn_c_try_link "$LINENO"; then :
15258 ac_cv_lib_intl_dcgettext=yes
15260 ac_cv_lib_intl_dcgettext=no
15262 rm -f core conftest.err conftest.$ac_objext \
15263 conftest$ac_exeext conftest.$ac_ext
15264 LIBS=$ac_check_lib_save_LIBS
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15267 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15268 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15269 gt_cv_func_dgettext_libintl=yes
15270 libintl_extra_libs=-liconv
15282 # If we found libintl, then check in it for bind_textdomain_codeset();
15283 # we'll prefer libc if neither have bind_textdomain_codeset(),
15284 # and both have dgettext and ngettext
15286 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15287 glib_save_LIBS="$LIBS"
15288 LIBS="$LIBS -lintl $libintl_extra_libs"
15289 unset ac_cv_func_bind_textdomain_codeset
15290 for ac_func in bind_textdomain_codeset
15292 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15293 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15294 cat >>confdefs.h <<_ACEOF
15295 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15301 LIBS="$glib_save_LIBS"
15303 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15304 gt_cv_func_dgettext_libc=no
15306 if test "$gt_cv_func_dgettext_libc" = "yes" \
15307 && test "$gt_cv_func_ngettext_libc" = "yes"; then
15308 gt_cv_func_dgettext_libintl=no
15314 if test "$gt_cv_func_dgettext_libc" = "yes" \
15315 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
15316 gt_cv_have_gettext=yes
15319 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15320 INTLLIBS="-lintl $libintl_extra_libs"
15323 if test "$gt_cv_have_gettext" = "yes"; then
15325 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15327 # Extract the first word of "msgfmt", so it can be a program name with args.
15328 set dummy msgfmt; ac_word=$2
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15330 $as_echo_n "checking for $ac_word... " >&6; }
15331 if ${ac_cv_path_MSGFMT+:} false; then :
15332 $as_echo_n "(cached) " >&6
15336 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15339 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15340 for ac_dir in $PATH; do
15341 test -z "$ac_dir" && ac_dir=.
15342 if test -f $ac_dir/$ac_word; then
15343 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15344 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15350 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15354 MSGFMT="$ac_cv_path_MSGFMT"
15355 if test "$MSGFMT" != "no"; then
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15357 $as_echo "$MSGFMT" >&6; }
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15360 $as_echo "no" >&6; }
15362 if test "$MSGFMT" != "no"; then
15363 glib_save_LIBS="$LIBS"
15364 LIBS="$LIBS $INTLLIBS"
15365 for ac_func in dcgettext
15367 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15368 if test "x$ac_cv_func_dcgettext" = xyes; then :
15369 cat >>confdefs.h <<_ACEOF
15370 #define HAVE_DCGETTEXT 1
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15378 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
15379 cat >conftest.foo <<_ACEOF
15383 "Content-Type: text/plain; charset=UTF-8\n"
15384 "Project-Id-Version: test 1.0\n"
15385 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
15386 "Last-Translator: test <foo@bar.xx>\n"
15387 "Language-Team: C <LL@li.org>\n"
15388 "MIME-Version: 1.0\n"
15389 "Content-Transfer-Encoding: 8bit\n"
15392 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15393 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15396 test $ac_status = 0; }; then
15397 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15398 $as_echo "yes" >&6; }
15399 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15400 $as_echo "no" >&6; }
15401 echo "$as_me: failed input was:" >&5
15402 sed 's/^/| /' conftest.foo >&5
15405 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15406 set dummy gmsgfmt; ac_word=$2
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15408 $as_echo_n "checking for $ac_word... " >&6; }
15409 if ${ac_cv_path_GMSGFMT+:} false; then :
15410 $as_echo_n "(cached) " >&6
15414 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15418 for as_dir in $PATH
15421 test -z "$as_dir" && as_dir=.
15422 for ac_exec_ext in '' $ac_executable_extensions; do
15423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15424 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15432 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15436 GMSGFMT=$ac_cv_path_GMSGFMT
15437 if test -n "$GMSGFMT"; then
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15439 $as_echo "$GMSGFMT" >&6; }
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15442 $as_echo "no" >&6; }
15446 # Extract the first word of "xgettext", so it can be a program name with args.
15447 set dummy xgettext; ac_word=$2
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15449 $as_echo_n "checking for $ac_word... " >&6; }
15450 if ${ac_cv_path_XGETTEXT+:} false; then :
15451 $as_echo_n "(cached) " >&6
15453 case "$XGETTEXT" in
15455 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15458 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15459 for ac_dir in $PATH; do
15460 test -z "$ac_dir" && ac_dir=.
15461 if test -f $ac_dir/$ac_word; then
15462 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15463 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15469 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15473 XGETTEXT="$ac_cv_path_XGETTEXT"
15474 if test "$XGETTEXT" != ":"; then
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15476 $as_echo "$XGETTEXT" >&6; }
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15479 $as_echo "no" >&6; }
15482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15483 /* end confdefs.h. */
15488 extern int _nl_msg_cat_cntr;
15489 return _nl_msg_cat_cntr
15494 if ac_fn_c_try_link "$LINENO"; then :
15500 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15501 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15520 rm -f core conftest.err conftest.$ac_objext \
15521 conftest$ac_exeext conftest.$ac_ext
15522 LIBS="$glib_save_LIBS"
15525 gt_cv_have_gettext=no
15533 if test "$gt_cv_have_gettext" = "yes" ; then
15535 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15539 if test "$XGETTEXT" != ":"; then
15540 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15544 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15549 # We need to process the po/ directory.
15552 ac_config_commands="$ac_config_commands default-1"
15555 for lang in $ALL_LINGUAS; do
15556 GMOFILES="$GMOFILES $lang.gmo"
15557 POFILES="$POFILES $lang.po"
15572 if test "$gt_cv_have_gettext" = "yes"; then
15573 if test "x$ALL_LINGUAS" = "x"; then
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15577 $as_echo_n "checking for catalogs to be installed... " >&6; }
15579 for presentlang in $ALL_LINGUAS; do
15581 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15582 desiredlanguages="$LINGUAS"
15584 desiredlanguages="$ALL_LINGUAS"
15586 for desiredlang in $desiredlanguages; do
15587 # Use the presentlang catalog if desiredlang is
15588 # a. equal to presentlang, or
15589 # b. a variant of presentlang (because in this case,
15590 # presentlang can be used as a fallback for messages
15591 # which are not translated in the desiredlang catalog).
15592 case "$desiredlang" in
15593 "$presentlang"*) useit=yes;;
15596 if test $useit = yes; then
15597 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15600 LINGUAS=$NEW_LINGUAS
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15602 $as_echo "$LINGUAS" >&6; }
15605 if test -n "$LINGUAS"; then
15606 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15611 if test -n "$ac_aux_dir"; then
15612 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15614 if test -z "$MKINSTALLDIRS"; then
15615 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15619 test -d po || mkdir po
15620 if test "x$srcdir" != "x."; then
15621 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15622 posrcprefix="$srcdir/"
15624 posrcprefix="../$srcdir/"
15630 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15631 < $srcdir/po/POTFILES.in > po/POTFILES
15635 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/appdata/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/icons/scalable/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"
15637 cat >confcache <<\_ACEOF
15638 # This file is a shell script that caches the results of configure
15639 # tests run on this system so they can be shared between configure
15640 # scripts and configure runs, see configure's option --config-cache.
15641 # It is not useful on other systems. If it contains results you don't
15642 # want to keep, you may remove or edit it.
15644 # config.status only pays attention to the cache file if you give it
15645 # the --recheck option to rerun configure.
15647 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15648 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15649 # following values.
15653 # The following way of writing the cache mishandles newlines in values,
15654 # but we know of no workaround that is simple, portable, and efficient.
15655 # So, we kill variables containing newlines.
15656 # Ultrix sh set writes to stderr and can't be redirected directly,
15657 # and sets the high bit in the cache file unless we assign to the vars.
15659 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15660 eval ac_val=\$$ac_var
15664 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15665 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15668 _ | IFS | as_nl) ;; #(
15669 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15670 *) { eval $ac_var=; unset $ac_var;} ;;
15676 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15677 *${as_nl}ac_space=\ *)
15678 # `set' does not quote correctly, so add quotes: double-quote
15679 # substitution turns \\\\ into \\, and sed turns \\ into \.
15682 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15685 # `set' quotes correctly as required by POSIX, so do not add quotes.
15686 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15695 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15697 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15699 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15700 if test -w "$cache_file"; then
15701 if test "x$cache_file" != "x/dev/null"; then
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15703 $as_echo "$as_me: updating cache $cache_file" >&6;}
15704 if test ! -f "$cache_file" || test -h "$cache_file"; then
15705 cat confcache >"$cache_file"
15707 case $cache_file in #(
15709 mv -f confcache "$cache_file"$$ &&
15710 mv -f "$cache_file"$$ "$cache_file" ;; #(
15712 mv -f confcache "$cache_file" ;;
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15718 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15723 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15724 # Let make expand exec_prefix.
15725 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15727 DEFS=-DHAVE_CONFIG_H
15732 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15733 # 1. Remove the extension, and $U if already installed.
15734 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15735 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15736 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15737 # will be set to the directory where LIBOBJS objects are built.
15738 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15739 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15741 LIBOBJS=$ac_libobjs
15743 LTLIBOBJS=$ac_ltlibobjs
15746 if test -n "$EXEEXT"; then
15748 am__EXEEXT_FALSE='#'
15750 am__EXEEXT_TRUE='#'
15754 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15755 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15758 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15759 as_fn_error $? "conditional \"AMDEP\" was never defined.
15760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15762 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15763 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15767 ac_config_commands="$ac_config_commands po/stamp-it"
15770 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15771 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15774 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15775 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15778 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15779 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15780 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15782 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15783 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15786 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15787 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15790 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15791 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15795 : "${CONFIG_STATUS=./config.status}"
15797 ac_clean_files_save=$ac_clean_files
15798 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15800 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15802 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15804 # Generated by $as_me.
15805 # Run this file to recreate the current configuration.
15806 # Compiler output produced by configure, useful for debugging
15807 # configure, is in config.log if it exists.
15810 ac_cs_recheck=false
15813 SHELL=\${CONFIG_SHELL-$SHELL}
15816 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15817 ## -------------------- ##
15818 ## M4sh Initialization. ##
15819 ## -------------------- ##
15821 # Be more Bourne compatible
15822 DUALCASE=1; export DUALCASE # for MKS sh
15823 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15826 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15827 # is contrary to our usage. Disable this feature.
15828 alias -g '${1+"$@"}'='"$@"'
15829 setopt NO_GLOB_SUBST
15831 case `(set -o) 2>/dev/null` in #(
15843 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15844 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15845 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15846 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15847 # Prefer a ksh shell builtin over an external printf program on Solaris,
15848 # but without wasting forks for bash or zsh.
15849 if test -z "$BASH_VERSION$ZSH_VERSION" \
15850 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15851 as_echo='print -r --'
15852 as_echo_n='print -rn --'
15853 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15854 as_echo='printf %s\n'
15855 as_echo_n='printf %s'
15857 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15858 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15859 as_echo_n='/usr/ucb/echo -n'
15861 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15862 as_echo_n_body='eval
15866 expr "X$arg" : "X\\(.*\\)$as_nl";
15867 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15869 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15871 export as_echo_n_body
15872 as_echo_n='sh -c $as_echo_n_body as_echo'
15874 export as_echo_body
15875 as_echo='sh -c $as_echo_body as_echo'
15878 # The user is always right.
15879 if test "${PATH_SEPARATOR+set}" != set; then
15881 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15882 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15889 # We need space, tab and new line, in precisely that order. Quoting is
15890 # there to prevent editors from complaining about space-tab.
15891 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15892 # splitting by setting IFS to empty value.)
15895 # Find who we are. Look in the path if we contain no directory separator.
15898 *[\\/]* ) as_myself=$0 ;;
15899 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15900 for as_dir in $PATH
15903 test -z "$as_dir" && as_dir=.
15904 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15910 # We did not find ourselves, most probably we were run as `sh COMMAND'
15911 # in which case we are not to be found in the path.
15912 if test "x$as_myself" = x; then
15915 if test ! -f "$as_myself"; then
15916 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15920 # Unset variables that we do not need and which cause bugs (e.g. in
15921 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15922 # suppresses any "Segmentation fault" message there. '((' could
15923 # trigger a bug in pdksh 5.2.14.
15924 for as_var in BASH_ENV ENV MAIL MAILPATH
15925 do eval test x\${$as_var+set} = xset \
15926 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15939 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15942 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15943 # ----------------------------------------
15944 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15945 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15946 # script with STATUS, using 1 if that was 0.
15949 as_status=$1; test $as_status -eq 0 && as_status=1
15951 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15952 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15954 $as_echo "$as_me: error: $2" >&2
15955 as_fn_exit $as_status
15959 # as_fn_set_status STATUS
15960 # -----------------------
15961 # Set $? to STATUS, without forking.
15962 as_fn_set_status ()
15965 } # as_fn_set_status
15967 # as_fn_exit STATUS
15968 # -----------------
15969 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15973 as_fn_set_status $1
15979 # Portably unset VAR.
15982 { eval $1=; unset $1;}
15984 as_unset=as_fn_unset
15985 # as_fn_append VAR VALUE
15986 # ----------------------
15987 # Append the text in VALUE to the end of the definition contained in VAR. Take
15988 # advantage of any shell optimizations that allow amortized linear growth over
15989 # repeated appends, instead of the typical quadratic growth present in naive
15991 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15992 eval 'as_fn_append ()
16003 # as_fn_arith ARG...
16004 # ------------------
16005 # Perform arithmetic evaluation on the ARGs, and store the result in the
16006 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16007 # must be portable across $(()) and expr.
16008 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16009 eval 'as_fn_arith ()
16016 as_val=`expr "$@" || test $? -eq 1`
16021 if expr a : '\(a\)' >/dev/null 2>&1 &&
16022 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16028 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16029 as_basename=basename
16034 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16040 as_me=`$as_basename -- "$0" ||
16041 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16042 X"$0" : 'X\(//\)$' \| \
16043 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16045 sed '/^.*\/\([^/][^/]*\)\/*$/{
16059 # Avoid depending upon Character Ranges.
16060 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16061 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16062 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16063 as_cr_digits='0123456789'
16064 as_cr_alnum=$as_cr_Letters$as_cr_digits
16066 ECHO_C= ECHO_N= ECHO_T=
16067 case `echo -n x` in #(((((
16069 case `echo 'xy\c'` in
16070 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16072 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16079 rm -f conf$$ conf$$.exe conf$$.file
16080 if test -d conf$$.dir; then
16081 rm -f conf$$.dir/conf$$.file
16084 mkdir conf$$.dir 2>/dev/null
16086 if (echo >conf$$.file) 2>/dev/null; then
16087 if ln -s conf$$.file conf$$ 2>/dev/null; then
16089 # ... but there are two gotchas:
16090 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16091 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16092 # In both cases, we have to default to `cp -pR'.
16093 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16095 elif ln conf$$.file conf$$ 2>/dev/null; then
16103 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16104 rmdir conf$$.dir 2>/dev/null
16109 # Create "$as_dir" as a directory, including parents if necessary.
16114 -*) as_dir=./$as_dir;;
16116 test -d "$as_dir" || eval $as_mkdir_p || {
16120 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16121 *) as_qdir=$as_dir;;
16123 as_dirs="'$as_qdir' $as_dirs"
16124 as_dir=`$as_dirname -- "$as_dir" ||
16125 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16126 X"$as_dir" : 'X\(//\)[^/]' \| \
16127 X"$as_dir" : 'X\(//\)$' \| \
16128 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16129 $as_echo X"$as_dir" |
16130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16134 /^X\(\/\/\)[^/].*/{
16147 test -d "$as_dir" && break
16149 test -z "$as_dirs" || eval "mkdir $as_dirs"
16150 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16154 if mkdir -p . 2>/dev/null; then
16155 as_mkdir_p='mkdir -p "$as_dir"'
16157 test -d ./-p && rmdir ./-p
16162 # as_fn_executable_p FILE
16163 # -----------------------
16164 # Test if FILE is an executable regular file.
16165 as_fn_executable_p ()
16167 test -f "$1" && test -x "$1"
16168 } # as_fn_executable_p
16169 as_test_x='test -x'
16170 as_executable_p=as_fn_executable_p
16172 # Sed expression to map a string onto a valid CPP name.
16173 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16175 # Sed expression to map a string onto a valid variable name.
16176 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16180 ## ----------------------------------- ##
16181 ## Main body of $CONFIG_STATUS script. ##
16182 ## ----------------------------------- ##
16184 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16187 # Save the log message, to keep $0 and so on meaningful, and to
16188 # report actual input values of CONFIG_FILES etc. instead of their
16189 # values after options handling.
16191 This file was extended by glabels $as_me 3.2.0, which was
16192 generated by GNU Autoconf 2.69. Invocation command line was
16194 CONFIG_FILES = $CONFIG_FILES
16195 CONFIG_HEADERS = $CONFIG_HEADERS
16196 CONFIG_LINKS = $CONFIG_LINKS
16197 CONFIG_COMMANDS = $CONFIG_COMMANDS
16200 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16205 case $ac_config_files in *"
16206 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16209 case $ac_config_headers in *"
16210 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16215 # Files that config.status was made for.
16216 config_files="$ac_config_files"
16217 config_headers="$ac_config_headers"
16218 config_commands="$ac_config_commands"
16222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16224 \`$as_me' instantiates files and other configuration actions
16225 from templates according to the current configuration. Unless the files
16226 and actions are specified as TAGs, all are instantiated by default.
16228 Usage: $0 [OPTION]... [TAG]...
16230 -h, --help print this help, then exit
16231 -V, --version print version number and configuration settings, then exit
16232 --config print configuration, then exit
16233 -q, --quiet, --silent
16234 do not print progress messages
16235 -d, --debug don't remove temporary files
16236 --recheck update $as_me by reconfiguring in the same conditions
16237 --file=FILE[:TEMPLATE]
16238 instantiate the configuration file FILE
16239 --header=FILE[:TEMPLATE]
16240 instantiate the configuration header FILE
16242 Configuration files:
16245 Configuration headers:
16248 Configuration commands:
16251 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>."
16254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16255 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16257 glabels config.status 3.2.0
16258 configured by $0, generated by GNU Autoconf 2.69,
16259 with options \\"\$ac_cs_config\\"
16261 Copyright (C) 2012 Free Software Foundation, Inc.
16262 This config.status script is free software; the Free Software Foundation
16263 gives unlimited permission to copy, distribute and modify it."
16270 test -n "\$AWK" || AWK=awk
16273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16274 # The default lists apply if the user does not specify any file.
16280 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16281 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16285 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16297 # Handling of the options.
16298 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16300 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16301 $as_echo "$ac_cs_version"; exit ;;
16302 --config | --confi | --conf | --con | --co | --c )
16303 $as_echo "$ac_cs_config"; exit ;;
16304 --debug | --debu | --deb | --de | --d | -d )
16306 --file | --fil | --fi | --f )
16309 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16310 '') as_fn_error $? "missing file argument" ;;
16312 as_fn_append CONFIG_FILES " '$ac_optarg'"
16313 ac_need_defaults=false;;
16314 --header | --heade | --head | --hea )
16317 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16319 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16320 ac_need_defaults=false;;
16322 # Conflict between --help and --header
16323 as_fn_error $? "ambiguous option: \`$1'
16324 Try \`$0 --help' for more information.";;
16325 --help | --hel | -h )
16326 $as_echo "$ac_cs_usage"; exit ;;
16327 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16328 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16331 # This is an error.
16332 -*) as_fn_error $? "unrecognized option: \`$1'
16333 Try \`$0 --help' for more information." ;;
16335 *) as_fn_append ac_config_targets " $1"
16336 ac_need_defaults=false ;;
16342 ac_configure_extra_args=
16344 if $ac_cs_silent; then
16346 ac_configure_extra_args="$ac_configure_extra_args --silent"
16350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16351 if \$ac_cs_recheck; then
16352 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16354 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16355 CONFIG_SHELL='$SHELL'
16356 export CONFIG_SHELL
16361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16365 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16366 ## Running $as_me. ##
16372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16376 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16379 # The HP-UX ksh and POSIX shell print the target directory to stdout
16380 # if CDPATH is set.
16381 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16383 sed_quote_subst='$sed_quote_subst'
16384 double_quote_subst='$double_quote_subst'
16385 delay_variable_subst='$delay_variable_subst'
16386 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16387 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16388 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16389 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16390 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16391 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16392 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16393 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16394 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16395 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16396 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16397 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16398 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16399 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16400 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16401 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16402 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16403 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16404 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16405 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16406 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16407 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16408 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16409 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16410 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16411 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16412 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16413 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16414 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16415 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16416 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16417 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16418 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16419 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16420 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16421 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16422 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16423 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16424 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16425 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16426 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16427 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16428 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16429 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16430 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16431 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16432 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16433 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16434 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16435 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16436 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16437 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16438 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16439 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16440 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16441 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16442 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"`'
16443 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16444 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16445 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16446 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16447 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16448 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16449 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16450 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16451 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16452 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16453 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16454 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16455 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16456 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16457 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16458 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16459 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16460 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16461 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16462 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16463 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16464 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16465 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16466 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16467 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16468 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16469 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16470 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16471 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16472 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16473 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16474 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16475 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16476 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16477 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16478 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16479 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16480 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16481 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16482 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16483 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16484 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16485 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16486 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16487 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16488 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16489 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16490 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16491 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16492 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16493 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16494 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16495 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16496 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16497 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16498 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16499 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16500 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16501 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16502 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16503 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16504 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16505 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16506 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16507 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16508 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16509 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16510 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16511 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16512 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16513 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16514 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16515 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16518 LTCFLAGS='$LTCFLAGS'
16519 compiler='$compiler_DEFAULT'
16521 # A function that is used when there is no print builtin or printf.
16522 func_fallback_echo ()
16524 eval 'cat <<_LTECHO_EOF
16529 # Quote evaled strings.
16544 deplibs_check_method \
16549 sharedlib_from_linklib_cmd \
16552 archiver_list_spec \
16558 lt_cv_sys_global_symbol_pipe \
16559 lt_cv_sys_global_symbol_to_cdecl \
16560 lt_cv_sys_global_symbol_to_c_name_address \
16561 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16562 nm_file_list_spec \
16563 lt_prog_compiler_no_builtin_flag \
16564 lt_prog_compiler_pic \
16565 lt_prog_compiler_wl \
16566 lt_prog_compiler_static \
16567 lt_cv_prog_compiler_c_o \
16576 export_dynamic_flag_spec \
16577 whole_archive_flag_spec \
16578 compiler_needs_object \
16580 allow_undefined_flag \
16581 no_undefined_flag \
16582 hardcode_libdir_flag_spec \
16583 hardcode_libdir_separator \
16587 variables_saved_for_relink \
16589 library_names_spec \
16591 install_override_mode \
16595 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16596 *[\\\\\\\`\\"\\\$]*)
16597 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16600 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16605 # Double-quote double-evaled strings.
16606 for var in reload_cmds \
16607 old_postinstall_cmds \
16608 old_postuninstall_cmds \
16610 extract_expsyms_cmds \
16611 old_archive_from_new_cmds \
16612 old_archive_from_expsyms_cmds \
16614 archive_expsym_cmds \
16616 module_expsym_cmds \
16617 export_symbols_cmds \
16621 postuninstall_cmds \
16623 sys_lib_search_path_spec \
16624 sys_lib_dlsearch_path_spec; do
16625 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16626 *[\\\\\\\`\\"\\\$]*)
16627 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16630 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16635 ac_aux_dir='$ac_aux_dir'
16636 xsi_shell='$xsi_shell'
16637 lt_shell_append='$lt_shell_append'
16639 # See if we are running on zsh, and set the options which allow our
16640 # commands through without removal of \ escapes INIT.
16641 if test -n "\${ZSH_VERSION+set}" ; then
16642 setopt NO_GLOB_SUBST
16648 TIMESTAMP='$TIMESTAMP'
16658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16660 # Handling of arguments.
16661 for ac_config_target in $ac_config_targets
16663 case $ac_config_target in
16664 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16665 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16666 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16667 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16668 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16669 "libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES libglabels/Makefile" ;;
16670 "libglabels/${LIBGLABELS_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglabels/${LIBGLABELS_BRANCH}.pc" ;;
16671 "libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES libglbarcode/Makefile" ;;
16672 "libglbarcode/${LIBGLBARCODE_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglbarcode/${LIBGLBARCODE_BRANCH}.pc" ;;
16673 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16674 "src/cursors/Makefile") CONFIG_FILES="$CONFIG_FILES src/cursors/Makefile" ;;
16675 "src/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/pixmaps/Makefile" ;;
16676 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16677 "data/appdata/Makefile") CONFIG_FILES="$CONFIG_FILES data/appdata/Makefile" ;;
16678 "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
16679 "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
16680 "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
16681 "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
16682 "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
16683 "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
16684 "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
16685 "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
16686 "data/man/Makefile") CONFIG_FILES="$CONFIG_FILES data/man/Makefile" ;;
16687 "data/mime/Makefile") CONFIG_FILES="$CONFIG_FILES data/mime/Makefile" ;;
16688 "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
16689 "data/schemas/Makefile") CONFIG_FILES="$CONFIG_FILES data/schemas/Makefile" ;;
16690 "data/schemas/org.gnome.glabels-3.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES data/schemas/org.gnome.glabels-3.gschema.xml.in" ;;
16691 "data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
16692 "templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
16693 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16694 "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
16695 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16696 "docs/libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglabels/Makefile" ;;
16697 "docs/libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglbarcode/Makefile" ;;
16698 "glabels.spec") CONFIG_FILES="$CONFIG_FILES glabels.spec" ;;
16699 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16701 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16706 # If the user did not use the arguments to specify the items to instantiate,
16707 # then the envvar interface is used. Set only those that are not.
16708 # We use the long form for the default assignment because of an extremely
16709 # bizarre bug on SunOS 4.1.3.
16710 if $ac_need_defaults; then
16711 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16712 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16713 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16716 # Have a temporary directory for convenience. Make it in the build tree
16717 # simply because there is no reason against having it here, and in addition,
16718 # creating and moving files from /tmp can sometimes cause problems.
16719 # Hook for its removal unless debugging.
16720 # Note that there is a small window in which the directory will not be cleaned:
16721 # after its creation but before its name has been assigned to `$tmp'.
16725 trap 'exit_status=$?
16726 : "${ac_tmp:=$tmp}"
16727 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16729 trap 'as_fn_exit 1' 1 2 13 15
16731 # Create a (secure) tmp directory for tmp files.
16734 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16738 tmp=./conf$$-$RANDOM
16739 (umask 077 && mkdir "$tmp")
16740 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16743 # Set up the scripts for CONFIG_FILES section.
16744 # No need to generate them if there are no CONFIG_FILES.
16745 # This happens for instance with `./config.status config.h'.
16746 if test -n "$CONFIG_FILES"; then
16749 ac_cr=`echo X | tr X '\015'`
16750 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16751 # But we know of no other shell where ac_cr would be empty at this
16752 # point, so we can use a bashism as a fallback.
16753 if test "x$ac_cr" = x; then
16754 eval ac_cr=\$\'\\r\'
16756 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16757 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16760 ac_cs_awk_cr=$ac_cr
16763 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16768 echo "cat >conf$$subs.awk <<_ACEOF" &&
16769 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16771 } >conf$$subs.sh ||
16772 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16773 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16775 for ac_last_try in false false false false false :; do
16776 . ./conf$$subs.sh ||
16777 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16779 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16780 if test $ac_delim_n = $ac_delim_num; then
16782 elif $ac_last_try; then
16783 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16785 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16788 rm -f conf$$subs.sh
16790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16791 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16795 s/^/S["/; s/!.*/"]=/
16805 s/\(.\{148\}\)..*/\1/
16807 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16812 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16819 s/\(.\{148\}\)..*/\1/
16821 s/["\\]/\\&/g; s/^/"/; s/$/"/
16825 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16830 ' <conf$$subs.awk | sed '
16835 ' >>$CONFIG_STATUS || ac_write_fail=1
16836 rm -f conf$$subs.awk
16837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16839 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16840 for (key in S) S_is_set[key] = 1
16846 nfields = split(line, field, "@")
16848 len = length(field[1])
16849 for (i = 2; i < nfields; i++) {
16851 keylen = length(key)
16852 if (S_is_set[key]) {
16854 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16855 len += length(value) + length(field[++i])
16866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16867 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16868 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16871 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16872 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16875 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16876 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16877 # trailing colons and then remove the whole line if VPATH becomes empty
16878 # (actually we leave an empty line to preserve line numbers).
16879 if test "x$srcdir" = x.; then
16880 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16899 fi # test -n "$CONFIG_FILES"
16901 # Set up the scripts for CONFIG_HEADERS section.
16902 # No need to generate them if there are no CONFIG_HEADERS.
16903 # This happens for instance with `./config.status Makefile'.
16904 if test -n "$CONFIG_HEADERS"; then
16905 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16909 # Transform confdefs.h into an awk script `defines.awk', embedded as
16910 # here-document in config.status, that substitutes the proper values into
16911 # config.h.in to produce config.h.
16913 # Create a delimiter string that does not exist in confdefs.h, to ease
16914 # handling of long lines.
16916 for ac_last_try in false false :; do
16917 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16918 if test -z "$ac_tt"; then
16920 elif $ac_last_try; then
16921 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16923 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16927 # For the awk script, D is an array of macro values keyed by name,
16928 # likewise P contains macro parameters if any. Preserve backslash
16929 # newline sequences.
16931 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16933 s/.\{148\}/&'"$ac_delim"'/g
16936 s/^[ ]*#[ ]*define[ ][ ]*/ /
16943 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16945 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16949 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16950 D["\1"]=" \3\\\\\\n"\\/p
16952 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16957 s/.\{148\}/&'"$ac_delim"'/g
16962 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16965 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16967 ' <confdefs.h | sed '
16968 s/'"$ac_delim"'/"\\\
16969 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16972 for (key in D) D_is_set[key] = 1
16975 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16977 split(line, arg, " ")
16978 if (arg[1] == "#") {
16982 defundef = substr(arg[1], 2)
16985 split(mac1, mac2, "(") #)
16987 prefix = substr(line, 1, index(line, defundef) - 1)
16988 if (D_is_set[macro]) {
16989 # Preserve the white space surrounding the "#".
16990 print prefix "define", macro P[macro] D[macro]
16993 # Replace #undef with comments. This is necessary, for example,
16994 # in the case of _POSIX_SOURCE, which is predefined and required
16995 # on some systems where configure will not decide to define it.
16996 if (defundef == "undef") {
16997 print "/*", prefix defundef, macro, "*/"
17005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17006 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17007 fi # test -n "$CONFIG_HEADERS"
17010 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17015 :[FHLC]) ac_mode=$ac_tag; continue;;
17017 case $ac_mode$ac_tag in
17019 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17020 :[FH]-) ac_tag=-:-;;
17021 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17038 -) ac_f="$ac_tmp/stdin";;
17039 *) # Look for the file first in the build tree, then in the source tree
17040 # (if the path is not absolute). The absolute path cannot be DOS-style,
17041 # because $ac_f cannot contain `:'.
17045 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17047 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17049 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17050 as_fn_append ac_file_inputs " '$ac_f'"
17053 # Let's still pretend it is `configure' which instantiates (i.e., don't
17054 # use $as_me), people would be surprised to read:
17055 # /* config.h. Generated by config.status. */
17056 configure_input='Generated from '`
17057 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17059 if test x"$ac_file" != x-; then
17060 configure_input="$ac_file. $configure_input"
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17062 $as_echo "$as_me: creating $ac_file" >&6;}
17064 # Neutralize special characters interpreted by sed in replacement strings.
17065 case $configure_input in #(
17066 *\&* | *\|* | *\\* )
17067 ac_sed_conf_input=`$as_echo "$configure_input" |
17068 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17069 *) ac_sed_conf_input=$configure_input;;
17073 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17074 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17079 ac_dir=`$as_dirname -- "$ac_file" ||
17080 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17081 X"$ac_file" : 'X\(//\)[^/]' \| \
17082 X"$ac_file" : 'X\(//\)$' \| \
17083 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17084 $as_echo X"$ac_file" |
17085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17089 /^X\(\/\/\)[^/].*/{
17102 as_dir="$ac_dir"; as_fn_mkdir_p
17106 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17108 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17109 # A ".." for each directory in $ac_dir_suffix.
17110 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17111 case $ac_top_builddir_sub in
17112 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17113 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17116 ac_abs_top_builddir=$ac_pwd
17117 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17118 # for backward compatibility:
17119 ac_top_builddir=$ac_top_build_prefix
17122 .) # We are building in place.
17124 ac_top_srcdir=$ac_top_builddir_sub
17125 ac_abs_top_srcdir=$ac_pwd ;;
17126 [\\/]* | ?:[\\/]* ) # Absolute name.
17127 ac_srcdir=$srcdir$ac_dir_suffix;
17128 ac_top_srcdir=$srcdir
17129 ac_abs_top_srcdir=$srcdir ;;
17130 *) # Relative name.
17131 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17132 ac_top_srcdir=$ac_top_build_prefix$srcdir
17133 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17135 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17145 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17146 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17148 ac_MKDIR_P=$MKDIR_P
17150 [\\/$]* | ?:[\\/]* ) ;;
17151 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17156 # If the template does not know about datarootdir, expand it.
17157 # FIXME: This hack should be removed a few years after 2.60.
17158 ac_datarootdir_hack=; ac_datarootdir_seen=
17169 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17170 *datarootdir*) ac_datarootdir_seen=yes;;
17171 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17173 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17176 ac_datarootdir_hack='
17177 s&@datadir@&$datadir&g
17178 s&@docdir@&$docdir&g
17179 s&@infodir@&$infodir&g
17180 s&@localedir@&$localedir&g
17181 s&@mandir@&$mandir&g
17182 s&\\\${datarootdir}&$datarootdir&g' ;;
17186 # Neutralize VPATH when `$srcdir' = `.'.
17187 # Shell code in configure.ac might set extrasub.
17188 # FIXME: do we really want to maintain this feature?
17189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17190 ac_sed_extra="$ac_vpsub
17193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17195 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17196 s|@configure_input@|$ac_sed_conf_input|;t t
17197 s&@top_builddir@&$ac_top_builddir_sub&;t t
17198 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17199 s&@srcdir@&$ac_srcdir&;t t
17200 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17201 s&@top_srcdir@&$ac_top_srcdir&;t t
17202 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17203 s&@builddir@&$ac_builddir&;t t
17204 s&@abs_builddir@&$ac_abs_builddir&;t t
17205 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17206 s&@INSTALL@&$ac_INSTALL&;t t
17207 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17208 $ac_datarootdir_hack
17210 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17211 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17213 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17214 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17215 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17216 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17218 which seems to be undefined. Please make sure it is defined" >&5
17219 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17220 which seems to be undefined. Please make sure it is defined" >&2;}
17222 rm -f "$ac_tmp/stdin"
17224 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17225 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17227 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17233 if test x"$ac_file" != x-; then
17235 $as_echo "/* $configure_input */" \
17236 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17237 } >"$ac_tmp/config.h" \
17238 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17239 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17241 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17244 mv "$ac_tmp/config.h" "$ac_file" \
17245 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17248 $as_echo "/* $configure_input */" \
17249 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17250 || as_fn_error $? "could not create -" "$LINENO" 5
17252 # Compute "$ac_file"'s index in $config_headers.
17255 for _am_header in $config_headers :; do
17256 case $_am_header in
17257 $_am_arg | $_am_arg:* )
17260 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17263 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17264 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17265 X"$_am_arg" : 'X\(//\)[^/]' \| \
17266 X"$_am_arg" : 'X\(//\)$' \| \
17267 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17268 $as_echo X"$_am_arg" |
17269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17273 /^X\(\/\/\)[^/].*/{
17285 s/.*/./; q'`/stamp-h$_am_stamp_count
17288 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17289 $as_echo "$as_me: executing $ac_file commands" >&6;}
17294 case $ac_file$ac_mode in
17295 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17296 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17297 # are listed without --file. Let's play safe and only enable the eval
17298 # if we detect the quoting.
17299 case $CONFIG_FILES in
17300 *\'*) eval set x "$CONFIG_FILES" ;;
17301 *) set x $CONFIG_FILES ;;
17306 # Strip MF so we end up with the name of the file.
17307 mf=`echo "$mf" | sed -e 's/:.*$//'`
17308 # Check whether this is an Automake generated Makefile or not.
17309 # We used to match only the files named `Makefile.in', but
17310 # some people rename them; so instead we look at the file content.
17311 # Grep'ing the first line is not enough: some people post-process
17312 # each Makefile.in and add a new line on top of each file to say so.
17313 # Grep'ing the whole file is not good either: AIX grep has a line
17314 # limit of 2048, but all sed's we know have understand at least 4000.
17315 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17316 dirpart=`$as_dirname -- "$mf" ||
17317 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17318 X"$mf" : 'X\(//\)[^/]' \| \
17319 X"$mf" : 'X\(//\)$' \| \
17320 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17326 /^X\(\/\/\)[^/].*/{
17342 # Extract the definition of DEPDIR, am__include, and am__quote
17343 # from the Makefile without running `make'.
17344 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17345 test -z "$DEPDIR" && continue
17346 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17347 test -z "am__include" && continue
17348 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17349 # When using ansi2knr, U may be empty or an underscore; expand it
17350 U=`sed -n 's/^U = //p' < "$mf"`
17351 # Find all dependency output files, they are included files with
17352 # $(DEPDIR) in their names. We invoke sed twice because it is the
17353 # simplest approach to changing $(DEPDIR) to its actual value in the
17355 for file in `sed -n "
17356 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17357 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17358 # Make sure the directory exists.
17359 test -f "$dirpart/$file" && continue
17360 fdir=`$as_dirname -- "$file" ||
17361 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17362 X"$file" : 'X\(//\)[^/]' \| \
17363 X"$file" : 'X\(//\)$' \| \
17364 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17365 $as_echo X"$file" |
17366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17370 /^X\(\/\/\)[^/].*/{
17383 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17384 # echo "creating $dirpart/$file"
17385 echo '# dummy' > "$dirpart/$file"
17392 # See if we are running on zsh, and set the options which allow our
17393 # commands through without removal of \ escapes.
17394 if test -n "${ZSH_VERSION+set}" ; then
17395 setopt NO_GLOB_SUBST
17398 cfgfile="${ofile}T"
17399 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17402 cat <<_LT_EOF >> "$cfgfile"
17405 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17406 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17407 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17408 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17410 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17411 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17413 # Written by Gordon Matzigkeit, 1996
17415 # This file is part of GNU Libtool.
17417 # GNU Libtool is free software; you can redistribute it and/or
17418 # modify it under the terms of the GNU General Public License as
17419 # published by the Free Software Foundation; either version 2 of
17420 # the License, or (at your option) any later version.
17422 # As a special exception to the GNU General Public License,
17423 # if you distribute this file as part of a program or library that
17424 # is built using GNU Libtool, you may include this file under the
17425 # same distribution terms that you use for the rest of that program.
17427 # GNU Libtool is distributed in the hope that it will be useful,
17428 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17429 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17430 # GNU General Public License for more details.
17432 # You should have received a copy of the GNU General Public License
17433 # along with GNU Libtool; see the file COPYING. If not, a copy
17434 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17435 # obtained by writing to the Free Software Foundation, Inc.,
17436 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17439 # The names of the tagged configurations supported by this script.
17442 # ### BEGIN LIBTOOL CONFIG
17444 # Which release of libtool.m4 was used?
17445 macro_version=$macro_version
17446 macro_revision=$macro_revision
17448 # Whether or not to build shared libraries.
17449 build_libtool_libs=$enable_shared
17451 # Whether or not to build static libraries.
17452 build_old_libs=$enable_static
17454 # What type of objects to build.
17457 # Whether or not to optimize for fast installation.
17458 fast_install=$enable_fast_install
17460 # Shell to use when invoking shell scripts.
17463 # An echo program that protects backslashes.
17466 # The PATH separator for the build system.
17467 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17470 host_alias=$host_alias
17474 # The build system.
17475 build_alias=$build_alias
17479 # A sed program that does not truncate output.
17482 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17483 Xsed="\$SED -e 1s/^X//"
17485 # A grep program that handles long lines.
17491 # A literal string matcher.
17494 # A BSD- or MS-compatible name lister.
17497 # Whether we need soft or hard links.
17500 # What is the maximum length of a command?
17501 max_cmd_len=$max_cmd_len
17503 # Object file suffix (normally "o").
17506 # Executable file suffix (normally "").
17509 # whether the shell understands "unset".
17512 # turn spaces into newlines.
17515 # turn newlines into spaces.
17518 # convert \$build file names to \$host format.
17519 to_host_file_cmd=$lt_cv_to_host_file_cmd
17521 # convert \$build files to toolchain format.
17522 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17524 # An object symbol dumper.
17525 OBJDUMP=$lt_OBJDUMP
17527 # Method to check whether dependent libraries are shared objects.
17528 deplibs_check_method=$lt_deplibs_check_method
17530 # Command to use when deplibs_check_method = "file_magic".
17531 file_magic_cmd=$lt_file_magic_cmd
17533 # How to find potential files when deplibs_check_method = "file_magic".
17534 file_magic_glob=$lt_file_magic_glob
17536 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17537 want_nocaseglob=$lt_want_nocaseglob
17539 # DLL creation program.
17540 DLLTOOL=$lt_DLLTOOL
17542 # Command to associate shared and link libraries.
17543 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17548 # Flags to create an archive.
17549 AR_FLAGS=$lt_AR_FLAGS
17551 # How to feed a file listing to the archiver.
17552 archiver_list_spec=$lt_archiver_list_spec
17554 # A symbol stripping program.
17557 # Commands used to install an old-style archive.
17559 old_postinstall_cmds=$lt_old_postinstall_cmds
17560 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17562 # Whether to use a lock for old archive extraction.
17563 lock_old_archive_extraction=$lock_old_archive_extraction
17568 # LTCC compiler flags.
17569 LTCFLAGS=$lt_CFLAGS
17571 # Take the output of nm and produce a listing of raw symbols and C names.
17572 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17574 # Transform the output of nm in a proper C declaration.
17575 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17577 # Transform the output of nm in a C name address pair.
17578 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17580 # Transform the output of nm in a C name address pair when lib prefix is needed.
17581 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17583 # Specify filename containing input files for \$NM.
17584 nm_file_list_spec=$lt_nm_file_list_spec
17586 # The root where to search for dependent libraries,and in which our libraries should be installed.
17587 lt_sysroot=$lt_sysroot
17589 # The name of the directory that contains temporary libtool files.
17592 # Used to examine libraries when file_magic_cmd begins with "file".
17593 MAGIC_CMD=$MAGIC_CMD
17595 # Must we lock files when doing compilation?
17596 need_locks=$lt_need_locks
17599 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17601 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17602 DSYMUTIL=$lt_DSYMUTIL
17604 # Tool to change global to local symbols on Mac OS X.
17607 # Tool to manipulate fat objects and archives on Mac OS X.
17610 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17613 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17614 OTOOL64=$lt_OTOOL64
17616 # Old archive suffix (normally "a").
17619 # Shared library suffix (normally ".so").
17620 shrext_cmds=$lt_shrext_cmds
17622 # The commands to extract the exported symbol list from a shared archive.
17623 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17625 # Variables whose values should be saved in libtool wrapper scripts and
17626 # restored at link time.
17627 variables_saved_for_relink=$lt_variables_saved_for_relink
17629 # Do we need the "lib" prefix for modules?
17630 need_lib_prefix=$need_lib_prefix
17632 # Do we need a version for libraries?
17633 need_version=$need_version
17635 # Library versioning type.
17636 version_type=$version_type
17638 # Shared library runtime path variable.
17639 runpath_var=$runpath_var
17641 # Shared library path variable.
17642 shlibpath_var=$shlibpath_var
17644 # Is shlibpath searched before the hard-coded library search path?
17645 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17647 # Format of library name prefix.
17648 libname_spec=$lt_libname_spec
17650 # List of archive names. First name is the real one, the rest are links.
17651 # The last name is the one that the linker finds with -lNAME
17652 library_names_spec=$lt_library_names_spec
17654 # The coded name of the library, if different from the real name.
17655 soname_spec=$lt_soname_spec
17657 # Permission mode override for installation of shared libraries.
17658 install_override_mode=$lt_install_override_mode
17660 # Command to use after installation of a shared archive.
17661 postinstall_cmds=$lt_postinstall_cmds
17663 # Command to use after uninstallation of a shared archive.
17664 postuninstall_cmds=$lt_postuninstall_cmds
17666 # Commands used to finish a libtool library installation in a directory.
17667 finish_cmds=$lt_finish_cmds
17669 # As "finish_cmds", except a single script fragment to be evaled but
17671 finish_eval=$lt_finish_eval
17673 # Whether we should hardcode library paths into libraries.
17674 hardcode_into_libs=$hardcode_into_libs
17676 # Compile-time system search path for libraries.
17677 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17679 # Run-time system search path for libraries.
17680 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17682 # Whether dlopen is supported.
17683 dlopen_support=$enable_dlopen
17685 # Whether dlopen of programs is supported.
17686 dlopen_self=$enable_dlopen_self
17688 # Whether dlopen of statically linked programs is supported.
17689 dlopen_self_static=$enable_dlopen_self_static
17691 # Commands to strip libraries.
17692 old_striplib=$lt_old_striplib
17693 striplib=$lt_striplib
17696 # The linker used to build libraries.
17699 # How to create reloadable object files.
17700 reload_flag=$lt_reload_flag
17701 reload_cmds=$lt_reload_cmds
17703 # Commands used to build an old-style archive.
17704 old_archive_cmds=$lt_old_archive_cmds
17706 # A language specific compiler.
17709 # Is the compiler the GNU compiler?
17712 # Compiler flag to turn off builtin functions.
17713 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17715 # Additional compiler flags for building library objects.
17716 pic_flag=$lt_lt_prog_compiler_pic
17718 # How to pass a linker flag through the compiler.
17719 wl=$lt_lt_prog_compiler_wl
17721 # Compiler flag to prevent dynamic linking.
17722 link_static_flag=$lt_lt_prog_compiler_static
17724 # Does compiler simultaneously support -c and -o options?
17725 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17727 # Whether or not to add -lc for building shared libraries.
17728 build_libtool_need_lc=$archive_cmds_need_lc
17730 # Whether or not to disallow shared libs when runtime libs are static.
17731 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17733 # Compiler flag to allow reflexive dlopens.
17734 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17736 # Compiler flag to generate shared objects directly from archives.
17737 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17739 # Whether the compiler copes with passing no objects directly.
17740 compiler_needs_object=$lt_compiler_needs_object
17742 # Create an old-style archive from a shared archive.
17743 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17745 # Create a temporary old-style archive to link instead of a shared archive.
17746 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17748 # Commands used to build a shared archive.
17749 archive_cmds=$lt_archive_cmds
17750 archive_expsym_cmds=$lt_archive_expsym_cmds
17752 # Commands used to build a loadable module if different from building
17753 # a shared archive.
17754 module_cmds=$lt_module_cmds
17755 module_expsym_cmds=$lt_module_expsym_cmds
17757 # Whether we are building with GNU ld or not.
17758 with_gnu_ld=$lt_with_gnu_ld
17760 # Flag that allows shared libraries with undefined symbols to be built.
17761 allow_undefined_flag=$lt_allow_undefined_flag
17763 # Flag that enforces no undefined symbols.
17764 no_undefined_flag=$lt_no_undefined_flag
17766 # Flag to hardcode \$libdir into a binary during linking.
17767 # This must work even if \$libdir does not exist
17768 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17770 # Whether we need a single "-rpath" flag with a separated argument.
17771 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17773 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17774 # DIR into the resulting binary.
17775 hardcode_direct=$hardcode_direct
17777 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17778 # DIR into the resulting binary and the resulting library dependency is
17779 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17780 # library is relocated.
17781 hardcode_direct_absolute=$hardcode_direct_absolute
17783 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17784 # into the resulting binary.
17785 hardcode_minus_L=$hardcode_minus_L
17787 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17788 # into the resulting binary.
17789 hardcode_shlibpath_var=$hardcode_shlibpath_var
17791 # Set to "yes" if building a shared library automatically hardcodes DIR
17792 # into the library and all subsequent libraries and executables linked
17794 hardcode_automatic=$hardcode_automatic
17796 # Set to yes if linker adds runtime paths of dependent libraries
17797 # to runtime path list.
17798 inherit_rpath=$inherit_rpath
17800 # Whether libtool must link a program against all its dependency libraries.
17801 link_all_deplibs=$link_all_deplibs
17803 # Set to "yes" if exported symbols are required.
17804 always_export_symbols=$always_export_symbols
17806 # The commands to list exported symbols.
17807 export_symbols_cmds=$lt_export_symbols_cmds
17809 # Symbols that should not be listed in the preloaded symbols.
17810 exclude_expsyms=$lt_exclude_expsyms
17812 # Symbols that must always be exported.
17813 include_expsyms=$lt_include_expsyms
17815 # Commands necessary for linking programs (against libraries) with templates.
17816 prelink_cmds=$lt_prelink_cmds
17818 # Commands necessary for finishing linking programs.
17819 postlink_cmds=$lt_postlink_cmds
17821 # Specify filename containing input files.
17822 file_list_spec=$lt_file_list_spec
17824 # How to hardcode a shared library path into an executable.
17825 hardcode_action=$hardcode_action
17827 # ### END LIBTOOL CONFIG
17833 cat <<\_LT_EOF >> "$cfgfile"
17834 # AIX sometimes has problems with the GCC collect2 program. For some
17835 # reason, if we set the COLLECT_NAMES environment variable, the problems
17836 # vanish in a puff of smoke.
17837 if test "X${COLLECT_NAMES+set}" != Xset; then
17839 export COLLECT_NAMES
17846 ltmain="$ac_aux_dir/ltmain.sh"
17849 # We use sed instead of cat because bash on DJGPP gets confused if
17850 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17851 # text mode, it properly converts lines to CR/LF. This bash problem
17852 # is reportedly fixed, but why not run on old versions too?
17853 sed '$q' "$ltmain" >> "$cfgfile" \
17854 || (rm -f "$cfgfile"; exit 1)
17856 if test x"$xsi_shell" = xyes; then
17857 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17861 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17862 \ * ) func_dirname_result="${3}" ;;\
17864 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17865 && mv -f "$cfgfile.tmp" "$cfgfile" \
17866 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17867 test 0 -eq $? || _lt_function_replace_fail=:
17870 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17873 \ func_basename_result="${1##*/}"\
17874 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17875 && mv -f "$cfgfile.tmp" "$cfgfile" \
17876 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17877 test 0 -eq $? || _lt_function_replace_fail=:
17880 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17881 func_dirname_and_basename ()\
17884 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17885 \ * ) func_dirname_result="${3}" ;;\
17887 \ func_basename_result="${1##*/}"\
17888 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17889 && mv -f "$cfgfile.tmp" "$cfgfile" \
17890 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17891 test 0 -eq $? || _lt_function_replace_fail=:
17894 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17897 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17898 \ # positional parameters, so assign one to ordinary parameter first.\
17899 \ func_stripname_result=${3}\
17900 \ func_stripname_result=${func_stripname_result#"${1}"}\
17901 \ func_stripname_result=${func_stripname_result%"${2}"}\
17902 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17903 && mv -f "$cfgfile.tmp" "$cfgfile" \
17904 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17905 test 0 -eq $? || _lt_function_replace_fail=:
17908 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17909 func_split_long_opt ()\
17911 \ func_split_long_opt_name=${1%%=*}\
17912 \ func_split_long_opt_arg=${1#*=}\
17913 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17914 && mv -f "$cfgfile.tmp" "$cfgfile" \
17915 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17916 test 0 -eq $? || _lt_function_replace_fail=:
17919 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17920 func_split_short_opt ()\
17922 \ func_split_short_opt_arg=${1#??}\
17923 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17924 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17925 && mv -f "$cfgfile.tmp" "$cfgfile" \
17926 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17927 test 0 -eq $? || _lt_function_replace_fail=:
17930 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17934 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17935 \ *) func_lo2o_result=${1} ;;\
17937 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17938 && mv -f "$cfgfile.tmp" "$cfgfile" \
17939 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17940 test 0 -eq $? || _lt_function_replace_fail=:
17943 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17946 func_xform_result=${1%.*}.lo\
17947 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17948 && mv -f "$cfgfile.tmp" "$cfgfile" \
17949 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17950 test 0 -eq $? || _lt_function_replace_fail=:
17953 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17956 func_arith_result=$(( $* ))\
17957 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17958 && mv -f "$cfgfile.tmp" "$cfgfile" \
17959 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17960 test 0 -eq $? || _lt_function_replace_fail=:
17963 sed -e '/^func_len ()$/,/^} # func_len /c\
17966 func_len_result=${#1}\
17967 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17968 && mv -f "$cfgfile.tmp" "$cfgfile" \
17969 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17970 test 0 -eq $? || _lt_function_replace_fail=:
17974 if test x"$lt_shell_append" = xyes; then
17975 sed -e '/^func_append ()$/,/^} # func_append /c\
17978 eval "${1}+=\\${2}"\
17979 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17980 && mv -f "$cfgfile.tmp" "$cfgfile" \
17981 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17982 test 0 -eq $? || _lt_function_replace_fail=:
17985 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17986 func_append_quoted ()\
17988 \ func_quote_for_eval "${2}"\
17989 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17990 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17991 && mv -f "$cfgfile.tmp" "$cfgfile" \
17992 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17993 test 0 -eq $? || _lt_function_replace_fail=:
17996 # Save a `func_append' function call where possible by direct use of '+='
17997 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17998 && mv -f "$cfgfile.tmp" "$cfgfile" \
17999 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18000 test 0 -eq $? || _lt_function_replace_fail=:
18002 # Save a `func_append' function call even when '+=' is not available
18003 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18004 && mv -f "$cfgfile.tmp" "$cfgfile" \
18005 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18006 test 0 -eq $? || _lt_function_replace_fail=:
18009 if test x"$_lt_function_replace_fail" = x":"; then
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18011 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18015 mv -f "$cfgfile" "$ofile" ||
18016 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18020 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
18021 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18024 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18025 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18027 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18032 '"s|^| $ac_top_srcdir/|" \
18033 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18035 sed '/^POTFILES =/,/[^\\]$/ {
18039 ' "po/Makefile.in" >"po/Makefile"
18040 rm -f "po/Makefile.tmp"
18041 mv "po/stamp-it.tmp" "po/stamp-it"
18050 ac_clean_files=$ac_clean_files_save
18052 test $ac_write_fail = 0 ||
18053 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18056 # configure is writing to config.log, and then calls config.status.
18057 # config.status does its own redirection, appending to config.log.
18058 # Unfortunately, on DOS this fails, as config.log is still kept open
18059 # by configure, so config.status won't be able to write to it; its
18060 # output is simply discarded. So we exec the FD to /dev/null,
18061 # effectively closing config.log, so it can be properly (re)opened and
18062 # appended to by config.status. When coming back to configure, we
18063 # need to make the FD available again.
18064 if test "$no_create" != yes; then
18066 ac_config_status_args=
18067 test "$silent" = yes &&
18068 ac_config_status_args="$ac_config_status_args --quiet"
18070 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18072 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18073 # would make configure fail if this is the last instruction.
18074 $ac_cs_success || as_fn_exit 1
18076 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18078 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18087 Package ................. ${PACKAGE}-${VERSION}
18088 Installation prefix ..... ${prefix}
18089 Source code location .... ${srcdir}
18090 Compiler ................ ${CC}
18093 Optional data merge backends:
18095 Evolution Data Server ... ${have_libebook}
18098 Optional barcode backends:
18100 GNU Barcode ............. ${have_libbarcode} ${help_libbarcode}
18101 QR Code ................. ${have_libqrencode} ${help_libqrencode}
18102 IEC 16022 ............... ${have_libiec16022} ${help_libiec16022}
18103 Zint .................... ${have_libzint} ${help_libzint}