2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for glabels 3.4.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.4.0'
595 PACKAGE_STRING='glabels 3.4.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
653 DISABLE_DEPRECATED_CFLAGS
681 LIBGLBARCODE_API_VERSION
682 LIBGLABELS_API_VERSION
686 GTK_UPDATE_ICON_CACHE
693 GSETTINGS_DISABLE_SCHEMAS_COMPILE
694 GTK_DOC_USE_REBASE_FALSE
695 GTK_DOC_USE_REBASE_TRUE
696 GTK_DOC_USE_LIBTOOL_FALSE
697 GTK_DOC_USE_LIBTOOL_TRUE
698 GTK_DOC_BUILD_PDF_FALSE
699 GTK_DOC_BUILD_PDF_TRUE
700 GTK_DOC_BUILD_HTML_FALSE
701 GTK_DOC_BUILD_HTML_TRUE
776 INTLTOOL_SERVICE_RULE
778 INTLTOOL_SCHEMAS_RULE
780 INTLTOOL_XML_NOMERGE_RULE
785 INTLTOOL_SOUNDLIST_RULE
792 INTLTOOL_DIRECTORY_RULE
793 INTLTOOL_DESKTOP_RULE
794 intltool__v_merge_options_0
795 intltool__v_merge_options_
796 INTLTOOL_V_MERGE_OPTIONS
805 MAINTAINER_MODE_FALSE
819 INSTALL_STRIP_PROGRAM
861 program_transform_name
874 enable_option_checking
876 enable_maintainer_mode
882 enable_dependency_tracking
891 enable_schemas_compile
892 enable_compile_warnings
901 ac_precious_vars='build_alias
931 # Initialize some variables set by options.
933 ac_init_version=false
934 ac_unrecognized_opts=
936 # The variables have the same names as the options, with
937 # dashes changed to underlines.
945 program_transform_name=s,x,x,
953 # Installation directory options.
954 # These are left unexpanded so users can "make install exec_prefix=/foo"
955 # and all the variables that are supposed to be based on exec_prefix
956 # by default will actually change.
957 # Use braces instead of parens because sh, perl, etc. also accept them.
958 # (The list follows the same order as the GNU Coding Standards.)
959 bindir='${exec_prefix}/bin'
960 sbindir='${exec_prefix}/sbin'
961 libexecdir='${exec_prefix}/libexec'
962 datarootdir='${prefix}/share'
963 datadir='${datarootdir}'
964 sysconfdir='${prefix}/etc'
965 sharedstatedir='${prefix}/com'
966 localstatedir='${prefix}/var'
967 includedir='${prefix}/include'
968 oldincludedir='/usr/include'
969 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
970 infodir='${datarootdir}/info'
975 libdir='${exec_prefix}/lib'
976 localedir='${datarootdir}/locale'
977 mandir='${datarootdir}/man'
983 # If the previous option needs an argument, assign it.
984 if test -n "$ac_prev"; then
985 eval $ac_prev=\$ac_option
991 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
996 # Accept the important Cygnus configure options, so we can diagnose typos.
998 case $ac_dashdash$ac_option in
1002 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1004 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1005 bindir=$ac_optarg ;;
1007 -build | --build | --buil | --bui | --bu)
1008 ac_prev=build_alias ;;
1009 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1010 build_alias=$ac_optarg ;;
1012 -cache-file | --cache-file | --cache-fil | --cache-fi \
1013 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1014 ac_prev=cache_file ;;
1015 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1016 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1017 cache_file=$ac_optarg ;;
1019 --config-cache | -C)
1020 cache_file=config.cache ;;
1022 -datadir | --datadir | --datadi | --datad)
1024 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1025 datadir=$ac_optarg ;;
1027 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1028 | --dataroo | --dataro | --datar)
1029 ac_prev=datarootdir ;;
1030 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1031 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1032 datarootdir=$ac_optarg ;;
1034 -disable-* | --disable-*)
1035 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038 as_fn_error $? "invalid feature name: $ac_useropt"
1039 ac_useropt_orig=$ac_useropt
1040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1043 "enable_$ac_useropt"
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1046 ac_unrecognized_sep=', ';;
1048 eval enable_$ac_useropt=no ;;
1050 -docdir | --docdir | --docdi | --doc | --do)
1052 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1053 docdir=$ac_optarg ;;
1055 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1057 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1058 dvidir=$ac_optarg ;;
1060 -enable-* | --enable-*)
1061 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1062 # Reject names that are not valid shell variable names.
1063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064 as_fn_error $? "invalid feature name: $ac_useropt"
1065 ac_useropt_orig=$ac_useropt
1066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067 case $ac_user_opts in
1069 "enable_$ac_useropt"
1071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1072 ac_unrecognized_sep=', ';;
1074 eval enable_$ac_useropt=\$ac_optarg ;;
1076 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1077 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1078 | --exec | --exe | --ex)
1079 ac_prev=exec_prefix ;;
1080 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1081 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1082 | --exec=* | --exe=* | --ex=*)
1083 exec_prefix=$ac_optarg ;;
1085 -gas | --gas | --ga | --g)
1086 # Obsolete; use --with-gas.
1089 -help | --help | --hel | --he | -h)
1090 ac_init_help=long ;;
1091 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1092 ac_init_help=recursive ;;
1093 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1094 ac_init_help=short ;;
1096 -host | --host | --hos | --ho)
1097 ac_prev=host_alias ;;
1098 -host=* | --host=* | --hos=* | --ho=*)
1099 host_alias=$ac_optarg ;;
1101 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1103 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1105 htmldir=$ac_optarg ;;
1107 -includedir | --includedir | --includedi | --included | --include \
1108 | --includ | --inclu | --incl | --inc)
1109 ac_prev=includedir ;;
1110 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1111 | --includ=* | --inclu=* | --incl=* | --inc=*)
1112 includedir=$ac_optarg ;;
1114 -infodir | --infodir | --infodi | --infod | --info | --inf)
1116 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1117 infodir=$ac_optarg ;;
1119 -libdir | --libdir | --libdi | --libd)
1121 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1122 libdir=$ac_optarg ;;
1124 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1125 | --libexe | --libex | --libe)
1126 ac_prev=libexecdir ;;
1127 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1128 | --libexe=* | --libex=* | --libe=*)
1129 libexecdir=$ac_optarg ;;
1131 -localedir | --localedir | --localedi | --localed | --locale)
1132 ac_prev=localedir ;;
1133 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1134 localedir=$ac_optarg ;;
1136 -localstatedir | --localstatedir | --localstatedi | --localstated \
1137 | --localstate | --localstat | --localsta | --localst | --locals)
1138 ac_prev=localstatedir ;;
1139 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1140 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1141 localstatedir=$ac_optarg ;;
1143 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1145 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1146 mandir=$ac_optarg ;;
1148 -nfp | --nfp | --nf)
1149 # Obsolete; use --without-fp.
1152 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1153 | --no-cr | --no-c | -n)
1156 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1157 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1160 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1161 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1162 | --oldin | --oldi | --old | --ol | --o)
1163 ac_prev=oldincludedir ;;
1164 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1165 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1166 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1167 oldincludedir=$ac_optarg ;;
1169 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1171 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1172 prefix=$ac_optarg ;;
1174 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1175 | --program-pre | --program-pr | --program-p)
1176 ac_prev=program_prefix ;;
1177 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1178 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1179 program_prefix=$ac_optarg ;;
1181 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1182 | --program-suf | --program-su | --program-s)
1183 ac_prev=program_suffix ;;
1184 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1185 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1186 program_suffix=$ac_optarg ;;
1188 -program-transform-name | --program-transform-name \
1189 | --program-transform-nam | --program-transform-na \
1190 | --program-transform-n | --program-transform- \
1191 | --program-transform | --program-transfor \
1192 | --program-transfo | --program-transf \
1193 | --program-trans | --program-tran \
1194 | --progr-tra | --program-tr | --program-t)
1195 ac_prev=program_transform_name ;;
1196 -program-transform-name=* | --program-transform-name=* \
1197 | --program-transform-nam=* | --program-transform-na=* \
1198 | --program-transform-n=* | --program-transform-=* \
1199 | --program-transform=* | --program-transfor=* \
1200 | --program-transfo=* | --program-transf=* \
1201 | --program-trans=* | --program-tran=* \
1202 | --progr-tra=* | --program-tr=* | --program-t=*)
1203 program_transform_name=$ac_optarg ;;
1205 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1207 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1208 pdfdir=$ac_optarg ;;
1210 -psdir | --psdir | --psdi | --psd | --ps)
1212 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1215 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1216 | -silent | --silent | --silen | --sile | --sil)
1219 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1221 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1223 sbindir=$ac_optarg ;;
1225 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1226 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1227 | --sharedst | --shareds | --shared | --share | --shar \
1229 ac_prev=sharedstatedir ;;
1230 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1231 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1232 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1234 sharedstatedir=$ac_optarg ;;
1236 -site | --site | --sit)
1238 -site=* | --site=* | --sit=*)
1241 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1243 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1244 srcdir=$ac_optarg ;;
1246 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1247 | --syscon | --sysco | --sysc | --sys | --sy)
1248 ac_prev=sysconfdir ;;
1249 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1250 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1251 sysconfdir=$ac_optarg ;;
1253 -target | --target | --targe | --targ | --tar | --ta | --t)
1254 ac_prev=target_alias ;;
1255 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1256 target_alias=$ac_optarg ;;
1258 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1261 -version | --version | --versio | --versi | --vers | -V)
1262 ac_init_version=: ;;
1265 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1266 # Reject names that are not valid shell variable names.
1267 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1268 as_fn_error $? "invalid package name: $ac_useropt"
1269 ac_useropt_orig=$ac_useropt
1270 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1271 case $ac_user_opts in
1275 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1276 ac_unrecognized_sep=', ';;
1278 eval with_$ac_useropt=\$ac_optarg ;;
1280 -without-* | --without-*)
1281 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1282 # Reject names that are not valid shell variable names.
1283 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1284 as_fn_error $? "invalid package name: $ac_useropt"
1285 ac_useropt_orig=$ac_useropt
1286 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1287 case $ac_user_opts in
1291 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1292 ac_unrecognized_sep=', ';;
1294 eval with_$ac_useropt=no ;;
1297 # Obsolete; use --with-x.
1300 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1301 | --x-incl | --x-inc | --x-in | --x-i)
1302 ac_prev=x_includes ;;
1303 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1304 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1305 x_includes=$ac_optarg ;;
1307 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1308 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1309 ac_prev=x_libraries ;;
1310 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1311 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1312 x_libraries=$ac_optarg ;;
1314 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1315 Try \`$0 --help' for more information"
1319 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1320 # Reject names that are not valid shell variable names.
1321 case $ac_envvar in #(
1322 '' | [0-9]* | *[!_$as_cr_alnum]* )
1323 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1325 eval $ac_envvar=\$ac_optarg
1326 export $ac_envvar ;;
1329 # FIXME: should be removed in autoconf 3.0.
1330 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1331 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1332 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1333 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1339 if test -n "$ac_prev"; then
1340 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1341 as_fn_error $? "missing argument to $ac_option"
1344 if test -n "$ac_unrecognized_opts"; then
1345 case $enable_option_checking in
1347 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1348 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1352 # Check all directory arguments for consistency.
1353 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1354 datadir sysconfdir sharedstatedir localstatedir includedir \
1355 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1356 libdir localedir mandir
1358 eval ac_val=\$$ac_var
1359 # Remove trailing slashes.
1362 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1363 eval $ac_var=\$ac_val;;
1365 # Be sure to have absolute directory names.
1367 [\\/$]* | ?:[\\/]* ) continue;;
1368 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1370 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1373 # There might be people who depend on the old broken behavior: `$host'
1374 # used to hold the argument of --host etc.
1375 # FIXME: To remove some day.
1378 target=$target_alias
1380 # FIXME: To remove some day.
1381 if test "x$host_alias" != x; then
1382 if test "x$build_alias" = x; then
1383 cross_compiling=maybe
1384 elif test "x$build_alias" != "x$host_alias"; then
1390 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1392 test "$silent" = yes && exec 6>/dev/null
1395 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1396 ac_ls_di=`ls -di .` &&
1397 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1398 as_fn_error $? "working directory cannot be determined"
1399 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1400 as_fn_error $? "pwd does not report name of working directory"
1403 # Find the source files, if location was not specified.
1404 if test -z "$srcdir"; then
1405 ac_srcdir_defaulted=yes
1406 # Try the directory containing this script, then the parent directory.
1407 ac_confdir=`$as_dirname -- "$as_myself" ||
1408 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1409 X"$as_myself" : 'X\(//\)[^/]' \| \
1410 X"$as_myself" : 'X\(//\)$' \| \
1411 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1412 $as_echo X"$as_myself" |
1413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1431 if test ! -r "$srcdir/$ac_unique_file"; then
1435 ac_srcdir_defaulted=no
1437 if test ! -r "$srcdir/$ac_unique_file"; then
1438 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1439 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1441 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1443 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1445 # When building in place, set srcdir=.
1446 if test "$ac_abs_confdir" = "$ac_pwd"; then
1449 # Remove unnecessary trailing slashes from srcdir.
1450 # Double slashes in file names in object file debugging info
1451 # mess up M-x gdb in Emacs.
1453 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1455 for ac_var in $ac_precious_vars; do
1456 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1457 eval ac_env_${ac_var}_value=\$${ac_var}
1458 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1459 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1463 # Report the --help message.
1465 if test "$ac_init_help" = "long"; then
1466 # Omit some internal or obsolete options to make the list less imposing.
1467 # This message is too long to be a string in the A/UX 3.1 sh.
1469 \`configure' configures glabels 3.4.0 to adapt to many kinds of systems.
1471 Usage: $0 [OPTION]... [VAR=VALUE]...
1473 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1474 VAR=VALUE. See below for descriptions of some of the useful variables.
1476 Defaults for the options are specified in brackets.
1479 -h, --help display this help and exit
1480 --help=short display options specific to this package
1481 --help=recursive display the short help of all the included packages
1482 -V, --version display version information and exit
1483 -q, --quiet, --silent do not print \`checking ...' messages
1484 --cache-file=FILE cache test results in FILE [disabled]
1485 -C, --config-cache alias for \`--cache-file=config.cache'
1486 -n, --no-create do not create output files
1487 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1489 Installation directories:
1490 --prefix=PREFIX install architecture-independent files in PREFIX
1491 [$ac_default_prefix]
1492 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1495 By default, \`make install' will install all the files in
1496 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1497 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1498 for instance \`--prefix=\$HOME'.
1500 For better control, use the options below.
1502 Fine tuning of the installation directories:
1503 --bindir=DIR user executables [EPREFIX/bin]
1504 --sbindir=DIR system admin executables [EPREFIX/sbin]
1505 --libexecdir=DIR program executables [EPREFIX/libexec]
1506 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1507 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1508 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1509 --libdir=DIR object code libraries [EPREFIX/lib]
1510 --includedir=DIR C header files [PREFIX/include]
1511 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1512 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1513 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1514 --infodir=DIR info documentation [DATAROOTDIR/info]
1515 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1516 --mandir=DIR man documentation [DATAROOTDIR/man]
1517 --docdir=DIR documentation root [DATAROOTDIR/doc/glabels]
1518 --htmldir=DIR html documentation [DOCDIR]
1519 --dvidir=DIR dvi documentation [DOCDIR]
1520 --pdfdir=DIR pdf documentation [DOCDIR]
1521 --psdir=DIR ps documentation [DOCDIR]
1527 --program-prefix=PREFIX prepend PREFIX to installed program names
1528 --program-suffix=SUFFIX append SUFFIX to installed program names
1529 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1532 --build=BUILD configure for building on BUILD [guessed]
1533 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1537 if test -n "$ac_init_help"; then
1538 case $ac_init_help in
1539 short | recursive ) echo "Configuration of glabels 3.4.0:";;
1544 --disable-option-checking ignore unrecognized --enable/--with options
1545 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1546 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1547 --enable-silent-rules less verbose build output (undo: "make V=1")
1548 --disable-silent-rules verbose build output (undo: "make V=0")
1549 --enable-maintainer-mode
1550 enable make rules and dependencies not useful (and
1551 sometimes confusing) to the casual installer
1552 --disable-nls do not use Native Language Support
1553 --enable-shared[=PKGS] build shared libraries [default=yes]
1554 --enable-static[=PKGS] build static libraries [default=yes]
1555 --enable-fast-install[=PKGS]
1556 optimize for fast installation [default=yes]
1557 --enable-dependency-tracking
1558 do not reject slow dependency extractors
1559 --disable-dependency-tracking
1560 speeds up one-time build
1561 --disable-libtool-lock avoid locking (might break parallel builds)
1562 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1563 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1564 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1565 --disable-schemas-compile
1566 Disable regeneration of gschemas.compiled on install
1567 --enable-compile-warnings=[no/minimum/yes/maximum/error]
1568 Turn on compiler warnings
1569 --enable-iso-c Try to warn if code is not ISO C
1570 --enable-deprecations warn about deprecated usages [default=no]
1573 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1574 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1575 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1577 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1578 --with-sysroot=DIR Search for dependent libraries within DIR
1579 (or the compiler's sysroot if not specified).
1580 --with-help-dir=DIR path where help files are installed
1581 --with-html-dir=PATH path to installed docs
1582 --without-libebook build without Evolution Data Server support
1583 --without-libbarcode build without GNU Barcode support
1584 --without-libzint build without Zint Barcode support
1585 --without-libqrencode build without QR code support
1586 --without-libiec16022 build without IEC 16022 support
1588 Some influential environment variables:
1589 PKG_CONFIG path to pkg-config utility
1591 directories to add to pkg-config's search path
1593 path overriding pkg-config's built-in search path
1594 CC C compiler command
1595 CFLAGS C compiler flags
1596 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1597 nonstandard directory <lib dir>
1598 LIBS libraries to pass to the linker, e.g. -l<library>
1599 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1600 you have headers in a nonstandard directory <include dir>
1602 ITSTOOL Path to the `itstool` command
1603 XMLLINT Path to the `xmllint` command
1605 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1607 linker flags for GTKDOC_DEPS, overriding pkg-config
1609 C compiler flags for GLABELS, overriding pkg-config
1611 linker flags for GLABELS, overriding pkg-config
1613 C compiler flags for LIBGLABELS, overriding pkg-config
1615 linker flags for LIBGLABELS, overriding pkg-config
1617 C compiler flags for LIBGLBARCODE, overriding pkg-config
1619 linker flags for LIBGLBARCODE, overriding pkg-config
1621 C compiler flags for LIBEBOOK, overriding pkg-config
1623 linker flags for LIBEBOOK, overriding pkg-config
1625 C compiler flags for LIBQRENCODE, overriding pkg-config
1627 linker flags for LIBQRENCODE, overriding pkg-config
1629 C compiler flags for LIBIEC16022, overriding pkg-config
1631 linker flags for LIBIEC16022, overriding pkg-config
1633 Use these variables to override the choices made by `configure' or to help
1634 it to find libraries and programs with nonstandard names/locations.
1636 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
1641 if test "$ac_init_help" = "recursive"; then
1642 # If there are subdirs, report their specific --help.
1643 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1644 test -d "$ac_dir" ||
1645 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1650 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1652 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1653 # A ".." for each directory in $ac_dir_suffix.
1654 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1655 case $ac_top_builddir_sub in
1656 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1657 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1660 ac_abs_top_builddir=$ac_pwd
1661 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1662 # for backward compatibility:
1663 ac_top_builddir=$ac_top_build_prefix
1666 .) # We are building in place.
1668 ac_top_srcdir=$ac_top_builddir_sub
1669 ac_abs_top_srcdir=$ac_pwd ;;
1670 [\\/]* | ?:[\\/]* ) # Absolute name.
1671 ac_srcdir=$srcdir$ac_dir_suffix;
1672 ac_top_srcdir=$srcdir
1673 ac_abs_top_srcdir=$srcdir ;;
1675 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1676 ac_top_srcdir=$ac_top_build_prefix$srcdir
1677 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1679 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1681 cd "$ac_dir" || { ac_status=$?; continue; }
1682 # Check for guested configure.
1683 if test -f "$ac_srcdir/configure.gnu"; then
1685 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1686 elif test -f "$ac_srcdir/configure"; then
1688 $SHELL "$ac_srcdir/configure" --help=recursive
1690 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692 cd "$ac_pwd" || { ac_status=$?; break; }
1696 test -n "$ac_init_help" && exit $ac_status
1697 if $ac_init_version; then
1699 glabels configure 3.4.0
1700 generated by GNU Autoconf 2.69
1702 Copyright (C) 2012 Free Software Foundation, Inc.
1703 This configure script is free software; the Free Software Foundation
1704 gives unlimited permission to copy, distribute and modify it.
1709 ## ------------------------ ##
1710 ## Autoconf initialization. ##
1711 ## ------------------------ ##
1713 # ac_fn_c_try_compile LINENO
1714 # --------------------------
1715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_c_try_compile ()
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 rm -f conftest.$ac_objext
1720 if { { ac_try="$ac_compile"
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_compile") 2>conftest.err
1729 if test -s conftest.err; then
1730 grep -v '^ *+' conftest.err >conftest.er1
1731 cat conftest.er1 >&5
1732 mv -f conftest.er1 conftest.err
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && {
1736 test -z "$ac_c_werror_flag" ||
1737 test ! -s conftest.err
1738 } && test -s conftest.$ac_objext; then :
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 as_fn_set_status $ac_retval
1749 } # ac_fn_c_try_compile
1751 # ac_fn_c_try_link LINENO
1752 # -----------------------
1753 # Try to link conftest.$ac_ext, and return whether this succeeded.
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 rm -f conftest.$ac_objext conftest$ac_exeext
1758 if { { ac_try="$ac_link"
1760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1761 *) ac_try_echo=$ac_try;;
1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764 $as_echo "$ac_try_echo"; } >&5
1765 (eval "$ac_link") 2>conftest.err
1767 if test -s conftest.err; then
1768 grep -v '^ *+' conftest.err >conftest.er1
1769 cat conftest.er1 >&5
1770 mv -f conftest.er1 conftest.err
1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773 test $ac_status = 0; } && {
1774 test -z "$ac_c_werror_flag" ||
1775 test ! -s conftest.err
1776 } && test -s conftest$ac_exeext && {
1777 test "$cross_compiling" = yes ||
1778 test -x conftest$ac_exeext
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1787 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1788 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1789 # interfere with the next link command; also delete a directory that is
1790 # left behind by Apple's compiler. We do this before executing the actions.
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status $ac_retval
1795 } # ac_fn_c_try_link
1797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1798 # -------------------------------------------------------
1799 # Tests whether HEADER exists and can be compiled using the include files in
1800 # INCLUDES, setting the cache variable VAR accordingly.
1801 ac_fn_c_check_header_compile ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807 $as_echo_n "(cached) " >&6
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1814 if ac_fn_c_try_compile "$LINENO"; then :
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 } # ac_fn_c_check_header_compile
1828 # ac_fn_c_try_cpp LINENO
1829 # ----------------------
1830 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 if { { ac_try="$ac_cpp conftest.$ac_ext"
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } > conftest.i && {
1850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861 as_fn_set_status $ac_retval
1865 # ac_fn_c_try_run LINENO
1866 # ----------------------
1867 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1868 # that executables *can* be run.
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 if { { ac_try="$ac_link"
1874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1875 *) ac_try_echo=$ac_try;;
1877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878 $as_echo "$ac_try_echo"; } >&5
1879 (eval "$ac_link") 2>&5
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1883 { { case "(($ac_try" in
1884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885 *) ac_try_echo=$ac_try;;
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889 (eval "$ac_try") 2>&5
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; }; }; then :
1895 $as_echo "$as_me: program exited with status $ac_status" >&5
1896 $as_echo "$as_me: failed program was:" >&5
1897 sed 's/^/| /' conftest.$ac_ext >&5
1899 ac_retval=$ac_status
1901 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1903 as_fn_set_status $ac_retval
1907 # ac_fn_c_check_func LINENO FUNC VAR
1908 # ----------------------------------
1909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1910 ac_fn_c_check_func ()
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if eval \${$3+:} false; then :
1916 $as_echo_n "(cached) " >&6
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1922 #define $2 innocuous_$2
1924 /* System header to define __stub macros and hopefully few prototypes,
1925 which can conflict with char $2 (); below.
1926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1927 <limits.h> exists even on freestanding compilers. */
1930 # include <limits.h>
1932 # include <assert.h>
1937 /* Override any GCC internal prototype to avoid an error.
1938 Use char because int might match the return type of a GCC
1939 builtin and then its argument prototype would still apply. */
1944 /* The GNU C library defines this for functions which it implements
1945 to always fail with ENOSYS. Some functions are actually named
1946 something starting with __ and the normal name is an alias. */
1947 #if defined __stub_$2 || defined __stub___$2
1959 if ac_fn_c_try_link "$LINENO"; then :
1964 rm -f core conftest.err conftest.$ac_objext \
1965 conftest$ac_exeext conftest.$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 } # ac_fn_c_check_func
1974 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1975 # -------------------------------------------------------
1976 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1977 # the include files in INCLUDES and setting the cache variable VAR
1979 ac_fn_c_check_header_mongrel ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 if eval \${$3+:} false; then :
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1984 $as_echo_n "checking for $2... " >&6; }
1985 if eval \${$3+:} false; then :
1986 $as_echo_n "(cached) " >&6
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990 $as_echo "$ac_res" >&6; }
1992 # Is the header compilable?
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1994 $as_echo_n "checking $2 usability... " >&6; }
1995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h. */
2000 if ac_fn_c_try_compile "$LINENO"; then :
2001 ac_header_compiler=yes
2003 ac_header_compiler=no
2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2007 $as_echo "$ac_header_compiler" >&6; }
2009 # Is the header present?
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2011 $as_echo_n "checking $2 presence... " >&6; }
2012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2016 if ac_fn_c_try_cpp "$LINENO"; then :
2017 ac_header_preproc=yes
2019 ac_header_preproc=no
2021 rm -f conftest.err conftest.i conftest.$ac_ext
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2023 $as_echo "$ac_header_preproc" >&6; }
2025 # So? What about this header?
2026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2029 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2031 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2035 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2037 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2039 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2041 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2043 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2044 ( $as_echo "## ---------------------------------------------------------------------- ##
2045 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glabels ##
2046 ## ---------------------------------------------------------------------- ##"
2047 ) | sed "s/^/$as_me: WARNING: /" >&2
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2051 $as_echo_n "checking for $2... " >&6; }
2052 if eval \${$3+:} false; then :
2053 $as_echo_n "(cached) " >&6
2055 eval "$3=\$ac_header_compiler"
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059 $as_echo "$ac_res" >&6; }
2061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2063 } # ac_fn_c_check_header_mongrel
2064 cat >config.log <<_ACEOF
2065 This file contains any messages produced by compilers while
2066 running configure, to aid debugging if configure makes a mistake.
2068 It was created by glabels $as_me 3.4.0, which was
2069 generated by GNU Autoconf 2.69. Invocation command line was
2081 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2082 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2083 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2084 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2085 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2087 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2088 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2090 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2091 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2092 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2093 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2094 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2095 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2096 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2104 test -z "$as_dir" && as_dir=.
2105 $as_echo "PATH: $as_dir"
2121 # Keep a trace of the command line.
2122 # Strip out --no-create and --no-recursion so they do not pile up.
2123 # Strip out --silent because we don't want to record it for future runs.
2124 # Also quote any args containing shell meta-characters.
2125 # Make two passes to allow for proper duplicate-argument suppression.
2129 ac_must_keep_next=false
2135 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2136 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2137 | -silent | --silent | --silen | --sile | --sil)
2140 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2143 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2145 as_fn_append ac_configure_args1 " '$ac_arg'"
2146 if test $ac_must_keep_next = true; then
2147 ac_must_keep_next=false # Got value, back to normal.
2150 *=* | --config-cache | -C | -disable-* | --disable-* \
2151 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2152 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2153 | -with-* | --with-* | -without-* | --without-* | --x)
2154 case "$ac_configure_args0 " in
2155 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2158 -* ) ac_must_keep_next=true ;;
2161 as_fn_append ac_configure_args " '$ac_arg'"
2166 { ac_configure_args0=; unset ac_configure_args0;}
2167 { ac_configure_args1=; unset ac_configure_args1;}
2169 # When interrupted or exit'd, cleanup temporary files, and complete
2170 # config.log. We remove comments because anyway the quotes in there
2171 # would cause problems or look ugly.
2172 # WARNING: Use '\'' to represent an apostrophe within the trap.
2173 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2174 trap 'exit_status=$?
2175 # Save into config.log some information that might help in debugging.
2179 $as_echo "## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##"
2183 # The following way of writing the cache mishandles newlines in values,
2185 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2186 eval ac_val=\$$ac_var
2190 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2191 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2194 _ | IFS | as_nl) ;; #(
2195 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2196 *) { eval $ac_var=; unset $ac_var;} ;;
2201 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2202 *${as_nl}ac_space=\ *)
2204 "s/'\''/'\''\\\\'\'''\''/g;
2205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2215 $as_echo "## ----------------- ##
2216 ## Output variables. ##
2217 ## ----------------- ##"
2219 for ac_var in $ac_subst_vars
2221 eval ac_val=\$$ac_var
2223 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2225 $as_echo "$ac_var='\''$ac_val'\''"
2229 if test -n "$ac_subst_files"; then
2230 $as_echo "## ------------------- ##
2231 ## File substitutions. ##
2232 ## ------------------- ##"
2234 for ac_var in $ac_subst_files
2236 eval ac_val=\$$ac_var
2238 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2240 $as_echo "$ac_var='\''$ac_val'\''"
2245 if test -s confdefs.h; then
2246 $as_echo "## ----------- ##
2253 test "$ac_signal" != 0 &&
2254 $as_echo "$as_me: caught signal $ac_signal"
2255 $as_echo "$as_me: exit $exit_status"
2257 rm -f core *.core core.conftest.* &&
2258 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2261 for ac_signal in 1 2 13 15; do
2262 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2266 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2267 rm -f -r conftest* confdefs.h
2269 $as_echo "/* confdefs.h */" > confdefs.h
2271 # Predefined preprocessor variables.
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_NAME "$PACKAGE_NAME"
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_STRING "$PACKAGE_STRING"
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2293 cat >>confdefs.h <<_ACEOF
2294 #define PACKAGE_URL "$PACKAGE_URL"
2298 # Let the site file select an alternate cache file if it wants to.
2299 # Prefer an explicitly selected file to automatically selected ones.
2302 if test -n "$CONFIG_SITE"; then
2303 # We do not want a PATH search for config.site.
2304 case $CONFIG_SITE in #((
2305 -*) ac_site_file1=./$CONFIG_SITE;;
2306 */*) ac_site_file1=$CONFIG_SITE;;
2307 *) ac_site_file1=./$CONFIG_SITE;;
2309 elif test "x$prefix" != xNONE; then
2310 ac_site_file1=$prefix/share/config.site
2311 ac_site_file2=$prefix/etc/config.site
2313 ac_site_file1=$ac_default_prefix/share/config.site
2314 ac_site_file2=$ac_default_prefix/etc/config.site
2316 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2318 test "x$ac_site_file" = xNONE && continue
2319 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2321 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2322 sed 's/^/| /' "$ac_site_file" >&5
2324 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2326 as_fn_error $? "failed to load site script $ac_site_file
2327 See \`config.log' for more details" "$LINENO" 5; }
2331 if test -r "$cache_file"; then
2332 # Some versions of bash will fail to source /dev/null (special files
2333 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2334 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2336 $as_echo "$as_me: loading cache $cache_file" >&6;}
2338 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2339 *) . "./$cache_file";;
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2344 $as_echo "$as_me: creating cache $cache_file" >&6;}
2348 # Check that the precious variables saved in the cache have kept the same
2350 ac_cache_corrupted=false
2351 for ac_var in $ac_precious_vars; do
2352 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2353 eval ac_new_set=\$ac_env_${ac_var}_set
2354 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2355 eval ac_new_val=\$ac_env_${ac_var}_value
2356 case $ac_old_set,$ac_new_set in
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2359 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2360 ac_cache_corrupted=: ;;
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2363 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2364 ac_cache_corrupted=: ;;
2367 if test "x$ac_old_val" != "x$ac_new_val"; then
2368 # differences in whitespace do not lead to failure.
2369 ac_old_val_w=`echo x $ac_old_val`
2370 ac_new_val_w=`echo x $ac_new_val`
2371 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2373 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2374 ac_cache_corrupted=:
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2377 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2378 eval $ac_var=\$ac_old_val
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2381 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2383 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2386 # Pass precious variables to config.status.
2387 if test "$ac_new_set" = set; then
2389 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2390 *) ac_arg=$ac_var=$ac_new_val ;;
2392 case " $ac_configure_args " in
2393 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2394 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2398 if $ac_cache_corrupted; then
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2402 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2403 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2405 ## -------------------- ##
2406 ## Main body of script. ##
2407 ## -------------------- ##
2410 ac_cpp='$CPP $CPPFLAGS'
2411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2419 am__api_version='1.15'
2422 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2423 if test -f "$ac_dir/install-sh"; then
2425 ac_install_sh="$ac_aux_dir/install-sh -c"
2427 elif test -f "$ac_dir/install.sh"; then
2429 ac_install_sh="$ac_aux_dir/install.sh -c"
2431 elif test -f "$ac_dir/shtool"; then
2433 ac_install_sh="$ac_aux_dir/shtool install -c"
2437 if test -z "$ac_aux_dir"; then
2438 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2441 # These three variables are undocumented and unsupported,
2442 # and are intended to be withdrawn in a future Autoconf release.
2443 # They can cause serious problems if a builder's source tree is in a directory
2444 # whose full name contains unusual characters.
2445 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2446 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2447 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2450 # Find a good install program. We prefer a C program (faster),
2451 # so one script is as good as another. But avoid the broken or
2452 # incompatible versions:
2453 # SysV /etc/install, /usr/sbin/install
2454 # SunOS /usr/etc/install
2455 # IRIX /sbin/install
2457 # AmigaOS /C/install, which installs bootblocks on floppy discs
2458 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2459 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2460 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2461 # OS/2's system install, which has a completely different semantic
2462 # ./install, which can be erroneously created by make from ./install.sh.
2463 # Reject install programs that cannot install multiple files.
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2465 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2466 if test -z "$INSTALL"; then
2467 if ${ac_cv_path_install+:} false; then :
2468 $as_echo_n "(cached) " >&6
2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir=.
2475 # Account for people who put trailing slashes in PATH elements.
2476 case $as_dir/ in #((
2477 ./ | .// | /[cC]/* | \
2478 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2479 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2482 # OSF1 and SCO ODT 3.0 have their own names for install.
2483 # Don't use installbsd from OSF since it installs stuff as root
2485 for ac_prog in ginstall scoinst install; do
2486 for ac_exec_ext in '' $ac_executable_extensions; do
2487 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2488 if test $ac_prog = install &&
2489 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2490 # AIX install. It has an incompatible calling convention.
2492 elif test $ac_prog = install &&
2493 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2494 # program-specific install script used by HP pwplus--don't use.
2497 rm -rf conftest.one conftest.two conftest.dir
2498 echo one > conftest.one
2499 echo two > conftest.two
2501 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2502 test -s conftest.one && test -s conftest.two &&
2503 test -s conftest.dir/conftest.one &&
2504 test -s conftest.dir/conftest.two
2506 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2519 rm -rf conftest.one conftest.two conftest.dir
2522 if test "${ac_cv_path_install+set}" = set; then
2523 INSTALL=$ac_cv_path_install
2525 # As a last resort, use the slow shell script. Don't cache a
2526 # value for INSTALL within a source directory, because that will
2527 # break other packages using the cache if that directory is
2528 # removed, or if the value is a relative name.
2529 INSTALL=$ac_install_sh
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2533 $as_echo "$INSTALL" >&6; }
2535 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2536 # It thinks the first close brace ends the variable substitution.
2537 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2539 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2541 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2544 $as_echo_n "checking whether build environment is sane... " >&6; }
2545 # Reject unsafe characters in $srcdir or the absolute working directory
2546 # name. Accept space and tab only in the latter.
2550 *[\\\"\#\$\&\'\`$am_lf]*)
2551 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2554 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2555 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2558 # Do 'set' in a subshell so we don't clobber the current shell's
2559 # arguments. Must try -L first in case configure is actually a
2560 # symlink; some systems play weird games with the mod time of symlinks
2561 # (eg FreeBSD returns the mod time of the symlink's containing
2565 for am_try in 1 2; do
2566 echo "timestamp, slept: $am_has_slept" > conftest.file
2567 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2568 if test "$*" = "X"; then
2570 set X `ls -t "$srcdir/configure" conftest.file`
2572 if test "$*" != "X $srcdir/configure conftest.file" \
2573 && test "$*" != "X conftest.file $srcdir/configure"; then
2575 # If neither matched, then we have a broken ls. This can happen
2576 # if, for instance, CONFIG_SHELL is bash and it inherits a
2577 # broken ls alias from the environment. This has actually
2578 # happened. Such a system could not be considered "sane".
2579 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2580 alias in your environment" "$LINENO" 5
2582 if test "$2" = conftest.file || test $am_try -eq 2; then
2589 test "$2" = conftest.file
2595 as_fn_error $? "newly created file is older than distributed files!
2596 Check your system clock" "$LINENO" 5
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2599 $as_echo "yes" >&6; }
2600 # If we didn't sleep, we still need to ensure time stamps of config.status and
2601 # generated files are strictly newer.
2603 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2610 test "$program_prefix" != NONE &&
2611 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2612 # Use a double $ so make ignores it.
2613 test "$program_suffix" != NONE &&
2614 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2615 # Double any \ or $.
2616 # By default was `s,x,x', remove it if useless.
2617 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2618 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2620 # Expand $ac_aux_dir to an absolute path.
2621 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2623 if test x"${MISSING+set}" != xset; then
2626 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2628 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2631 # Use eval to expand $SHELL
2632 if eval "$MISSING --is-lightweight"; then
2633 am_missing_run="$MISSING "
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2637 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2640 if test x"${install_sh+set}" != xset; then
2643 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2645 install_sh="\${SHELL} $am_aux_dir/install-sh"
2649 # Installed binaries are usually stripped using 'strip' when the user
2650 # run "make install-strip". However 'strip' might not be the right
2651 # tool to use in cross-compilation environments, therefore Automake
2652 # will honor the 'STRIP' environment variable to overrule this program.
2653 if test "$cross_compiling" != no; then
2654 if test -n "$ac_tool_prefix"; then
2655 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2656 set dummy ${ac_tool_prefix}strip; ac_word=$2
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2658 $as_echo_n "checking for $ac_word... " >&6; }
2659 if ${ac_cv_prog_STRIP+:} false; then :
2660 $as_echo_n "(cached) " >&6
2662 if test -n "$STRIP"; then
2663 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir=.
2670 for ac_exec_ext in '' $ac_executable_extensions; do
2671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2672 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2682 STRIP=$ac_cv_prog_STRIP
2683 if test -n "$STRIP"; then
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2685 $as_echo "$STRIP" >&6; }
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688 $as_echo "no" >&6; }
2693 if test -z "$ac_cv_prog_STRIP"; then
2695 # Extract the first word of "strip", so it can be a program name with args.
2696 set dummy strip; ac_word=$2
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; }
2699 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2700 $as_echo_n "(cached) " >&6
2702 if test -n "$ac_ct_STRIP"; then
2703 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir=.
2710 for ac_exec_ext in '' $ac_executable_extensions; do
2711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2712 ac_cv_prog_ac_ct_STRIP="strip"
2713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2723 if test -n "$ac_ct_STRIP"; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2725 $as_echo "$ac_ct_STRIP" >&6; }
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728 $as_echo "no" >&6; }
2731 if test "x$ac_ct_STRIP" = x; then
2734 case $cross_compiling:$ac_tool_warned in
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2738 ac_tool_warned=yes ;;
2743 STRIP="$ac_cv_prog_STRIP"
2747 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2750 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2751 if test -z "$MKDIR_P"; then
2752 if ${ac_cv_path_mkdir+:} false; then :
2753 $as_echo_n "(cached) " >&6
2755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2759 test -z "$as_dir" && as_dir=.
2760 for ac_prog in mkdir gmkdir; do
2761 for ac_exec_ext in '' $ac_executable_extensions; do
2762 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2763 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2764 'mkdir (GNU coreutils) '* | \
2765 'mkdir (coreutils) '* | \
2766 'mkdir (fileutils) '4.1*)
2767 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2777 test -d ./--version && rmdir ./--version
2778 if test "${ac_cv_path_mkdir+set}" = set; then
2779 MKDIR_P="$ac_cv_path_mkdir -p"
2781 # As a last resort, use the slow shell script. Don't cache a
2782 # value for MKDIR_P within a source directory, because that will
2783 # break other packages using the cache if that directory is
2784 # removed, or if the value is a relative name.
2785 MKDIR_P="$ac_install_sh -d"
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2789 $as_echo "$MKDIR_P" >&6; }
2791 for ac_prog in gawk mawk nawk awk
2793 # Extract the first word of "$ac_prog", so it can be a program name with args.
2794 set dummy $ac_prog; ac_word=$2
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2796 $as_echo_n "checking for $ac_word... " >&6; }
2797 if ${ac_cv_prog_AWK+:} false; then :
2798 $as_echo_n "(cached) " >&6
2800 if test -n "$AWK"; then
2801 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807 test -z "$as_dir" && as_dir=.
2808 for ac_exec_ext in '' $ac_executable_extensions; do
2809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2810 ac_cv_prog_AWK="$ac_prog"
2811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 if test -n "$AWK"; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2823 $as_echo "$AWK" >&6; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 $as_echo "no" >&6; }
2830 test -n "$AWK" && break
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2834 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2836 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2837 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2838 $as_echo_n "(cached) " >&6
2840 cat >conftest.make <<\_ACEOF
2843 @echo '@@@%%%=$(MAKE)=@@@%%%'
2845 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2846 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2848 eval ac_cv_prog_make_${ac_make}_set=yes;;
2850 eval ac_cv_prog_make_${ac_make}_set=no;;
2854 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2856 $as_echo "yes" >&6; }
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860 $as_echo "no" >&6; }
2861 SET_MAKE="MAKE=${MAKE-make}"
2864 rm -rf .tst 2>/dev/null
2865 mkdir .tst 2>/dev/null
2866 if test -d .tst; then
2871 rmdir .tst 2>/dev/null
2873 # Check whether --enable-silent-rules was given.
2874 if test "${enable_silent_rules+set}" = set; then :
2875 enableval=$enable_silent_rules;
2878 case $enable_silent_rules in # (((
2879 yes) AM_DEFAULT_VERBOSITY=0;;
2880 no) AM_DEFAULT_VERBOSITY=1;;
2881 *) AM_DEFAULT_VERBOSITY=1;;
2883 am_make=${MAKE-make}
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2885 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2886 if ${am_cv_make_support_nested_variables+:} false; then :
2887 $as_echo_n "(cached) " >&6
2889 if $as_echo 'TRUE=$(BAR$(V))
2895 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2896 am_cv_make_support_nested_variables=yes
2898 am_cv_make_support_nested_variables=no
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2902 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2903 if test $am_cv_make_support_nested_variables = yes; then
2905 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2907 AM_V=$AM_DEFAULT_VERBOSITY
2908 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2912 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2913 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2914 # is not polluted with repeated "-I."
2915 am__isrc=' -I$(srcdir)'
2916 # test to see if srcdir already configured
2917 if test -f $srcdir/config.status; then
2918 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2922 # test whether we have cygpath
2923 if test -z "$CYGPATH_W"; then
2924 if (cygpath --version) >/dev/null 2>/dev/null; then
2925 CYGPATH_W='cygpath -w'
2932 # Define the identity of the package.
2938 cat >>confdefs.h <<_ACEOF
2939 #define PACKAGE "$PACKAGE"
2943 cat >>confdefs.h <<_ACEOF
2944 #define VERSION "$VERSION"
2947 # Some tools Automake needs.
2949 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2952 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2955 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2958 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2961 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2963 # For better backward compatibility. To be removed once Automake 1.9.x
2964 # dies out for good. For more background, see:
2965 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2966 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2967 mkdir_p='$(MKDIR_P)'
2969 # We need awk for the "check" target (and possibly the TAP driver). The
2970 # system "awk" is bad on some platforms.
2971 # Always define AMTAR for backward compatibility. Yes, it's still used
2972 # in the wild :-( We should find a proper way to deprecate it ...
2976 # We'll loop over all known methods to create a tar archive until one works.
2977 _am_tools='gnutar pax cpio none'
2979 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2986 # POSIX will say in a future version that running "rm -f" with no argument
2987 # is OK; and we want to be able to make that assumption in our Makefile
2988 # recipes. So use an aggressive probe to check that the usage we want is
2989 # actually supported "in the wild" to an acceptable degree.
2990 # See automake bug#10828.
2991 # To make any issue more visible, cause the running configure to be aborted
2992 # by default if the 'rm' program in use doesn't match our expectations; the
2993 # user can still override this though.
2994 if rm -f && rm -fr && rm -rf; then : OK; else
2998 Your 'rm' program seems unable to run without file operands specified
2999 on the command line, even when the '-f' option is present. This is contrary
3000 to the behaviour of most rm programs out there, and not conforming with
3001 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3003 Please tell bug-automake@gnu.org about your system, including the value
3004 of your $PATH and any error possibly output before this message. This
3005 can help us improve future automake versions.
3008 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3009 echo 'Configuration will proceed anyway, since you have set the' >&2
3010 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3014 Aborting the configuration process, to ensure you take notice of the issue.
3016 You can download and install GNU coreutils to get an 'rm' implementation
3017 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3019 If you want to complete the configuration process using your problematic
3020 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3021 to "yes", and re-run configure.
3024 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3031 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3032 # Check whether --enable-maintainer-mode was given.
3033 if test "${enable_maintainer_mode+set}" = set; then :
3034 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3036 USE_MAINTAINER_MODE=no
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3040 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3041 if test $USE_MAINTAINER_MODE = yes; then
3042 MAINTAINER_MODE_TRUE=
3043 MAINTAINER_MODE_FALSE='#'
3045 MAINTAINER_MODE_TRUE='#'
3046 MAINTAINER_MODE_FALSE=
3049 MAINT=$MAINTAINER_MODE_TRUE
3052 # Check whether --enable-silent-rules was given.
3053 if test "${enable_silent_rules+set}" = set; then :
3054 enableval=$enable_silent_rules;
3057 case $enable_silent_rules in # (((
3058 yes) AM_DEFAULT_VERBOSITY=0;;
3059 no) AM_DEFAULT_VERBOSITY=1;;
3060 *) AM_DEFAULT_VERBOSITY=0;;
3062 am_make=${MAKE-make}
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3064 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3065 if ${am_cv_make_support_nested_variables+:} false; then :
3066 $as_echo_n "(cached) " >&6
3068 if $as_echo 'TRUE=$(BAR$(V))
3074 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3075 am_cv_make_support_nested_variables=yes
3077 am_cv_make_support_nested_variables=no
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3081 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3082 if test $am_cv_make_support_nested_variables = yes; then
3084 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3086 AM_V=$AM_DEFAULT_VERBOSITY
3087 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3092 ac_config_headers="$ac_config_headers config.h"
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3097 $as_echo_n "checking whether NLS is requested... " >&6; }
3098 # Check whether --enable-nls was given.
3099 if test "${enable_nls+set}" = set; then :
3100 enableval=$enable_nls; USE_NLS=$enableval
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3106 $as_echo "$USE_NLS" >&6; }
3111 case "$am__api_version" in
3113 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3119 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3120 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3121 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3122 if test -n "0.21"; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5
3124 $as_echo_n "checking for intltool >= 0.21... " >&6; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3126 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3127 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3128 as_fn_error $? "Your intltool is too old. You need intltool 0.21 or later." "$LINENO" 5
3131 # Extract the first word of "intltool-update", so it can be a program name with args.
3132 set dummy intltool-update; ac_word=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3136 $as_echo_n "(cached) " >&6
3138 case $INTLTOOL_UPDATE in
3140 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir=.
3148 for ac_exec_ext in '' $ac_executable_extensions; do
3149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3162 if test -n "$INTLTOOL_UPDATE"; then
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3164 $as_echo "$INTLTOOL_UPDATE" >&6; }
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3171 # Extract the first word of "intltool-merge", so it can be a program name with args.
3172 set dummy intltool-merge; ac_word=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
3176 $as_echo_n "(cached) " >&6
3178 case $INTLTOOL_MERGE in
3180 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir=.
3188 for ac_exec_ext in '' $ac_executable_extensions; do
3189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3202 if test -n "$INTLTOOL_MERGE"; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3204 $as_echo "$INTLTOOL_MERGE" >&6; }
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207 $as_echo "no" >&6; }
3211 # Extract the first word of "intltool-extract", so it can be a program name with args.
3212 set dummy intltool-extract; ac_word=$2
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214 $as_echo_n "checking for $ac_word... " >&6; }
3215 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
3216 $as_echo_n "(cached) " >&6
3218 case $INTLTOOL_EXTRACT in
3220 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir=.
3228 for ac_exec_ext in '' $ac_executable_extensions; do
3229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3230 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3242 if test -n "$INTLTOOL_EXTRACT"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
3244 $as_echo "$INTLTOOL_EXTRACT" >&6; }
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3251 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
3252 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
3255 if test -z "$AM_DEFAULT_VERBOSITY"; then
3256 AM_DEFAULT_VERBOSITY=1
3260 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
3261 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
3262 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
3267 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
3268 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
3269 intltool__v_merge_options_0='-q'
3274 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 $< $@'
3275 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 $< $@'
3276 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 $< $@'
3277 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 $< $@'
3278 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 $< $@'
3279 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 $< $@'
3280 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 $< $@'
3281 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 $< $@'
3282 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 $< $@'
3283 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 $< $@'
3284 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 $< $@'
3285 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
3286 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 $< $@'
3288 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'
3290 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 $< $@'
3291 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 $< $@'
3292 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 $< $@'
3293 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 $< $@'
3294 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 $< $@'
3295 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 $< $@'
3296 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 $< $@'
3394 # Check the gettext tools to make sure they are GNU
3395 # Extract the first word of "xgettext", so it can be a program name with args.
3396 set dummy xgettext; ac_word=$2
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3398 $as_echo_n "checking for $ac_word... " >&6; }
3399 if ${ac_cv_path_XGETTEXT+:} false; then :
3400 $as_echo_n "(cached) " >&6
3404 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411 test -z "$as_dir" && as_dir=.
3412 for ac_exec_ext in '' $ac_executable_extensions; do
3413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3414 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3425 XGETTEXT=$ac_cv_path_XGETTEXT
3426 if test -n "$XGETTEXT"; then
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3428 $as_echo "$XGETTEXT" >&6; }
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3435 # Extract the first word of "msgmerge", so it can be a program name with args.
3436 set dummy msgmerge; ac_word=$2
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3438 $as_echo_n "checking for $ac_word... " >&6; }
3439 if ${ac_cv_path_MSGMERGE+:} false; then :
3440 $as_echo_n "(cached) " >&6
3444 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3451 test -z "$as_dir" && as_dir=.
3452 for ac_exec_ext in '' $ac_executable_extensions; do
3453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3465 MSGMERGE=$ac_cv_path_MSGMERGE
3466 if test -n "$MSGMERGE"; then
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3468 $as_echo "$MSGMERGE" >&6; }
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3471 $as_echo "no" >&6; }
3475 # Extract the first word of "msgfmt", so it can be a program name with args.
3476 set dummy msgfmt; ac_word=$2
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478 $as_echo_n "checking for $ac_word... " >&6; }
3479 if ${ac_cv_path_MSGFMT+:} false; then :
3480 $as_echo_n "(cached) " >&6
3484 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3491 test -z "$as_dir" && as_dir=.
3492 for ac_exec_ext in '' $ac_executable_extensions; do
3493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3494 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3505 MSGFMT=$ac_cv_path_MSGFMT
3506 if test -n "$MSGFMT"; then
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3508 $as_echo "$MSGFMT" >&6; }
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3511 $as_echo "no" >&6; }
3515 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3516 set dummy gmsgfmt; ac_word=$2
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3518 $as_echo_n "checking for $ac_word... " >&6; }
3519 if ${ac_cv_path_GMSGFMT+:} false; then :
3520 $as_echo_n "(cached) " >&6
3524 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3531 test -z "$as_dir" && as_dir=.
3532 for ac_exec_ext in '' $ac_executable_extensions; do
3533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3534 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3542 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3546 GMSGFMT=$ac_cv_path_GMSGFMT
3547 if test -n "$GMSGFMT"; then
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3549 $as_echo "$GMSGFMT" >&6; }
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3556 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
3557 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3559 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
3560 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
3561 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
3562 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
3563 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3566 # Extract the first word of "perl", so it can be a program name with args.
3567 set dummy perl; ac_word=$2
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3569 $as_echo_n "checking for $ac_word... " >&6; }
3570 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
3571 $as_echo_n "(cached) " >&6
3573 case $INTLTOOL_PERL in
3575 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3585 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3597 if test -n "$INTLTOOL_PERL"; then
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
3599 $as_echo "$INTLTOOL_PERL" >&6; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3606 if test -z "$INTLTOOL_PERL"; then
3607 as_fn_error $? "perl not found" "$LINENO" 5
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
3610 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
3611 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
3612 if test $? -ne 0; then
3613 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
3615 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
3617 $as_echo "$IT_PERL_VERSION" >&6; }
3619 if test "x" != "xno-xml"; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
3621 $as_echo_n "checking for XML::Parser... " >&6; }
3622 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
3624 $as_echo "ok" >&6; }
3626 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
3630 # Substitute ALL_LINGUAS so we can use it in po/Makefile
3644 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3645 if test -n "$ac_tool_prefix"; then
3646 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3647 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3651 $as_echo_n "(cached) " >&6
3655 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 test -z "$as_dir" && as_dir=.
3663 for ac_exec_ext in '' $ac_executable_extensions; do
3664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3665 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3677 if test -n "$PKG_CONFIG"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3679 $as_echo "$PKG_CONFIG" >&6; }
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3687 if test -z "$ac_cv_path_PKG_CONFIG"; then
3688 ac_pt_PKG_CONFIG=$PKG_CONFIG
3689 # Extract the first word of "pkg-config", so it can be a program name with args.
3690 set dummy pkg-config; ac_word=$2
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692 $as_echo_n "checking for $ac_word... " >&6; }
3693 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3694 $as_echo_n "(cached) " >&6
3696 case $ac_pt_PKG_CONFIG in
3698 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3708 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3719 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3720 if test -n "$ac_pt_PKG_CONFIG"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3722 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725 $as_echo "no" >&6; }
3728 if test "x$ac_pt_PKG_CONFIG" = x; then
3731 case $cross_compiling:$ac_tool_warned in
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3735 ac_tool_warned=yes ;;
3737 PKG_CONFIG=$ac_pt_PKG_CONFIG
3740 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3744 if test -n "$PKG_CONFIG"; then
3745 _pkg_min_version=0.9.0
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3747 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3748 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3750 $as_echo "yes" >&6; }
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3753 $as_echo "no" >&6; }
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3761 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3766 macro_version='2.4.2'
3767 macro_revision='1.3337'
3781 ltmain="$ac_aux_dir/ltmain.sh"
3783 # Make sure we can run config.sub.
3784 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3785 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3788 $as_echo_n "checking build system type... " >&6; }
3789 if ${ac_cv_build+:} false; then :
3790 $as_echo_n "(cached) " >&6
3792 ac_build_alias=$build_alias
3793 test "x$ac_build_alias" = x &&
3794 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3795 test "x$ac_build_alias" = x &&
3796 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3797 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3798 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3802 $as_echo "$ac_cv_build" >&6; }
3803 case $ac_cv_build in
3805 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3808 ac_save_IFS=$IFS; IFS='-'
3814 # Remember, the first character of IFS is used to create $*,
3815 # except with old shells:
3818 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3822 $as_echo_n "checking host system type... " >&6; }
3823 if ${ac_cv_host+:} false; then :
3824 $as_echo_n "(cached) " >&6
3826 if test "x$host_alias" = x; then
3827 ac_cv_host=$ac_cv_build
3829 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3830 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3835 $as_echo "$ac_cv_host" >&6; }
3838 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3841 ac_save_IFS=$IFS; IFS='-'
3847 # Remember, the first character of IFS is used to create $*,
3848 # except with old shells:
3851 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3854 # Backslashify metacharacters that are still active within
3855 # double-quoted strings.
3856 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3858 # Same as above, but do not quote variable references.
3859 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3861 # Sed substitution to delay expansion of an escaped shell variable in a
3862 # double_quote_subst'ed string.
3863 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3865 # Sed substitution to delay expansion of an escaped single quote.
3866 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3868 # Sed substitution to avoid accidental globbing in evaled expressions
3869 no_glob_subst='s/\*/\\\*/g'
3871 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3872 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3873 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3876 $as_echo_n "checking how to print strings... " >&6; }
3877 # Test print first, because it will be a builtin if present.
3878 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3879 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3881 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3884 # Use this function as a fallback that always works.
3885 func_fallback_echo ()
3887 eval 'cat <<_LTECHO_EOF
3891 ECHO='func_fallback_echo'
3894 # func_echo_all arg...
3895 # Invoke $ECHO with all args, space-separated.
3902 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3903 $as_echo "printf" >&6; } ;;
3904 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3905 $as_echo "print -r" >&6; } ;;
3906 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3907 $as_echo "cat" >&6; } ;;
3923 DEPDIR="${am__leading_dot}deps"
3925 ac_config_commands="$ac_config_commands depfiles"
3928 am_make=${MAKE-make}
3929 cat > confinc << 'END'
3931 @echo this is the am__doit target
3934 # If we don't find an include directive, just comment out the code.
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3936 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3940 # First try GNU make style include.
3941 echo "include confinc" > confmf
3942 # Ignore all kinds of additional output from 'make'.
3943 case `$am_make -s -f confmf 2> /dev/null` in #(
3944 *the\ am__doit\ target*)
3950 # Now try BSD make style include.
3951 if test "$am__include" = "#"; then
3952 echo '.include "confinc"' > confmf
3953 case `$am_make -s -f confmf 2> /dev/null` in #(
3954 *the\ am__doit\ target*)
3955 am__include=.include
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3964 $as_echo "$_am_result" >&6; }
3965 rm -f confinc confmf
3967 # Check whether --enable-dependency-tracking was given.
3968 if test "${enable_dependency_tracking+set}" = set; then :
3969 enableval=$enable_dependency_tracking;
3972 if test "x$enable_dependency_tracking" != xno; then
3973 am_depcomp="$ac_aux_dir/depcomp"
3977 if test "x$enable_dependency_tracking" != xno; then
3987 ac_cpp='$CPP $CPPFLAGS'
3988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3991 if test -n "$ac_tool_prefix"; then
3992 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3993 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if ${ac_cv_prog_CC+:} false; then :
3997 $as_echo_n "(cached) " >&6
3999 if test -n "$CC"; then
4000 ac_cv_prog_CC="$CC" # Let the user override the test.
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4006 test -z "$as_dir" && as_dir=.
4007 for ac_exec_ext in '' $ac_executable_extensions; do
4008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4009 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4020 if test -n "$CC"; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4022 $as_echo "$CC" >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4030 if test -z "$ac_cv_prog_CC"; then
4032 # Extract the first word of "gcc", so it can be a program name with args.
4033 set dummy gcc; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4037 $as_echo_n "(cached) " >&6
4039 if test -n "$ac_ct_CC"; then
4040 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4046 test -z "$as_dir" && as_dir=.
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049 ac_cv_prog_ac_ct_CC="gcc"
4050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4060 if test -n "$ac_ct_CC"; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4062 $as_echo "$ac_ct_CC" >&6; }
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4068 if test "x$ac_ct_CC" = x; then
4071 case $cross_compiling:$ac_tool_warned in
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4075 ac_tool_warned=yes ;;
4083 if test -z "$CC"; then
4084 if test -n "$ac_tool_prefix"; then
4085 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4086 set dummy ${ac_tool_prefix}cc; ac_word=$2
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4088 $as_echo_n "checking for $ac_word... " >&6; }
4089 if ${ac_cv_prog_CC+:} false; then :
4090 $as_echo_n "(cached) " >&6
4092 if test -n "$CC"; then
4093 ac_cv_prog_CC="$CC" # Let the user override the test.
4095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4099 test -z "$as_dir" && as_dir=.
4100 for ac_exec_ext in '' $ac_executable_extensions; do
4101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4102 ac_cv_prog_CC="${ac_tool_prefix}cc"
4103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4113 if test -n "$CC"; then
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4115 $as_echo "$CC" >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4124 if test -z "$CC"; then
4125 # Extract the first word of "cc", so it can be a program name with args.
4126 set dummy cc; ac_word=$2
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4128 $as_echo_n "checking for $ac_word... " >&6; }
4129 if ${ac_cv_prog_CC+:} false; then :
4130 $as_echo_n "(cached) " >&6
4132 if test -n "$CC"; then
4133 ac_cv_prog_CC="$CC" # Let the user override the test.
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4140 test -z "$as_dir" && as_dir=.
4141 for ac_exec_ext in '' $ac_executable_extensions; do
4142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4143 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4144 ac_prog_rejected=yes
4148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4155 if test $ac_prog_rejected = yes; then
4156 # We found a bogon in the path, so make sure we never use it.
4157 set dummy $ac_cv_prog_CC
4159 if test $# != 0; then
4160 # We chose a different compiler from the bogus one.
4161 # However, it has the same basename, so the bogon will be chosen
4162 # first if we set CC to just the basename; use the full file name.
4164 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4170 if test -n "$CC"; then
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4172 $as_echo "$CC" >&6; }
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4175 $as_echo "no" >&6; }
4180 if test -z "$CC"; then
4181 if test -n "$ac_tool_prefix"; then
4182 for ac_prog in cl.exe
4184 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4185 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4187 $as_echo_n "checking for $ac_word... " >&6; }
4188 if ${ac_cv_prog_CC+:} false; then :
4189 $as_echo_n "(cached) " >&6
4191 if test -n "$CC"; then
4192 ac_cv_prog_CC="$CC" # Let the user override the test.
4194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4198 test -z "$as_dir" && as_dir=.
4199 for ac_exec_ext in '' $ac_executable_extensions; do
4200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4201 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4212 if test -n "$CC"; then
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4214 $as_echo "$CC" >&6; }
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4217 $as_echo "no" >&6; }
4221 test -n "$CC" && break
4224 if test -z "$CC"; then
4226 for ac_prog in cl.exe
4228 # Extract the first word of "$ac_prog", so it can be a program name with args.
4229 set dummy $ac_prog; ac_word=$2
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4231 $as_echo_n "checking for $ac_word... " >&6; }
4232 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4233 $as_echo_n "(cached) " >&6
4235 if test -n "$ac_ct_CC"; then
4236 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242 test -z "$as_dir" && as_dir=.
4243 for ac_exec_ext in '' $ac_executable_extensions; do
4244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4245 ac_cv_prog_ac_ct_CC="$ac_prog"
4246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4255 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4256 if test -n "$ac_ct_CC"; then
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4258 $as_echo "$ac_ct_CC" >&6; }
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4265 test -n "$ac_ct_CC" && break
4268 if test "x$ac_ct_CC" = x; then
4271 case $cross_compiling:$ac_tool_warned in
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4275 ac_tool_warned=yes ;;
4284 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4286 as_fn_error $? "no acceptable C compiler found in \$PATH
4287 See \`config.log' for more details" "$LINENO" 5; }
4289 # Provide some information about the compiler.
4290 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4293 for ac_option in --version -v -V -qversion; do
4294 { { ac_try="$ac_compiler $ac_option >&5"
4296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4297 *) ac_try_echo=$ac_try;;
4299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4300 $as_echo "$ac_try_echo"; } >&5
4301 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4303 if test -s conftest.err; then
4305 ... rest of stderr output deleted ...
4306 10q' conftest.err >conftest.er1
4307 cat conftest.er1 >&5
4309 rm -f conftest.er1 conftest.err
4310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4311 test $ac_status = 0; }
4314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315 /* end confdefs.h. */
4325 ac_clean_files_save=$ac_clean_files
4326 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4327 # Try to create an executable without -o first, disregard a.out.
4328 # It will help us diagnose broken compilers, and finding out an intuition
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4331 $as_echo_n "checking whether the C compiler works... " >&6; }
4332 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4334 # The possible output files:
4335 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4338 for ac_file in $ac_files
4341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4342 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4347 if { { ac_try="$ac_link_default"
4349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4350 *) ac_try_echo=$ac_try;;
4352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4353 $as_echo "$ac_try_echo"; } >&5
4354 (eval "$ac_link_default") 2>&5
4356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4357 test $ac_status = 0; }; then :
4358 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4359 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4360 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4361 # so that the user can short-circuit this test for compilers unknown to
4363 for ac_file in $ac_files ''
4365 test -f "$ac_file" || continue
4367 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4370 # We found the default executable, but exeext='' is most
4374 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4376 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4378 # We set ac_cv_exeext here because the later test for it is not
4379 # safe: cross compilers may not add the suffix if given an `-o'
4380 # argument, so we may need to know it at that point already.
4381 # Even if this section looks crufty: it has the advantage of
4388 test "$ac_cv_exeext" = no && ac_cv_exeext=
4393 if test -z "$ac_file"; then :
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4396 $as_echo "$as_me: failed program was:" >&5
4397 sed 's/^/| /' conftest.$ac_ext >&5
4399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4401 as_fn_error 77 "C compiler cannot create executables
4402 See \`config.log' for more details" "$LINENO" 5; }
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4405 $as_echo "yes" >&6; }
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4408 $as_echo_n "checking for C compiler default output file name... " >&6; }
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4410 $as_echo "$ac_file" >&6; }
4411 ac_exeext=$ac_cv_exeext
4413 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4414 ac_clean_files=$ac_clean_files_save
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4416 $as_echo_n "checking for suffix of executables... " >&6; }
4417 if { { ac_try="$ac_link"
4419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4420 *) ac_try_echo=$ac_try;;
4422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4423 $as_echo "$ac_try_echo"; } >&5
4424 (eval "$ac_link") 2>&5
4426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4427 test $ac_status = 0; }; then :
4428 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4429 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4430 # work properly (i.e., refer to `conftest.exe'), while it won't with
4432 for ac_file in conftest.exe conftest conftest.*; do
4433 test -f "$ac_file" || continue
4435 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4436 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4444 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4445 See \`config.log' for more details" "$LINENO" 5; }
4447 rm -f conftest conftest$ac_cv_exeext
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4449 $as_echo "$ac_cv_exeext" >&6; }
4451 rm -f conftest.$ac_ext
4452 EXEEXT=$ac_cv_exeext
4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h. */
4460 FILE *f = fopen ("conftest.out", "w");
4461 return ferror (f) || fclose (f) != 0;
4467 ac_clean_files="$ac_clean_files conftest.out"
4468 # Check that the compiler produces executables we can run. If not, either
4469 # the compiler is broken, or we cross compile.
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4471 $as_echo_n "checking whether we are cross compiling... " >&6; }
4472 if test "$cross_compiling" != yes; then
4473 { { ac_try="$ac_link"
4475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4476 *) ac_try_echo=$ac_try;;
4478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4479 $as_echo "$ac_try_echo"; } >&5
4480 (eval "$ac_link") 2>&5
4482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4483 test $ac_status = 0; }
4484 if { ac_try='./conftest$ac_cv_exeext'
4485 { { case "(($ac_try" in
4486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4487 *) ac_try_echo=$ac_try;;
4489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4490 $as_echo "$ac_try_echo"; } >&5
4491 (eval "$ac_try") 2>&5
4493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4494 test $ac_status = 0; }; }; then
4497 if test "$cross_compiling" = maybe; then
4500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4502 as_fn_error $? "cannot run C compiled programs.
4503 If you meant to cross compile, use \`--host'.
4504 See \`config.log' for more details" "$LINENO" 5; }
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4509 $as_echo "$cross_compiling" >&6; }
4511 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4512 ac_clean_files=$ac_clean_files_save
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4514 $as_echo_n "checking for suffix of object files... " >&6; }
4515 if ${ac_cv_objext+:} false; then :
4516 $as_echo_n "(cached) " >&6
4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4529 rm -f conftest.o conftest.obj
4530 if { { ac_try="$ac_compile"
4532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4536 $as_echo "$ac_try_echo"; } >&5
4537 (eval "$ac_compile") 2>&5
4539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4540 test $ac_status = 0; }; then :
4541 for ac_file in conftest.o conftest.obj conftest.*; do
4542 test -f "$ac_file" || continue;
4544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4545 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4550 $as_echo "$as_me: failed program was:" >&5
4551 sed 's/^/| /' conftest.$ac_ext >&5
4553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4555 as_fn_error $? "cannot compute suffix of object files: cannot compile
4556 See \`config.log' for more details" "$LINENO" 5; }
4558 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4561 $as_echo "$ac_cv_objext" >&6; }
4562 OBJEXT=$ac_cv_objext
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4565 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4566 if ${ac_cv_c_compiler_gnu+:} false; then :
4567 $as_echo_n "(cached) " >&6
4569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4583 if ac_fn_c_try_compile "$LINENO"; then :
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4593 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4594 if test $ac_compiler_gnu = yes; then
4599 ac_test_CFLAGS=${CFLAGS+set}
4600 ac_save_CFLAGS=$CFLAGS
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4602 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4603 if ${ac_cv_prog_cc_g+:} false; then :
4604 $as_echo_n "(cached) " >&6
4606 ac_save_c_werror_flag=$ac_c_werror_flag
4607 ac_c_werror_flag=yes
4610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4621 if ac_fn_c_try_compile "$LINENO"; then :
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4636 if ac_fn_c_try_compile "$LINENO"; then :
4639 ac_c_werror_flag=$ac_save_c_werror_flag
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4652 if ac_fn_c_try_compile "$LINENO"; then :
4655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4660 ac_c_werror_flag=$ac_save_c_werror_flag
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4663 $as_echo "$ac_cv_prog_cc_g" >&6; }
4664 if test "$ac_test_CFLAGS" = set; then
4665 CFLAGS=$ac_save_CFLAGS
4666 elif test $ac_cv_prog_cc_g = yes; then
4667 if test "$GCC" = yes; then
4673 if test "$GCC" = yes; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4680 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4681 if ${ac_cv_prog_cc_c89+:} false; then :
4682 $as_echo_n "(cached) " >&6
4684 ac_cv_prog_cc_c89=no
4686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h. */
4691 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4692 struct buf { int x; };
4693 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4694 static char *e (p, i)
4700 static char *f (char * (*g) (char **, int), char **p, ...)
4705 s = g (p, va_arg (v,int));
4710 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4711 function prototypes and stuff, but not '\xHH' hex character constants.
4712 These don't provoke an error unfortunately, instead are silently treated
4713 as 'x'. The following induces an error, until -std is added to get
4714 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4715 array size at least. It's necessary to write '\x00'==0 to get something
4716 that's true only with -std. */
4717 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4719 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4720 inside strings and character constants. */
4722 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4724 int test (int i, double x);
4725 struct s1 {int (*f) (int a);};
4726 struct s2 {int (*f) (double a);};
4727 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4733 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4738 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4739 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4741 CC="$ac_save_CC $ac_arg"
4742 if ac_fn_c_try_compile "$LINENO"; then :
4743 ac_cv_prog_cc_c89=$ac_arg
4745 rm -f core conftest.err conftest.$ac_objext
4746 test "x$ac_cv_prog_cc_c89" != "xno" && break
4748 rm -f conftest.$ac_ext
4753 case "x$ac_cv_prog_cc_c89" in
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4756 $as_echo "none needed" >&6; } ;;
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4759 $as_echo "unsupported" >&6; } ;;
4761 CC="$CC $ac_cv_prog_cc_c89"
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4763 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4765 if test "x$ac_cv_prog_cc_c89" != xno; then :
4770 ac_cpp='$CPP $CPPFLAGS'
4771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4776 ac_cpp='$CPP $CPPFLAGS'
4777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4781 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4782 if ${am_cv_prog_cc_c_o+:} false; then :
4783 $as_echo_n "(cached) " >&6
4785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4786 /* end confdefs.h. */
4796 # Make sure it works both with $CC and with simple cc.
4797 # Following AC_PROG_CC_C_O, we do the test twice because some
4798 # compilers refuse to overwrite an existing .o file with -o,
4799 # though they will create one.
4800 am_cv_prog_cc_c_o=yes
4802 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4803 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); } \
4807 && test -f conftest2.$ac_objext; then
4810 am_cv_prog_cc_c_o=no
4814 rm -f core conftest*
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4818 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4819 if test "$am_cv_prog_cc_c_o" != yes; then
4820 # Losing compiler, so override with the script.
4821 # FIXME: It is wrong to rewrite CC.
4822 # But if we don't then we get into trouble of one sort or another.
4823 # A longer-term fix would be to have automake use am__CC in this case,
4824 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4825 CC="$am_aux_dir/compile $CC"
4828 ac_cpp='$CPP $CPPFLAGS'
4829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4834 depcc="$CC" am_compiler_list=
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4837 $as_echo_n "checking dependency style of $depcc... " >&6; }
4838 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4839 $as_echo_n "(cached) " >&6
4841 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4842 # We make a subdir and do the tests there. Otherwise we can end up
4843 # making bogus files that we don't know about and never remove. For
4844 # instance it was reported that on HP-UX the gcc test will end up
4845 # making a dummy file named 'D' -- because '-MD' means "put the output
4849 # Copy depcomp to subdir because otherwise we won't find it if we're
4850 # using a relative directory.
4851 cp "$am_depcomp" conftest.dir
4853 # We will build objects and dependencies in a subdirectory because
4854 # it helps to detect inapplicable dependency modes. For instance
4855 # both Tru64's cc and ICC support -MD to output dependencies as a
4856 # side effect of compilation, but ICC will put the dependencies in
4857 # the current directory while Tru64 will put them in the object
4861 am_cv_CC_dependencies_compiler_type=none
4862 if test "$am_compiler_list" = ""; then
4863 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4866 case " $depcc " in #(
4867 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4870 for depmode in $am_compiler_list; do
4871 # Setup a source with many dependencies, because some compilers
4872 # like to wrap large dependency lists on column 80 (with \), and
4873 # we should not choose a depcomp mode which is confused by this.
4875 # We need to recreate these files for each test, as the compiler may
4876 # overwrite some of them when testing with obscure command lines.
4877 # This happens at least with the AIX C compiler.
4879 for i in 1 2 3 4 5 6; do
4880 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4881 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4882 # Solaris 10 /bin/sh.
4883 echo '/* dummy */' > sub/conftst$i.h
4885 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4887 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4888 # mode. It turns out that the SunPro C++ compiler does not properly
4889 # handle '-M -o', and we need to detect this. Also, some Intel
4890 # versions had trouble with output in subdirs.
4891 am__obj=sub/conftest.${OBJEXT-o}
4892 am__minus_obj="-o $am__obj"
4895 # This depmode causes a compiler race in universal mode.
4896 test "$am__universal" = false || continue
4899 # After this tag, mechanisms are not by side-effect, so they'll
4900 # only be used when explicitly requested.
4901 if test "x$enable_dependency_tracking" = xyes; then
4907 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4908 # This compiler won't grok '-c -o', but also, the minuso test has
4909 # not run yet. These depmodes are late enough in the game, and
4910 # so weak that their functioning should not be impacted.
4911 am__obj=conftest.${OBJEXT-o}
4916 if depmode=$depmode \
4917 source=sub/conftest.c object=$am__obj \
4918 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4919 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4920 >/dev/null 2>conftest.err &&
4921 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4922 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4923 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4924 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4925 # icc doesn't choke on unknown options, it will just issue warnings
4926 # or remarks (even with -Werror). So we grep stderr for any message
4927 # that says an option was ignored or not supported.
4928 # When given -MP, icc 7.0 and 7.1 complain thusly:
4929 # icc: Command line warning: ignoring option '-M'; no argument required
4930 # The diagnosis changed in icc 8.0:
4931 # icc: Command line remark: option '-MP' not supported
4932 if (grep 'ignoring option' conftest.err ||
4933 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4934 am_cv_CC_dependencies_compiler_type=$depmode
4943 am_cv_CC_dependencies_compiler_type=none
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4948 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4949 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4952 test "x$enable_dependency_tracking" != xno \
4953 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4955 am__fastdepCC_FALSE='#'
4957 am__fastdepCC_TRUE='#'
4958 am__fastdepCC_FALSE=
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4963 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4964 if ${ac_cv_path_SED+:} false; then :
4965 $as_echo_n "(cached) " >&6
4967 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4968 for ac_i in 1 2 3 4 5 6 7; do
4969 ac_script="$ac_script$as_nl$ac_script"
4971 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4972 { ac_script=; unset ac_script;}
4973 if test -z "$SED"; then
4974 ac_path_SED_found=false
4975 # Loop through the user's path and test for each of PROGNAME-LIST
4976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 test -z "$as_dir" && as_dir=.
4981 for ac_prog in sed gsed; do
4982 for ac_exec_ext in '' $ac_executable_extensions; do
4983 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4984 as_fn_executable_p "$ac_path_SED" || continue
4985 # Check for GNU ac_path_SED and select it if it is found.
4986 # Check for GNU $ac_path_SED
4987 case `"$ac_path_SED" --version 2>&1` in
4989 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4992 $as_echo_n 0123456789 >"conftest.in"
4995 cat "conftest.in" "conftest.in" >"conftest.tmp"
4996 mv "conftest.tmp" "conftest.in"
4997 cp "conftest.in" "conftest.nl"
4998 $as_echo '' >> "conftest.nl"
4999 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5000 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5001 as_fn_arith $ac_count + 1 && ac_count=$as_val
5002 if test $ac_count -gt ${ac_path_SED_max-0}; then
5003 # Best one so far, save it but keep looking for a better one
5004 ac_cv_path_SED="$ac_path_SED"
5005 ac_path_SED_max=$ac_count
5007 # 10*(2^10) chars as input seems more than enough
5008 test $ac_count -gt 10 && break
5010 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5013 $ac_path_SED_found && break 3
5018 if test -z "$ac_cv_path_SED"; then
5019 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5027 $as_echo "$ac_cv_path_SED" >&6; }
5028 SED="$ac_cv_path_SED"
5031 test -z "$SED" && SED=sed
5032 Xsed="$SED -e 1s/^X//"
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5045 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5046 if ${ac_cv_path_GREP+:} false; then :
5047 $as_echo_n "(cached) " >&6
5049 if test -z "$GREP"; then
5050 ac_path_GREP_found=false
5051 # Loop through the user's path and test for each of PROGNAME-LIST
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5056 test -z "$as_dir" && as_dir=.
5057 for ac_prog in grep ggrep; do
5058 for ac_exec_ext in '' $ac_executable_extensions; do
5059 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5060 as_fn_executable_p "$ac_path_GREP" || continue
5061 # Check for GNU ac_path_GREP and select it if it is found.
5062 # Check for GNU $ac_path_GREP
5063 case `"$ac_path_GREP" --version 2>&1` in
5065 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5068 $as_echo_n 0123456789 >"conftest.in"
5071 cat "conftest.in" "conftest.in" >"conftest.tmp"
5072 mv "conftest.tmp" "conftest.in"
5073 cp "conftest.in" "conftest.nl"
5074 $as_echo 'GREP' >> "conftest.nl"
5075 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5076 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5077 as_fn_arith $ac_count + 1 && ac_count=$as_val
5078 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5079 # Best one so far, save it but keep looking for a better one
5080 ac_cv_path_GREP="$ac_path_GREP"
5081 ac_path_GREP_max=$ac_count
5083 # 10*(2^10) chars as input seems more than enough
5084 test $ac_count -gt 10 && break
5086 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5089 $ac_path_GREP_found && break 3
5094 if test -z "$ac_cv_path_GREP"; then
5095 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5098 ac_cv_path_GREP=$GREP
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5103 $as_echo "$ac_cv_path_GREP" >&6; }
5104 GREP="$ac_cv_path_GREP"
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5108 $as_echo_n "checking for egrep... " >&6; }
5109 if ${ac_cv_path_EGREP+:} false; then :
5110 $as_echo_n "(cached) " >&6
5112 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5113 then ac_cv_path_EGREP="$GREP -E"
5115 if test -z "$EGREP"; then
5116 ac_path_EGREP_found=false
5117 # Loop through the user's path and test for each of PROGNAME-LIST
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5122 test -z "$as_dir" && as_dir=.
5123 for ac_prog in egrep; do
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5126 as_fn_executable_p "$ac_path_EGREP" || continue
5127 # Check for GNU ac_path_EGREP and select it if it is found.
5128 # Check for GNU $ac_path_EGREP
5129 case `"$ac_path_EGREP" --version 2>&1` in
5131 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5134 $as_echo_n 0123456789 >"conftest.in"
5137 cat "conftest.in" "conftest.in" >"conftest.tmp"
5138 mv "conftest.tmp" "conftest.in"
5139 cp "conftest.in" "conftest.nl"
5140 $as_echo 'EGREP' >> "conftest.nl"
5141 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5142 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5143 as_fn_arith $ac_count + 1 && ac_count=$as_val
5144 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5145 # Best one so far, save it but keep looking for a better one
5146 ac_cv_path_EGREP="$ac_path_EGREP"
5147 ac_path_EGREP_max=$ac_count
5149 # 10*(2^10) chars as input seems more than enough
5150 test $ac_count -gt 10 && break
5152 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5155 $ac_path_EGREP_found && break 3
5160 if test -z "$ac_cv_path_EGREP"; then
5161 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5164 ac_cv_path_EGREP=$EGREP
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5170 $as_echo "$ac_cv_path_EGREP" >&6; }
5171 EGREP="$ac_cv_path_EGREP"
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5175 $as_echo_n "checking for fgrep... " >&6; }
5176 if ${ac_cv_path_FGREP+:} false; then :
5177 $as_echo_n "(cached) " >&6
5179 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5180 then ac_cv_path_FGREP="$GREP -F"
5182 if test -z "$FGREP"; then
5183 ac_path_FGREP_found=false
5184 # Loop through the user's path and test for each of PROGNAME-LIST
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5189 test -z "$as_dir" && as_dir=.
5190 for ac_prog in fgrep; do
5191 for ac_exec_ext in '' $ac_executable_extensions; do
5192 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5193 as_fn_executable_p "$ac_path_FGREP" || continue
5194 # Check for GNU ac_path_FGREP and select it if it is found.
5195 # Check for GNU $ac_path_FGREP
5196 case `"$ac_path_FGREP" --version 2>&1` in
5198 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5201 $as_echo_n 0123456789 >"conftest.in"
5204 cat "conftest.in" "conftest.in" >"conftest.tmp"
5205 mv "conftest.tmp" "conftest.in"
5206 cp "conftest.in" "conftest.nl"
5207 $as_echo 'FGREP' >> "conftest.nl"
5208 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5209 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5210 as_fn_arith $ac_count + 1 && ac_count=$as_val
5211 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5212 # Best one so far, save it but keep looking for a better one
5213 ac_cv_path_FGREP="$ac_path_FGREP"
5214 ac_path_FGREP_max=$ac_count
5216 # 10*(2^10) chars as input seems more than enough
5217 test $ac_count -gt 10 && break
5219 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5222 $ac_path_FGREP_found && break 3
5227 if test -z "$ac_cv_path_FGREP"; then
5228 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5231 ac_cv_path_FGREP=$FGREP
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5237 $as_echo "$ac_cv_path_FGREP" >&6; }
5238 FGREP="$ac_cv_path_FGREP"
5241 test -z "$GREP" && GREP=grep
5261 # Check whether --with-gnu-ld was given.
5262 if test "${with_gnu_ld+set}" = set; then :
5263 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5269 if test "$GCC" = yes; then
5270 # Check if gcc -print-prog-name=ld gives a path.
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5272 $as_echo_n "checking for ld used by $CC... " >&6; }
5275 # gcc leaves a trailing carriage return which upsets mingw
5276 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5278 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5281 # Accept absolute paths.
5283 re_direlt='/[^/][^/]*/\.\./'
5284 # Canonicalize the pathname of ld
5285 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5286 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5287 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5289 test -z "$LD" && LD="$ac_prog"
5292 # If it fails, then pretend we aren't using GCC.
5296 # If it is relative, then search for the first ld in PATH.
5300 elif test "$with_gnu_ld" = yes; then
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5302 $as_echo_n "checking for GNU ld... " >&6; }
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5305 $as_echo_n "checking for non-GNU ld... " >&6; }
5307 if ${lt_cv_path_LD+:} false; then :
5308 $as_echo_n "(cached) " >&6
5310 if test -z "$LD"; then
5311 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5312 for ac_dir in $PATH; do
5314 test -z "$ac_dir" && ac_dir=.
5315 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5316 lt_cv_path_LD="$ac_dir/$ac_prog"
5317 # Check to see if the program is GNU ld. I'd rather use --version,
5318 # but apparently some variants of GNU ld only accept -v.
5319 # Break only if it was the GNU/non-GNU ld that we prefer.
5320 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5321 *GNU* | *'with BFD'*)
5322 test "$with_gnu_ld" != no && break
5325 test "$with_gnu_ld" != yes && break
5332 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5337 if test -n "$LD"; then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5339 $as_echo "$LD" >&6; }
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342 $as_echo "no" >&6; }
5344 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5346 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5347 if ${lt_cv_prog_gnu_ld+:} false; then :
5348 $as_echo_n "(cached) " >&6
5350 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5351 case `$LD -v 2>&1 </dev/null` in
5352 *GNU* | *'with BFD'*)
5353 lt_cv_prog_gnu_ld=yes
5356 lt_cv_prog_gnu_ld=no
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5361 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5362 with_gnu_ld=$lt_cv_prog_gnu_ld
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5373 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5374 if ${lt_cv_path_NM+:} false; then :
5375 $as_echo_n "(cached) " >&6
5377 if test -n "$NM"; then
5378 # Let the user override the test.
5381 lt_nm_to_check="${ac_tool_prefix}nm"
5382 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5383 lt_nm_to_check="$lt_nm_to_check nm"
5385 for lt_tmp_nm in $lt_nm_to_check; do
5386 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5387 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5389 test -z "$ac_dir" && ac_dir=.
5390 tmp_nm="$ac_dir/$lt_tmp_nm"
5391 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5392 # Check to see if the nm accepts a BSD-compat flag.
5393 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5394 # nm: unknown option "B" ignored
5395 # Tru64's nm complains that /dev/null is an invalid object file
5396 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5397 */dev/null* | *'Invalid file or object type'*)
5398 lt_cv_path_NM="$tmp_nm -B"
5402 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5404 lt_cv_path_NM="$tmp_nm -p"
5408 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5409 continue # so that we can try to find one that supports BSD flags
5418 : ${lt_cv_path_NM=no}
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5422 $as_echo "$lt_cv_path_NM" >&6; }
5423 if test "$lt_cv_path_NM" != "no"; then
5426 # Didn't find any BSD compatible name lister, look for dumpbin.
5427 if test -n "$DUMPBIN"; then :
5428 # Let the user override the test.
5430 if test -n "$ac_tool_prefix"; then
5431 for ac_prog in dumpbin "link -dump"
5433 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5434 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_prog_DUMPBIN+:} false; then :
5438 $as_echo_n "(cached) " >&6
5440 if test -n "$DUMPBIN"; then
5441 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 DUMPBIN=$ac_cv_prog_DUMPBIN
5461 if test -n "$DUMPBIN"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5463 $as_echo "$DUMPBIN" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5470 test -n "$DUMPBIN" && break
5473 if test -z "$DUMPBIN"; then
5474 ac_ct_DUMPBIN=$DUMPBIN
5475 for ac_prog in dumpbin "link -dump"
5477 # Extract the first word of "$ac_prog", so it can be a program name with args.
5478 set dummy $ac_prog; ac_word=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5482 $as_echo_n "(cached) " >&6
5484 if test -n "$ac_ct_DUMPBIN"; then
5485 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5491 test -z "$as_dir" && as_dir=.
5492 for ac_exec_ext in '' $ac_executable_extensions; do
5493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5494 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5504 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5505 if test -n "$ac_ct_DUMPBIN"; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5507 $as_echo "$ac_ct_DUMPBIN" >&6; }
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5514 test -n "$ac_ct_DUMPBIN" && break
5517 if test "x$ac_ct_DUMPBIN" = x; then
5520 case $cross_compiling:$ac_tool_warned in
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5524 ac_tool_warned=yes ;;
5526 DUMPBIN=$ac_ct_DUMPBIN
5530 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5532 DUMPBIN="$DUMPBIN -symbols"
5540 if test "$DUMPBIN" != ":"; then
5544 test -z "$NM" && NM=nm
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5552 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5553 if ${lt_cv_nm_interface+:} false; then :
5554 $as_echo_n "(cached) " >&6
5556 lt_cv_nm_interface="BSD nm"
5557 echo "int some_variable = 0;" > conftest.$ac_ext
5558 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5559 (eval "$ac_compile" 2>conftest.err)
5560 cat conftest.err >&5
5561 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5562 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5563 cat conftest.err >&5
5564 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5565 cat conftest.out >&5
5566 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5567 lt_cv_nm_interface="MS dumpbin"
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5572 $as_echo "$lt_cv_nm_interface" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5575 $as_echo_n "checking whether ln -s works... " >&6; }
5577 if test "$LN_S" = "ln -s"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5579 $as_echo "yes" >&6; }
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5582 $as_echo "no, using $LN_S" >&6; }
5585 # find the maximum length of command line arguments
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5587 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5588 if ${lt_cv_sys_max_cmd_len+:} false; then :
5589 $as_echo_n "(cached) " >&6
5596 # On DJGPP, this test can blow up pretty badly due to problems in libc
5597 # (any single argument exceeding 2000 bytes causes a buffer overrun
5598 # during glob expansion). Even if it were fixed, the result of this
5599 # check would be larger than it should be.
5600 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5604 # Under GNU Hurd, this test is not required because there is
5605 # no limit to the length of command line arguments.
5606 # Libtool will interpret -1 as no limit whatsoever
5607 lt_cv_sys_max_cmd_len=-1;
5610 cygwin* | mingw* | cegcc*)
5611 # On Win9x/ME, this test blows up -- it succeeds, but takes
5612 # about 5 minutes as the teststring grows exponentially.
5613 # Worse, since 9x/ME are not pre-emptively multitasking,
5614 # you end up with a "frozen" computer, even though with patience
5615 # the test eventually succeeds (with a max line length of 256k).
5616 # Instead, let's just punt: use the minimum linelength reported by
5617 # all of the supported platforms: 8192 (on NT/2K/XP).
5618 lt_cv_sys_max_cmd_len=8192;
5622 # On MiNT this can take a long time and run out of memory.
5623 lt_cv_sys_max_cmd_len=8192;
5627 # On AmigaOS with pdksh, this test takes hours, literally.
5628 # So we just punt and use a minimum line length of 8192.
5629 lt_cv_sys_max_cmd_len=8192;
5632 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5633 # This has been around since 386BSD, at least. Likely further.
5634 if test -x /sbin/sysctl; then
5635 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5636 elif test -x /usr/sbin/sysctl; then
5637 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5639 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5641 # And add a safety zone
5642 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5647 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5648 lt_cv_sys_max_cmd_len=196608
5652 # The test takes a long time on OS/2.
5653 lt_cv_sys_max_cmd_len=8192
5657 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5658 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5659 # nice to cause kernel panics so lets avoid the loop below.
5660 # First set a reasonable default.
5661 lt_cv_sys_max_cmd_len=16384
5663 if test -x /sbin/sysconfig; then
5664 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5665 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5670 lt_cv_sys_max_cmd_len=102400
5672 sysv5* | sco5v6* | sysv4.2uw2*)
5673 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5674 if test -n "$kargmax"; then
5675 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5677 lt_cv_sys_max_cmd_len=32768
5681 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5682 if test -n "$lt_cv_sys_max_cmd_len" && \
5683 test undefined != "$lt_cv_sys_max_cmd_len"; then
5684 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5685 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5687 # Make teststring a little bigger before we do anything with it.
5688 # a 1K string should be a reasonable start.
5689 for i in 1 2 3 4 5 6 7 8 ; do
5690 teststring=$teststring$teststring
5692 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5693 # If test is not a shell built-in, we'll probably end up computing a
5694 # maximum length that is only half of the actual maximum length, but
5696 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5697 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5698 test $i != 17 # 1/2 MB should be enough
5701 teststring=$teststring$teststring
5703 # Only check the string length outside the loop.
5704 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5706 # Add a significant safety factor because C++ compilers can tack on
5707 # massive amounts of additional arguments before passing them to the
5708 # linker. It appears as though 1/2 is a usable value.
5709 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5716 if test -n $lt_cv_sys_max_cmd_len ; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5718 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5721 $as_echo "none" >&6; }
5723 max_cmd_len=$lt_cv_sys_max_cmd_len
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5735 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5736 # Try some XSI features
5739 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5741 && eval 'test $(( 1 + 1 )) -eq 2 \
5742 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5745 $as_echo "$xsi_shell" >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5749 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5751 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5753 && lt_shell_append=yes
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5755 $as_echo "$lt_shell_append" >&6; }
5758 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5768 # test EBCDIC or ASCII
5769 case `echo X|tr X '\101'` in
5770 A) # ASCII based system
5771 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5772 lt_SP2NL='tr \040 \012'
5773 lt_NL2SP='tr \015\012 \040\040'
5775 *) # EBCDIC based system
5776 lt_SP2NL='tr \100 \n'
5777 lt_NL2SP='tr \r\n \100\100'
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5790 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5791 if ${lt_cv_to_host_file_cmd+:} false; then :
5792 $as_echo_n "(cached) " >&6
5797 *-*-mingw* ) # actually msys
5798 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5801 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5803 * ) # otherwise, assume *nix
5804 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5810 *-*-mingw* ) # actually msys
5811 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5814 lt_cv_to_host_file_cmd=func_convert_file_noop
5816 * ) # otherwise, assume *nix
5817 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5821 * ) # unhandled hosts (and "normal" native builds)
5822 lt_cv_to_host_file_cmd=func_convert_file_noop
5828 to_host_file_cmd=$lt_cv_to_host_file_cmd
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5830 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5837 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5838 if ${lt_cv_to_tool_file_cmd+:} false; then :
5839 $as_echo_n "(cached) " >&6
5841 #assume ordinary cross tools, or native build.
5842 lt_cv_to_tool_file_cmd=func_convert_file_noop
5846 *-*-mingw* ) # actually msys
5847 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5855 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5857 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5864 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5865 if ${lt_cv_ld_reload_flag+:} false; then :
5866 $as_echo_n "(cached) " >&6
5868 lt_cv_ld_reload_flag='-r'
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5871 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5872 reload_flag=$lt_cv_ld_reload_flag
5873 case $reload_flag in
5875 *) reload_flag=" $reload_flag" ;;
5877 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5879 cygwin* | mingw* | pw32* | cegcc*)
5880 if test "$GCC" != yes; then
5885 if test "$GCC" = yes; then
5886 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5888 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5901 if test -n "$ac_tool_prefix"; then
5902 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5903 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5905 $as_echo_n "checking for $ac_word... " >&6; }
5906 if ${ac_cv_prog_OBJDUMP+:} false; then :
5907 $as_echo_n "(cached) " >&6
5909 if test -n "$OBJDUMP"; then
5910 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 test -z "$as_dir" && as_dir=.
5917 for ac_exec_ext in '' $ac_executable_extensions; do
5918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5919 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929 OBJDUMP=$ac_cv_prog_OBJDUMP
5930 if test -n "$OBJDUMP"; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5932 $as_echo "$OBJDUMP" >&6; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5935 $as_echo "no" >&6; }
5940 if test -z "$ac_cv_prog_OBJDUMP"; then
5941 ac_ct_OBJDUMP=$OBJDUMP
5942 # Extract the first word of "objdump", so it can be a program name with args.
5943 set dummy objdump; ac_word=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5947 $as_echo_n "(cached) " >&6
5949 if test -n "$ac_ct_OBJDUMP"; then
5950 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 test -z "$as_dir" && as_dir=.
5957 for ac_exec_ext in '' $ac_executable_extensions; do
5958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5959 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5970 if test -n "$ac_ct_OBJDUMP"; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5972 $as_echo "$ac_ct_OBJDUMP" >&6; }
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5975 $as_echo "no" >&6; }
5978 if test "x$ac_ct_OBJDUMP" = x; then
5981 case $cross_compiling:$ac_tool_warned in
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5985 ac_tool_warned=yes ;;
5987 OBJDUMP=$ac_ct_OBJDUMP
5990 OBJDUMP="$ac_cv_prog_OBJDUMP"
5993 test -z "$OBJDUMP" && OBJDUMP=objdump
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6004 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6005 if ${lt_cv_deplibs_check_method+:} false; then :
6006 $as_echo_n "(cached) " >&6
6008 lt_cv_file_magic_cmd='$MAGIC_CMD'
6009 lt_cv_file_magic_test_file=
6010 lt_cv_deplibs_check_method='unknown'
6011 # Need to set the preceding variable on all platforms that support
6012 # interlibrary dependencies.
6013 # 'none' -- dependencies not supported.
6014 # `unknown' -- same as none, but documents that we really don't know.
6015 # 'pass_all' -- all dependencies passed with no checks.
6016 # 'test_compile' -- check by making test program.
6017 # 'file_magic [[regex]]' -- check by looking for files in library path
6018 # which responds to the $file_magic_cmd with a given extended regex.
6019 # If you have `file' or equivalent on your system and you're not sure
6020 # whether `pass_all' will *always* work, you probably want this one.
6024 lt_cv_deplibs_check_method=pass_all
6028 lt_cv_deplibs_check_method=pass_all
6032 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6033 lt_cv_file_magic_cmd='/usr/bin/file -L'
6034 lt_cv_file_magic_test_file=/shlib/libc.so
6038 # func_win32_libid is a shell function defined in ltmain.sh
6039 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6040 lt_cv_file_magic_cmd='func_win32_libid'
6044 # Base MSYS/MinGW do not provide the 'file' command needed by
6045 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6046 # unless we find 'file', for example because we are cross-compiling.
6047 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6048 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6049 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6050 lt_cv_file_magic_cmd='func_win32_libid'
6052 # Keep this pattern in sync with the one in func_win32_libid.
6053 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6054 lt_cv_file_magic_cmd='$OBJDUMP -f'
6059 # use the weaker test based on 'objdump'. See mingw*.
6060 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6061 lt_cv_file_magic_cmd='$OBJDUMP -f'
6064 darwin* | rhapsody*)
6065 lt_cv_deplibs_check_method=pass_all
6068 freebsd* | dragonfly*)
6069 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6072 # Not sure whether the presence of OpenBSD here was a mistake.
6073 # Let's accept both of them until this is cleared up.
6074 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6075 lt_cv_file_magic_cmd=/usr/bin/file
6076 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6080 lt_cv_deplibs_check_method=pass_all
6085 lt_cv_deplibs_check_method=pass_all
6088 hpux10.20* | hpux11*)
6089 lt_cv_file_magic_cmd=/usr/bin/file
6092 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6093 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6096 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]'
6097 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6100 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6101 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6107 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6108 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6111 irix5* | irix6* | nonstopux*)
6113 *-32|*"-32 ") libmagic=32-bit;;
6114 *-n32|*"-n32 ") libmagic=N32;;
6115 *-64|*"-64 ") libmagic=64-bit;;
6116 *) libmagic=never-match;;
6118 lt_cv_deplibs_check_method=pass_all
6121 # This must be glibc/ELF.
6122 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6123 lt_cv_deplibs_check_method=pass_all
6126 netbsd* | netbsdelf*-gnu)
6127 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6128 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6130 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6135 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6136 lt_cv_file_magic_cmd=/usr/bin/file
6137 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6141 lt_cv_deplibs_check_method=pass_all
6145 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6146 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6148 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6152 osf3* | osf4* | osf5*)
6153 lt_cv_deplibs_check_method=pass_all
6157 lt_cv_deplibs_check_method=pass_all
6161 lt_cv_deplibs_check_method=pass_all
6164 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6165 lt_cv_deplibs_check_method=pass_all
6169 case $host_vendor in
6171 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]'
6172 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6175 lt_cv_deplibs_check_method=pass_all
6178 lt_cv_file_magic_cmd='/bin/file'
6179 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6182 lt_cv_file_magic_cmd='/bin/file'
6183 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6184 lt_cv_file_magic_test_file=/lib/libc.so
6187 lt_cv_deplibs_check_method=pass_all
6190 lt_cv_deplibs_check_method=pass_all
6196 lt_cv_deplibs_check_method=pass_all
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6202 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6206 if test "$build" = "$host"; then
6209 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6212 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6218 file_magic_cmd=$lt_cv_file_magic_cmd
6219 deplibs_check_method=$lt_cv_deplibs_check_method
6220 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6243 if test -n "$ac_tool_prefix"; then
6244 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6245 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6247 $as_echo_n "checking for $ac_word... " >&6; }
6248 if ${ac_cv_prog_DLLTOOL+:} false; then :
6249 $as_echo_n "(cached) " >&6
6251 if test -n "$DLLTOOL"; then
6252 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6258 test -z "$as_dir" && as_dir=.
6259 for ac_exec_ext in '' $ac_executable_extensions; do
6260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6261 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 DLLTOOL=$ac_cv_prog_DLLTOOL
6272 if test -n "$DLLTOOL"; then
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6274 $as_echo "$DLLTOOL" >&6; }
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6277 $as_echo "no" >&6; }
6282 if test -z "$ac_cv_prog_DLLTOOL"; then
6283 ac_ct_DLLTOOL=$DLLTOOL
6284 # Extract the first word of "dlltool", so it can be a program name with args.
6285 set dummy dlltool; ac_word=$2
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6287 $as_echo_n "checking for $ac_word... " >&6; }
6288 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6289 $as_echo_n "(cached) " >&6
6291 if test -n "$ac_ct_DLLTOOL"; then
6292 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298 test -z "$as_dir" && as_dir=.
6299 for ac_exec_ext in '' $ac_executable_extensions; do
6300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6301 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6311 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6312 if test -n "$ac_ct_DLLTOOL"; then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6314 $as_echo "$ac_ct_DLLTOOL" >&6; }
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6317 $as_echo "no" >&6; }
6320 if test "x$ac_ct_DLLTOOL" = x; then
6323 case $cross_compiling:$ac_tool_warned in
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6327 ac_tool_warned=yes ;;
6329 DLLTOOL=$ac_ct_DLLTOOL
6332 DLLTOOL="$ac_cv_prog_DLLTOOL"
6335 test -z "$DLLTOOL" && DLLTOOL=dlltool
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6347 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6348 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6349 $as_echo_n "(cached) " >&6
6351 lt_cv_sharedlib_from_linklib_cmd='unknown'
6354 cygwin* | mingw* | pw32* | cegcc*)
6355 # two different shell functions defined in ltmain.sh
6356 # decide which to use based on capabilities of $DLLTOOL
6357 case `$DLLTOOL --help 2>&1` in
6358 *--identify-strict*)
6359 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6362 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6367 # fallback: assume linklib IS sharedlib
6368 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6374 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6375 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6376 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6385 if test -n "$ac_tool_prefix"; then
6388 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6389 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6391 $as_echo_n "checking for $ac_word... " >&6; }
6392 if ${ac_cv_prog_AR+:} false; then :
6393 $as_echo_n "(cached) " >&6
6395 if test -n "$AR"; then
6396 ac_cv_prog_AR="$AR" # Let the user override the test.
6398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402 test -z "$as_dir" && as_dir=.
6403 for ac_exec_ext in '' $ac_executable_extensions; do
6404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6405 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6416 if test -n "$AR"; then
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6418 $as_echo "$AR" >&6; }
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6421 $as_echo "no" >&6; }
6425 test -n "$AR" && break
6428 if test -z "$AR"; then
6432 # Extract the first word of "$ac_prog", so it can be a program name with args.
6433 set dummy $ac_prog; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6437 $as_echo_n "(cached) " >&6
6439 if test -n "$ac_ct_AR"; then
6440 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6449 ac_cv_prog_ac_ct_AR="$ac_prog"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6459 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6460 if test -n "$ac_ct_AR"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6462 $as_echo "$ac_ct_AR" >&6; }
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6469 test -n "$ac_ct_AR" && break
6472 if test "x$ac_ct_AR" = x; then
6475 case $cross_compiling:$ac_tool_warned in
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6479 ac_tool_warned=yes ;;
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6499 $as_echo_n "checking for archiver @FILE support... " >&6; }
6500 if ${lt_cv_ar_at_file+:} false; then :
6501 $as_echo_n "(cached) " >&6
6504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6505 /* end confdefs.h. */
6515 if ac_fn_c_try_compile "$LINENO"; then :
6516 echo conftest.$ac_objext > conftest.lst
6517 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6518 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6519 (eval $lt_ar_try) 2>&5
6521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6522 test $ac_status = 0; }
6523 if test "$ac_status" -eq 0; then
6524 # Ensure the archiver fails upon bogus file names.
6525 rm -f conftest.$ac_objext libconftest.a
6526 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6527 (eval $lt_ar_try) 2>&5
6529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6530 test $ac_status = 0; }
6531 if test "$ac_status" -ne 0; then
6535 rm -f conftest.* libconftest.a
6538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6542 $as_echo "$lt_cv_ar_at_file" >&6; }
6544 if test "x$lt_cv_ar_at_file" = xno; then
6547 archiver_list_spec=$lt_cv_ar_at_file
6556 if test -n "$ac_tool_prefix"; then
6557 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6558 set dummy ${ac_tool_prefix}strip; ac_word=$2
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560 $as_echo_n "checking for $ac_word... " >&6; }
6561 if ${ac_cv_prog_STRIP+:} false; then :
6562 $as_echo_n "(cached) " >&6
6564 if test -n "$STRIP"; then
6565 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571 test -z "$as_dir" && as_dir=.
6572 for ac_exec_ext in '' $ac_executable_extensions; do
6573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6574 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6584 STRIP=$ac_cv_prog_STRIP
6585 if test -n "$STRIP"; then
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6587 $as_echo "$STRIP" >&6; }
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6590 $as_echo "no" >&6; }
6595 if test -z "$ac_cv_prog_STRIP"; then
6597 # Extract the first word of "strip", so it can be a program name with args.
6598 set dummy strip; ac_word=$2
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6600 $as_echo_n "checking for $ac_word... " >&6; }
6601 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6602 $as_echo_n "(cached) " >&6
6604 if test -n "$ac_ct_STRIP"; then
6605 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 test -z "$as_dir" && as_dir=.
6612 for ac_exec_ext in '' $ac_executable_extensions; do
6613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6614 ac_cv_prog_ac_ct_STRIP="strip"
6615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6625 if test -n "$ac_ct_STRIP"; then
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6627 $as_echo "$ac_ct_STRIP" >&6; }
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6630 $as_echo "no" >&6; }
6633 if test "x$ac_ct_STRIP" = x; then
6636 case $cross_compiling:$ac_tool_warned in
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6640 ac_tool_warned=yes ;;
6645 STRIP="$ac_cv_prog_STRIP"
6648 test -z "$STRIP" && STRIP=:
6655 if test -n "$ac_tool_prefix"; then
6656 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6657 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if ${ac_cv_prog_RANLIB+:} false; then :
6661 $as_echo_n "(cached) " >&6
6663 if test -n "$RANLIB"; then
6664 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6673 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683 RANLIB=$ac_cv_prog_RANLIB
6684 if test -n "$RANLIB"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6686 $as_echo "$RANLIB" >&6; }
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6694 if test -z "$ac_cv_prog_RANLIB"; then
6695 ac_ct_RANLIB=$RANLIB
6696 # Extract the first word of "ranlib", so it can be a program name with args.
6697 set dummy ranlib; ac_word=$2
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6699 $as_echo_n "checking for $ac_word... " >&6; }
6700 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6701 $as_echo_n "(cached) " >&6
6703 if test -n "$ac_ct_RANLIB"; then
6704 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6710 test -z "$as_dir" && as_dir=.
6711 for ac_exec_ext in '' $ac_executable_extensions; do
6712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6713 ac_cv_prog_ac_ct_RANLIB="ranlib"
6714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6724 if test -n "$ac_ct_RANLIB"; then
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6726 $as_echo "$ac_ct_RANLIB" >&6; }
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729 $as_echo "no" >&6; }
6732 if test "x$ac_ct_RANLIB" = x; then
6735 case $cross_compiling:$ac_tool_warned in
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6739 ac_tool_warned=yes ;;
6741 RANLIB=$ac_ct_RANLIB
6744 RANLIB="$ac_cv_prog_RANLIB"
6747 test -z "$RANLIB" && RANLIB=:
6754 # Determine commands to create old-style static archives.
6755 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6756 old_postinstall_cmds='chmod 644 $oldlib'
6757 old_postuninstall_cmds=
6759 if test -n "$RANLIB"; then
6762 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6765 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6768 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6773 lock_old_archive_extraction=yes ;;
6775 lock_old_archive_extraction=no ;;
6816 # If no C compiler was specified, use CC.
6819 # If no C compiler flags were specified, use CFLAGS.
6820 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6822 # Allow CC to be a program name with arguments.
6826 # Check for command to grab the raw symbol name followed by C symbol from nm.
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6828 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6829 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6830 $as_echo_n "(cached) " >&6
6833 # These are sane defaults that work on at least a few old systems.
6834 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6836 # Character class describing NM global symbol codes.
6837 symcode='[BCDEGRST]'
6839 # Regexp to match symbols that can be accessed directly from C.
6840 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6842 # Define system-specific variables.
6847 cygwin* | mingw* | pw32* | cegcc*)
6848 symcode='[ABCDGISTW]'
6851 if test "$host_cpu" = ia64; then
6852 symcode='[ABCDEGRST]'
6856 symcode='[BCDEGRST]'
6859 symcode='[BCDEGQRST]'
6870 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6878 # If we're using GNU nm, then use its standard symbol codes.
6879 case `$NM -V 2>&1` in
6880 *GNU* | *'with BFD'*)
6881 symcode='[ABCDGIRSTW]' ;;
6884 # Transform an extracted symbol line into a proper C declaration.
6885 # Some systems (esp. on ia64) link data and code symbols differently,
6886 # so use this general approach.
6887 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6889 # Transform an extracted symbol line into symbol name and symbol address
6890 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6891 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'"
6893 # Handle CRLF in mingw tool chain
6897 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6901 # Try without a prefix underscore, then with it.
6902 for ac_symprfx in "" "_"; do
6904 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6905 symxfrm="\\1 $ac_symprfx\\2 \\2"
6907 # Write the raw and C identifiers.
6908 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6909 # Fake it for dumpbin and say T for any non-static function
6910 # and D for any global variable.
6911 # Also find C++ and __fastcall symbols from MSVC++,
6912 # which start with @ or ?.
6913 lt_cv_sys_global_symbol_pipe="$AWK '"\
6914 " {last_section=section; section=\$ 3};"\
6915 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6916 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6917 " \$ 0!~/External *\|/{next};"\
6918 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6919 " {if(hide[section]) next};"\
6920 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6921 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6922 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6923 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6924 " ' prfx=^$ac_symprfx"
6926 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6928 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6930 # Check to see that the pipe works correctly.
6934 cat > conftest.$ac_ext <<_LT_EOF
6939 void nm_test_func(void);
6940 void nm_test_func(void){}
6944 int main(){nm_test_var='a';nm_test_func();return(0);}
6947 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6948 (eval $ac_compile) 2>&5
6950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6951 test $ac_status = 0; }; then
6952 # Now try to grab the symbols.
6954 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6955 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6958 test $ac_status = 0; } && test -s "$nlist"; then
6959 # Try sorting and uniquifying the output.
6960 if sort "$nlist" | uniq > "$nlist"T; then
6961 mv -f "$nlist"T "$nlist"
6966 # Make sure that we snagged all the symbols we need.
6967 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6968 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6969 cat <<_LT_EOF > conftest.$ac_ext
6970 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6971 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6972 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6973 relocations are performed -- see ld's documentation on pseudo-relocs. */
6974 # define LT_DLSYM_CONST
6975 #elif defined(__osf__)
6976 /* This system does not cope well with relocations in const data. */
6977 # define LT_DLSYM_CONST
6979 # define LT_DLSYM_CONST const
6987 # Now generate the symbol file.
6988 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6990 cat <<_LT_EOF >> conftest.$ac_ext
6992 /* The mapping between symbol names and symbols. */
6993 LT_DLSYM_CONST struct {
6997 lt__PROGRAM__LTX_preloaded_symbols[] =
6999 { "@PROGRAM@", (void *) 0 },
7001 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7002 cat <<\_LT_EOF >> conftest.$ac_ext
7006 /* This works around a problem in FreeBSD linker */
7007 #ifdef FREEBSD_WORKAROUND
7008 static const void *lt_preloaded_setup() {
7009 return lt__PROGRAM__LTX_preloaded_symbols;
7017 # Now try linking the two files.
7018 mv conftest.$ac_objext conftstm.$ac_objext
7019 lt_globsym_save_LIBS=$LIBS
7020 lt_globsym_save_CFLAGS=$CFLAGS
7021 LIBS="conftstm.$ac_objext"
7022 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7024 (eval $ac_link) 2>&5
7026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7027 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7030 LIBS=$lt_globsym_save_LIBS
7031 CFLAGS=$lt_globsym_save_CFLAGS
7033 echo "cannot find nm_test_func in $nlist" >&5
7036 echo "cannot find nm_test_var in $nlist" >&5
7039 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7042 echo "$progname: failed program was:" >&5
7043 cat conftest.$ac_ext >&5
7045 rm -rf conftest* conftst*
7047 # Do not use the global_symbol_pipe unless it works.
7048 if test "$pipe_works" = yes; then
7051 lt_cv_sys_global_symbol_pipe=
7057 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7058 lt_cv_sys_global_symbol_to_cdecl=
7060 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7062 $as_echo "failed" >&6; }
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7065 $as_echo "ok" >&6; }
7068 # Response file support.
7069 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7070 nm_file_list_spec='@'
7071 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7072 nm_file_list_spec='@'
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7102 $as_echo_n "checking for sysroot... " >&6; }
7104 # Check whether --with-sysroot was given.
7105 if test "${with_sysroot+set}" = set; then :
7106 withval=$with_sysroot;
7113 case ${with_sysroot} in #(
7115 if test "$GCC" = yes; then
7116 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7120 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7126 $as_echo "${with_sysroot}" >&6; }
7127 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7132 $as_echo "${lt_sysroot:-no}" >&6; }
7138 # Check whether --enable-libtool-lock was given.
7139 if test "${enable_libtool_lock+set}" = set; then :
7140 enableval=$enable_libtool_lock;
7143 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7145 # Some flags need to be propagated to the compiler or linker for good
7149 # Find out which ABI we are using.
7150 echo 'int i;' > conftest.$ac_ext
7151 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7152 (eval $ac_compile) 2>&5
7154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7155 test $ac_status = 0; }; then
7156 case `/usr/bin/file conftest.$ac_objext` in
7168 # Find out which ABI we are using.
7169 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7171 (eval $ac_compile) 2>&5
7173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7174 test $ac_status = 0; }; then
7175 if test "$lt_cv_prog_gnu_ld" = yes; then
7176 case `/usr/bin/file conftest.$ac_objext` in
7178 LD="${LD-ld} -melf32bsmip"
7181 LD="${LD-ld} -melf32bmipn32"
7184 LD="${LD-ld} -melf64bmip"
7188 case `/usr/bin/file conftest.$ac_objext` in
7204 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7205 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7206 # Find out which ABI we are using.
7207 echo 'int i;' > conftest.$ac_ext
7208 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7209 (eval $ac_compile) 2>&5
7211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7212 test $ac_status = 0; }; then
7213 case `/usr/bin/file conftest.o` in
7216 x86_64-*kfreebsd*-gnu)
7217 LD="${LD-ld} -m elf_i386_fbsd"
7220 case `/usr/bin/file conftest.o` in
7222 LD="${LD-ld} -m elf32_x86_64"
7225 LD="${LD-ld} -m elf_i386"
7230 LD="${LD-ld} -m elf32lppclinux"
7233 LD="${LD-ld} -m elf32ppclinux"
7236 LD="${LD-ld} -m elf_s390"
7239 LD="${LD-ld} -m elf32_sparc"
7245 x86_64-*kfreebsd*-gnu)
7246 LD="${LD-ld} -m elf_x86_64_fbsd"
7249 LD="${LD-ld} -m elf_x86_64"
7252 LD="${LD-ld} -m elf64lppc"
7255 LD="${LD-ld} -m elf64ppc"
7257 s390*-*linux*|s390*-*tpf*)
7258 LD="${LD-ld} -m elf64_s390"
7261 LD="${LD-ld} -m elf64_sparc"
7271 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7272 SAVE_CFLAGS="$CFLAGS"
7273 CFLAGS="$CFLAGS -belf"
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7275 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7276 if ${lt_cv_cc_needs_belf+:} false; then :
7277 $as_echo_n "(cached) " >&6
7280 ac_cpp='$CPP $CPPFLAGS'
7281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7286 /* end confdefs.h. */
7296 if ac_fn_c_try_link "$LINENO"; then :
7297 lt_cv_cc_needs_belf=yes
7299 lt_cv_cc_needs_belf=no
7301 rm -f core conftest.err conftest.$ac_objext \
7302 conftest$ac_exeext conftest.$ac_ext
7304 ac_cpp='$CPP $CPPFLAGS'
7305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7311 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7312 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7313 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7314 CFLAGS="$SAVE_CFLAGS"
7318 # Find out which ABI we are using.
7319 echo 'int i;' > conftest.$ac_ext
7320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7321 (eval $ac_compile) 2>&5
7323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7324 test $ac_status = 0; }; then
7325 case `/usr/bin/file conftest.o` in
7327 case $lt_cv_prog_gnu_ld in
7331 LD="${LD-ld} -m elf_x86_64"
7334 LD="${LD-ld} -m elf64_sparc"
7337 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7338 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7343 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7355 need_locks="$enable_libtool_lock"
7357 if test -n "$ac_tool_prefix"; then
7358 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7359 set dummy ${ac_tool_prefix}mt; ac_word=$2
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7361 $as_echo_n "checking for $ac_word... " >&6; }
7362 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7363 $as_echo_n "(cached) " >&6
7365 if test -n "$MANIFEST_TOOL"; then
7366 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7372 test -z "$as_dir" && as_dir=.
7373 for ac_exec_ext in '' $ac_executable_extensions; do
7374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7375 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7385 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7386 if test -n "$MANIFEST_TOOL"; then
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7388 $as_echo "$MANIFEST_TOOL" >&6; }
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7391 $as_echo "no" >&6; }
7396 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7397 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7398 # Extract the first word of "mt", so it can be a program name with args.
7399 set dummy mt; ac_word=$2
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7401 $as_echo_n "checking for $ac_word... " >&6; }
7402 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7403 $as_echo_n "(cached) " >&6
7405 if test -n "$ac_ct_MANIFEST_TOOL"; then
7406 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7412 test -z "$as_dir" && as_dir=.
7413 for ac_exec_ext in '' $ac_executable_extensions; do
7414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7415 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7425 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7426 if test -n "$ac_ct_MANIFEST_TOOL"; then
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7428 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431 $as_echo "no" >&6; }
7434 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7437 case $cross_compiling:$ac_tool_warned in
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7441 ac_tool_warned=yes ;;
7443 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7446 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7449 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7451 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7452 if ${lt_cv_path_mainfest_tool+:} false; then :
7453 $as_echo_n "(cached) " >&6
7455 lt_cv_path_mainfest_tool=no
7456 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7457 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7458 cat conftest.err >&5
7459 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7460 lt_cv_path_mainfest_tool=yes
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7465 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7466 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7476 rhapsody* | darwin*)
7477 if test -n "$ac_tool_prefix"; then
7478 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7479 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7481 $as_echo_n "checking for $ac_word... " >&6; }
7482 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7483 $as_echo_n "(cached) " >&6
7485 if test -n "$DSYMUTIL"; then
7486 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492 test -z "$as_dir" && as_dir=.
7493 for ac_exec_ext in '' $ac_executable_extensions; do
7494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7495 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7505 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7506 if test -n "$DSYMUTIL"; then
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7508 $as_echo "$DSYMUTIL" >&6; }
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7511 $as_echo "no" >&6; }
7516 if test -z "$ac_cv_prog_DSYMUTIL"; then
7517 ac_ct_DSYMUTIL=$DSYMUTIL
7518 # Extract the first word of "dsymutil", so it can be a program name with args.
7519 set dummy dsymutil; ac_word=$2
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7521 $as_echo_n "checking for $ac_word... " >&6; }
7522 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7523 $as_echo_n "(cached) " >&6
7525 if test -n "$ac_ct_DSYMUTIL"; then
7526 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7532 test -z "$as_dir" && as_dir=.
7533 for ac_exec_ext in '' $ac_executable_extensions; do
7534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7535 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7546 if test -n "$ac_ct_DSYMUTIL"; then
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7548 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7551 $as_echo "no" >&6; }
7554 if test "x$ac_ct_DSYMUTIL" = x; then
7557 case $cross_compiling:$ac_tool_warned in
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7561 ac_tool_warned=yes ;;
7563 DSYMUTIL=$ac_ct_DSYMUTIL
7566 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7569 if test -n "$ac_tool_prefix"; then
7570 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7571 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7573 $as_echo_n "checking for $ac_word... " >&6; }
7574 if ${ac_cv_prog_NMEDIT+:} false; then :
7575 $as_echo_n "(cached) " >&6
7577 if test -n "$NMEDIT"; then
7578 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584 test -z "$as_dir" && as_dir=.
7585 for ac_exec_ext in '' $ac_executable_extensions; do
7586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7587 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7597 NMEDIT=$ac_cv_prog_NMEDIT
7598 if test -n "$NMEDIT"; then
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7600 $as_echo "$NMEDIT" >&6; }
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7603 $as_echo "no" >&6; }
7608 if test -z "$ac_cv_prog_NMEDIT"; then
7609 ac_ct_NMEDIT=$NMEDIT
7610 # Extract the first word of "nmedit", so it can be a program name with args.
7611 set dummy nmedit; ac_word=$2
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7613 $as_echo_n "checking for $ac_word... " >&6; }
7614 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7615 $as_echo_n "(cached) " >&6
7617 if test -n "$ac_ct_NMEDIT"; then
7618 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7624 test -z "$as_dir" && as_dir=.
7625 for ac_exec_ext in '' $ac_executable_extensions; do
7626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7627 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7638 if test -n "$ac_ct_NMEDIT"; then
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7640 $as_echo "$ac_ct_NMEDIT" >&6; }
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7643 $as_echo "no" >&6; }
7646 if test "x$ac_ct_NMEDIT" = x; then
7649 case $cross_compiling:$ac_tool_warned in
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7653 ac_tool_warned=yes ;;
7655 NMEDIT=$ac_ct_NMEDIT
7658 NMEDIT="$ac_cv_prog_NMEDIT"
7661 if test -n "$ac_tool_prefix"; then
7662 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7663 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665 $as_echo_n "checking for $ac_word... " >&6; }
7666 if ${ac_cv_prog_LIPO+:} false; then :
7667 $as_echo_n "(cached) " >&6
7669 if test -n "$LIPO"; then
7670 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 test -z "$as_dir" && as_dir=.
7677 for ac_exec_ext in '' $ac_executable_extensions; do
7678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7679 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7689 LIPO=$ac_cv_prog_LIPO
7690 if test -n "$LIPO"; then
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7692 $as_echo "$LIPO" >&6; }
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7695 $as_echo "no" >&6; }
7700 if test -z "$ac_cv_prog_LIPO"; then
7702 # Extract the first word of "lipo", so it can be a program name with args.
7703 set dummy lipo; ac_word=$2
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7705 $as_echo_n "checking for $ac_word... " >&6; }
7706 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7707 $as_echo_n "(cached) " >&6
7709 if test -n "$ac_ct_LIPO"; then
7710 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7716 test -z "$as_dir" && as_dir=.
7717 for ac_exec_ext in '' $ac_executable_extensions; do
7718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7719 ac_cv_prog_ac_ct_LIPO="lipo"
7720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7729 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7730 if test -n "$ac_ct_LIPO"; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7732 $as_echo "$ac_ct_LIPO" >&6; }
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7735 $as_echo "no" >&6; }
7738 if test "x$ac_ct_LIPO" = x; then
7741 case $cross_compiling:$ac_tool_warned in
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7745 ac_tool_warned=yes ;;
7750 LIPO="$ac_cv_prog_LIPO"
7753 if test -n "$ac_tool_prefix"; then
7754 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7755 set dummy ${ac_tool_prefix}otool; ac_word=$2
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7757 $as_echo_n "checking for $ac_word... " >&6; }
7758 if ${ac_cv_prog_OTOOL+:} false; then :
7759 $as_echo_n "(cached) " >&6
7761 if test -n "$OTOOL"; then
7762 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768 test -z "$as_dir" && as_dir=.
7769 for ac_exec_ext in '' $ac_executable_extensions; do
7770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7771 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7781 OTOOL=$ac_cv_prog_OTOOL
7782 if test -n "$OTOOL"; then
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7784 $as_echo "$OTOOL" >&6; }
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7787 $as_echo "no" >&6; }
7792 if test -z "$ac_cv_prog_OTOOL"; then
7794 # Extract the first word of "otool", so it can be a program name with args.
7795 set dummy otool; ac_word=$2
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7797 $as_echo_n "checking for $ac_word... " >&6; }
7798 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7799 $as_echo_n "(cached) " >&6
7801 if test -n "$ac_ct_OTOOL"; then
7802 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7808 test -z "$as_dir" && as_dir=.
7809 for ac_exec_ext in '' $ac_executable_extensions; do
7810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7811 ac_cv_prog_ac_ct_OTOOL="otool"
7812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7821 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7822 if test -n "$ac_ct_OTOOL"; then
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7824 $as_echo "$ac_ct_OTOOL" >&6; }
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7827 $as_echo "no" >&6; }
7830 if test "x$ac_ct_OTOOL" = x; then
7833 case $cross_compiling:$ac_tool_warned in
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7837 ac_tool_warned=yes ;;
7842 OTOOL="$ac_cv_prog_OTOOL"
7845 if test -n "$ac_tool_prefix"; then
7846 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7847 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849 $as_echo_n "checking for $ac_word... " >&6; }
7850 if ${ac_cv_prog_OTOOL64+:} false; then :
7851 $as_echo_n "(cached) " >&6
7853 if test -n "$OTOOL64"; then
7854 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7860 test -z "$as_dir" && as_dir=.
7861 for ac_exec_ext in '' $ac_executable_extensions; do
7862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7863 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 OTOOL64=$ac_cv_prog_OTOOL64
7874 if test -n "$OTOOL64"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7876 $as_echo "$OTOOL64" >&6; }
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7884 if test -z "$ac_cv_prog_OTOOL64"; then
7885 ac_ct_OTOOL64=$OTOOL64
7886 # Extract the first word of "otool64", so it can be a program name with args.
7887 set dummy otool64; ac_word=$2
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7889 $as_echo_n "checking for $ac_word... " >&6; }
7890 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7891 $as_echo_n "(cached) " >&6
7893 if test -n "$ac_ct_OTOOL64"; then
7894 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7900 test -z "$as_dir" && as_dir=.
7901 for ac_exec_ext in '' $ac_executable_extensions; do
7902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7903 ac_cv_prog_ac_ct_OTOOL64="otool64"
7904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7914 if test -n "$ac_ct_OTOOL64"; then
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7916 $as_echo "$ac_ct_OTOOL64" >&6; }
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7919 $as_echo "no" >&6; }
7922 if test "x$ac_ct_OTOOL64" = x; then
7925 case $cross_compiling:$ac_tool_warned in
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7929 ac_tool_warned=yes ;;
7931 OTOOL64=$ac_ct_OTOOL64
7934 OTOOL64="$ac_cv_prog_OTOOL64"
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7964 $as_echo_n "checking for -single_module linker flag... " >&6; }
7965 if ${lt_cv_apple_cc_single_mod+:} false; then :
7966 $as_echo_n "(cached) " >&6
7968 lt_cv_apple_cc_single_mod=no
7969 if test -z "${LT_MULTI_MODULE}"; then
7970 # By default we will add the -single_module flag. You can override
7971 # by either setting the environment variable LT_MULTI_MODULE
7972 # non-empty at configure time, or by adding -multi_module to the
7974 rm -rf libconftest.dylib*
7975 echo "int foo(void){return 1;}" > conftest.c
7976 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7977 -dynamiclib -Wl,-single_module conftest.c" >&5
7978 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7979 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7981 # If there is a non-empty error log, and "single_module"
7982 # appears in it, assume the flag caused a linker warning
7983 if test -s conftest.err && $GREP single_module conftest.err; then
7984 cat conftest.err >&5
7985 # Otherwise, if the output was created with a 0 exit code from
7986 # the compiler, it worked.
7987 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7988 lt_cv_apple_cc_single_mod=yes
7990 cat conftest.err >&5
7992 rm -rf libconftest.dylib*
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7997 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8000 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8001 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8002 $as_echo_n "(cached) " >&6
8004 lt_cv_ld_exported_symbols_list=no
8005 save_LDFLAGS=$LDFLAGS
8006 echo "_main" > conftest.sym
8007 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8009 /* end confdefs.h. */
8019 if ac_fn_c_try_link "$LINENO"; then :
8020 lt_cv_ld_exported_symbols_list=yes
8022 lt_cv_ld_exported_symbols_list=no
8024 rm -f core conftest.err conftest.$ac_objext \
8025 conftest$ac_exeext conftest.$ac_ext
8026 LDFLAGS="$save_LDFLAGS"
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8030 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8033 $as_echo_n "checking for -force_load linker flag... " >&6; }
8034 if ${lt_cv_ld_force_load+:} false; then :
8035 $as_echo_n "(cached) " >&6
8037 lt_cv_ld_force_load=no
8038 cat > conftest.c << _LT_EOF
8039 int forced_loaded() { return 2;}
8041 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8042 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8043 echo "$AR cru libconftest.a conftest.o" >&5
8044 $AR cru libconftest.a conftest.o 2>&5
8045 echo "$RANLIB libconftest.a" >&5
8046 $RANLIB libconftest.a 2>&5
8047 cat > conftest.c << _LT_EOF
8048 int main() { return 0;}
8050 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8051 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8053 if test -s conftest.err && $GREP force_load conftest.err; then
8054 cat conftest.err >&5
8055 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8056 lt_cv_ld_force_load=yes
8058 cat conftest.err >&5
8060 rm -f conftest.err libconftest.a conftest conftest.c
8061 rm -rf conftest.dSYM
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8065 $as_echo "$lt_cv_ld_force_load" >&6; }
8067 rhapsody* | darwin1.[012])
8068 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8070 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8071 darwin*) # darwin 5.x on
8072 # if running on 10.5 or later, the deployment target defaults
8073 # to the OS version, if on x86, and 10.4, the deployment
8074 # target defaults to 10.4. Don't you love it?
8075 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8076 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8077 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8079 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8081 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8085 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8086 _lt_dar_single_mod='$single_module'
8088 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8089 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8091 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8093 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8094 _lt_dsymutil='~$DSYMUTIL $lib || :'
8102 ac_cpp='$CPP $CPPFLAGS'
8103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8107 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8108 # On Suns, sometimes $CPP names a directory.
8109 if test -n "$CPP" && test -d "$CPP"; then
8112 if test -z "$CPP"; then
8113 if ${ac_cv_prog_CPP+:} false; then :
8114 $as_echo_n "(cached) " >&6
8116 # Double quotes because CPP needs to be expanded
8117 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8120 for ac_c_preproc_warn_flag in '' yes
8122 # Use a header file that comes with gcc, so configuring glibc
8123 # with a fresh cross-compiler works.
8124 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8125 # <limits.h> exists even on freestanding compilers.
8126 # On the NeXT, cc -E runs the code through the compiler's parser,
8127 # not just through cpp. "Syntax error" is here to catch this case.
8128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8129 /* end confdefs.h. */
8131 # include <limits.h>
8133 # include <assert.h>
8137 if ac_fn_c_try_cpp "$LINENO"; then :
8140 # Broken: fails on valid input.
8143 rm -f conftest.err conftest.i conftest.$ac_ext
8145 # OK, works on sane cases. Now check whether nonexistent headers
8146 # can be detected and how.
8147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8148 /* end confdefs.h. */
8149 #include <ac_nonexistent.h>
8151 if ac_fn_c_try_cpp "$LINENO"; then :
8152 # Broken: success on invalid input.
8155 # Passes both tests.
8159 rm -f conftest.err conftest.i conftest.$ac_ext
8162 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8163 rm -f conftest.i conftest.err conftest.$ac_ext
8164 if $ac_preproc_ok; then :
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8177 $as_echo "$CPP" >&6; }
8179 for ac_c_preproc_warn_flag in '' yes
8181 # Use a header file that comes with gcc, so configuring glibc
8182 # with a fresh cross-compiler works.
8183 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8184 # <limits.h> exists even on freestanding compilers.
8185 # On the NeXT, cc -E runs the code through the compiler's parser,
8186 # not just through cpp. "Syntax error" is here to catch this case.
8187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h. */
8190 # include <limits.h>
8192 # include <assert.h>
8196 if ac_fn_c_try_cpp "$LINENO"; then :
8199 # Broken: fails on valid input.
8202 rm -f conftest.err conftest.i conftest.$ac_ext
8204 # OK, works on sane cases. Now check whether nonexistent headers
8205 # can be detected and how.
8206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8207 /* end confdefs.h. */
8208 #include <ac_nonexistent.h>
8210 if ac_fn_c_try_cpp "$LINENO"; then :
8211 # Broken: success on invalid input.
8214 # Passes both tests.
8218 rm -f conftest.err conftest.i conftest.$ac_ext
8221 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8222 rm -f conftest.i conftest.err conftest.$ac_ext
8223 if $ac_preproc_ok; then :
8226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8228 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8229 See \`config.log' for more details" "$LINENO" 5; }
8233 ac_cpp='$CPP $CPPFLAGS'
8234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8240 $as_echo_n "checking for ANSI C header files... " >&6; }
8241 if ${ac_cv_header_stdc+:} false; then :
8242 $as_echo_n "(cached) " >&6
8244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8245 /* end confdefs.h. */
8259 if ac_fn_c_try_compile "$LINENO"; then :
8260 ac_cv_header_stdc=yes
8262 ac_cv_header_stdc=no
8264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8266 if test $ac_cv_header_stdc = yes; then
8267 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8269 /* end confdefs.h. */
8273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8274 $EGREP "memchr" >/dev/null 2>&1; then :
8277 ac_cv_header_stdc=no
8283 if test $ac_cv_header_stdc = yes; then
8284 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8291 $EGREP "free" >/dev/null 2>&1; then :
8294 ac_cv_header_stdc=no
8300 if test $ac_cv_header_stdc = yes; then
8301 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8302 if test "$cross_compiling" = yes; then :
8305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8306 /* end confdefs.h. */
8309 #if ((' ' & 0x0FF) == 0x020)
8310 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8311 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8313 # define ISLOWER(c) \
8314 (('a' <= (c) && (c) <= 'i') \
8315 || ('j' <= (c) && (c) <= 'r') \
8316 || ('s' <= (c) && (c) <= 'z'))
8317 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8320 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8325 for (i = 0; i < 256; i++)
8326 if (XOR (islower (i), ISLOWER (i))
8327 || toupper (i) != TOUPPER (i))
8332 if ac_fn_c_try_run "$LINENO"; then :
8335 ac_cv_header_stdc=no
8337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8338 conftest.$ac_objext conftest.beam conftest.$ac_ext
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8344 $as_echo "$ac_cv_header_stdc" >&6; }
8345 if test $ac_cv_header_stdc = yes; then
8347 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8351 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8352 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8353 inttypes.h stdint.h unistd.h
8355 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8356 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8358 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8359 cat >>confdefs.h <<_ACEOF
8360 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8368 for ac_header in dlfcn.h
8370 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8372 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8373 cat >>confdefs.h <<_ACEOF
8374 #define HAVE_DLFCN_H 1
8395 # Check whether --enable-shared was given.
8396 if test "${enable_shared+set}" = set; then :
8397 enableval=$enable_shared; p=${PACKAGE-default}
8399 yes) enable_shared=yes ;;
8400 no) enable_shared=no ;;
8403 # Look at the argument we got. We use all the common list separators.
8404 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8405 for pkg in $enableval; do
8407 if test "X$pkg" = "X$p"; then
8426 # Check whether --enable-static was given.
8427 if test "${enable_static+set}" = set; then :
8428 enableval=$enable_static; p=${PACKAGE-default}
8430 yes) enable_static=yes ;;
8431 no) enable_static=no ;;
8434 # Look at the argument we got. We use all the common list separators.
8435 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8436 for pkg in $enableval; do
8438 if test "X$pkg" = "X$p"; then
8458 # Check whether --with-pic was given.
8459 if test "${with_pic+set}" = set; then :
8460 withval=$with_pic; lt_p=${PACKAGE-default}
8462 yes|no) pic_mode=$withval ;;
8465 # Look at the argument we got. We use all the common list separators.
8466 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8467 for lt_pkg in $withval; do
8469 if test "X$lt_pkg" = "X$lt_p"; then
8481 test -z "$pic_mode" && pic_mode=default
8489 # Check whether --enable-fast-install was given.
8490 if test "${enable_fast_install+set}" = set; then :
8491 enableval=$enable_fast_install; p=${PACKAGE-default}
8493 yes) enable_fast_install=yes ;;
8494 no) enable_fast_install=no ;;
8496 enable_fast_install=no
8497 # Look at the argument we got. We use all the common list separators.
8498 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8499 for pkg in $enableval; do
8501 if test "X$pkg" = "X$p"; then
8502 enable_fast_install=yes
8509 enable_fast_install=yes
8522 # This can be used to rebuild libtool when needed
8523 LIBTOOL_DEPS="$ltmain"
8525 # Always use our own libtool.
8526 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8557 test -z "$LN_S" && LN_S="ln -s"
8572 if test -n "${ZSH_VERSION+set}" ; then
8573 setopt NO_GLOB_SUBST
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8577 $as_echo_n "checking for objdir... " >&6; }
8578 if ${lt_cv_objdir+:} false; then :
8579 $as_echo_n "(cached) " >&6
8581 rm -f .libs 2>/dev/null
8582 mkdir .libs 2>/dev/null
8583 if test -d .libs; then
8586 # MS-DOS does not allow filenames that begin with a dot.
8589 rmdir .libs 2>/dev/null
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8592 $as_echo "$lt_cv_objdir" >&6; }
8593 objdir=$lt_cv_objdir
8599 cat >>confdefs.h <<_ACEOF
8600 #define LT_OBJDIR "$lt_cv_objdir/"
8608 # AIX sometimes has problems with the GCC collect2 program. For some
8609 # reason, if we set the COLLECT_NAMES environment variable, the problems
8610 # vanish in a puff of smoke.
8611 if test "X${COLLECT_NAMES+set}" != Xset; then
8613 export COLLECT_NAMES
8620 can_build_shared=yes
8622 # All known linkers require a `.a' archive for static linking (except MSVC,
8623 # which needs '.lib').
8626 with_gnu_ld="$lt_cv_prog_gnu_ld"
8629 old_CFLAGS="$CFLAGS"
8631 # Set sane defaults for various variables
8632 test -z "$CC" && CC=cc
8633 test -z "$LTCC" && LTCC=$CC
8634 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8635 test -z "$LD" && LD=ld
8636 test -z "$ac_objext" && ac_objext=o
8638 for cc_temp in $compiler""; do
8640 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8641 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8646 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8649 # Only perform the check for file, if the check method requires it
8650 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8651 case $deplibs_check_method in
8653 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8655 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8656 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8657 $as_echo_n "(cached) " >&6
8661 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8664 lt_save_MAGIC_CMD="$MAGIC_CMD"
8665 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8666 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8667 for ac_dir in $ac_dummy; do
8669 test -z "$ac_dir" && ac_dir=.
8670 if test -f $ac_dir/${ac_tool_prefix}file; then
8671 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8672 if test -n "$file_magic_test_file"; then
8673 case $deplibs_check_method in
8675 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8676 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8677 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8678 $EGREP "$file_magic_regex" > /dev/null; then
8683 *** Warning: the command libtool uses to detect shared libraries,
8684 *** $file_magic_cmd, produces output that libtool cannot recognize.
8685 *** The result is that libtool may fail to recognize shared libraries
8686 *** as such. This will affect the creation of libtool libraries that
8687 *** depend on shared libraries, but programs linked with such libtool
8688 *** libraries will work regardless of this problem. Nevertheless, you
8689 *** may want to report the problem to your system manager and/or to
8690 *** bug-libtool@gnu.org
8700 MAGIC_CMD="$lt_save_MAGIC_CMD"
8705 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8706 if test -n "$MAGIC_CMD"; then
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8708 $as_echo "$MAGIC_CMD" >&6; }
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8711 $as_echo "no" >&6; }
8718 if test -z "$lt_cv_path_MAGIC_CMD"; then
8719 if test -n "$ac_tool_prefix"; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8721 $as_echo_n "checking for file... " >&6; }
8722 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8723 $as_echo_n "(cached) " >&6
8727 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8730 lt_save_MAGIC_CMD="$MAGIC_CMD"
8731 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8732 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8733 for ac_dir in $ac_dummy; do
8735 test -z "$ac_dir" && ac_dir=.
8736 if test -f $ac_dir/file; then
8737 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8738 if test -n "$file_magic_test_file"; then
8739 case $deplibs_check_method in
8741 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8742 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8743 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8744 $EGREP "$file_magic_regex" > /dev/null; then
8749 *** Warning: the command libtool uses to detect shared libraries,
8750 *** $file_magic_cmd, produces output that libtool cannot recognize.
8751 *** The result is that libtool may fail to recognize shared libraries
8752 *** as such. This will affect the creation of libtool libraries that
8753 *** depend on shared libraries, but programs linked with such libtool
8754 *** libraries will work regardless of this problem. Nevertheless, you
8755 *** may want to report the problem to your system manager and/or to
8756 *** bug-libtool@gnu.org
8766 MAGIC_CMD="$lt_save_MAGIC_CMD"
8771 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8772 if test -n "$MAGIC_CMD"; then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8774 $as_echo "$MAGIC_CMD" >&6; }
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8777 $as_echo "no" >&6; }
8790 # Use C for the default configuration in the libtool script
8794 ac_cpp='$CPP $CPPFLAGS'
8795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8800 # Source file extension for C test sources.
8803 # Object file extension for compiled C test sources.
8807 # Code to be used in simple compile tests
8808 lt_simple_compile_test_code="int some_variable = 0;"
8810 # Code to be used in simple link tests
8811 lt_simple_link_test_code='int main(){return(0);}'
8819 # If no C compiler was specified, use CC.
8822 # If no C compiler flags were specified, use CFLAGS.
8823 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8825 # Allow CC to be a program name with arguments.
8828 # Save the default compiler, since it gets overwritten when the other
8829 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8830 compiler_DEFAULT=$CC
8832 # save warnings/boilerplate of simple test code
8833 ac_outfile=conftest.$ac_objext
8834 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8835 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8836 _lt_compiler_boilerplate=`cat conftest.err`
8839 ac_outfile=conftest.$ac_objext
8840 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8841 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8842 _lt_linker_boilerplate=`cat conftest.err`
8846 if test -n "$compiler"; then
8848 lt_prog_compiler_no_builtin_flag=
8850 if test "$GCC" = yes; then
8851 case $cc_basename in
8853 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8855 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8859 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8860 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8861 $as_echo_n "(cached) " >&6
8863 lt_cv_prog_compiler_rtti_exceptions=no
8864 ac_outfile=conftest.$ac_objext
8865 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8866 lt_compiler_flag="-fno-rtti -fno-exceptions"
8867 # Insert the option either (1) after the last *FLAGS variable, or
8868 # (2) before a word containing "conftest.", or (3) at the end.
8869 # Note that $ac_compile itself does not contain backslashes and begins
8870 # with a dollar sign (not a hyphen), so the echo should work correctly.
8871 # The option is referenced via a variable to avoid confusing sed.
8872 lt_compile=`echo "$ac_compile" | $SED \
8873 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8874 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8875 -e 's:$: $lt_compiler_flag:'`
8876 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8877 (eval "$lt_compile" 2>conftest.err)
8879 cat conftest.err >&5
8880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881 if (exit $ac_status) && test -s "$ac_outfile"; then
8882 # The compiler can only warn and ignore the option if not recognized
8883 # So say no if there are warnings other than the usual output.
8884 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8885 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8886 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8887 lt_cv_prog_compiler_rtti_exceptions=yes
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8894 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8896 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8897 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8909 lt_prog_compiler_wl=
8910 lt_prog_compiler_pic=
8911 lt_prog_compiler_static=
8914 if test "$GCC" = yes; then
8915 lt_prog_compiler_wl='-Wl,'
8916 lt_prog_compiler_static='-static'
8920 # All AIX code is PIC.
8921 if test "$host_cpu" = ia64; then
8922 # AIX 5 now supports IA64 processor
8923 lt_prog_compiler_static='-Bstatic'
8930 # see comment about AmigaOS4 .so support
8931 lt_prog_compiler_pic='-fPIC'
8934 # FIXME: we need at least 68020 code to build shared libraries, but
8935 # adding the `-m68020' flag to GCC prevents building anything better,
8937 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8942 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8943 # PIC is the default for these OSes.
8946 mingw* | cygwin* | pw32* | os2* | cegcc*)
8947 # This hack is so that the source file can tell whether it is being
8948 # built for inclusion in a dll (and should export symbols for example).
8949 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8950 # (--disable-auto-import) libraries
8951 lt_prog_compiler_pic='-DDLL_EXPORT'
8954 darwin* | rhapsody*)
8955 # PIC is the default on this platform
8956 # Common symbols not allowed in MH_DYLIB files
8957 lt_prog_compiler_pic='-fno-common'
8961 # PIC is the default for Haiku.
8962 # The "-static" flag exists, but is broken.
8963 lt_prog_compiler_static=
8967 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8968 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8969 # sets the default TLS model and affects inlining.
8975 lt_prog_compiler_pic='-fPIC'
8981 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8982 # Instead, we relocate shared libraries at runtime.
8986 # Just because we use GCC doesn't mean we suddenly get shared libraries
8987 # on systems that don't support them.
8988 lt_prog_compiler_can_build_shared=no
8993 # QNX uses GNU C++, but need to define -shared option too, otherwise
8995 lt_prog_compiler_pic='-fPIC -shared'
8999 if test -d /usr/nec; then
9000 lt_prog_compiler_pic=-Kconform_pic
9005 lt_prog_compiler_pic='-fPIC'
9009 case $cc_basename in
9010 nvcc*) # Cuda Compiler Driver 2.2
9011 lt_prog_compiler_wl='-Xlinker '
9012 if test -n "$lt_prog_compiler_pic"; then
9013 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9018 # PORTME Check for flag to pass linker flags through the system compiler.
9021 lt_prog_compiler_wl='-Wl,'
9022 if test "$host_cpu" = ia64; then
9023 # AIX 5 now supports IA64 processor
9024 lt_prog_compiler_static='-Bstatic'
9026 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9030 mingw* | cygwin* | pw32* | os2* | cegcc*)
9031 # This hack is so that the source file can tell whether it is being
9032 # built for inclusion in a dll (and should export symbols for example).
9033 lt_prog_compiler_pic='-DDLL_EXPORT'
9036 hpux9* | hpux10* | hpux11*)
9037 lt_prog_compiler_wl='-Wl,'
9038 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9045 lt_prog_compiler_pic='+Z'
9048 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9049 lt_prog_compiler_static='${wl}-a ${wl}archive'
9052 irix5* | irix6* | nonstopux*)
9053 lt_prog_compiler_wl='-Wl,'
9054 # PIC (with -KPIC) is the default.
9055 lt_prog_compiler_static='-non_shared'
9058 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9059 case $cc_basename in
9060 # old Intel for x86_64 which still supported -KPIC.
9062 lt_prog_compiler_wl='-Wl,'
9063 lt_prog_compiler_pic='-KPIC'
9064 lt_prog_compiler_static='-static'
9066 # icc used to be incompatible with GCC.
9067 # ICC 10 doesn't accept -KPIC any more.
9069 lt_prog_compiler_wl='-Wl,'
9070 lt_prog_compiler_pic='-fPIC'
9071 lt_prog_compiler_static='-static'
9073 # Lahey Fortran 8.1.
9075 lt_prog_compiler_wl='-Wl,'
9076 lt_prog_compiler_pic='--shared'
9077 lt_prog_compiler_static='--static'
9080 # NAG Fortran compiler
9081 lt_prog_compiler_wl='-Wl,-Wl,,'
9082 lt_prog_compiler_pic='-PIC'
9083 lt_prog_compiler_static='-Bstatic'
9085 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9086 # Portland Group compilers (*not* the Pentium gcc compiler,
9087 # which looks to be a dead project)
9088 lt_prog_compiler_wl='-Wl,'
9089 lt_prog_compiler_pic='-fpic'
9090 lt_prog_compiler_static='-Bstatic'
9093 lt_prog_compiler_wl='-Wl,'
9094 # All Alpha code is PIC.
9095 lt_prog_compiler_static='-non_shared'
9097 xl* | bgxl* | bgf* | mpixl*)
9098 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9099 lt_prog_compiler_wl='-Wl,'
9100 lt_prog_compiler_pic='-qpic'
9101 lt_prog_compiler_static='-qstaticlink'
9104 case `$CC -V 2>&1 | sed 5q` in
9105 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9106 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9107 lt_prog_compiler_pic='-KPIC'
9108 lt_prog_compiler_static='-Bstatic'
9109 lt_prog_compiler_wl=''
9111 *Sun\ F* | *Sun*Fortran*)
9112 lt_prog_compiler_pic='-KPIC'
9113 lt_prog_compiler_static='-Bstatic'
9114 lt_prog_compiler_wl='-Qoption ld '
9118 lt_prog_compiler_pic='-KPIC'
9119 lt_prog_compiler_static='-Bstatic'
9120 lt_prog_compiler_wl='-Wl,'
9122 *Intel*\ [CF]*Compiler*)
9123 lt_prog_compiler_wl='-Wl,'
9124 lt_prog_compiler_pic='-fPIC'
9125 lt_prog_compiler_static='-static'
9128 lt_prog_compiler_wl='-Wl,'
9129 lt_prog_compiler_pic='-fpic'
9130 lt_prog_compiler_static='-Bstatic'
9138 lt_prog_compiler_pic='-KPIC'
9139 lt_prog_compiler_static='-Bstatic'
9143 # QNX uses GNU C++, but need to define -shared option too, otherwise
9145 lt_prog_compiler_pic='-fPIC -shared'
9148 osf3* | osf4* | osf5*)
9149 lt_prog_compiler_wl='-Wl,'
9150 # All OSF/1 code is PIC.
9151 lt_prog_compiler_static='-non_shared'
9155 lt_prog_compiler_static='-non_shared'
9159 lt_prog_compiler_pic='-KPIC'
9160 lt_prog_compiler_static='-Bstatic'
9161 case $cc_basename in
9162 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9163 lt_prog_compiler_wl='-Qoption ld ';;
9165 lt_prog_compiler_wl='-Wl,';;
9170 lt_prog_compiler_wl='-Qoption ld '
9171 lt_prog_compiler_pic='-PIC'
9172 lt_prog_compiler_static='-Bstatic'
9175 sysv4 | sysv4.2uw2* | sysv4.3*)
9176 lt_prog_compiler_wl='-Wl,'
9177 lt_prog_compiler_pic='-KPIC'
9178 lt_prog_compiler_static='-Bstatic'
9182 if test -d /usr/nec ;then
9183 lt_prog_compiler_pic='-Kconform_pic'
9184 lt_prog_compiler_static='-Bstatic'
9188 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9189 lt_prog_compiler_wl='-Wl,'
9190 lt_prog_compiler_pic='-KPIC'
9191 lt_prog_compiler_static='-Bstatic'
9195 lt_prog_compiler_wl='-Wl,'
9196 lt_prog_compiler_can_build_shared=no
9200 lt_prog_compiler_pic='-pic'
9201 lt_prog_compiler_static='-Bstatic'
9205 lt_prog_compiler_can_build_shared=no
9211 # For platforms which do not support PIC, -DPIC is meaningless:
9213 lt_prog_compiler_pic=
9216 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9221 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9222 if ${lt_cv_prog_compiler_pic+:} false; then :
9223 $as_echo_n "(cached) " >&6
9225 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9228 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9229 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9232 # Check to make sure the PIC flag actually works.
9234 if test -n "$lt_prog_compiler_pic"; then
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9236 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9237 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9238 $as_echo_n "(cached) " >&6
9240 lt_cv_prog_compiler_pic_works=no
9241 ac_outfile=conftest.$ac_objext
9242 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9243 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9244 # Insert the option either (1) after the last *FLAGS variable, or
9245 # (2) before a word containing "conftest.", or (3) at the end.
9246 # Note that $ac_compile itself does not contain backslashes and begins
9247 # with a dollar sign (not a hyphen), so the echo should work correctly.
9248 # The option is referenced via a variable to avoid confusing sed.
9249 lt_compile=`echo "$ac_compile" | $SED \
9250 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9251 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9252 -e 's:$: $lt_compiler_flag:'`
9253 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9254 (eval "$lt_compile" 2>conftest.err)
9256 cat conftest.err >&5
9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258 if (exit $ac_status) && test -s "$ac_outfile"; then
9259 # The compiler can only warn and ignore the option if not recognized
9260 # So say no if there are warnings other than the usual output.
9261 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9262 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9263 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9264 lt_cv_prog_compiler_pic_works=yes
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9271 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9273 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9274 case $lt_prog_compiler_pic in
9276 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9279 lt_prog_compiler_pic=
9280 lt_prog_compiler_can_build_shared=no
9296 # Check to make sure the static flag actually works.
9298 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9300 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9301 if ${lt_cv_prog_compiler_static_works+:} false; then :
9302 $as_echo_n "(cached) " >&6
9304 lt_cv_prog_compiler_static_works=no
9305 save_LDFLAGS="$LDFLAGS"
9306 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9307 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9308 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9309 # The linker can only warn and ignore the option if not recognized
9310 # So say no if there are warnings
9311 if test -s conftest.err; then
9312 # Append any errors to the config.log.
9313 cat conftest.err 1>&5
9314 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9315 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9316 if diff conftest.exp conftest.er2 >/dev/null; then
9317 lt_cv_prog_compiler_static_works=yes
9320 lt_cv_prog_compiler_static_works=yes
9324 LDFLAGS="$save_LDFLAGS"
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9328 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9330 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9333 lt_prog_compiler_static=
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9343 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9344 if ${lt_cv_prog_compiler_c_o+:} false; then :
9345 $as_echo_n "(cached) " >&6
9347 lt_cv_prog_compiler_c_o=no
9348 $RM -r conftest 2>/dev/null
9352 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9354 lt_compiler_flag="-o out/conftest2.$ac_objext"
9355 # Insert the option either (1) after the last *FLAGS variable, or
9356 # (2) before a word containing "conftest.", or (3) at the end.
9357 # Note that $ac_compile itself does not contain backslashes and begins
9358 # with a dollar sign (not a hyphen), so the echo should work correctly.
9359 lt_compile=`echo "$ac_compile" | $SED \
9360 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9361 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9362 -e 's:$: $lt_compiler_flag:'`
9363 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9364 (eval "$lt_compile" 2>out/conftest.err)
9366 cat out/conftest.err >&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9370 # The compiler can only warn and ignore the option if not recognized
9371 # So say no if there are warnings
9372 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9373 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9374 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9375 lt_cv_prog_compiler_c_o=yes
9380 # SGI C++ compiler will create directory out/ii_files/ for
9381 # template instantiation
9382 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9383 $RM out/* && rmdir out
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9390 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9398 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9399 if ${lt_cv_prog_compiler_c_o+:} false; then :
9400 $as_echo_n "(cached) " >&6
9402 lt_cv_prog_compiler_c_o=no
9403 $RM -r conftest 2>/dev/null
9407 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9409 lt_compiler_flag="-o out/conftest2.$ac_objext"
9410 # Insert the option either (1) after the last *FLAGS variable, or
9411 # (2) before a word containing "conftest.", or (3) at the end.
9412 # Note that $ac_compile itself does not contain backslashes and begins
9413 # with a dollar sign (not a hyphen), so the echo should work correctly.
9414 lt_compile=`echo "$ac_compile" | $SED \
9415 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9416 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9417 -e 's:$: $lt_compiler_flag:'`
9418 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9419 (eval "$lt_compile" 2>out/conftest.err)
9421 cat out/conftest.err >&5
9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9425 # The compiler can only warn and ignore the option if not recognized
9426 # So say no if there are warnings
9427 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9428 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9429 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9430 lt_cv_prog_compiler_c_o=yes
9435 # SGI C++ compiler will create directory out/ii_files/ for
9436 # template instantiation
9437 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9438 $RM out/* && rmdir out
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9445 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9450 hard_links="nottested"
9451 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9452 # do not overwrite the value of need_locks provided by the user
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9454 $as_echo_n "checking if we can lock with hard links... " >&6; }
9457 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9459 ln conftest.a conftest.b 2>&5 || hard_links=no
9460 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9462 $as_echo "$hard_links" >&6; }
9463 if test "$hard_links" = no; then
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9465 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9478 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9481 allow_undefined_flag=
9482 always_export_symbols=no
9484 archive_expsym_cmds=
9485 compiler_needs_object=no
9486 enable_shared_with_static_runtimes=no
9487 export_dynamic_flag_spec=
9488 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9489 hardcode_automatic=no
9491 hardcode_direct_absolute=no
9492 hardcode_libdir_flag_spec=
9493 hardcode_libdir_separator=
9495 hardcode_shlibpath_var=unsupported
9497 link_all_deplibs=unknown
9500 old_archive_from_new_cmds=
9501 old_archive_from_expsyms_cmds=
9502 thread_safe_flag_spec=
9503 whole_archive_flag_spec=
9504 # include_expsyms should be a list of space-separated symbols to be *always*
9505 # included in the symbol list
9507 # exclude_expsyms can be an extended regexp of symbols to exclude
9508 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9509 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9510 # as well as any symbol that contains `d'.
9511 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9512 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9513 # platforms (ab)use it in PIC code, but their linkers get confused if
9514 # the symbol is explicitly referenced. Since portable code cannot
9515 # rely on this symbol name, it's probably fine to never include it in
9516 # preloaded symbol tables.
9517 # Exclude shared library initialization/finalization symbols.
9518 extract_expsyms_cmds=
9521 cygwin* | mingw* | pw32* | cegcc*)
9522 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9523 # When not using gcc, we currently assume that we are using
9524 # Microsoft Visual C++.
9525 if test "$GCC" != yes; then
9530 # we just hope/assume this is gcc and not c89 (= MSVC++)
9536 linux* | k*bsd*-gnu | gnu*)
9543 # On some targets, GNU ld is compatible enough with the native linker
9544 # that we're better off using the native interface for both.
9545 lt_use_gnu_ld_interface=no
9546 if test "$with_gnu_ld" = yes; then
9549 # The AIX port of GNU ld has always aspired to compatibility
9550 # with the native linker. However, as the warning in the GNU ld
9551 # block says, versions before 2.19.5* couldn't really create working
9552 # shared libraries, regardless of the interface used.
9553 case `$LD -v 2>&1` in
9554 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9555 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9556 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9558 lt_use_gnu_ld_interface=yes
9563 lt_use_gnu_ld_interface=yes
9568 if test "$lt_use_gnu_ld_interface" = yes; then
9569 # If archive_cmds runs LD, not CC, wlarc should be empty
9572 # Set some defaults for GNU ld with shared library support. These
9573 # are reset later if shared libraries are not supported. Putting them
9574 # here allows them to be overridden if necessary.
9575 runpath_var=LD_RUN_PATH
9576 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9577 export_dynamic_flag_spec='${wl}--export-dynamic'
9578 # ancient GNU ld didn't support --whole-archive et. al.
9579 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9580 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9582 whole_archive_flag_spec=
9584 supports_anon_versioning=no
9585 case `$LD -v 2>&1` in
9586 *GNU\ gold*) supports_anon_versioning=yes ;;
9587 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9588 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9589 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9590 *\ 2.11.*) ;; # other 2.11 versions
9591 *) supports_anon_versioning=yes ;;
9594 # See if GNU ld supports shared libraries.
9597 # On AIX/PPC, the GNU linker is very broken
9598 if test "$host_cpu" != ia64; then
9602 *** Warning: the GNU linker, at least up to release 2.19, is reported
9603 *** to be unable to reliably create shared libraries on AIX.
9604 *** Therefore, libtool is disabling shared libraries support. If you
9605 *** really care for shared libraries, you may want to install binutils
9606 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9607 *** You will then need to restart the configuration process.
9616 # see comment about AmigaOS4 .so support
9617 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9618 archive_expsym_cmds=''
9621 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)'
9622 hardcode_libdir_flag_spec='-L$libdir'
9623 hardcode_minus_L=yes
9629 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9630 allow_undefined_flag=unsupported
9631 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9632 # support --undefined. This deserves some investigation. FIXME
9633 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9639 cygwin* | mingw* | pw32* | cegcc*)
9640 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9641 # as there is no search path for DLLs.
9642 hardcode_libdir_flag_spec='-L$libdir'
9643 export_dynamic_flag_spec='${wl}--export-all-symbols'
9644 allow_undefined_flag=unsupported
9645 always_export_symbols=no
9646 enable_shared_with_static_runtimes=yes
9647 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'
9648 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9650 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9651 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9652 # If the export-symbols file already is a .def file (1st line
9653 # is EXPORTS), use it as is; otherwise, prepend...
9654 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9655 cp $export_symbols $output_objdir/$soname.def;
9657 echo EXPORTS > $output_objdir/$soname.def;
9658 cat $export_symbols >> $output_objdir/$soname.def;
9660 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9667 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9668 link_all_deplibs=yes
9673 hardcode_shlibpath_var=no
9674 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9675 export_dynamic_flag_spec='${wl}-E'
9676 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9677 # Instead, shared libraries are loaded at an image base (0x10000000 by
9678 # default) and relocated if they conflict, which is a slow very memory
9679 # consuming and fragmenting process. To avoid this, we pick a random,
9680 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9681 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9682 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9683 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'
9686 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9688 if test "$host_os" = linux-dietlibc; then
9689 case $cc_basename in
9690 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9693 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9694 && test "$tmp_diet" = no
9696 tmp_addflag=' $pic_flag'
9697 tmp_sharedflag='-shared'
9698 case $cc_basename,$host_cpu in
9699 pgcc*) # Portland Group C compiler
9700 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'
9701 tmp_addflag=' $pic_flag'
9703 pgf77* | pgf90* | pgf95* | pgfortran*)
9704 # Portland Group f77 and f90 compilers
9705 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'
9706 tmp_addflag=' $pic_flag -Mnomain' ;;
9707 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9708 tmp_addflag=' -i_dynamic' ;;
9709 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9710 tmp_addflag=' -i_dynamic -nofor_main' ;;
9711 ifc* | ifort*) # Intel Fortran compiler
9712 tmp_addflag=' -nofor_main' ;;
9713 lf95*) # Lahey Fortran 8.1
9714 whole_archive_flag_spec=
9715 tmp_sharedflag='--shared' ;;
9716 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9717 tmp_sharedflag='-qmkshrobj'
9719 nvcc*) # Cuda Compiler Driver 2.2
9720 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'
9721 compiler_needs_object=yes
9724 case `$CC -V 2>&1 | sed 5q` in
9725 *Sun\ C*) # Sun C 5.9
9726 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'
9727 compiler_needs_object=yes
9728 tmp_sharedflag='-G' ;;
9729 *Sun\ F*) # Sun Fortran 8.3
9730 tmp_sharedflag='-G' ;;
9732 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9734 if test "x$supports_anon_versioning" = xyes; then
9735 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9736 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9737 echo "local: *; };" >> $output_objdir/$libname.ver~
9738 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9741 case $cc_basename in
9742 xlf* | bgf* | bgxlf* | mpixlf*)
9743 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9744 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9745 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9746 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9747 if test "x$supports_anon_versioning" = xyes; then
9748 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9749 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9750 echo "local: *; };" >> $output_objdir/$libname.ver~
9751 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9760 netbsd* | netbsdelf*-gnu)
9761 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9762 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9765 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9766 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9771 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9775 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9776 *** create shared libraries on Solaris systems. Therefore, libtool
9777 *** is disabling shared libraries support. We urge you to upgrade GNU
9778 *** binutils to release 2.9.1 or newer. Another option is to modify
9779 *** your PATH or compiler configuration so that the native linker is
9780 *** used, and then restart.
9783 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9784 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9785 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9791 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9792 case `$LD -v 2>&1` in
9793 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9797 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9798 *** reliably create shared libraries on SCO systems. Therefore, libtool
9799 *** is disabling shared libraries support. We urge you to upgrade GNU
9800 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9801 *** your PATH or compiler configuration so that the native linker is
9802 *** used, and then restart.
9807 # For security reasons, it is highly recommended that you always
9808 # use absolute paths for naming shared libraries, and exclude the
9809 # DT_RUNPATH tag from executables and libraries. But doing so
9810 # requires that you compile everything twice, which is a pain.
9811 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9812 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9813 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9814 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9823 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9826 hardcode_shlibpath_var=no
9830 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9831 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9832 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9839 if test "$ld_shlibs" = no; then
9841 hardcode_libdir_flag_spec=
9842 export_dynamic_flag_spec=
9843 whole_archive_flag_spec=
9846 # PORTME fill in a description of your system's linker (not GNU ld)
9849 allow_undefined_flag=unsupported
9850 always_export_symbols=yes
9851 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'
9852 # Note: this linker hardcodes the directories in LIBPATH if there
9853 # are no directories specified by -L.
9854 hardcode_minus_L=yes
9855 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9856 # Neither direct hardcoding nor static linking is supported with a
9858 hardcode_direct=unsupported
9863 if test "$host_cpu" = ia64; then
9864 # On IA64, the linker does run time linking by default, so we don't
9865 # have to do anything special.
9866 aix_use_runtimelinking=no
9867 exp_sym_flag='-Bexport'
9870 # If we're using GNU nm, then we don't want the "-C" option.
9871 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9872 # Also, AIX nm treats weak defined symbols like other global
9873 # defined symbols, whereas GNU nm marks them as "W".
9874 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9875 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'
9877 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'
9879 aix_use_runtimelinking=no
9881 # Test if we are trying to use run time linking or normal
9882 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9883 # need to do runtime linking.
9884 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9885 for ld_flag in $LDFLAGS; do
9886 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9887 aix_use_runtimelinking=yes
9894 exp_sym_flag='-bexport'
9895 no_entry_flag='-bnoentry'
9898 # When large executables or shared objects are built, AIX ld can
9899 # have problems creating the table of contents. If linking a library
9900 # or program results in "error TOC overflow" add -mminimal-toc to
9901 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9902 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9906 hardcode_direct_absolute=yes
9907 hardcode_libdir_separator=':'
9908 link_all_deplibs=yes
9909 file_list_spec='${wl}-f,'
9911 if test "$GCC" = yes; then
9912 case $host_os in aix4.[012]|aix4.[012].*)
9913 # We only want to do this on AIX 4.2 and lower, the check
9914 # below for broken collect2 doesn't work under 4.3+
9915 collect2name=`${CC} -print-prog-name=collect2`
9916 if test -f "$collect2name" &&
9917 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9919 # We have reworked collect2
9922 # We have old collect2
9923 hardcode_direct=unsupported
9924 # It fails to find uninstalled libraries when the uninstalled
9925 # path is not listed in the libpath. Setting hardcode_minus_L
9926 # to unsupported forces relinking
9927 hardcode_minus_L=yes
9928 hardcode_libdir_flag_spec='-L$libdir'
9929 hardcode_libdir_separator=
9933 shared_flag='-shared'
9934 if test "$aix_use_runtimelinking" = yes; then
9935 shared_flag="$shared_flag "'${wl}-G'
9940 if test "$host_cpu" = ia64; then
9941 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9942 # chokes on -Wl,-G. The following line is correct:
9945 if test "$aix_use_runtimelinking" = yes; then
9946 shared_flag='${wl}-G'
9948 shared_flag='${wl}-bM:SRE'
9953 export_dynamic_flag_spec='${wl}-bexpall'
9954 # It seems that -bexpall does not export symbols beginning with
9955 # underscore (_), so it is better to generate a list of symbols to export.
9956 always_export_symbols=yes
9957 if test "$aix_use_runtimelinking" = yes; then
9958 # Warning - without using the other runtime loading flags (-brtl),
9959 # -berok will link without error, but may produce a broken library.
9960 allow_undefined_flag='-berok'
9961 # Determine the default libpath from the value encoded in an
9963 if test "${lt_cv_aix_libpath+set}" = set; then
9964 aix_libpath=$lt_cv_aix_libpath
9966 if ${lt_cv_aix_libpath_+:} false; then :
9967 $as_echo_n "(cached) " >&6
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9980 if ac_fn_c_try_link "$LINENO"; then :
9982 lt_aix_libpath_sed='
9983 /Import File Strings/,/^$/ {
9985 s/^0 *\([^ ]*\) *$/\1/
9989 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9990 # Check for a 64-bit object if we didn't find anything.
9991 if test -z "$lt_cv_aix_libpath_"; then
9992 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9995 rm -f core conftest.err conftest.$ac_objext \
9996 conftest$ac_exeext conftest.$ac_ext
9997 if test -z "$lt_cv_aix_libpath_"; then
9998 lt_cv_aix_libpath_="/usr/lib:/lib"
10003 aix_libpath=$lt_cv_aix_libpath_
10006 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10007 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"
10009 if test "$host_cpu" = ia64; then
10010 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10011 allow_undefined_flag="-z nodefs"
10012 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"
10014 # Determine the default libpath from the value encoded in an
10015 # empty executable.
10016 if test "${lt_cv_aix_libpath+set}" = set; then
10017 aix_libpath=$lt_cv_aix_libpath
10019 if ${lt_cv_aix_libpath_+:} false; then :
10020 $as_echo_n "(cached) " >&6
10022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */
10033 if ac_fn_c_try_link "$LINENO"; then :
10035 lt_aix_libpath_sed='
10036 /Import File Strings/,/^$/ {
10038 s/^0 *\([^ ]*\) *$/\1/
10042 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10043 # Check for a 64-bit object if we didn't find anything.
10044 if test -z "$lt_cv_aix_libpath_"; then
10045 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10048 rm -f core conftest.err conftest.$ac_objext \
10049 conftest$ac_exeext conftest.$ac_ext
10050 if test -z "$lt_cv_aix_libpath_"; then
10051 lt_cv_aix_libpath_="/usr/lib:/lib"
10056 aix_libpath=$lt_cv_aix_libpath_
10059 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10060 # Warning - without using the other run time loading flags,
10061 # -berok will link without error, but may produce a broken library.
10062 no_undefined_flag=' ${wl}-bernotok'
10063 allow_undefined_flag=' ${wl}-berok'
10064 if test "$with_gnu_ld" = yes; then
10065 # We only use this code for GNU lds that support --whole-archive.
10066 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10068 # Exported symbols can be pulled into shared objects from archives
10069 whole_archive_flag_spec='$convenience'
10071 archive_cmds_need_lc=yes
10072 # This is similar to how AIX traditionally builds its shared libraries.
10073 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'
10081 # see comment about AmigaOS4 .so support
10082 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10083 archive_expsym_cmds=''
10086 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)'
10087 hardcode_libdir_flag_spec='-L$libdir'
10088 hardcode_minus_L=yes
10094 export_dynamic_flag_spec=-rdynamic
10097 cygwin* | mingw* | pw32* | cegcc*)
10098 # When not using gcc, we currently assume that we are using
10099 # Microsoft Visual C++.
10100 # hardcode_libdir_flag_spec is actually meaningless, as there is
10101 # no search path for DLLs.
10102 case $cc_basename in
10105 hardcode_libdir_flag_spec=' '
10106 allow_undefined_flag=unsupported
10107 always_export_symbols=yes
10109 # Tell ltmain to make .lib files, not .a files.
10111 # Tell ltmain to make .dll files, not .so files.
10113 # FIXME: Setting linknames here is a bad hack.
10114 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10115 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10116 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10118 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10120 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10122 # The linker will not automatically build a static lib if we build a DLL.
10123 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10124 enable_shared_with_static_runtimes=yes
10125 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10126 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10128 old_postinstall_cmds='chmod 644 $oldlib'
10129 postlink_cmds='lt_outputfile="@OUTPUT@"~
10130 lt_tool_outputfile="@TOOL_OUTPUT@"~
10131 case $lt_outputfile in
10134 lt_outputfile="$lt_outputfile.exe"
10135 lt_tool_outputfile="$lt_tool_outputfile.exe"
10138 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10139 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10140 $RM "$lt_outputfile.manifest";
10144 # Assume MSVC wrapper
10145 hardcode_libdir_flag_spec=' '
10146 allow_undefined_flag=unsupported
10147 # Tell ltmain to make .lib files, not .a files.
10149 # Tell ltmain to make .dll files, not .so files.
10151 # FIXME: Setting linknames here is a bad hack.
10152 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10153 # The linker will automatically build a .lib file if we build a DLL.
10154 old_archive_from_new_cmds='true'
10155 # FIXME: Should let the user specify the lib program.
10156 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10157 enable_shared_with_static_runtimes=yes
10162 darwin* | rhapsody*)
10165 archive_cmds_need_lc=no
10167 hardcode_automatic=yes
10168 hardcode_shlibpath_var=unsupported
10169 if test "$lt_cv_ld_force_load" = "yes"; then
10170 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\"`'
10173 whole_archive_flag_spec=''
10175 link_all_deplibs=yes
10176 allow_undefined_flag="$_lt_dar_allow_undefined"
10177 case $cc_basename in
10178 ifort*) _lt_dar_can_shared=yes ;;
10179 *) _lt_dar_can_shared=$GCC ;;
10181 if test "$_lt_dar_can_shared" = "yes"; then
10182 output_verbose_link_cmd=func_echo_all
10183 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10184 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10185 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}"
10186 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}"
10195 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10196 hardcode_libdir_flag_spec='-L$libdir'
10197 hardcode_shlibpath_var=no
10200 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10201 # support. Future versions do this automatically, but an explicit c++rt0.o
10202 # does not break anything, and helps significantly (at the cost of a little
10205 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10206 hardcode_libdir_flag_spec='-R$libdir'
10207 hardcode_direct=yes
10208 hardcode_shlibpath_var=no
10211 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10213 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10214 hardcode_direct=yes
10215 hardcode_minus_L=yes
10216 hardcode_shlibpath_var=no
10219 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10220 freebsd* | dragonfly*)
10221 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10222 hardcode_libdir_flag_spec='-R$libdir'
10223 hardcode_direct=yes
10224 hardcode_shlibpath_var=no
10228 if test "$GCC" = yes; then
10229 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'
10231 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'
10233 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10234 hardcode_libdir_separator=:
10235 hardcode_direct=yes
10237 # hardcode_minus_L: Not really in the search PATH,
10238 # but as the default location of the library.
10239 hardcode_minus_L=yes
10240 export_dynamic_flag_spec='${wl}-E'
10244 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10245 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10247 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10249 if test "$with_gnu_ld" = no; then
10250 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10251 hardcode_libdir_separator=:
10252 hardcode_direct=yes
10253 hardcode_direct_absolute=yes
10254 export_dynamic_flag_spec='${wl}-E'
10255 # hardcode_minus_L: Not really in the search PATH,
10256 # but as the default location of the library.
10257 hardcode_minus_L=yes
10262 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10265 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10268 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10271 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10277 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10280 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10284 # Older versions of the 11.00 compiler do not understand -b yet
10285 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10287 $as_echo_n "checking if $CC understands -b... " >&6; }
10288 if ${lt_cv_prog_compiler__b+:} false; then :
10289 $as_echo_n "(cached) " >&6
10291 lt_cv_prog_compiler__b=no
10292 save_LDFLAGS="$LDFLAGS"
10293 LDFLAGS="$LDFLAGS -b"
10294 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10295 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10296 # The linker can only warn and ignore the option if not recognized
10297 # So say no if there are warnings
10298 if test -s conftest.err; then
10299 # Append any errors to the config.log.
10300 cat conftest.err 1>&5
10301 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10302 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10303 if diff conftest.exp conftest.er2 >/dev/null; then
10304 lt_cv_prog_compiler__b=yes
10307 lt_cv_prog_compiler__b=yes
10311 LDFLAGS="$save_LDFLAGS"
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10315 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10317 if test x"$lt_cv_prog_compiler__b" = xyes; then
10318 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10320 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10326 if test "$with_gnu_ld" = no; then
10327 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10328 hardcode_libdir_separator=:
10333 hardcode_shlibpath_var=no
10336 hardcode_direct=yes
10337 hardcode_direct_absolute=yes
10338 export_dynamic_flag_spec='${wl}-E'
10340 # hardcode_minus_L: Not really in the search PATH,
10341 # but as the default location of the library.
10342 hardcode_minus_L=yes
10348 irix5* | irix6* | nonstopux*)
10349 if test "$GCC" = yes; then
10350 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'
10351 # Try to use the -exported_symbol ld option, if it does not
10352 # work, assume that -exports_file does not work either and
10353 # implicitly export all symbols.
10354 # This should be the same for all languages, so no per-tag cache variable.
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10356 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10357 if ${lt_cv_irix_exported_symbol+:} false; then :
10358 $as_echo_n "(cached) " >&6
10360 save_LDFLAGS="$LDFLAGS"
10361 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10363 /* end confdefs.h. */
10364 int foo (void) { return 0; }
10366 if ac_fn_c_try_link "$LINENO"; then :
10367 lt_cv_irix_exported_symbol=yes
10369 lt_cv_irix_exported_symbol=no
10371 rm -f core conftest.err conftest.$ac_objext \
10372 conftest$ac_exeext conftest.$ac_ext
10373 LDFLAGS="$save_LDFLAGS"
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10376 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10377 if test "$lt_cv_irix_exported_symbol" = yes; then
10378 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'
10381 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'
10382 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'
10384 archive_cmds_need_lc='no'
10385 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10386 hardcode_libdir_separator=:
10388 link_all_deplibs=yes
10391 netbsd* | netbsdelf*-gnu)
10392 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10393 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10395 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10397 hardcode_libdir_flag_spec='-R$libdir'
10398 hardcode_direct=yes
10399 hardcode_shlibpath_var=no
10403 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10404 hardcode_direct=yes
10405 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10406 hardcode_libdir_separator=:
10407 hardcode_shlibpath_var=no
10414 if test -f /usr/libexec/ld.so; then
10415 hardcode_direct=yes
10416 hardcode_shlibpath_var=no
10417 hardcode_direct_absolute=yes
10418 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10419 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10420 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10421 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10422 export_dynamic_flag_spec='${wl}-E'
10425 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10426 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10427 hardcode_libdir_flag_spec='-R$libdir'
10430 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10431 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10441 hardcode_libdir_flag_spec='-L$libdir'
10442 hardcode_minus_L=yes
10443 allow_undefined_flag=unsupported
10444 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'
10445 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10449 if test "$GCC" = yes; then
10450 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10451 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'
10453 allow_undefined_flag=' -expect_unresolved \*'
10454 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'
10456 archive_cmds_need_lc='no'
10457 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10458 hardcode_libdir_separator=:
10461 osf4* | osf5*) # as osf3* with the addition of -msym flag
10462 if test "$GCC" = yes; then
10463 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10464 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'
10465 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10467 allow_undefined_flag=' -expect_unresolved \*'
10468 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'
10469 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~
10470 $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'
10472 # Both c and cxx compiler support -rpath directly
10473 hardcode_libdir_flag_spec='-rpath $libdir'
10475 archive_cmds_need_lc='no'
10476 hardcode_libdir_separator=:
10480 no_undefined_flag=' -z defs'
10481 if test "$GCC" = yes; then
10483 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10484 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10485 $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'
10487 case `$CC -V 2>&1` in
10490 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10491 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10492 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10496 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10497 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10498 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10502 hardcode_libdir_flag_spec='-R$libdir'
10503 hardcode_shlibpath_var=no
10505 solaris2.[0-5] | solaris2.[0-5].*) ;;
10507 # The compiler driver will combine and reorder linker options,
10508 # but understands `-z linker_flag'. GCC discards it without `$wl',
10509 # but is careful enough not to reorder.
10510 # Supported since Solaris 2.6 (maybe 2.5.1?)
10511 if test "$GCC" = yes; then
10512 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10514 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10518 link_all_deplibs=yes
10522 if test "x$host_vendor" = xsequent; then
10523 # Use $CC to link under sequent, because it throws in some extra .o
10524 # files that make .init and .fini sections work.
10525 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10527 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10529 hardcode_libdir_flag_spec='-L$libdir'
10530 hardcode_direct=yes
10531 hardcode_minus_L=yes
10532 hardcode_shlibpath_var=no
10536 case $host_vendor in
10538 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10539 hardcode_direct=yes # is this really true???
10542 ## LD is ld it makes a PLAMLIB
10543 ## CC just makes a GrossModule.
10544 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10545 reload_cmds='$CC -r -o $output$reload_objs'
10549 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10550 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10553 runpath_var='LD_RUN_PATH'
10554 hardcode_shlibpath_var=no
10558 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10559 hardcode_shlibpath_var=no
10560 export_dynamic_flag_spec='-Bexport'
10564 if test -d /usr/nec; then
10565 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10566 hardcode_shlibpath_var=no
10567 runpath_var=LD_RUN_PATH
10568 hardcode_runpath_var=yes
10573 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10574 no_undefined_flag='${wl}-z,text'
10575 archive_cmds_need_lc=no
10576 hardcode_shlibpath_var=no
10577 runpath_var='LD_RUN_PATH'
10579 if test "$GCC" = yes; then
10580 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10581 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10583 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10584 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10588 sysv5* | sco3.2v5* | sco5v6*)
10589 # Note: We can NOT use -z defs as we might desire, because we do not
10590 # link with -lc, and that would cause any symbols used from libc to
10591 # always be unresolved, which means just about no library would
10592 # ever link correctly. If we're not using GNU ld we use -z text
10593 # though, which does catch some bad symbols but isn't as heavy-handed
10595 no_undefined_flag='${wl}-z,text'
10596 allow_undefined_flag='${wl}-z,nodefs'
10597 archive_cmds_need_lc=no
10598 hardcode_shlibpath_var=no
10599 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10600 hardcode_libdir_separator=':'
10601 link_all_deplibs=yes
10602 export_dynamic_flag_spec='${wl}-Bexport'
10603 runpath_var='LD_RUN_PATH'
10605 if test "$GCC" = yes; then
10606 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10607 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10609 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10610 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10615 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10616 hardcode_libdir_flag_spec='-L$libdir'
10617 hardcode_shlibpath_var=no
10625 if test x$host_vendor = xsni; then
10627 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10628 export_dynamic_flag_spec='${wl}-Blargedynsym'
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10635 $as_echo "$ld_shlibs" >&6; }
10636 test "$ld_shlibs" = no && can_build_shared=no
10638 with_gnu_ld=$with_gnu_ld
10655 # Do we need to explicitly link libc?
10657 case "x$archive_cmds_need_lc" in
10659 # Assume -lc should be added
10660 archive_cmds_need_lc=yes
10662 if test "$enable_shared" = yes && test "$GCC" = yes; then
10663 case $archive_cmds in
10665 # FIXME: we may have to deal with multi-command sequences.
10668 # Test whether the compiler implicitly links with -lc since on some
10669 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10670 # to ld, don't add -lc before -lgcc.
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10672 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10673 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10674 $as_echo_n "(cached) " >&6
10677 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10679 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10680 (eval $ac_compile) 2>&5
10682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10683 test $ac_status = 0; } 2>conftest.err; then
10686 libobjs=conftest.$ac_objext
10688 wl=$lt_prog_compiler_wl
10689 pic_flag=$lt_prog_compiler_pic
10695 lt_save_allow_undefined_flag=$allow_undefined_flag
10696 allow_undefined_flag=
10697 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10698 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10701 test $ac_status = 0; }
10703 lt_cv_archive_cmds_need_lc=no
10705 lt_cv_archive_cmds_need_lc=yes
10707 allow_undefined_flag=$lt_save_allow_undefined_flag
10709 cat conftest.err 1>&5
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10715 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10716 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10875 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10877 if test "$GCC" = yes; then
10879 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10880 *) lt_awk_arg="/^libraries:/" ;;
10883 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10884 *) lt_sed_strip_eq="s,=/,/,g" ;;
10886 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10887 case $lt_search_path_spec in
10889 # if the path contains ";" then we assume it to be the separator
10890 # otherwise default to the standard path separator (i.e. ":") - it is
10891 # assumed that no part of a normal pathname contains ";" but that should
10892 # okay in the real world where ";" in dirpaths is itself problematic.
10893 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10896 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10899 # Ok, now we have the path, separated by spaces, we can step through it
10900 # and add multilib dir if necessary.
10901 lt_tmp_lt_search_path_spec=
10902 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10903 for lt_sys_path in $lt_search_path_spec; do
10904 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10905 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10907 test -d "$lt_sys_path" && \
10908 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10911 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10912 BEGIN {RS=" "; FS="/|\n";} {
10915 for (lt_i = NF; lt_i > 0; lt_i--) {
10916 if ($lt_i != "" && $lt_i != ".") {
10917 if ($lt_i == "..") {
10920 if (lt_count == 0) {
10921 lt_foo="/" $lt_i lt_foo;
10928 if (lt_foo != "") { lt_freq[lt_foo]++; }
10929 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10931 # AWK program above erroneously prepends '/' to C:/dos/paths
10934 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10935 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10937 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10939 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10941 library_names_spec=
10942 libname_spec='lib$name'
10946 postuninstall_cmds=
10950 shlibpath_overrides_runpath=unknown
10952 dynamic_linker="$host_os ld.so"
10953 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10954 need_lib_prefix=unknown
10955 hardcode_into_libs=no
10957 # when you set need_version to no, make sure it does not cause -set_version
10958 # flags to be left without arguments
10959 need_version=unknown
10963 version_type=linux # correct to gnu/linux during the next big refactor
10964 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10965 shlibpath_var=LIBPATH
10967 # AIX 3 has no versioning support, so we append a major version to the name.
10968 soname_spec='${libname}${release}${shared_ext}$major'
10972 version_type=linux # correct to gnu/linux during the next big refactor
10975 hardcode_into_libs=yes
10976 if test "$host_cpu" = ia64; then
10977 # AIX 5 supports IA64
10978 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10979 shlibpath_var=LD_LIBRARY_PATH
10981 # With GCC up to 2.95.x, collect2 would create an import file
10982 # for dependence libraries. The import file would start with
10983 # the line `#! .'. This would cause the generated library to
10984 # depend on `.', always an invalid library. This was fixed in
10985 # development snapshots of GCC prior to 3.0.
10987 aix4 | aix4.[01] | aix4.[01].*)
10988 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10990 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10993 can_build_shared=no
10997 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10998 # soname into executable. Probably we can add versioning support to
10999 # collect2, so additional links can be useful in future.
11000 if test "$aix_use_runtimelinking" = yes; then
11001 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11002 # instead of lib<name>.a to let people know that these are not
11003 # typical AIX shared libraries.
11004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11006 # We preserve .a as extension for shared libraries through AIX4.2
11007 # and later when we are not doing run time linking.
11008 library_names_spec='${libname}${release}.a $libname.a'
11009 soname_spec='${libname}${release}${shared_ext}$major'
11011 shlibpath_var=LIBPATH
11018 # Since July 2007 AmigaOS4 officially supports .so libraries.
11019 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023 library_names_spec='$libname.ixlibrary $libname.a'
11024 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11025 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'
11031 library_names_spec='${libname}${shared_ext}'
11032 dynamic_linker="$host_os ld.so"
11033 shlibpath_var=LIBRARY_PATH
11037 version_type=linux # correct to gnu/linux during the next big refactor
11039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11040 soname_spec='${libname}${release}${shared_ext}$major'
11041 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11042 shlibpath_var=LD_LIBRARY_PATH
11043 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11044 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11045 # the default ld.so.conf also contains /usr/contrib/lib and
11046 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11047 # libtool to hard-code these into programs
11050 cygwin* | mingw* | pw32* | cegcc*)
11051 version_type=windows
11056 case $GCC,$cc_basename in
11059 library_names_spec='$libname.dll.a'
11060 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11061 postinstall_cmds='base_file=`basename \${file}`~
11062 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11063 dldir=$destdir/`dirname \$dlpath`~
11064 test -d \$dldir || mkdir -p \$dldir~
11065 $install_prog $dir/$dlname \$dldir/$dlname~
11066 chmod a+x \$dldir/$dlname~
11067 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11068 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11070 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11071 dlpath=$dir/\$dldll~
11073 shlibpath_overrides_runpath=yes
11077 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11078 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11080 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11083 # MinGW DLLs use traditional 'lib' prefix
11084 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11087 # pw32 DLLs use 'pw' prefix rather than 'lib'
11088 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11091 dynamic_linker='Win32 ld.exe'
11096 libname_spec='$name'
11097 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11098 library_names_spec='${libname}.dll.lib'
11102 sys_lib_search_path_spec=
11105 for lt_path in $LIB
11108 # Let DOS variable expansion print the short 8.3 style file name.
11109 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11110 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11113 # Convert to MSYS style.
11114 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11117 # Convert to unix form, then to dos form, then back to unix form
11118 # but this time dos style (no spaces!) so that the unix form looks
11119 # like /cygdrive/c/PROGRA~1:/cygdr...
11120 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11121 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11122 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11125 sys_lib_search_path_spec="$LIB"
11126 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11127 # It is most probably a Windows format PATH.
11128 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11130 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11132 # FIXME: find the short name or the path components, as spaces are
11133 # common. (e.g. "Program Files" -> "PROGRA~1")
11137 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11138 postinstall_cmds='base_file=`basename \${file}`~
11139 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11140 dldir=$destdir/`dirname \$dlpath`~
11141 test -d \$dldir || mkdir -p \$dldir~
11142 $install_prog $dir/$dlname \$dldir/$dlname'
11143 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11144 dlpath=$dir/\$dldll~
11146 shlibpath_overrides_runpath=yes
11147 dynamic_linker='Win32 link.exe'
11151 # Assume MSVC wrapper
11152 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11153 dynamic_linker='Win32 ld.exe'
11156 # FIXME: first we should search . and the directory the executable is in
11160 darwin* | rhapsody*)
11161 dynamic_linker="$host_os dyld"
11162 version_type=darwin
11165 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11166 soname_spec='${libname}${release}${major}$shared_ext'
11167 shlibpath_overrides_runpath=yes
11168 shlibpath_var=DYLD_LIBRARY_PATH
11169 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11171 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11172 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11176 version_type=linux # correct to gnu/linux during the next big refactor
11179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11180 soname_spec='${libname}${release}${shared_ext}$major'
11181 shlibpath_var=LD_LIBRARY_PATH
11184 freebsd* | dragonfly*)
11185 # DragonFly does not have aout. When/if they implement a new
11186 # versioning mechanism, adjust this.
11187 if test -x /usr/bin/objformat; then
11188 objformat=`/usr/bin/objformat`
11191 freebsd[23].*) objformat=aout ;;
11192 *) objformat=elf ;;
11195 version_type=freebsd-$objformat
11196 case $version_type in
11198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11203 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11207 shlibpath_var=LD_LIBRARY_PATH
11210 shlibpath_overrides_runpath=yes
11212 freebsd3.[01]* | freebsdelf3.[01]*)
11213 shlibpath_overrides_runpath=yes
11214 hardcode_into_libs=yes
11216 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11217 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11218 shlibpath_overrides_runpath=no
11219 hardcode_into_libs=yes
11221 *) # from 4.6 on, and DragonFly
11222 shlibpath_overrides_runpath=yes
11223 hardcode_into_libs=yes
11229 version_type=linux # correct to gnu/linux during the next big refactor
11232 dynamic_linker="$host_os runtime_loader"
11233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11234 soname_spec='${libname}${release}${shared_ext}$major'
11235 shlibpath_var=LIBRARY_PATH
11236 shlibpath_overrides_runpath=yes
11237 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11238 hardcode_into_libs=yes
11241 hpux9* | hpux10* | hpux11*)
11242 # Give a soname corresponding to the major version so that dld.sl refuses to
11243 # link against other versions.
11250 hardcode_into_libs=yes
11251 dynamic_linker="$host_os dld.so"
11252 shlibpath_var=LD_LIBRARY_PATH
11253 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11255 soname_spec='${libname}${release}${shared_ext}$major'
11256 if test "X$HPUX_IA64_MODE" = X32; then
11257 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11259 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11261 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11265 hardcode_into_libs=yes
11266 dynamic_linker="$host_os dld.sl"
11267 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11268 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11270 soname_spec='${libname}${release}${shared_ext}$major'
11271 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11272 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11276 dynamic_linker="$host_os dld.sl"
11277 shlibpath_var=SHLIB_PATH
11278 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11280 soname_spec='${libname}${release}${shared_ext}$major'
11283 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11284 postinstall_cmds='chmod 555 $lib'
11285 # or fails outright, so override atomically:
11286 install_override_mode=555
11290 version_type=linux # correct to gnu/linux during the next big refactor
11293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11294 soname_spec='${libname}${release}${shared_ext}$major'
11295 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11296 shlibpath_var=LD_LIBRARY_PATH
11297 shlibpath_overrides_runpath=no
11298 hardcode_into_libs=yes
11301 irix5* | irix6* | nonstopux*)
11303 nonstopux*) version_type=nonstopux ;;
11305 if test "$lt_cv_prog_gnu_ld" = yes; then
11306 version_type=linux # correct to gnu/linux during the next big refactor
11313 soname_spec='${libname}${release}${shared_ext}$major'
11314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11316 irix5* | nonstopux*)
11317 libsuff= shlibsuff=
11320 case $LD in # libtool.m4 will add one of these switches to LD
11321 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11322 libsuff= shlibsuff= libmagic=32-bit;;
11323 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11324 libsuff=32 shlibsuff=N32 libmagic=N32;;
11325 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11326 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11327 *) libsuff= shlibsuff= libmagic=never-match;;
11331 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11332 shlibpath_overrides_runpath=no
11333 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11334 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11335 hardcode_into_libs=yes
11338 # No shared lib support for Linux oldld, aout, or coff.
11339 linux*oldld* | linux*aout* | linux*coff*)
11343 # This must be glibc/ELF.
11344 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11345 version_type=linux # correct to gnu/linux during the next big refactor
11348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11349 soname_spec='${libname}${release}${shared_ext}$major'
11350 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11351 shlibpath_var=LD_LIBRARY_PATH
11352 shlibpath_overrides_runpath=no
11354 # Some binutils ld are patched to set DT_RUNPATH
11355 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11356 $as_echo_n "(cached) " >&6
11358 lt_cv_shlibpath_overrides_runpath=no
11359 save_LDFLAGS=$LDFLAGS
11360 save_libdir=$libdir
11361 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11362 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11364 /* end confdefs.h. */
11374 if ac_fn_c_try_link "$LINENO"; then :
11375 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11376 lt_cv_shlibpath_overrides_runpath=yes
11379 rm -f core conftest.err conftest.$ac_objext \
11380 conftest$ac_exeext conftest.$ac_ext
11381 LDFLAGS=$save_LDFLAGS
11382 libdir=$save_libdir
11386 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11388 # This implies no fast_install, which is unacceptable.
11389 # Some rework will be needed to allow for fast_install
11390 # before this can be enabled.
11391 hardcode_into_libs=yes
11393 # Append ld.so.conf contents to the search path
11394 if test -f /etc/ld.so.conf; then
11395 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' ' '`
11396 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11399 # We used to test for /lib/ld.so.1 and disable shared libraries on
11400 # powerpc, because MkLinux only supported shared libraries with the
11401 # GNU dynamic linker. Since this was broken with cross compilers,
11402 # most powerpc-linux boxes support dynamic linking these days and
11403 # people can always --disable-shared, the test was removed, and we
11404 # assume the GNU/Linux dynamic linker is in use.
11405 dynamic_linker='GNU/Linux ld.so'
11412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11413 soname_spec='${libname}${release}${shared_ext}$major'
11414 shlibpath_var=LD_LIBRARY_PATH
11415 shlibpath_overrides_runpath=no
11416 hardcode_into_libs=yes
11417 dynamic_linker='NetBSD ld.elf_so'
11424 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11426 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11427 dynamic_linker='NetBSD (a.out) ld.so'
11429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11430 soname_spec='${libname}${release}${shared_ext}$major'
11431 dynamic_linker='NetBSD ld.elf_so'
11433 shlibpath_var=LD_LIBRARY_PATH
11434 shlibpath_overrides_runpath=yes
11435 hardcode_into_libs=yes
11439 version_type=linux # correct to gnu/linux during the next big refactor
11440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11441 shlibpath_var=LD_LIBRARY_PATH
11442 shlibpath_overrides_runpath=yes
11449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11450 soname_spec='${libname}${release}${shared_ext}$major'
11451 shlibpath_var=LD_LIBRARY_PATH
11452 shlibpath_overrides_runpath=no
11453 hardcode_into_libs=yes
11454 dynamic_linker='ldqnx.so'
11459 sys_lib_dlsearch_path_spec="/usr/lib"
11461 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11463 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11464 *) need_version=no ;;
11466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11467 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11468 shlibpath_var=LD_LIBRARY_PATH
11469 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11471 openbsd2.[89] | openbsd2.[89].*)
11472 shlibpath_overrides_runpath=no
11475 shlibpath_overrides_runpath=yes
11479 shlibpath_overrides_runpath=yes
11484 libname_spec='$name'
11487 library_names_spec='$libname${shared_ext} $libname.a'
11488 dynamic_linker='OS/2 ld.exe'
11489 shlibpath_var=LIBPATH
11492 osf3* | osf4* | osf5*)
11496 soname_spec='${libname}${release}${shared_ext}$major'
11497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11498 shlibpath_var=LD_LIBRARY_PATH
11499 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11500 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11508 version_type=linux # correct to gnu/linux during the next big refactor
11511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11512 soname_spec='${libname}${release}${shared_ext}$major'
11513 shlibpath_var=LD_LIBRARY_PATH
11514 shlibpath_overrides_runpath=yes
11515 hardcode_into_libs=yes
11516 # ldd complains unless libraries are executable
11517 postinstall_cmds='chmod +x $lib'
11522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11523 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11524 shlibpath_var=LD_LIBRARY_PATH
11525 shlibpath_overrides_runpath=yes
11526 if test "$with_gnu_ld" = yes; then
11533 version_type=linux # correct to gnu/linux during the next big refactor
11534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11535 soname_spec='${libname}${release}${shared_ext}$major'
11536 shlibpath_var=LD_LIBRARY_PATH
11537 case $host_vendor in
11539 shlibpath_overrides_runpath=no
11541 runpath_var=LD_RUN_PATH
11549 shlibpath_overrides_runpath=no
11550 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11556 if test -d /usr/nec ;then
11557 version_type=linux # correct to gnu/linux during the next big refactor
11558 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11559 soname_spec='$libname${shared_ext}.$major'
11560 shlibpath_var=LD_LIBRARY_PATH
11564 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11565 version_type=freebsd-elf
11568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11569 soname_spec='${libname}${release}${shared_ext}$major'
11570 shlibpath_var=LD_LIBRARY_PATH
11571 shlibpath_overrides_runpath=yes
11572 hardcode_into_libs=yes
11573 if test "$with_gnu_ld" = yes; then
11574 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11576 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11579 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11583 sys_lib_dlsearch_path_spec='/usr/lib'
11587 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11588 version_type=linux # correct to gnu/linux during the next big refactor
11591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11592 shlibpath_var=LD_LIBRARY_PATH
11593 shlibpath_overrides_runpath=no
11594 hardcode_into_libs=yes
11598 version_type=linux # correct to gnu/linux during the next big refactor
11599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11600 soname_spec='${libname}${release}${shared_ext}$major'
11601 shlibpath_var=LD_LIBRARY_PATH
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11609 $as_echo "$dynamic_linker" >&6; }
11610 test "$dynamic_linker" = no && can_build_shared=no
11612 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11613 if test "$GCC" = yes; then
11614 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11617 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11618 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11620 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11621 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11716 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11718 if test -n "$hardcode_libdir_flag_spec" ||
11719 test -n "$runpath_var" ||
11720 test "X$hardcode_automatic" = "Xyes" ; then
11722 # We can hardcode non-existent directories.
11723 if test "$hardcode_direct" != no &&
11724 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11725 # have to relink, otherwise we might link with an installed library
11726 # when we should be linking with a yet-to-be-installed one
11727 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11728 test "$hardcode_minus_L" != no; then
11729 # Linking always hardcodes the temporary library directory.
11730 hardcode_action=relink
11732 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11733 hardcode_action=immediate
11736 # We cannot hardcode anything, or else we can only hardcode existing
11738 hardcode_action=unsupported
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11741 $as_echo "$hardcode_action" >&6; }
11743 if test "$hardcode_action" = relink ||
11744 test "$inherit_rpath" = yes; then
11745 # Fast installation is not supported
11746 enable_fast_install=no
11747 elif test "$shlibpath_overrides_runpath" = yes ||
11748 test "$enable_shared" = no; then
11749 # Fast installation is not necessary
11750 enable_fast_install=needless
11758 if test "x$enable_dlopen" != xyes; then
11759 enable_dlopen=unknown
11760 enable_dlopen_self=unknown
11761 enable_dlopen_self_static=unknown
11768 lt_cv_dlopen="load_add_on"
11770 lt_cv_dlopen_self=yes
11773 mingw* | pw32* | cegcc*)
11774 lt_cv_dlopen="LoadLibrary"
11779 lt_cv_dlopen="dlopen"
11784 # if libdl is installed we need to link against it
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11786 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11787 if ${ac_cv_lib_dl_dlopen+:} false; then :
11788 $as_echo_n "(cached) " >&6
11790 ac_check_lib_save_LIBS=$LIBS
11792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h. */
11795 /* Override any GCC internal prototype to avoid an error.
11796 Use char because int might match the return type of a GCC
11797 builtin and then its argument prototype would still apply. */
11810 if ac_fn_c_try_link "$LINENO"; then :
11811 ac_cv_lib_dl_dlopen=yes
11813 ac_cv_lib_dl_dlopen=no
11815 rm -f core conftest.err conftest.$ac_objext \
11816 conftest$ac_exeext conftest.$ac_ext
11817 LIBS=$ac_check_lib_save_LIBS
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11820 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11821 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11822 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11825 lt_cv_dlopen="dyld"
11827 lt_cv_dlopen_self=yes
11834 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11835 if test "x$ac_cv_func_shl_load" = xyes; then :
11836 lt_cv_dlopen="shl_load"
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11839 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11840 if ${ac_cv_lib_dld_shl_load+:} false; then :
11841 $as_echo_n "(cached) " >&6
11843 ac_check_lib_save_LIBS=$LIBS
11845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h. */
11848 /* Override any GCC internal prototype to avoid an error.
11849 Use char because int might match the return type of a GCC
11850 builtin and then its argument prototype would still apply. */
11858 return shl_load ();
11863 if ac_fn_c_try_link "$LINENO"; then :
11864 ac_cv_lib_dld_shl_load=yes
11866 ac_cv_lib_dld_shl_load=no
11868 rm -f core conftest.err conftest.$ac_objext \
11869 conftest$ac_exeext conftest.$ac_ext
11870 LIBS=$ac_check_lib_save_LIBS
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11873 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11874 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11875 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11877 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11878 if test "x$ac_cv_func_dlopen" = xyes; then :
11879 lt_cv_dlopen="dlopen"
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11882 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11883 if ${ac_cv_lib_dl_dlopen+:} false; then :
11884 $as_echo_n "(cached) " >&6
11886 ac_check_lib_save_LIBS=$LIBS
11888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11889 /* end confdefs.h. */
11891 /* Override any GCC internal prototype to avoid an error.
11892 Use char because int might match the return type of a GCC
11893 builtin and then its argument prototype would still apply. */
11906 if ac_fn_c_try_link "$LINENO"; then :
11907 ac_cv_lib_dl_dlopen=yes
11909 ac_cv_lib_dl_dlopen=no
11911 rm -f core conftest.err conftest.$ac_objext \
11912 conftest$ac_exeext conftest.$ac_ext
11913 LIBS=$ac_check_lib_save_LIBS
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11916 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11917 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11918 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11921 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11922 if ${ac_cv_lib_svld_dlopen+:} false; then :
11923 $as_echo_n "(cached) " >&6
11925 ac_check_lib_save_LIBS=$LIBS
11926 LIBS="-lsvld $LIBS"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11930 /* Override any GCC internal prototype to avoid an error.
11931 Use char because int might match the return type of a GCC
11932 builtin and then its argument prototype would still apply. */
11945 if ac_fn_c_try_link "$LINENO"; then :
11946 ac_cv_lib_svld_dlopen=yes
11948 ac_cv_lib_svld_dlopen=no
11950 rm -f core conftest.err conftest.$ac_objext \
11951 conftest$ac_exeext conftest.$ac_ext
11952 LIBS=$ac_check_lib_save_LIBS
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11955 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11956 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11957 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11960 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11961 if ${ac_cv_lib_dld_dld_link+:} false; then :
11962 $as_echo_n "(cached) " >&6
11964 ac_check_lib_save_LIBS=$LIBS
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11969 /* Override any GCC internal prototype to avoid an error.
11970 Use char because int might match the return type of a GCC
11971 builtin and then its argument prototype would still apply. */
11979 return dld_link ();
11984 if ac_fn_c_try_link "$LINENO"; then :
11985 ac_cv_lib_dld_dld_link=yes
11987 ac_cv_lib_dld_dld_link=no
11989 rm -f core conftest.err conftest.$ac_objext \
11990 conftest$ac_exeext conftest.$ac_ext
11991 LIBS=$ac_check_lib_save_LIBS
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11994 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11995 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11996 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12017 if test "x$lt_cv_dlopen" != xno; then
12023 case $lt_cv_dlopen in
12025 save_CPPFLAGS="$CPPFLAGS"
12026 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12028 save_LDFLAGS="$LDFLAGS"
12029 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12032 LIBS="$lt_cv_dlopen_libs $LIBS"
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12035 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12036 if ${lt_cv_dlopen_self+:} false; then :
12037 $as_echo_n "(cached) " >&6
12039 if test "$cross_compiling" = yes; then :
12040 lt_cv_dlopen_self=cross
12042 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12043 lt_status=$lt_dlunknown
12044 cat > conftest.$ac_ext <<_LT_EOF
12045 #line $LINENO "configure"
12046 #include "confdefs.h"
12055 # define LT_DLGLOBAL RTLD_GLOBAL
12058 # define LT_DLGLOBAL DL_GLOBAL
12060 # define LT_DLGLOBAL 0
12064 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12065 find out it does not work in some platform. */
12066 #ifndef LT_DLLAZY_OR_NOW
12068 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12071 # define LT_DLLAZY_OR_NOW DL_LAZY
12074 # define LT_DLLAZY_OR_NOW RTLD_NOW
12077 # define LT_DLLAZY_OR_NOW DL_NOW
12079 # define LT_DLLAZY_OR_NOW 0
12086 /* When -fvisbility=hidden is used, assume the code has been annotated
12087 correspondingly for the symbols needed. */
12088 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12089 int fnord () __attribute__((visibility("default")));
12092 int fnord () { return 42; }
12095 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12096 int status = $lt_dlunknown;
12100 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12103 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12104 else puts (dlerror ());
12106 /* dlclose (self); */
12114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12115 (eval $ac_link) 2>&5
12117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12118 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12119 (./conftest; exit; ) >&5 2>/dev/null
12121 case x$lt_status in
12122 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12123 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12124 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12127 # compilation failed
12128 lt_cv_dlopen_self=no
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12136 $as_echo "$lt_cv_dlopen_self" >&6; }
12138 if test "x$lt_cv_dlopen_self" = xyes; then
12139 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12141 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12142 if ${lt_cv_dlopen_self_static+:} false; then :
12143 $as_echo_n "(cached) " >&6
12145 if test "$cross_compiling" = yes; then :
12146 lt_cv_dlopen_self_static=cross
12148 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12149 lt_status=$lt_dlunknown
12150 cat > conftest.$ac_ext <<_LT_EOF
12151 #line $LINENO "configure"
12152 #include "confdefs.h"
12161 # define LT_DLGLOBAL RTLD_GLOBAL
12164 # define LT_DLGLOBAL DL_GLOBAL
12166 # define LT_DLGLOBAL 0
12170 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12171 find out it does not work in some platform. */
12172 #ifndef LT_DLLAZY_OR_NOW
12174 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12177 # define LT_DLLAZY_OR_NOW DL_LAZY
12180 # define LT_DLLAZY_OR_NOW RTLD_NOW
12183 # define LT_DLLAZY_OR_NOW DL_NOW
12185 # define LT_DLLAZY_OR_NOW 0
12192 /* When -fvisbility=hidden is used, assume the code has been annotated
12193 correspondingly for the symbols needed. */
12194 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12195 int fnord () __attribute__((visibility("default")));
12198 int fnord () { return 42; }
12201 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12202 int status = $lt_dlunknown;
12206 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12209 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12210 else puts (dlerror ());
12212 /* dlclose (self); */
12220 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12221 (eval $ac_link) 2>&5
12223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12224 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12225 (./conftest; exit; ) >&5 2>/dev/null
12227 case x$lt_status in
12228 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12229 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12230 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12233 # compilation failed
12234 lt_cv_dlopen_self_static=no
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12242 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12245 CPPFLAGS="$save_CPPFLAGS"
12246 LDFLAGS="$save_LDFLAGS"
12251 case $lt_cv_dlopen_self in
12252 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12253 *) enable_dlopen_self=unknown ;;
12256 case $lt_cv_dlopen_self_static in
12257 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12258 *) enable_dlopen_self_static=unknown ;;
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12281 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12282 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12283 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12284 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12286 $as_echo "yes" >&6; }
12288 # FIXME - insert some real tests, host_os isn't really good enough
12291 if test -n "$STRIP" ; then
12292 striplib="$STRIP -x"
12293 old_striplib="$STRIP -S"
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12295 $as_echo "yes" >&6; }
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12298 $as_echo "no" >&6; }
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12303 $as_echo "no" >&6; }
12319 # Report which library types will actually be built
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12321 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12323 $as_echo "$can_build_shared" >&6; }
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12326 $as_echo_n "checking whether to build shared libraries... " >&6; }
12327 test "$can_build_shared" = "no" && enable_shared=no
12329 # On AIX, shared libraries and static libraries use the same namespace, and
12330 # are all built from PIC.
12333 test "$enable_shared" = yes && enable_static=no
12334 if test -n "$RANLIB"; then
12335 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12336 postinstall_cmds='$RANLIB $lib'
12341 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12342 test "$enable_shared" = yes && enable_static=no
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12347 $as_echo "$enable_shared" >&6; }
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12350 $as_echo_n "checking whether to build static libraries... " >&6; }
12351 # Make sure either enable_shared or enable_static is yes.
12352 test "$enable_shared" = yes || enable_static=yes
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12354 $as_echo "$enable_static" >&6; }
12361 ac_cpp='$CPP $CPPFLAGS'
12362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12382 ac_config_commands="$ac_config_commands libtool"
12387 # Only expand once:
12397 YELP_LC_MEDIA_LINKS=true
12400 for yelpopt in ; do
12402 lc-media-links) YELP_LC_MEDIA_LINKS=true ;;
12403 no-lc-media-links) YELP_LC_MEDIA_LINKS= ;;
12404 lc-dist) YELP_LC_DIST=true ;;
12405 no-lc-dist) YELP_LC_DIST= ;;
12406 *) as_fn_error $? "Unrecognized YELP_HELP_INIT option $yelpopt\"" "$LINENO" 5 ;;
12413 # Check whether --with-help-dir was given.
12414 if test "${with_help_dir+set}" = set; then :
12415 withval=$with_help_dir;
12417 with_help_dir='${datadir}/help'
12420 HELP_DIR="$with_help_dir"
12424 # Extract the first word of "itstool", so it can be a program name with args.
12425 set dummy itstool; ac_word=$2
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12427 $as_echo_n "checking for $ac_word... " >&6; }
12428 if ${ac_cv_prog_ITSTOOL+:} false; then :
12429 $as_echo_n "(cached) " >&6
12431 if test -n "$ITSTOOL"; then
12432 ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
12434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12435 for as_dir in $PATH
12438 test -z "$as_dir" && as_dir=.
12439 for ac_exec_ext in '' $ac_executable_extensions; do
12440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12441 ac_cv_prog_ITSTOOL="itstool"
12442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12451 ITSTOOL=$ac_cv_prog_ITSTOOL
12452 if test -n "$ITSTOOL"; then
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5
12454 $as_echo "$ITSTOOL" >&6; }
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12457 $as_echo "no" >&6; }
12461 if test x"$ITSTOOL" = x; then
12462 as_fn_error $? "itstool not found" "$LINENO" 5
12466 # Extract the first word of "xmllint", so it can be a program name with args.
12467 set dummy xmllint; ac_word=$2
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12469 $as_echo_n "checking for $ac_word... " >&6; }
12470 if ${ac_cv_prog_XMLLINT+:} false; then :
12471 $as_echo_n "(cached) " >&6
12473 if test -n "$XMLLINT"; then
12474 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
12476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12477 for as_dir in $PATH
12480 test -z "$as_dir" && as_dir=.
12481 for ac_exec_ext in '' $ac_executable_extensions; do
12482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12483 ac_cv_prog_XMLLINT="xmllint"
12484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12493 XMLLINT=$ac_cv_prog_XMLLINT
12494 if test -n "$XMLLINT"; then
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
12496 $as_echo "$XMLLINT" >&6; }
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12499 $as_echo "no" >&6; }
12503 if test x"$XMLLINT" = x; then
12504 as_fn_error $? "xmllint not found" "$LINENO" 5
12515 _HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
12516 _HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
12517 _HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
12518 _HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
12519 _HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
12520 _HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
12521 _HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
12522 _HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
12523 _HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
12525 _HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
12526 _HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
12527 _HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
12528 _HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V))
12529 _HELP_LC_VERBOSE_0 = @echo " GEN "$(dir $@);
12531 all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
12534 pot: $(_HELP_POTFILE)
12535 $(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
12536 $(AM_V_GEN)if test -d "C"; then d=; else d="$(srcdir)/"; fi; \
12537 $(ITSTOOL) -o "$@" $(foreach f,$(_HELP_C_FILES),"$${d}$(f)")
12540 repo: $(_HELP_POTFILE)
12541 $(AM_V_at)for po in $(_HELP_POFILES); do \
12542 if test "x$(_HELP_V)" = "x0"; then echo " GEN $${po}"; fi; \
12543 msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \
12547 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12548 $(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi
12549 $(AM_V_GEN)if ! test -f "$@"; then \
12550 (cd "$(dir $@)" && \
12551 $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
12552 mv "$(notdir $@).tmp" "$(notdir $@)"); \
12554 (cd "$(dir $@)" && \
12555 $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
12556 msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \
12557 rm "$(notdir $@).tmp"); \
12560 $(_HELP_MOFILES): %.mo: %.po
12561 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12562 $(AM_V_GEN)msgfmt -o "$@" "$<"
12564 $(_HELP_LC_FILES): $(_HELP_LINGUAS)
12565 $(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
12566 $(_HELP_LC_STAMPS): %.stamp: %.mo
12567 $(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
12568 $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12569 $(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
12570 mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
12571 if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
12572 (cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
12576 mostlyclean-am: $(if $(HELP_ID),clean-help)
12578 rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
12581 EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
12582 EXTRA_DIST += $(if $(YELP_LC_DIST),$(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp))
12583 EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po)
12584 EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
12586 distdir: distdir-help-files
12587 distdir-help-files: $(_HELP_LC_FILES)
12588 @for lc in C $(if $(YELP_LC_DIST),$(HELP_LINGUAS)) ; do \
12589 $(MKDIR_P) "$(distdir)/$$lc"; \
12590 for file in $(HELP_FILES); do \
12591 if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
12592 cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \
12599 for lc in C $(_HELP_LINGUAS); do \
12600 if test -d "$$lc"; \
12605 xmlpath="$$lc:$(srcdir)/$$lc"; \
12607 for page in $(HELP_FILES); do \
12608 echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
12609 $(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
12614 .PHONY: install-help
12615 install-data-am: $(if $(HELP_ID),install-help)
12616 install-help: $(_HELP_LC_FILES)
12617 @for lc in C $(_HELP_LINGUAS); do \
12618 $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
12620 @for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
12621 if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \
12622 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12623 if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
12624 echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \
12625 $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \
12627 @for f in $(_HELP_C_EXTRA); do \
12628 lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
12629 if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
12630 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12631 if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
12632 echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \
12633 $(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \
12635 @for f in $(HELP_MEDIA); do \
12636 for lc in C $(_HELP_LINGUAS); do \
12637 if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \
12638 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12639 mdir=`dirname "$$f"`; \
12640 if test "x$mdir" = "x."; then mdir=""; fi; \
12641 if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \
12642 if test -f "$$d$$lc/$$f"; then \
12643 echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
12644 $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
12645 elif test "x$$lc" != "xC"; then \
12646 if test "x$(YELP_LC_MEDIA_LINKS)" != "x"; then \
12647 echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
12648 $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
12654 .PHONY: uninstall-help
12655 uninstall-am: $(if $(HELP_ID),uninstall-help)
12657 for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
12658 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12659 echo "rm -f $$helpdir`basename $$f`"; \
12660 rm -f "$$helpdir`basename $$f`"; \
12662 @for f in $(_HELP_C_EXTRA); do \
12663 lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
12664 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12665 echo "rm -f $$helpdir`basename $$f`"; \
12666 rm -f "$$helpdir`basename $$f`"; \
12668 @for f in $(HELP_MEDIA); do \
12669 for lc in C $(_HELP_LINGUAS); do \
12670 helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12671 echo "rm -f $$helpdir$$f"; \
12672 rm -f "$$helpdir$$f"; \
12682 gtk_doc_requires="gtk-doc >= 1.0"
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
12684 $as_echo_n "checking for gtk-doc... " >&6; }
12685 if test -n "$PKG_CONFIG" && \
12686 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
12687 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
12689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12690 test $ac_status = 0; }; then
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
12696 $as_echo "$have_gtk_doc" >&6; }
12698 if test "$have_gtk_doc" = "no"; then
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12700 You will not be able to create source packages with 'make dist'
12701 because $gtk_doc_requires is not found." >&5
12702 $as_echo "$as_me: WARNING:
12703 You will not be able to create source packages with 'make dist'
12704 because $gtk_doc_requires is not found." >&2;}
12707 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12708 set dummy gtkdoc-check; ac_word=$2
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12710 $as_echo_n "checking for $ac_word... " >&6; }
12711 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
12712 $as_echo_n "(cached) " >&6
12714 if test -n "$GTKDOC_CHECK"; then
12715 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
12717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12718 for as_dir in $PATH
12721 test -z "$as_dir" && as_dir=.
12722 for ac_exec_ext in '' $ac_executable_extensions; do
12723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12724 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
12725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12734 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
12735 if test -n "$GTKDOC_CHECK"; then
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12737 $as_echo "$GTKDOC_CHECK" >&6; }
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12740 $as_echo "no" >&6; }
12744 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12745 set dummy gtkdoc-check; ac_word=$2
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12747 $as_echo_n "checking for $ac_word... " >&6; }
12748 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
12749 $as_echo_n "(cached) " >&6
12751 case $GTKDOC_CHECK_PATH in
12753 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
12756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12757 for as_dir in $PATH
12760 test -z "$as_dir" && as_dir=.
12761 for ac_exec_ext in '' $ac_executable_extensions; do
12762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12763 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
12764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12774 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
12775 if test -n "$GTKDOC_CHECK_PATH"; then
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
12777 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12780 $as_echo "no" >&6; }
12784 for ac_prog in gtkdoc-rebase
12786 # Extract the first word of "$ac_prog", so it can be a program name with args.
12787 set dummy $ac_prog; ac_word=$2
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12789 $as_echo_n "checking for $ac_word... " >&6; }
12790 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12791 $as_echo_n "(cached) " >&6
12793 case $GTKDOC_REBASE in
12795 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12799 for as_dir in $PATH
12802 test -z "$as_dir" && as_dir=.
12803 for ac_exec_ext in '' $ac_executable_extensions; do
12804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12805 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12816 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12817 if test -n "$GTKDOC_REBASE"; then
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12819 $as_echo "$GTKDOC_REBASE" >&6; }
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12822 $as_echo "no" >&6; }
12826 test -n "$GTKDOC_REBASE" && break
12828 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12830 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12831 set dummy gtkdoc-mkpdf; ac_word=$2
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12833 $as_echo_n "checking for $ac_word... " >&6; }
12834 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12835 $as_echo_n "(cached) " >&6
12837 case $GTKDOC_MKPDF in
12839 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12843 for as_dir in $PATH
12846 test -z "$as_dir" && as_dir=.
12847 for ac_exec_ext in '' $ac_executable_extensions; do
12848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12849 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12860 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12861 if test -n "$GTKDOC_MKPDF"; then
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12863 $as_echo "$GTKDOC_MKPDF" >&6; }
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12866 $as_echo "no" >&6; }
12872 # Check whether --with-html-dir was given.
12873 if test "${with_html_dir+set}" = set; then :
12874 withval=$with_html_dir;
12876 with_html_dir='${datadir}/gtk-doc/html'
12879 HTML_DIR="$with_html_dir"
12882 # Check whether --enable-gtk-doc was given.
12883 if test "${enable_gtk_doc+set}" = set; then :
12884 enableval=$enable_gtk_doc;
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12891 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12893 $as_echo "$enable_gtk_doc" >&6; }
12895 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
12897 You must have $gtk_doc_requires installed to build documentation for
12898 $PACKAGE_NAME. Please install gtk-doc or disable building the
12899 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
12902 if test "x$PACKAGE_NAME" != "xglib"; then
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12906 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12908 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12909 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12910 elif test -n "$PKG_CONFIG"; then
12911 if test -n "$PKG_CONFIG" && \
12912 { { $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
12913 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12916 test $ac_status = 0; }; then
12917 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12918 test "x$?" != "x0" && pkg_failed=yes
12925 if test -n "$GTKDOC_DEPS_LIBS"; then
12926 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12927 elif test -n "$PKG_CONFIG"; then
12928 if test -n "$PKG_CONFIG" && \
12929 { { $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
12930 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12933 test $ac_status = 0; }; then
12934 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12935 test "x$?" != "x0" && pkg_failed=yes
12945 if test $pkg_failed = yes; then
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12947 $as_echo "no" >&6; }
12949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12950 _pkg_short_errors_supported=yes
12952 _pkg_short_errors_supported=no
12954 if test $_pkg_short_errors_supported = yes; then
12955 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`
12957 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12959 # Put the nasty error message in config.log where it belongs
12960 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12963 elif test $pkg_failed = untried; then
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12965 $as_echo "no" >&6; }
12968 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12969 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12971 $as_echo "yes" >&6; }
12976 # Check whether --enable-gtk-doc-html was given.
12977 if test "${enable_gtk_doc_html+set}" = set; then :
12978 enableval=$enable_gtk_doc_html;
12980 enable_gtk_doc_html=yes
12983 # Check whether --enable-gtk-doc-pdf was given.
12984 if test "${enable_gtk_doc_pdf+set}" = set; then :
12985 enableval=$enable_gtk_doc_pdf;
12987 enable_gtk_doc_pdf=no
12991 if test -z "$GTKDOC_MKPDF"; then
12992 enable_gtk_doc_pdf=no
12995 if test -z "$AM_DEFAULT_VERBOSITY"; then
12996 AM_DEFAULT_VERBOSITY=1
13000 if test x$have_gtk_doc = xyes; then
13002 HAVE_GTK_DOC_FALSE='#'
13004 HAVE_GTK_DOC_TRUE='#'
13005 HAVE_GTK_DOC_FALSE=
13008 if test x$enable_gtk_doc = xyes; then
13009 ENABLE_GTK_DOC_TRUE=
13010 ENABLE_GTK_DOC_FALSE='#'
13012 ENABLE_GTK_DOC_TRUE='#'
13013 ENABLE_GTK_DOC_FALSE=
13016 if test x$enable_gtk_doc_html = xyes; then
13017 GTK_DOC_BUILD_HTML_TRUE=
13018 GTK_DOC_BUILD_HTML_FALSE='#'
13020 GTK_DOC_BUILD_HTML_TRUE='#'
13021 GTK_DOC_BUILD_HTML_FALSE=
13024 if test x$enable_gtk_doc_pdf = xyes; then
13025 GTK_DOC_BUILD_PDF_TRUE=
13026 GTK_DOC_BUILD_PDF_FALSE='#'
13028 GTK_DOC_BUILD_PDF_TRUE='#'
13029 GTK_DOC_BUILD_PDF_FALSE=
13032 if test -n "$LIBTOOL"; then
13033 GTK_DOC_USE_LIBTOOL_TRUE=
13034 GTK_DOC_USE_LIBTOOL_FALSE='#'
13036 GTK_DOC_USE_LIBTOOL_TRUE='#'
13037 GTK_DOC_USE_LIBTOOL_FALSE=
13040 if test -n "$GTKDOC_REBASE"; then
13041 GTK_DOC_USE_REBASE_TRUE=
13042 GTK_DOC_USE_REBASE_FALSE='#'
13044 GTK_DOC_USE_REBASE_TRUE='#'
13045 GTK_DOC_USE_REBASE_FALSE=
13052 # Check whether --enable-schemas-compile was given.
13053 if test "${enable_schemas_compile+set}" = set; then :
13054 enableval=$enable_schemas_compile; case ${enableval} in
13055 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
13056 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
13057 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
13069 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13070 if test -n "$ac_tool_prefix"; then
13071 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13072 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13074 $as_echo_n "checking for $ac_word... " >&6; }
13075 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13076 $as_echo_n "(cached) " >&6
13078 case $PKG_CONFIG in
13080 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13084 for as_dir in $PATH
13087 test -z "$as_dir" && as_dir=.
13088 for ac_exec_ext in '' $ac_executable_extensions; do
13089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13090 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13101 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13102 if test -n "$PKG_CONFIG"; then
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13104 $as_echo "$PKG_CONFIG" >&6; }
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13107 $as_echo "no" >&6; }
13112 if test -z "$ac_cv_path_PKG_CONFIG"; then
13113 ac_pt_PKG_CONFIG=$PKG_CONFIG
13114 # Extract the first word of "pkg-config", so it can be a program name with args.
13115 set dummy pkg-config; ac_word=$2
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13117 $as_echo_n "checking for $ac_word... " >&6; }
13118 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13119 $as_echo_n "(cached) " >&6
13121 case $ac_pt_PKG_CONFIG in
13123 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13127 for as_dir in $PATH
13130 test -z "$as_dir" && as_dir=.
13131 for ac_exec_ext in '' $ac_executable_extensions; do
13132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13133 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13144 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13145 if test -n "$ac_pt_PKG_CONFIG"; then
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13147 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13150 $as_echo "no" >&6; }
13153 if test "x$ac_pt_PKG_CONFIG" = x; then
13156 case $cross_compiling:$ac_tool_warned in
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13160 ac_tool_warned=yes ;;
13162 PKG_CONFIG=$ac_pt_PKG_CONFIG
13165 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13169 if test -n "$PKG_CONFIG"; then
13170 _pkg_min_version=0.16
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13172 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13173 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13175 $as_echo "yes" >&6; }
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13178 $as_echo "no" >&6; }
13182 gsettingsschemadir=${datadir}/glib-2.0/schemas
13184 if test x$cross_compiling != xyes; then
13185 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
13187 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
13188 set dummy glib-compile-schemas; ac_word=$2
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13190 $as_echo_n "checking for $ac_word... " >&6; }
13191 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
13192 $as_echo_n "(cached) " >&6
13194 case $GLIB_COMPILE_SCHEMAS in
13196 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
13199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13200 for as_dir in $PATH
13203 test -z "$as_dir" && as_dir=.
13204 for ac_exec_ext in '' $ac_executable_extensions; do
13205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13206 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
13207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13217 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
13218 if test -n "$GLIB_COMPILE_SCHEMAS"; then
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
13220 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13223 $as_echo "no" >&6; }
13229 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
13230 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
13236 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
13238 mostlyclean-am: clean-gsettings-schemas
13240 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
13242 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
13243 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
13245 all-am: $(gsettings_SCHEMAS:.xml=.valid)
13246 uninstall-am: uninstall-gsettings-schemas
13247 install-data-am: install-gsettings-schemas
13249 .SECONDARY: $(gsettings_SCHEMAS)
13251 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
13253 if test -n "$^"; then \
13254 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
13255 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
13256 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
13259 uninstall-gsettings-schemas:
13260 @$(NORMAL_UNINSTALL)
13261 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
13262 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
13263 test -n "$$files" || exit 0; \
13264 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
13265 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
13266 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
13268 clean-gsettings-schemas:
13269 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
13271 ifdef gsettings_ENUM_NAMESPACE
13272 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
13273 $(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 $@
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
13284 $as_echo_n "checking for library containing strerror... " >&6; }
13285 if ${ac_cv_search_strerror+:} false; then :
13286 $as_echo_n "(cached) " >&6
13288 ac_func_search_save_LIBS=$LIBS
13289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h. */
13292 /* Override any GCC internal prototype to avoid an error.
13293 Use char because int might match the return type of a GCC
13294 builtin and then its argument prototype would still apply. */
13302 return strerror ();
13307 for ac_lib in '' cposix; do
13308 if test -z "$ac_lib"; then
13309 ac_res="none required"
13312 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13314 if ac_fn_c_try_link "$LINENO"; then :
13315 ac_cv_search_strerror=$ac_res
13317 rm -f core conftest.err conftest.$ac_objext \
13319 if ${ac_cv_search_strerror+:} false; then :
13323 if ${ac_cv_search_strerror+:} false; then :
13326 ac_cv_search_strerror=no
13328 rm conftest.$ac_ext
13329 LIBS=$ac_func_search_save_LIBS
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
13332 $as_echo "$ac_cv_search_strerror" >&6; }
13333 ac_res=$ac_cv_search_strerror
13334 if test "$ac_res" != no; then :
13335 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13340 ac_cpp='$CPP $CPPFLAGS'
13341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13344 if test -n "$ac_tool_prefix"; then
13345 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13346 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13348 $as_echo_n "checking for $ac_word... " >&6; }
13349 if ${ac_cv_prog_CC+:} false; then :
13350 $as_echo_n "(cached) " >&6
13352 if test -n "$CC"; then
13353 ac_cv_prog_CC="$CC" # Let the user override the test.
13355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13356 for as_dir in $PATH
13359 test -z "$as_dir" && as_dir=.
13360 for ac_exec_ext in '' $ac_executable_extensions; do
13361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13362 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13373 if test -n "$CC"; then
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13375 $as_echo "$CC" >&6; }
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13378 $as_echo "no" >&6; }
13383 if test -z "$ac_cv_prog_CC"; then
13385 # Extract the first word of "gcc", so it can be a program name with args.
13386 set dummy gcc; ac_word=$2
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13388 $as_echo_n "checking for $ac_word... " >&6; }
13389 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13390 $as_echo_n "(cached) " >&6
13392 if test -n "$ac_ct_CC"; then
13393 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13396 for as_dir in $PATH
13399 test -z "$as_dir" && as_dir=.
13400 for ac_exec_ext in '' $ac_executable_extensions; do
13401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13402 ac_cv_prog_ac_ct_CC="gcc"
13403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13412 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13413 if test -n "$ac_ct_CC"; then
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13415 $as_echo "$ac_ct_CC" >&6; }
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13418 $as_echo "no" >&6; }
13421 if test "x$ac_ct_CC" = x; then
13424 case $cross_compiling:$ac_tool_warned in
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13428 ac_tool_warned=yes ;;
13433 CC="$ac_cv_prog_CC"
13436 if test -z "$CC"; then
13437 if test -n "$ac_tool_prefix"; then
13438 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13439 set dummy ${ac_tool_prefix}cc; ac_word=$2
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13441 $as_echo_n "checking for $ac_word... " >&6; }
13442 if ${ac_cv_prog_CC+:} false; then :
13443 $as_echo_n "(cached) " >&6
13445 if test -n "$CC"; then
13446 ac_cv_prog_CC="$CC" # Let the user override the test.
13448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13449 for as_dir in $PATH
13452 test -z "$as_dir" && as_dir=.
13453 for ac_exec_ext in '' $ac_executable_extensions; do
13454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13455 ac_cv_prog_CC="${ac_tool_prefix}cc"
13456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13466 if test -n "$CC"; then
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13468 $as_echo "$CC" >&6; }
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13471 $as_echo "no" >&6; }
13477 if test -z "$CC"; then
13478 # Extract the first word of "cc", so it can be a program name with args.
13479 set dummy cc; ac_word=$2
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13481 $as_echo_n "checking for $ac_word... " >&6; }
13482 if ${ac_cv_prog_CC+:} false; then :
13483 $as_echo_n "(cached) " >&6
13485 if test -n "$CC"; then
13486 ac_cv_prog_CC="$CC" # Let the user override the test.
13488 ac_prog_rejected=no
13489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13490 for as_dir in $PATH
13493 test -z "$as_dir" && as_dir=.
13494 for ac_exec_ext in '' $ac_executable_extensions; do
13495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13496 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13497 ac_prog_rejected=yes
13501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13508 if test $ac_prog_rejected = yes; then
13509 # We found a bogon in the path, so make sure we never use it.
13510 set dummy $ac_cv_prog_CC
13512 if test $# != 0; then
13513 # We chose a different compiler from the bogus one.
13514 # However, it has the same basename, so the bogon will be chosen
13515 # first if we set CC to just the basename; use the full file name.
13517 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13523 if test -n "$CC"; then
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13525 $as_echo "$CC" >&6; }
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13528 $as_echo "no" >&6; }
13533 if test -z "$CC"; then
13534 if test -n "$ac_tool_prefix"; then
13535 for ac_prog in cl.exe
13537 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13540 $as_echo_n "checking for $ac_word... " >&6; }
13541 if ${ac_cv_prog_CC+:} false; then :
13542 $as_echo_n "(cached) " >&6
13544 if test -n "$CC"; then
13545 ac_cv_prog_CC="$CC" # Let the user override the test.
13547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13548 for as_dir in $PATH
13551 test -z "$as_dir" && as_dir=.
13552 for ac_exec_ext in '' $ac_executable_extensions; do
13553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13554 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13565 if test -n "$CC"; then
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13567 $as_echo "$CC" >&6; }
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13570 $as_echo "no" >&6; }
13574 test -n "$CC" && break
13577 if test -z "$CC"; then
13579 for ac_prog in cl.exe
13581 # Extract the first word of "$ac_prog", so it can be a program name with args.
13582 set dummy $ac_prog; ac_word=$2
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13584 $as_echo_n "checking for $ac_word... " >&6; }
13585 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13586 $as_echo_n "(cached) " >&6
13588 if test -n "$ac_ct_CC"; then
13589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13592 for as_dir in $PATH
13595 test -z "$as_dir" && as_dir=.
13596 for ac_exec_ext in '' $ac_executable_extensions; do
13597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13598 ac_cv_prog_ac_ct_CC="$ac_prog"
13599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13609 if test -n "$ac_ct_CC"; then
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13611 $as_echo "$ac_ct_CC" >&6; }
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13614 $as_echo "no" >&6; }
13618 test -n "$ac_ct_CC" && break
13621 if test "x$ac_ct_CC" = x; then
13624 case $cross_compiling:$ac_tool_warned in
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13628 ac_tool_warned=yes ;;
13637 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13639 as_fn_error $? "no acceptable C compiler found in \$PATH
13640 See \`config.log' for more details" "$LINENO" 5; }
13642 # Provide some information about the compiler.
13643 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13646 for ac_option in --version -v -V -qversion; do
13647 { { ac_try="$ac_compiler $ac_option >&5"
13648 case "(($ac_try" in
13649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13650 *) ac_try_echo=$ac_try;;
13652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13653 $as_echo "$ac_try_echo"; } >&5
13654 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13656 if test -s conftest.err; then
13658 ... rest of stderr output deleted ...
13659 10q' conftest.err >conftest.er1
13660 cat conftest.er1 >&5
13662 rm -f conftest.er1 conftest.err
13663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13664 test $ac_status = 0; }
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13668 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13669 if ${ac_cv_c_compiler_gnu+:} false; then :
13670 $as_echo_n "(cached) " >&6
13672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13686 if ac_fn_c_try_compile "$LINENO"; then :
13687 ac_compiler_gnu=yes
13691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13692 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13696 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13697 if test $ac_compiler_gnu = yes; then
13702 ac_test_CFLAGS=${CFLAGS+set}
13703 ac_save_CFLAGS=$CFLAGS
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13705 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13706 if ${ac_cv_prog_cc_g+:} false; then :
13707 $as_echo_n "(cached) " >&6
13709 ac_save_c_werror_flag=$ac_c_werror_flag
13710 ac_c_werror_flag=yes
13713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h. */
13724 if ac_fn_c_try_compile "$LINENO"; then :
13725 ac_cv_prog_cc_g=yes
13728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13739 if ac_fn_c_try_compile "$LINENO"; then :
13742 ac_c_werror_flag=$ac_save_c_werror_flag
13744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13755 if ac_fn_c_try_compile "$LINENO"; then :
13756 ac_cv_prog_cc_g=yes
13758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13763 ac_c_werror_flag=$ac_save_c_werror_flag
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13766 $as_echo "$ac_cv_prog_cc_g" >&6; }
13767 if test "$ac_test_CFLAGS" = set; then
13768 CFLAGS=$ac_save_CFLAGS
13769 elif test $ac_cv_prog_cc_g = yes; then
13770 if test "$GCC" = yes; then
13776 if test "$GCC" = yes; then
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13783 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13784 if ${ac_cv_prog_cc_c89+:} false; then :
13785 $as_echo_n "(cached) " >&6
13787 ac_cv_prog_cc_c89=no
13789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13791 #include <stdarg.h>
13794 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13795 struct buf { int x; };
13796 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13797 static char *e (p, i)
13803 static char *f (char * (*g) (char **, int), char **p, ...)
13808 s = g (p, va_arg (v,int));
13813 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13814 function prototypes and stuff, but not '\xHH' hex character constants.
13815 These don't provoke an error unfortunately, instead are silently treated
13816 as 'x'. The following induces an error, until -std is added to get
13817 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13818 array size at least. It's necessary to write '\x00'==0 to get something
13819 that's true only with -std. */
13820 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13822 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13823 inside strings and character constants. */
13825 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13827 int test (int i, double x);
13828 struct s1 {int (*f) (int a);};
13829 struct s2 {int (*f) (double a);};
13830 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13836 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13841 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13842 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13844 CC="$ac_save_CC $ac_arg"
13845 if ac_fn_c_try_compile "$LINENO"; then :
13846 ac_cv_prog_cc_c89=$ac_arg
13848 rm -f core conftest.err conftest.$ac_objext
13849 test "x$ac_cv_prog_cc_c89" != "xno" && break
13851 rm -f conftest.$ac_ext
13856 case "x$ac_cv_prog_cc_c89" in
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13859 $as_echo "none needed" >&6; } ;;
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13862 $as_echo "unsupported" >&6; } ;;
13864 CC="$CC $ac_cv_prog_cc_c89"
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13866 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13868 if test "x$ac_cv_prog_cc_c89" != xno; then :
13873 ac_cpp='$CPP $CPPFLAGS'
13874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13879 ac_cpp='$CPP $CPPFLAGS'
13880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13884 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13885 if ${am_cv_prog_cc_c_o+:} false; then :
13886 $as_echo_n "(cached) " >&6
13888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13899 # Make sure it works both with $CC and with simple cc.
13900 # Following AC_PROG_CC_C_O, we do the test twice because some
13901 # compilers refuse to overwrite an existing .o file with -o,
13902 # though they will create one.
13903 am_cv_prog_cc_c_o=yes
13904 for am_i in 1 2; do
13905 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13906 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); } \
13910 && test -f conftest2.$ac_objext; then
13913 am_cv_prog_cc_c_o=no
13917 rm -f core conftest*
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13921 $as_echo "$am_cv_prog_cc_c_o" >&6; }
13922 if test "$am_cv_prog_cc_c_o" != yes; then
13923 # Losing compiler, so override with the script.
13924 # FIXME: It is wrong to rewrite CC.
13925 # But if we don't then we get into trouble of one sort or another.
13926 # A longer-term fix would be to have automake use am__CC in this case,
13927 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13928 CC="$am_aux_dir/compile $CC"
13931 ac_cpp='$CPP $CPPFLAGS'
13932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13937 depcc="$CC" am_compiler_list=
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13940 $as_echo_n "checking dependency style of $depcc... " >&6; }
13941 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13942 $as_echo_n "(cached) " >&6
13944 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13945 # We make a subdir and do the tests there. Otherwise we can end up
13946 # making bogus files that we don't know about and never remove. For
13947 # instance it was reported that on HP-UX the gcc test will end up
13948 # making a dummy file named 'D' -- because '-MD' means "put the output
13950 rm -rf conftest.dir
13952 # Copy depcomp to subdir because otherwise we won't find it if we're
13953 # using a relative directory.
13954 cp "$am_depcomp" conftest.dir
13956 # We will build objects and dependencies in a subdirectory because
13957 # it helps to detect inapplicable dependency modes. For instance
13958 # both Tru64's cc and ICC support -MD to output dependencies as a
13959 # side effect of compilation, but ICC will put the dependencies in
13960 # the current directory while Tru64 will put them in the object
13964 am_cv_CC_dependencies_compiler_type=none
13965 if test "$am_compiler_list" = ""; then
13966 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13968 am__universal=false
13969 case " $depcc " in #(
13970 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13973 for depmode in $am_compiler_list; do
13974 # Setup a source with many dependencies, because some compilers
13975 # like to wrap large dependency lists on column 80 (with \), and
13976 # we should not choose a depcomp mode which is confused by this.
13978 # We need to recreate these files for each test, as the compiler may
13979 # overwrite some of them when testing with obscure command lines.
13980 # This happens at least with the AIX C compiler.
13982 for i in 1 2 3 4 5 6; do
13983 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13984 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13985 # Solaris 10 /bin/sh.
13986 echo '/* dummy */' > sub/conftst$i.h
13988 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13990 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13991 # mode. It turns out that the SunPro C++ compiler does not properly
13992 # handle '-M -o', and we need to detect this. Also, some Intel
13993 # versions had trouble with output in subdirs.
13994 am__obj=sub/conftest.${OBJEXT-o}
13995 am__minus_obj="-o $am__obj"
13998 # This depmode causes a compiler race in universal mode.
13999 test "$am__universal" = false || continue
14002 # After this tag, mechanisms are not by side-effect, so they'll
14003 # only be used when explicitly requested.
14004 if test "x$enable_dependency_tracking" = xyes; then
14010 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14011 # This compiler won't grok '-c -o', but also, the minuso test has
14012 # not run yet. These depmodes are late enough in the game, and
14013 # so weak that their functioning should not be impacted.
14014 am__obj=conftest.${OBJEXT-o}
14019 if depmode=$depmode \
14020 source=sub/conftest.c object=$am__obj \
14021 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14022 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14023 >/dev/null 2>conftest.err &&
14024 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14025 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14026 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14027 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14028 # icc doesn't choke on unknown options, it will just issue warnings
14029 # or remarks (even with -Werror). So we grep stderr for any message
14030 # that says an option was ignored or not supported.
14031 # When given -MP, icc 7.0 and 7.1 complain thusly:
14032 # icc: Command line warning: ignoring option '-M'; no argument required
14033 # The diagnosis changed in icc 8.0:
14034 # icc: Command line remark: option '-MP' not supported
14035 if (grep 'ignoring option' conftest.err ||
14036 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14037 am_cv_CC_dependencies_compiler_type=$depmode
14044 rm -rf conftest.dir
14046 am_cv_CC_dependencies_compiler_type=none
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14051 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14052 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14055 test "x$enable_dependency_tracking" != xno \
14056 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14057 am__fastdepCC_TRUE=
14058 am__fastdepCC_FALSE='#'
14060 am__fastdepCC_TRUE='#'
14061 am__fastdepCC_FALSE=
14069 # Check whether --enable-compile-warnings was given.
14070 if test "${enable_compile_warnings+set}" = set; then :
14071 enableval=$enable_compile_warnings;
14073 enable_compile_warnings="yes"
14077 if test "x$GCC" != xyes; then
14078 enable_compile_warnings=no
14082 realsave_CFLAGS="$CFLAGS"
14084 base_warn_flags=" \
14086 -Wstrict-prototypes \
14090 base_error_flags=" \
14091 -Werror=missing-prototypes \
14092 -Werror=implicit-function-declaration \
14093 -Werror=pointer-arith \
14094 -Werror=init-self \
14095 -Werror=format-security \
14097 -Werror=missing-include-dirs \
14100 additional_flags=""
14102 case "$enable_compile_warnings" in
14107 warning_flags="-Wall"
14110 warning_flags="$base_warn_flags $base_error_flags $additional_flags"
14113 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
14117 if test "$enable_compile_warnings" = "error" ; then
14118 warning_flags="$warning_flags -Werror"
14121 for option in $warning_flags; do
14122 save_CFLAGS="$CFLAGS"
14123 CFLAGS="$CFLAGS $option"
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
14125 $as_echo_n "checking whether gcc understands $option... " >&6; }
14126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14127 /* end confdefs.h. */
14137 if ac_fn_c_try_compile "$LINENO"; then :
14142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14143 CFLAGS="$save_CFLAGS"
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
14145 $as_echo "$has_option" >&6; }
14146 if test $has_option = yes; then
14147 tested_warning_flags="$tested_warning_flags $option"
14153 CFLAGS="$realsave_CFLAGS"
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
14155 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tested_warning_flags" >&5
14157 $as_echo "$tested_warning_flags" >&6; }
14159 # Check whether --enable-iso-c was given.
14160 if test "${enable_iso_c+set}" = set; then :
14161 enableval=$enable_iso_c;
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
14168 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
14170 if test "x$enable_iso_c" != "xno"; then
14171 if test "x$GCC" = "xyes"; then
14172 case " $CFLAGS " in
14173 *\ \ -ansi\ \ *) ;;
14174 *) complCFLAGS="$complCFLAGS -ansi" ;;
14176 case " $CFLAGS " in
14177 *\ \ -pedantic\ \ *) ;;
14178 *) complCFLAGS="$complCFLAGS -pedantic" ;;
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
14183 $as_echo "$complCFLAGS" >&6; }
14185 WARN_CFLAGS="$tested_warning_flags $complCFLAGS"
14189 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
14190 set dummy glib-genmarshal; ac_word=$2
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14192 $as_echo_n "checking for $ac_word... " >&6; }
14193 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
14194 $as_echo_n "(cached) " >&6
14196 case $GLIB_GENMARSHAL in
14198 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
14201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14202 for as_dir in $PATH
14205 test -z "$as_dir" && as_dir=.
14206 for ac_exec_ext in '' $ac_executable_extensions; do
14207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14208 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
14209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14219 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
14220 if test -n "$GLIB_GENMARSHAL"; then
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
14222 $as_echo "$GLIB_GENMARSHAL" >&6; }
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14225 $as_echo "no" >&6; }
14229 # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
14230 set dummy gdk-pixbuf-csource; ac_word=$2
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14232 $as_echo_n "checking for $ac_word... " >&6; }
14233 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
14234 $as_echo_n "(cached) " >&6
14236 case $GDK_PIXBUF_CSOURCE in
14238 ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
14241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14242 for as_dir in $PATH
14245 test -z "$as_dir" && as_dir=.
14246 for ac_exec_ext in '' $ac_executable_extensions; do
14247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14248 ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
14249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14259 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
14260 if test -n "$GDK_PIXBUF_CSOURCE"; then
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
14262 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14265 $as_echo "no" >&6; }
14269 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
14270 set dummy gtk-update-icon-cache; ac_word=$2
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14272 $as_echo_n "checking for $ac_word... " >&6; }
14273 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
14274 $as_echo_n "(cached) " >&6
14276 case $GTK_UPDATE_ICON_CACHE in
14278 ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
14281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14282 for as_dir in $PATH
14285 test -z "$as_dir" && as_dir=.
14286 for ac_exec_ext in '' $ac_executable_extensions; do
14287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14288 ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
14289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14299 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
14300 if test -n "$GTK_UPDATE_ICON_CACHE"; then
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
14302 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14305 $as_echo "no" >&6; }
14311 GLABELS_BRANCH=glabels-3.0
14314 LIBGLABELS_BRANCH=libglabels-3.0
14317 LIBGLBARCODE_BRANCH=libglbarcode-3.0
14324 LIBGLABELS_API_VERSION=${LIBGLABELS_C}:${LIBGLABELS_R}:${LIBGLABELS_A}
14331 LIBGLBARCODE_API_VERSION=${LIBGLBARCODE_C}:${LIBGLBARCODE_R}:${LIBGLBARCODE_A}
14334 GLIB_REQUIRED=2.42.0
14335 GTK_REQUIRED=3.14.0
14336 LIBXML_REQUIRED=2.9.0
14337 LIBRSVG_REQUIRED=2.39.0
14338 CAIRO_REQUIRED=1.14.0
14339 PANGO_REQUIRED=1.36.0
14341 LIBEBOOK_REQUIRED=3.12.0
14342 LIBBARCODE_REQUIRED=0.98
14343 LIBQRENCODE_REQUIRED=3.1.0
14344 LIBIEC16022_REQUIRED=0.2.4
14345 LIBZINT_REQUIRED=2.4.0
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLABELS" >&5
14363 $as_echo_n "checking for GLABELS... " >&6; }
14365 if test -n "$GLABELS_CFLAGS"; then
14366 pkg_cv_GLABELS_CFLAGS="$GLABELS_CFLAGS"
14367 elif test -n "$PKG_CONFIG"; then
14368 if test -n "$PKG_CONFIG" && \
14369 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14370 glib-2.0 >= \$GLIB_REQUIRED \\
14371 gtk+-3.0 >= \$GTK_REQUIRED \\
14372 libxml-2.0 >= \$LIBXML_REQUIRED \\
14373 librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
14375 ($PKG_CONFIG --exists --print-errors "\
14376 glib-2.0 >= $GLIB_REQUIRED \
14377 gtk+-3.0 >= $GTK_REQUIRED \
14378 libxml-2.0 >= $LIBXML_REQUIRED \
14379 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14383 test $ac_status = 0; }; then
14384 pkg_cv_GLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14385 glib-2.0 >= $GLIB_REQUIRED \
14386 gtk+-3.0 >= $GTK_REQUIRED \
14387 libxml-2.0 >= $LIBXML_REQUIRED \
14388 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14390 test "x$?" != "x0" && pkg_failed=yes
14397 if test -n "$GLABELS_LIBS"; then
14398 pkg_cv_GLABELS_LIBS="$GLABELS_LIBS"
14399 elif test -n "$PKG_CONFIG"; then
14400 if test -n "$PKG_CONFIG" && \
14401 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14402 glib-2.0 >= \$GLIB_REQUIRED \\
14403 gtk+-3.0 >= \$GTK_REQUIRED \\
14404 libxml-2.0 >= \$LIBXML_REQUIRED \\
14405 librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
14407 ($PKG_CONFIG --exists --print-errors "\
14408 glib-2.0 >= $GLIB_REQUIRED \
14409 gtk+-3.0 >= $GTK_REQUIRED \
14410 libxml-2.0 >= $LIBXML_REQUIRED \
14411 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14415 test $ac_status = 0; }; then
14416 pkg_cv_GLABELS_LIBS=`$PKG_CONFIG --libs "\
14417 glib-2.0 >= $GLIB_REQUIRED \
14418 gtk+-3.0 >= $GTK_REQUIRED \
14419 libxml-2.0 >= $LIBXML_REQUIRED \
14420 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14422 test "x$?" != "x0" && pkg_failed=yes
14432 if test $pkg_failed = yes; then
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14434 $as_echo "no" >&6; }
14436 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14437 _pkg_short_errors_supported=yes
14439 _pkg_short_errors_supported=no
14441 if test $_pkg_short_errors_supported = yes; then
14442 GLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14443 glib-2.0 >= $GLIB_REQUIRED \
14444 gtk+-3.0 >= $GTK_REQUIRED \
14445 libxml-2.0 >= $LIBXML_REQUIRED \
14446 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14449 GLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14450 glib-2.0 >= $GLIB_REQUIRED \
14451 gtk+-3.0 >= $GTK_REQUIRED \
14452 libxml-2.0 >= $LIBXML_REQUIRED \
14453 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14456 # Put the nasty error message in config.log where it belongs
14457 echo "$GLABELS_PKG_ERRORS" >&5
14459 as_fn_error $? "Package requirements (\
14460 glib-2.0 >= $GLIB_REQUIRED \
14461 gtk+-3.0 >= $GTK_REQUIRED \
14462 libxml-2.0 >= $LIBXML_REQUIRED \
14463 librsvg-2.0 >= $LIBRSVG_REQUIRED \
14466 $GLABELS_PKG_ERRORS
14468 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14469 installed software in a non-standard prefix.
14471 Alternatively, you may set the environment variables GLABELS_CFLAGS
14472 and GLABELS_LIBS to avoid the need to call pkg-config.
14473 See the pkg-config man page for more details." "$LINENO" 5
14474 elif test $pkg_failed = untried; then
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14476 $as_echo "no" >&6; }
14477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14479 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14480 is in your PATH or set the PKG_CONFIG environment variable to the full
14481 path to pkg-config.
14483 Alternatively, you may set the environment variables GLABELS_CFLAGS
14484 and GLABELS_LIBS to avoid the need to call pkg-config.
14485 See the pkg-config man page for more details.
14487 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14488 See \`config.log' for more details" "$LINENO" 5; }
14490 GLABELS_CFLAGS=$pkg_cv_GLABELS_CFLAGS
14491 GLABELS_LIBS=$pkg_cv_GLABELS_LIBS
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14493 $as_echo "yes" >&6; }
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLABELS" >&5
14504 $as_echo_n "checking for LIBGLABELS... " >&6; }
14506 if test -n "$LIBGLABELS_CFLAGS"; then
14507 pkg_cv_LIBGLABELS_CFLAGS="$LIBGLABELS_CFLAGS"
14508 elif test -n "$PKG_CONFIG"; then
14509 if test -n "$PKG_CONFIG" && \
14510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14511 glib-2.0 >= \$GLIB_REQUIRED \\
14512 gobject-2.0 >= \$GLIB_REQUIRED \\
14513 libxml-2.0 >= \$LIBXML_REQUIRED \\
14515 ($PKG_CONFIG --exists --print-errors "\
14516 glib-2.0 >= $GLIB_REQUIRED \
14517 gobject-2.0 >= $GLIB_REQUIRED \
14518 libxml-2.0 >= $LIBXML_REQUIRED \
14521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14522 test $ac_status = 0; }; then
14523 pkg_cv_LIBGLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14524 glib-2.0 >= $GLIB_REQUIRED \
14525 gobject-2.0 >= $GLIB_REQUIRED \
14526 libxml-2.0 >= $LIBXML_REQUIRED \
14528 test "x$?" != "x0" && pkg_failed=yes
14535 if test -n "$LIBGLABELS_LIBS"; then
14536 pkg_cv_LIBGLABELS_LIBS="$LIBGLABELS_LIBS"
14537 elif test -n "$PKG_CONFIG"; then
14538 if test -n "$PKG_CONFIG" && \
14539 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14540 glib-2.0 >= \$GLIB_REQUIRED \\
14541 gobject-2.0 >= \$GLIB_REQUIRED \\
14542 libxml-2.0 >= \$LIBXML_REQUIRED \\
14544 ($PKG_CONFIG --exists --print-errors "\
14545 glib-2.0 >= $GLIB_REQUIRED \
14546 gobject-2.0 >= $GLIB_REQUIRED \
14547 libxml-2.0 >= $LIBXML_REQUIRED \
14550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14551 test $ac_status = 0; }; then
14552 pkg_cv_LIBGLABELS_LIBS=`$PKG_CONFIG --libs "\
14553 glib-2.0 >= $GLIB_REQUIRED \
14554 gobject-2.0 >= $GLIB_REQUIRED \
14555 libxml-2.0 >= $LIBXML_REQUIRED \
14557 test "x$?" != "x0" && pkg_failed=yes
14567 if test $pkg_failed = yes; then
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14569 $as_echo "no" >&6; }
14571 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14572 _pkg_short_errors_supported=yes
14574 _pkg_short_errors_supported=no
14576 if test $_pkg_short_errors_supported = yes; then
14577 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14578 glib-2.0 >= $GLIB_REQUIRED \
14579 gobject-2.0 >= $GLIB_REQUIRED \
14580 libxml-2.0 >= $LIBXML_REQUIRED \
14583 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14584 glib-2.0 >= $GLIB_REQUIRED \
14585 gobject-2.0 >= $GLIB_REQUIRED \
14586 libxml-2.0 >= $LIBXML_REQUIRED \
14589 # Put the nasty error message in config.log where it belongs
14590 echo "$LIBGLABELS_PKG_ERRORS" >&5
14592 as_fn_error $? "Package requirements (\
14593 glib-2.0 >= $GLIB_REQUIRED \
14594 gobject-2.0 >= $GLIB_REQUIRED \
14595 libxml-2.0 >= $LIBXML_REQUIRED \
14598 $LIBGLABELS_PKG_ERRORS
14600 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14601 installed software in a non-standard prefix.
14603 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14604 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14605 See the pkg-config man page for more details." "$LINENO" 5
14606 elif test $pkg_failed = untried; then
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14608 $as_echo "no" >&6; }
14609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14611 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14612 is in your PATH or set the PKG_CONFIG environment variable to the full
14613 path to pkg-config.
14615 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14616 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14617 See the pkg-config man page for more details.
14619 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14620 See \`config.log' for more details" "$LINENO" 5; }
14622 LIBGLABELS_CFLAGS=$pkg_cv_LIBGLABELS_CFLAGS
14623 LIBGLABELS_LIBS=$pkg_cv_LIBGLABELS_LIBS
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14625 $as_echo "yes" >&6; }
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLBARCODE" >&5
14636 $as_echo_n "checking for LIBGLBARCODE... " >&6; }
14638 if test -n "$LIBGLBARCODE_CFLAGS"; then
14639 pkg_cv_LIBGLBARCODE_CFLAGS="$LIBGLBARCODE_CFLAGS"
14640 elif test -n "$PKG_CONFIG"; then
14641 if test -n "$PKG_CONFIG" && \
14642 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14643 glib-2.0 >= \$GLIB_REQUIRED \\
14644 cairo >= \$CAIRO_REQUIRED \\
14645 pango >= \$PANGO_REQUIRED \\
14646 pangocairo >= \$PANGO_REQUIRED \\
14648 ($PKG_CONFIG --exists --print-errors "\
14649 glib-2.0 >= $GLIB_REQUIRED \
14650 cairo >= $CAIRO_REQUIRED \
14651 pango >= $PANGO_REQUIRED \
14652 pangocairo >= $PANGO_REQUIRED \
14655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14656 test $ac_status = 0; }; then
14657 pkg_cv_LIBGLBARCODE_CFLAGS=`$PKG_CONFIG --cflags "\
14658 glib-2.0 >= $GLIB_REQUIRED \
14659 cairo >= $CAIRO_REQUIRED \
14660 pango >= $PANGO_REQUIRED \
14661 pangocairo >= $PANGO_REQUIRED \
14663 test "x$?" != "x0" && pkg_failed=yes
14670 if test -n "$LIBGLBARCODE_LIBS"; then
14671 pkg_cv_LIBGLBARCODE_LIBS="$LIBGLBARCODE_LIBS"
14672 elif test -n "$PKG_CONFIG"; then
14673 if test -n "$PKG_CONFIG" && \
14674 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14675 glib-2.0 >= \$GLIB_REQUIRED \\
14676 cairo >= \$CAIRO_REQUIRED \\
14677 pango >= \$PANGO_REQUIRED \\
14678 pangocairo >= \$PANGO_REQUIRED \\
14680 ($PKG_CONFIG --exists --print-errors "\
14681 glib-2.0 >= $GLIB_REQUIRED \
14682 cairo >= $CAIRO_REQUIRED \
14683 pango >= $PANGO_REQUIRED \
14684 pangocairo >= $PANGO_REQUIRED \
14687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14688 test $ac_status = 0; }; then
14689 pkg_cv_LIBGLBARCODE_LIBS=`$PKG_CONFIG --libs "\
14690 glib-2.0 >= $GLIB_REQUIRED \
14691 cairo >= $CAIRO_REQUIRED \
14692 pango >= $PANGO_REQUIRED \
14693 pangocairo >= $PANGO_REQUIRED \
14695 test "x$?" != "x0" && pkg_failed=yes
14705 if test $pkg_failed = yes; then
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14707 $as_echo "no" >&6; }
14709 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14710 _pkg_short_errors_supported=yes
14712 _pkg_short_errors_supported=no
14714 if test $_pkg_short_errors_supported = yes; then
14715 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14716 glib-2.0 >= $GLIB_REQUIRED \
14717 cairo >= $CAIRO_REQUIRED \
14718 pango >= $PANGO_REQUIRED \
14719 pangocairo >= $PANGO_REQUIRED \
14722 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14723 glib-2.0 >= $GLIB_REQUIRED \
14724 cairo >= $CAIRO_REQUIRED \
14725 pango >= $PANGO_REQUIRED \
14726 pangocairo >= $PANGO_REQUIRED \
14729 # Put the nasty error message in config.log where it belongs
14730 echo "$LIBGLBARCODE_PKG_ERRORS" >&5
14732 as_fn_error $? "Package requirements (\
14733 glib-2.0 >= $GLIB_REQUIRED \
14734 cairo >= $CAIRO_REQUIRED \
14735 pango >= $PANGO_REQUIRED \
14736 pangocairo >= $PANGO_REQUIRED \
14739 $LIBGLBARCODE_PKG_ERRORS
14741 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14742 installed software in a non-standard prefix.
14744 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14745 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14746 See the pkg-config man page for more details." "$LINENO" 5
14747 elif test $pkg_failed = untried; then
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14749 $as_echo "no" >&6; }
14750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14752 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14753 is in your PATH or set the PKG_CONFIG environment variable to the full
14754 path to pkg-config.
14756 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14757 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14758 See the pkg-config man page for more details.
14760 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14761 See \`config.log' for more details" "$LINENO" 5; }
14763 LIBGLBARCODE_CFLAGS=$pkg_cv_LIBGLBARCODE_CFLAGS
14764 LIBGLBARCODE_LIBS=$pkg_cv_LIBGLBARCODE_LIBS
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14766 $as_echo "yes" >&6; }
14775 # Check whether --with-libebook was given.
14776 if test "${with_libebook+set}" = set; then :
14777 withval=$with_libebook;
14781 if test "x$with_libebook" != xno; then
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEBOOK" >&5
14785 $as_echo_n "checking for LIBEBOOK... " >&6; }
14787 if test -n "$LIBEBOOK_CFLAGS"; then
14788 pkg_cv_LIBEBOOK_CFLAGS="$LIBEBOOK_CFLAGS"
14789 elif test -n "$PKG_CONFIG"; then
14790 if test -n "$PKG_CONFIG" && \
14791 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14792 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14795 test $ac_status = 0; }; then
14796 pkg_cv_LIBEBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14797 test "x$?" != "x0" && pkg_failed=yes
14804 if test -n "$LIBEBOOK_LIBS"; then
14805 pkg_cv_LIBEBOOK_LIBS="$LIBEBOOK_LIBS"
14806 elif test -n "$PKG_CONFIG"; then
14807 if test -n "$PKG_CONFIG" && \
14808 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14809 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14812 test $ac_status = 0; }; then
14813 pkg_cv_LIBEBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14814 test "x$?" != "x0" && pkg_failed=yes
14824 if test $pkg_failed = yes; then
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14826 $as_echo "no" >&6; }
14828 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14829 _pkg_short_errors_supported=yes
14831 _pkg_short_errors_supported=no
14833 if test $_pkg_short_errors_supported = yes; then
14834 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14836 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14838 # Put the nasty error message in config.log where it belongs
14839 echo "$LIBEBOOK_PKG_ERRORS" >&5
14842 elif test $pkg_failed = untried; then
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14844 $as_echo "no" >&6; }
14847 LIBEBOOK_CFLAGS=$pkg_cv_LIBEBOOK_CFLAGS
14848 LIBEBOOK_LIBS=$pkg_cv_LIBEBOOK_LIBS
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14850 $as_echo "yes" >&6; }
14855 if test "x$have_libebook" = "xyes"; then
14857 $as_echo "#define HAVE_LIBEBOOK 1" >>confdefs.h
14865 # Check whether --with-libbarcode was given.
14866 if test "${with_libbarcode+set}" = set; then :
14867 withval=$with_libbarcode;
14871 if test "x$with_libbarcode" != xno; then
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Barcode_Create in -lbarcode" >&5
14873 $as_echo_n "checking for Barcode_Create in -lbarcode... " >&6; }
14874 if ${ac_cv_lib_barcode_Barcode_Create+:} false; then :
14875 $as_echo_n "(cached) " >&6
14877 ac_check_lib_save_LIBS=$LIBS
14878 LIBS="-lbarcode $LIBS"
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14882 /* Override any GCC internal prototype to avoid an error.
14883 Use char because int might match the return type of a GCC
14884 builtin and then its argument prototype would still apply. */
14888 char Barcode_Create ();
14892 return Barcode_Create ();
14897 if ac_fn_c_try_link "$LINENO"; then :
14898 ac_cv_lib_barcode_Barcode_Create=yes
14900 ac_cv_lib_barcode_Barcode_Create=no
14902 rm -f core conftest.err conftest.$ac_objext \
14903 conftest$ac_exeext conftest.$ac_ext
14904 LIBS=$ac_check_lib_save_LIBS
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_barcode_Barcode_Create" >&5
14907 $as_echo "$ac_cv_lib_barcode_Barcode_Create" >&6; }
14908 if test "x$ac_cv_lib_barcode_Barcode_Create" = xyes; then :
14909 have_libbarcode=yes
14916 if test "x$have_libbarcode" = "xyes"; then
14918 $as_echo "#define HAVE_LIBBARCODE 1" >>confdefs.h
14920 LIBBARCODE_CFLAGS=""
14921 LIBBARCODE_LIBS="-lbarcode"
14925 help_libbarcode="(See http://www.gnu.org/software/barcode/barcode.html)"
14929 # Check whether --with-libzint was given.
14930 if test "${with_libzint+set}" = set; then :
14931 withval=$with_libzint;
14935 if test "x$with_libzint" != xno; then
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZBarcode_Render in -lzint" >&5
14937 $as_echo_n "checking for ZBarcode_Render in -lzint... " >&6; }
14938 if ${ac_cv_lib_zint_ZBarcode_Render+:} false; then :
14939 $as_echo_n "(cached) " >&6
14941 ac_check_lib_save_LIBS=$LIBS
14942 LIBS="-lzint $LIBS"
14943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14944 /* end confdefs.h. */
14946 /* Override any GCC internal prototype to avoid an error.
14947 Use char because int might match the return type of a GCC
14948 builtin and then its argument prototype would still apply. */
14952 char ZBarcode_Render ();
14956 return ZBarcode_Render ();
14961 if ac_fn_c_try_link "$LINENO"; then :
14962 ac_cv_lib_zint_ZBarcode_Render=yes
14964 ac_cv_lib_zint_ZBarcode_Render=no
14966 rm -f core conftest.err conftest.$ac_objext \
14967 conftest$ac_exeext conftest.$ac_ext
14968 LIBS=$ac_check_lib_save_LIBS
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zint_ZBarcode_Render" >&5
14971 $as_echo "$ac_cv_lib_zint_ZBarcode_Render" >&6; }
14972 if test "x$ac_cv_lib_zint_ZBarcode_Render" = xyes; then :
14980 if test "x$have_libzint" = "xyes"; then
14982 $as_echo "#define HAVE_LIBZINT 1" >>confdefs.h
14985 LIBZINT_LIBS="-lzint"
14989 help_libzint="(See http://www.zint.org.uk)"
14994 # Check whether --with-libqrencode was given.
14995 if test "${with_libqrencode+set}" = set; then :
14996 withval=$with_libqrencode;
14999 have_libqrencode=no
15000 if test "x$with_libqrencode" != xno; then
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBQRENCODE" >&5
15004 $as_echo_n "checking for LIBQRENCODE... " >&6; }
15006 if test -n "$LIBQRENCODE_CFLAGS"; then
15007 pkg_cv_LIBQRENCODE_CFLAGS="$LIBQRENCODE_CFLAGS"
15008 elif test -n "$PKG_CONFIG"; then
15009 if test -n "$PKG_CONFIG" && \
15010 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
15011 ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
15013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15014 test $ac_status = 0; }; then
15015 pkg_cv_LIBQRENCODE_CFLAGS=`$PKG_CONFIG --cflags "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
15016 test "x$?" != "x0" && pkg_failed=yes
15023 if test -n "$LIBQRENCODE_LIBS"; then
15024 pkg_cv_LIBQRENCODE_LIBS="$LIBQRENCODE_LIBS"
15025 elif test -n "$PKG_CONFIG"; then
15026 if test -n "$PKG_CONFIG" && \
15027 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
15028 ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
15030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15031 test $ac_status = 0; }; then
15032 pkg_cv_LIBQRENCODE_LIBS=`$PKG_CONFIG --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
15033 test "x$?" != "x0" && pkg_failed=yes
15043 if test $pkg_failed = yes; then
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15045 $as_echo "no" >&6; }
15047 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15048 _pkg_short_errors_supported=yes
15050 _pkg_short_errors_supported=no
15052 if test $_pkg_short_errors_supported = yes; then
15053 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
15055 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
15057 # Put the nasty error message in config.log where it belongs
15058 echo "$LIBQRENCODE_PKG_ERRORS" >&5
15060 have_libqrencode=no
15061 elif test $pkg_failed = untried; then
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15063 $as_echo "no" >&6; }
15064 have_libqrencode=no
15066 LIBQRENCODE_CFLAGS=$pkg_cv_LIBQRENCODE_CFLAGS
15067 LIBQRENCODE_LIBS=$pkg_cv_LIBQRENCODE_LIBS
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15069 $as_echo "yes" >&6; }
15070 have_libqrencode=yes
15074 if test "x$have_libqrencode" = "xyes"; then
15076 $as_echo "#define HAVE_LIBQRENCODE 1" >>confdefs.h
15081 help_libqrencode="(See http://megaui.net/fukuchi/works/qrencode/index.en.html)"
15086 # Check whether --with-libiec16022 was given.
15087 if test "${with_libiec16022+set}" = set; then :
15088 withval=$with_libiec16022;
15091 have_libiec16022=no
15092 if test "x$with_libiec16022" != xno; then
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIEC16022" >&5
15096 $as_echo_n "checking for LIBIEC16022... " >&6; }
15098 if test -n "$LIBIEC16022_CFLAGS"; then
15099 pkg_cv_LIBIEC16022_CFLAGS="$LIBIEC16022_CFLAGS"
15100 elif test -n "$PKG_CONFIG"; then
15101 if test -n "$PKG_CONFIG" && \
15102 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
15103 ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
15105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15106 test $ac_status = 0; }; then
15107 pkg_cv_LIBIEC16022_CFLAGS=`$PKG_CONFIG --cflags "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
15108 test "x$?" != "x0" && pkg_failed=yes
15115 if test -n "$LIBIEC16022_LIBS"; then
15116 pkg_cv_LIBIEC16022_LIBS="$LIBIEC16022_LIBS"
15117 elif test -n "$PKG_CONFIG"; then
15118 if test -n "$PKG_CONFIG" && \
15119 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
15120 ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
15122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15123 test $ac_status = 0; }; then
15124 pkg_cv_LIBIEC16022_LIBS=`$PKG_CONFIG --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
15125 test "x$?" != "x0" && pkg_failed=yes
15135 if test $pkg_failed = yes; then
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15137 $as_echo "no" >&6; }
15139 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15140 _pkg_short_errors_supported=yes
15142 _pkg_short_errors_supported=no
15144 if test $_pkg_short_errors_supported = yes; then
15145 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
15147 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
15149 # Put the nasty error message in config.log where it belongs
15150 echo "$LIBIEC16022_PKG_ERRORS" >&5
15152 have_libiec16022=no
15153 elif test $pkg_failed = untried; then
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15155 $as_echo "no" >&6; }
15156 have_libiec16022=no
15158 LIBIEC16022_CFLAGS=$pkg_cv_LIBIEC16022_CFLAGS
15159 LIBIEC16022_LIBS=$pkg_cv_LIBIEC16022_LIBS
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15161 $as_echo "yes" >&6; }
15162 have_libiec16022=yes
15166 if test "x$have_libiec16022" = "xyes"; then
15168 $as_echo "#define HAVE_LIBIEC16022 1" >>confdefs.h
15173 help_libiec16022="(See http://datenfreihafen.org/projects/iec16022.html)"
15177 # Check whether --enable-deprecations was given.
15178 if test "${enable_deprecations+set}" = set; then :
15179 enableval=$enable_deprecations;
15181 enable_deprecations=no
15185 if test "x$enable_deprecations" = "xyes"; then
15186 DISABLE_DEPRECATED_CFLAGS="\
15187 -DG_DISABLE_DEPRECATED \
15188 -DGDK_DISABLE_DEPRECATED \
15189 -DGTK_DISABLE_DEPRECATED \
15190 -DGDK_PIXBUF_DISABLE_DEPRECATED \
15196 GETTEXT_PACKAGE=${GLABELS_BRANCH}
15199 cat >>confdefs.h <<_ACEOF
15200 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15205 for ac_header in locale.h
15207 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
15208 if test "x$ac_cv_header_locale_h" = xyes; then :
15209 cat >>confdefs.h <<_ACEOF
15210 #define HAVE_LOCALE_H 1
15217 if test $ac_cv_header_locale_h = yes; then
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15219 $as_echo_n "checking for LC_MESSAGES... " >&6; }
15220 if ${am_cv_val_LC_MESSAGES+:} false; then :
15221 $as_echo_n "(cached) " >&6
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15225 #include <locale.h>
15234 if ac_fn_c_try_link "$LINENO"; then :
15235 am_cv_val_LC_MESSAGES=yes
15237 am_cv_val_LC_MESSAGES=no
15239 rm -f core conftest.err conftest.$ac_objext \
15240 conftest$ac_exeext conftest.$ac_ext
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15243 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15244 if test $am_cv_val_LC_MESSAGES = yes; then
15246 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15253 gt_cv_have_gettext=no
15259 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15260 if test "x$ac_cv_header_libintl_h" = xyes; then :
15261 gt_cv_func_dgettext_libintl="no"
15262 libintl_extra_libs=""
15265 # First check in libc
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15268 $as_echo_n "checking for ngettext in libc... " >&6; }
15269 if ${gt_cv_func_ngettext_libc+:} false; then :
15270 $as_echo_n "(cached) " >&6
15272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15275 #include <libintl.h>
15280 return !ngettext ("","", 1)
15285 if ac_fn_c_try_link "$LINENO"; then :
15286 gt_cv_func_ngettext_libc=yes
15288 gt_cv_func_ngettext_libc=no
15290 rm -f core conftest.err conftest.$ac_objext \
15291 conftest$ac_exeext conftest.$ac_ext
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
15295 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
15297 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15299 $as_echo_n "checking for dgettext in libc... " >&6; }
15300 if ${gt_cv_func_dgettext_libc+:} false; then :
15301 $as_echo_n "(cached) " >&6
15303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15304 /* end confdefs.h. */
15306 #include <libintl.h>
15311 return !dgettext ("","")
15316 if ac_fn_c_try_link "$LINENO"; then :
15317 gt_cv_func_dgettext_libc=yes
15319 gt_cv_func_dgettext_libc=no
15321 rm -f core conftest.err conftest.$ac_objext \
15322 conftest$ac_exeext conftest.$ac_ext
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15326 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
15329 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15330 for ac_func in bind_textdomain_codeset
15332 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15333 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15334 cat >>confdefs.h <<_ACEOF
15335 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15344 # If we don't have everything we want, check in libintl
15346 if test "$gt_cv_func_dgettext_libc" != "yes" \
15347 || test "$gt_cv_func_ngettext_libc" != "yes" \
15348 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15351 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15352 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
15353 $as_echo_n "(cached) " >&6
15355 ac_check_lib_save_LIBS=$LIBS
15356 LIBS="-lintl $LIBS"
15357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15358 /* end confdefs.h. */
15360 /* Override any GCC internal prototype to avoid an error.
15361 Use char because int might match the return type of a GCC
15362 builtin and then its argument prototype would still apply. */
15366 char bindtextdomain ();
15370 return bindtextdomain ();
15375 if ac_fn_c_try_link "$LINENO"; then :
15376 ac_cv_lib_intl_bindtextdomain=yes
15378 ac_cv_lib_intl_bindtextdomain=no
15380 rm -f core conftest.err conftest.$ac_objext \
15381 conftest$ac_exeext conftest.$ac_ext
15382 LIBS=$ac_check_lib_save_LIBS
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
15385 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15386 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15388 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15389 if ${ac_cv_lib_intl_ngettext+:} false; then :
15390 $as_echo_n "(cached) " >&6
15392 ac_check_lib_save_LIBS=$LIBS
15393 LIBS="-lintl $LIBS"
15394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15395 /* end confdefs.h. */
15397 /* Override any GCC internal prototype to avoid an error.
15398 Use char because int might match the return type of a GCC
15399 builtin and then its argument prototype would still apply. */
15407 return ngettext ();
15412 if ac_fn_c_try_link "$LINENO"; then :
15413 ac_cv_lib_intl_ngettext=yes
15415 ac_cv_lib_intl_ngettext=no
15417 rm -f core conftest.err conftest.$ac_objext \
15418 conftest$ac_exeext conftest.$ac_ext
15419 LIBS=$ac_check_lib_save_LIBS
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15422 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15423 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15425 $as_echo_n "checking for dgettext in -lintl... " >&6; }
15426 if ${ac_cv_lib_intl_dgettext+:} false; then :
15427 $as_echo_n "(cached) " >&6
15429 ac_check_lib_save_LIBS=$LIBS
15430 LIBS="-lintl $LIBS"
15431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15432 /* end confdefs.h. */
15434 /* Override any GCC internal prototype to avoid an error.
15435 Use char because int might match the return type of a GCC
15436 builtin and then its argument prototype would still apply. */
15444 return dgettext ();
15449 if ac_fn_c_try_link "$LINENO"; then :
15450 ac_cv_lib_intl_dgettext=yes
15452 ac_cv_lib_intl_dgettext=no
15454 rm -f core conftest.err conftest.$ac_objext \
15455 conftest$ac_exeext conftest.$ac_ext
15456 LIBS=$ac_check_lib_save_LIBS
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15459 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15460 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15461 gt_cv_func_dgettext_libintl=yes
15469 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15471 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15475 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15476 if ${ac_cv_lib_intl_ngettext+:} false; then :
15477 $as_echo_n "(cached) " >&6
15479 ac_check_lib_save_LIBS=$LIBS
15480 LIBS="-lintl -liconv $LIBS"
15481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15482 /* end confdefs.h. */
15484 /* Override any GCC internal prototype to avoid an error.
15485 Use char because int might match the return type of a GCC
15486 builtin and then its argument prototype would still apply. */
15494 return ngettext ();
15499 if ac_fn_c_try_link "$LINENO"; then :
15500 ac_cv_lib_intl_ngettext=yes
15502 ac_cv_lib_intl_ngettext=no
15504 rm -f core conftest.err conftest.$ac_objext \
15505 conftest$ac_exeext conftest.$ac_ext
15506 LIBS=$ac_check_lib_save_LIBS
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15509 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15510 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15512 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
15513 if ${ac_cv_lib_intl_dcgettext+:} false; then :
15514 $as_echo_n "(cached) " >&6
15516 ac_check_lib_save_LIBS=$LIBS
15517 LIBS="-lintl -liconv $LIBS"
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15521 /* Override any GCC internal prototype to avoid an error.
15522 Use char because int might match the return type of a GCC
15523 builtin and then its argument prototype would still apply. */
15531 return dcgettext ();
15536 if ac_fn_c_try_link "$LINENO"; then :
15537 ac_cv_lib_intl_dcgettext=yes
15539 ac_cv_lib_intl_dcgettext=no
15541 rm -f core conftest.err conftest.$ac_objext \
15542 conftest$ac_exeext conftest.$ac_ext
15543 LIBS=$ac_check_lib_save_LIBS
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15546 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15547 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15548 gt_cv_func_dgettext_libintl=yes
15549 libintl_extra_libs=-liconv
15561 # If we found libintl, then check in it for bind_textdomain_codeset();
15562 # we'll prefer libc if neither have bind_textdomain_codeset(),
15563 # and both have dgettext and ngettext
15565 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15566 glib_save_LIBS="$LIBS"
15567 LIBS="$LIBS -lintl $libintl_extra_libs"
15568 unset ac_cv_func_bind_textdomain_codeset
15569 for ac_func in bind_textdomain_codeset
15571 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15572 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15573 cat >>confdefs.h <<_ACEOF
15574 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15580 LIBS="$glib_save_LIBS"
15582 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15583 gt_cv_func_dgettext_libc=no
15585 if test "$gt_cv_func_dgettext_libc" = "yes" \
15586 && test "$gt_cv_func_ngettext_libc" = "yes"; then
15587 gt_cv_func_dgettext_libintl=no
15593 if test "$gt_cv_func_dgettext_libc" = "yes" \
15594 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
15595 gt_cv_have_gettext=yes
15598 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15599 INTLLIBS="-lintl $libintl_extra_libs"
15602 if test "$gt_cv_have_gettext" = "yes"; then
15604 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15606 # Extract the first word of "msgfmt", so it can be a program name with args.
15607 set dummy msgfmt; ac_word=$2
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15609 $as_echo_n "checking for $ac_word... " >&6; }
15610 if ${ac_cv_path_MSGFMT+:} false; then :
15611 $as_echo_n "(cached) " >&6
15615 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15618 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15619 for ac_dir in $PATH; do
15620 test -z "$ac_dir" && ac_dir=.
15621 if test -f $ac_dir/$ac_word; then
15622 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15623 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15629 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15633 MSGFMT="$ac_cv_path_MSGFMT"
15634 if test "$MSGFMT" != "no"; then
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15636 $as_echo "$MSGFMT" >&6; }
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15639 $as_echo "no" >&6; }
15641 if test "$MSGFMT" != "no"; then
15642 glib_save_LIBS="$LIBS"
15643 LIBS="$LIBS $INTLLIBS"
15644 for ac_func in dcgettext
15646 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15647 if test "x$ac_cv_func_dcgettext" = xyes; then :
15648 cat >>confdefs.h <<_ACEOF
15649 #define HAVE_DCGETTEXT 1
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15657 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
15658 cat >conftest.foo <<_ACEOF
15662 "Content-Type: text/plain; charset=UTF-8\n"
15663 "Project-Id-Version: test 1.0\n"
15664 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
15665 "Last-Translator: test <foo@bar.xx>\n"
15666 "Language-Team: C <LL@li.org>\n"
15667 "MIME-Version: 1.0\n"
15668 "Content-Transfer-Encoding: 8bit\n"
15671 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15672 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15675 test $ac_status = 0; }; then
15676 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15677 $as_echo "yes" >&6; }
15678 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15679 $as_echo "no" >&6; }
15680 echo "$as_me: failed input was:" >&5
15681 sed 's/^/| /' conftest.foo >&5
15684 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15685 set dummy gmsgfmt; ac_word=$2
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15687 $as_echo_n "checking for $ac_word... " >&6; }
15688 if ${ac_cv_path_GMSGFMT+:} false; then :
15689 $as_echo_n "(cached) " >&6
15693 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15697 for as_dir in $PATH
15700 test -z "$as_dir" && as_dir=.
15701 for ac_exec_ext in '' $ac_executable_extensions; do
15702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15703 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15711 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15715 GMSGFMT=$ac_cv_path_GMSGFMT
15716 if test -n "$GMSGFMT"; then
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15718 $as_echo "$GMSGFMT" >&6; }
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15721 $as_echo "no" >&6; }
15725 # Extract the first word of "xgettext", so it can be a program name with args.
15726 set dummy xgettext; ac_word=$2
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15728 $as_echo_n "checking for $ac_word... " >&6; }
15729 if ${ac_cv_path_XGETTEXT+:} false; then :
15730 $as_echo_n "(cached) " >&6
15732 case "$XGETTEXT" in
15734 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15737 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15738 for ac_dir in $PATH; do
15739 test -z "$ac_dir" && ac_dir=.
15740 if test -f $ac_dir/$ac_word; then
15741 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15742 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15748 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15752 XGETTEXT="$ac_cv_path_XGETTEXT"
15753 if test "$XGETTEXT" != ":"; then
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15755 $as_echo "$XGETTEXT" >&6; }
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15758 $as_echo "no" >&6; }
15761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15767 extern int _nl_msg_cat_cntr;
15768 return _nl_msg_cat_cntr
15773 if ac_fn_c_try_link "$LINENO"; then :
15779 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15780 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15799 rm -f core conftest.err conftest.$ac_objext \
15800 conftest$ac_exeext conftest.$ac_ext
15801 LIBS="$glib_save_LIBS"
15804 gt_cv_have_gettext=no
15812 if test "$gt_cv_have_gettext" = "yes" ; then
15814 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15818 if test "$XGETTEXT" != ":"; then
15819 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15823 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15828 # We need to process the po/ directory.
15831 ac_config_commands="$ac_config_commands default-1"
15834 for lang in $ALL_LINGUAS; do
15835 GMOFILES="$GMOFILES $lang.gmo"
15836 POFILES="$POFILES $lang.po"
15851 if test "$gt_cv_have_gettext" = "yes"; then
15852 if test "x$ALL_LINGUAS" = "x"; then
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15856 $as_echo_n "checking for catalogs to be installed... " >&6; }
15858 for presentlang in $ALL_LINGUAS; do
15860 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15861 desiredlanguages="$LINGUAS"
15863 desiredlanguages="$ALL_LINGUAS"
15865 for desiredlang in $desiredlanguages; do
15866 # Use the presentlang catalog if desiredlang is
15867 # a. equal to presentlang, or
15868 # b. a variant of presentlang (because in this case,
15869 # presentlang can be used as a fallback for messages
15870 # which are not translated in the desiredlang catalog).
15871 case "$desiredlang" in
15872 "$presentlang"*) useit=yes;;
15875 if test $useit = yes; then
15876 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15879 LINGUAS=$NEW_LINGUAS
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15881 $as_echo "$LINGUAS" >&6; }
15884 if test -n "$LINGUAS"; then
15885 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15890 if test -n "$ac_aux_dir"; then
15891 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15893 if test -z "$MKINSTALLDIRS"; then
15894 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15898 test -d po || mkdir po
15899 if test "x$srcdir" != "x."; then
15900 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15901 posrcprefix="$srcdir/"
15903 posrcprefix="../$srcdir/"
15909 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15910 < $srcdir/po/POTFILES.in > po/POTFILES
15914 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"
15916 cat >confcache <<\_ACEOF
15917 # This file is a shell script that caches the results of configure
15918 # tests run on this system so they can be shared between configure
15919 # scripts and configure runs, see configure's option --config-cache.
15920 # It is not useful on other systems. If it contains results you don't
15921 # want to keep, you may remove or edit it.
15923 # config.status only pays attention to the cache file if you give it
15924 # the --recheck option to rerun configure.
15926 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15927 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15928 # following values.
15932 # The following way of writing the cache mishandles newlines in values,
15933 # but we know of no workaround that is simple, portable, and efficient.
15934 # So, we kill variables containing newlines.
15935 # Ultrix sh set writes to stderr and can't be redirected directly,
15936 # and sets the high bit in the cache file unless we assign to the vars.
15938 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15939 eval ac_val=\$$ac_var
15943 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15944 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15947 _ | IFS | as_nl) ;; #(
15948 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15949 *) { eval $ac_var=; unset $ac_var;} ;;
15955 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15956 *${as_nl}ac_space=\ *)
15957 # `set' does not quote correctly, so add quotes: double-quote
15958 # substitution turns \\\\ into \\, and sed turns \\ into \.
15961 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15964 # `set' quotes correctly as required by POSIX, so do not add quotes.
15965 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15974 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15976 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15978 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15979 if test -w "$cache_file"; then
15980 if test "x$cache_file" != "x/dev/null"; then
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15982 $as_echo "$as_me: updating cache $cache_file" >&6;}
15983 if test ! -f "$cache_file" || test -h "$cache_file"; then
15984 cat confcache >"$cache_file"
15986 case $cache_file in #(
15988 mv -f confcache "$cache_file"$$ &&
15989 mv -f "$cache_file"$$ "$cache_file" ;; #(
15991 mv -f confcache "$cache_file" ;;
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15997 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16002 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16003 # Let make expand exec_prefix.
16004 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16006 DEFS=-DHAVE_CONFIG_H
16011 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16012 # 1. Remove the extension, and $U if already installed.
16013 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16014 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16015 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16016 # will be set to the directory where LIBOBJS objects are built.
16017 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16018 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16020 LIBOBJS=$ac_libobjs
16022 LTLIBOBJS=$ac_ltlibobjs
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16026 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16027 if test -n "$am_sleep_pid"; then
16028 # Hide warnings about reused PIDs.
16029 wait $am_sleep_pid 2>/dev/null
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16032 $as_echo "done" >&6; }
16033 if test -n "$EXEEXT"; then
16035 am__EXEEXT_FALSE='#'
16037 am__EXEEXT_TRUE='#'
16041 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16042 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16046 ac_config_commands="$ac_config_commands po/stamp-it"
16049 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16050 as_fn_error $? "conditional \"AMDEP\" was never defined.
16051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16053 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16054 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16057 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
16058 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
16059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16061 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16062 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
16063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16065 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
16066 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
16067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16069 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
16070 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
16071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16073 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16074 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16077 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
16078 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
16079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16081 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16082 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16086 : "${CONFIG_STATUS=./config.status}"
16088 ac_clean_files_save=$ac_clean_files
16089 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16091 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16093 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16095 # Generated by $as_me.
16096 # Run this file to recreate the current configuration.
16097 # Compiler output produced by configure, useful for debugging
16098 # configure, is in config.log if it exists.
16101 ac_cs_recheck=false
16104 SHELL=\${CONFIG_SHELL-$SHELL}
16107 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16108 ## -------------------- ##
16109 ## M4sh Initialization. ##
16110 ## -------------------- ##
16112 # Be more Bourne compatible
16113 DUALCASE=1; export DUALCASE # for MKS sh
16114 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16117 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16118 # is contrary to our usage. Disable this feature.
16119 alias -g '${1+"$@"}'='"$@"'
16120 setopt NO_GLOB_SUBST
16122 case `(set -o) 2>/dev/null` in #(
16134 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16135 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16136 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16137 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16138 # Prefer a ksh shell builtin over an external printf program on Solaris,
16139 # but without wasting forks for bash or zsh.
16140 if test -z "$BASH_VERSION$ZSH_VERSION" \
16141 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16142 as_echo='print -r --'
16143 as_echo_n='print -rn --'
16144 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16145 as_echo='printf %s\n'
16146 as_echo_n='printf %s'
16148 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16149 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16150 as_echo_n='/usr/ucb/echo -n'
16152 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16153 as_echo_n_body='eval
16157 expr "X$arg" : "X\\(.*\\)$as_nl";
16158 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16160 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16162 export as_echo_n_body
16163 as_echo_n='sh -c $as_echo_n_body as_echo'
16165 export as_echo_body
16166 as_echo='sh -c $as_echo_body as_echo'
16169 # The user is always right.
16170 if test "${PATH_SEPARATOR+set}" != set; then
16172 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16173 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16180 # We need space, tab and new line, in precisely that order. Quoting is
16181 # there to prevent editors from complaining about space-tab.
16182 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16183 # splitting by setting IFS to empty value.)
16186 # Find who we are. Look in the path if we contain no directory separator.
16189 *[\\/]* ) as_myself=$0 ;;
16190 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16191 for as_dir in $PATH
16194 test -z "$as_dir" && as_dir=.
16195 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16201 # We did not find ourselves, most probably we were run as `sh COMMAND'
16202 # in which case we are not to be found in the path.
16203 if test "x$as_myself" = x; then
16206 if test ! -f "$as_myself"; then
16207 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16211 # Unset variables that we do not need and which cause bugs (e.g. in
16212 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16213 # suppresses any "Segmentation fault" message there. '((' could
16214 # trigger a bug in pdksh 5.2.14.
16215 for as_var in BASH_ENV ENV MAIL MAILPATH
16216 do eval test x\${$as_var+set} = xset \
16217 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16230 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16233 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16234 # ----------------------------------------
16235 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16236 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16237 # script with STATUS, using 1 if that was 0.
16240 as_status=$1; test $as_status -eq 0 && as_status=1
16242 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16243 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16245 $as_echo "$as_me: error: $2" >&2
16246 as_fn_exit $as_status
16250 # as_fn_set_status STATUS
16251 # -----------------------
16252 # Set $? to STATUS, without forking.
16253 as_fn_set_status ()
16256 } # as_fn_set_status
16258 # as_fn_exit STATUS
16259 # -----------------
16260 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16264 as_fn_set_status $1
16270 # Portably unset VAR.
16273 { eval $1=; unset $1;}
16275 as_unset=as_fn_unset
16276 # as_fn_append VAR VALUE
16277 # ----------------------
16278 # Append the text in VALUE to the end of the definition contained in VAR. Take
16279 # advantage of any shell optimizations that allow amortized linear growth over
16280 # repeated appends, instead of the typical quadratic growth present in naive
16282 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16283 eval 'as_fn_append ()
16294 # as_fn_arith ARG...
16295 # ------------------
16296 # Perform arithmetic evaluation on the ARGs, and store the result in the
16297 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16298 # must be portable across $(()) and expr.
16299 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16300 eval 'as_fn_arith ()
16307 as_val=`expr "$@" || test $? -eq 1`
16312 if expr a : '\(a\)' >/dev/null 2>&1 &&
16313 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16319 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16320 as_basename=basename
16325 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16331 as_me=`$as_basename -- "$0" ||
16332 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16333 X"$0" : 'X\(//\)$' \| \
16334 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16336 sed '/^.*\/\([^/][^/]*\)\/*$/{
16350 # Avoid depending upon Character Ranges.
16351 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16352 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16353 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16354 as_cr_digits='0123456789'
16355 as_cr_alnum=$as_cr_Letters$as_cr_digits
16357 ECHO_C= ECHO_N= ECHO_T=
16358 case `echo -n x` in #(((((
16360 case `echo 'xy\c'` in
16361 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16363 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16370 rm -f conf$$ conf$$.exe conf$$.file
16371 if test -d conf$$.dir; then
16372 rm -f conf$$.dir/conf$$.file
16375 mkdir conf$$.dir 2>/dev/null
16377 if (echo >conf$$.file) 2>/dev/null; then
16378 if ln -s conf$$.file conf$$ 2>/dev/null; then
16380 # ... but there are two gotchas:
16381 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16382 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16383 # In both cases, we have to default to `cp -pR'.
16384 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16386 elif ln conf$$.file conf$$ 2>/dev/null; then
16394 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16395 rmdir conf$$.dir 2>/dev/null
16400 # Create "$as_dir" as a directory, including parents if necessary.
16405 -*) as_dir=./$as_dir;;
16407 test -d "$as_dir" || eval $as_mkdir_p || {
16411 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16412 *) as_qdir=$as_dir;;
16414 as_dirs="'$as_qdir' $as_dirs"
16415 as_dir=`$as_dirname -- "$as_dir" ||
16416 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16417 X"$as_dir" : 'X\(//\)[^/]' \| \
16418 X"$as_dir" : 'X\(//\)$' \| \
16419 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16420 $as_echo X"$as_dir" |
16421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16425 /^X\(\/\/\)[^/].*/{
16438 test -d "$as_dir" && break
16440 test -z "$as_dirs" || eval "mkdir $as_dirs"
16441 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16445 if mkdir -p . 2>/dev/null; then
16446 as_mkdir_p='mkdir -p "$as_dir"'
16448 test -d ./-p && rmdir ./-p
16453 # as_fn_executable_p FILE
16454 # -----------------------
16455 # Test if FILE is an executable regular file.
16456 as_fn_executable_p ()
16458 test -f "$1" && test -x "$1"
16459 } # as_fn_executable_p
16460 as_test_x='test -x'
16461 as_executable_p=as_fn_executable_p
16463 # Sed expression to map a string onto a valid CPP name.
16464 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16466 # Sed expression to map a string onto a valid variable name.
16467 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16471 ## ----------------------------------- ##
16472 ## Main body of $CONFIG_STATUS script. ##
16473 ## ----------------------------------- ##
16475 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16478 # Save the log message, to keep $0 and so on meaningful, and to
16479 # report actual input values of CONFIG_FILES etc. instead of their
16480 # values after options handling.
16482 This file was extended by glabels $as_me 3.4.0, which was
16483 generated by GNU Autoconf 2.69. Invocation command line was
16485 CONFIG_FILES = $CONFIG_FILES
16486 CONFIG_HEADERS = $CONFIG_HEADERS
16487 CONFIG_LINKS = $CONFIG_LINKS
16488 CONFIG_COMMANDS = $CONFIG_COMMANDS
16491 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16496 case $ac_config_files in *"
16497 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16500 case $ac_config_headers in *"
16501 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16506 # Files that config.status was made for.
16507 config_files="$ac_config_files"
16508 config_headers="$ac_config_headers"
16509 config_commands="$ac_config_commands"
16513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16515 \`$as_me' instantiates files and other configuration actions
16516 from templates according to the current configuration. Unless the files
16517 and actions are specified as TAGs, all are instantiated by default.
16519 Usage: $0 [OPTION]... [TAG]...
16521 -h, --help print this help, then exit
16522 -V, --version print version number and configuration settings, then exit
16523 --config print configuration, then exit
16524 -q, --quiet, --silent
16525 do not print progress messages
16526 -d, --debug don't remove temporary files
16527 --recheck update $as_me by reconfiguring in the same conditions
16528 --file=FILE[:TEMPLATE]
16529 instantiate the configuration file FILE
16530 --header=FILE[:TEMPLATE]
16531 instantiate the configuration header FILE
16533 Configuration files:
16536 Configuration headers:
16539 Configuration commands:
16542 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>."
16545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16546 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16548 glabels config.status 3.4.0
16549 configured by $0, generated by GNU Autoconf 2.69,
16550 with options \\"\$ac_cs_config\\"
16552 Copyright (C) 2012 Free Software Foundation, Inc.
16553 This config.status script is free software; the Free Software Foundation
16554 gives unlimited permission to copy, distribute and modify it."
16561 test -n "\$AWK" || AWK=awk
16564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16565 # The default lists apply if the user does not specify any file.
16571 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16572 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16576 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16588 # Handling of the options.
16589 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16591 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16592 $as_echo "$ac_cs_version"; exit ;;
16593 --config | --confi | --conf | --con | --co | --c )
16594 $as_echo "$ac_cs_config"; exit ;;
16595 --debug | --debu | --deb | --de | --d | -d )
16597 --file | --fil | --fi | --f )
16600 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16601 '') as_fn_error $? "missing file argument" ;;
16603 as_fn_append CONFIG_FILES " '$ac_optarg'"
16604 ac_need_defaults=false;;
16605 --header | --heade | --head | --hea )
16608 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16610 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16611 ac_need_defaults=false;;
16613 # Conflict between --help and --header
16614 as_fn_error $? "ambiguous option: \`$1'
16615 Try \`$0 --help' for more information.";;
16616 --help | --hel | -h )
16617 $as_echo "$ac_cs_usage"; exit ;;
16618 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16619 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16622 # This is an error.
16623 -*) as_fn_error $? "unrecognized option: \`$1'
16624 Try \`$0 --help' for more information." ;;
16626 *) as_fn_append ac_config_targets " $1"
16627 ac_need_defaults=false ;;
16633 ac_configure_extra_args=
16635 if $ac_cs_silent; then
16637 ac_configure_extra_args="$ac_configure_extra_args --silent"
16641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16642 if \$ac_cs_recheck; then
16643 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16645 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16646 CONFIG_SHELL='$SHELL'
16647 export CONFIG_SHELL
16652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16656 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16657 ## Running $as_me. ##
16663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16667 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16670 # The HP-UX ksh and POSIX shell print the target directory to stdout
16671 # if CDPATH is set.
16672 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16674 sed_quote_subst='$sed_quote_subst'
16675 double_quote_subst='$double_quote_subst'
16676 delay_variable_subst='$delay_variable_subst'
16677 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16678 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16679 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16680 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16681 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16682 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16683 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16684 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16685 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16686 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16687 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16688 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16689 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16690 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16691 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16692 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16693 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16694 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16695 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16696 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16697 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16698 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16699 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16700 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16701 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16702 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16703 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16704 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16705 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16706 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16707 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16708 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16709 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16710 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16711 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16712 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16713 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16714 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16715 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16716 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16717 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16718 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16719 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16720 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16721 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16722 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16723 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16724 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16725 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16726 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16727 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16728 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16729 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16730 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16731 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16732 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16733 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"`'
16734 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16735 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16736 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16737 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16738 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16739 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16740 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16741 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16742 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16743 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16744 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16745 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16746 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16747 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16748 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16749 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16750 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16751 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16752 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16753 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16754 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16755 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16756 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16757 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16758 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16759 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16760 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16761 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16762 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16763 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16764 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16765 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16766 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16767 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16768 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16769 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16770 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16771 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16772 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16773 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16774 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16775 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16776 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16777 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16778 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16779 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16780 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16781 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16782 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16783 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16784 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16785 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16786 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16787 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16788 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16789 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16790 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16791 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16792 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16793 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16794 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16795 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16796 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16797 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16798 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16799 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16800 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16801 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16802 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16803 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16804 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16805 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16806 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16809 LTCFLAGS='$LTCFLAGS'
16810 compiler='$compiler_DEFAULT'
16812 # A function that is used when there is no print builtin or printf.
16813 func_fallback_echo ()
16815 eval 'cat <<_LTECHO_EOF
16820 # Quote evaled strings.
16835 deplibs_check_method \
16840 sharedlib_from_linklib_cmd \
16843 archiver_list_spec \
16849 lt_cv_sys_global_symbol_pipe \
16850 lt_cv_sys_global_symbol_to_cdecl \
16851 lt_cv_sys_global_symbol_to_c_name_address \
16852 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16853 nm_file_list_spec \
16854 lt_prog_compiler_no_builtin_flag \
16855 lt_prog_compiler_pic \
16856 lt_prog_compiler_wl \
16857 lt_prog_compiler_static \
16858 lt_cv_prog_compiler_c_o \
16867 export_dynamic_flag_spec \
16868 whole_archive_flag_spec \
16869 compiler_needs_object \
16871 allow_undefined_flag \
16872 no_undefined_flag \
16873 hardcode_libdir_flag_spec \
16874 hardcode_libdir_separator \
16878 variables_saved_for_relink \
16880 library_names_spec \
16882 install_override_mode \
16886 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16887 *[\\\\\\\`\\"\\\$]*)
16888 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16891 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16896 # Double-quote double-evaled strings.
16897 for var in reload_cmds \
16898 old_postinstall_cmds \
16899 old_postuninstall_cmds \
16901 extract_expsyms_cmds \
16902 old_archive_from_new_cmds \
16903 old_archive_from_expsyms_cmds \
16905 archive_expsym_cmds \
16907 module_expsym_cmds \
16908 export_symbols_cmds \
16912 postuninstall_cmds \
16914 sys_lib_search_path_spec \
16915 sys_lib_dlsearch_path_spec; do
16916 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16917 *[\\\\\\\`\\"\\\$]*)
16918 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16921 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16926 ac_aux_dir='$ac_aux_dir'
16927 xsi_shell='$xsi_shell'
16928 lt_shell_append='$lt_shell_append'
16930 # See if we are running on zsh, and set the options which allow our
16931 # commands through without removal of \ escapes INIT.
16932 if test -n "\${ZSH_VERSION+set}" ; then
16933 setopt NO_GLOB_SUBST
16939 TIMESTAMP='$TIMESTAMP'
16949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16951 # Handling of arguments.
16952 for ac_config_target in $ac_config_targets
16954 case $ac_config_target in
16955 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16956 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16957 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16958 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16959 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16960 "libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES libglabels/Makefile" ;;
16961 "libglabels/${LIBGLABELS_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglabels/${LIBGLABELS_BRANCH}.pc" ;;
16962 "libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES libglbarcode/Makefile" ;;
16963 "libglbarcode/${LIBGLBARCODE_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglbarcode/${LIBGLBARCODE_BRANCH}.pc" ;;
16964 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16965 "src/cursors/Makefile") CONFIG_FILES="$CONFIG_FILES src/cursors/Makefile" ;;
16966 "src/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/pixmaps/Makefile" ;;
16967 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16968 "data/appdata/Makefile") CONFIG_FILES="$CONFIG_FILES data/appdata/Makefile" ;;
16969 "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
16970 "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
16971 "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
16972 "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
16973 "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
16974 "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
16975 "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
16976 "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
16977 "data/man/Makefile") CONFIG_FILES="$CONFIG_FILES data/man/Makefile" ;;
16978 "data/mime/Makefile") CONFIG_FILES="$CONFIG_FILES data/mime/Makefile" ;;
16979 "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
16980 "data/schemas/Makefile") CONFIG_FILES="$CONFIG_FILES data/schemas/Makefile" ;;
16981 "data/schemas/org.gnome.glabels-3.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES data/schemas/org.gnome.glabels-3.gschema.xml.in" ;;
16982 "data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
16983 "templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
16984 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16985 "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
16986 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16987 "docs/libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglabels/Makefile" ;;
16988 "docs/libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglbarcode/Makefile" ;;
16989 "glabels.spec") CONFIG_FILES="$CONFIG_FILES glabels.spec" ;;
16990 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16992 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16997 # If the user did not use the arguments to specify the items to instantiate,
16998 # then the envvar interface is used. Set only those that are not.
16999 # We use the long form for the default assignment because of an extremely
17000 # bizarre bug on SunOS 4.1.3.
17001 if $ac_need_defaults; then
17002 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17003 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17004 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17007 # Have a temporary directory for convenience. Make it in the build tree
17008 # simply because there is no reason against having it here, and in addition,
17009 # creating and moving files from /tmp can sometimes cause problems.
17010 # Hook for its removal unless debugging.
17011 # Note that there is a small window in which the directory will not be cleaned:
17012 # after its creation but before its name has been assigned to `$tmp'.
17016 trap 'exit_status=$?
17017 : "${ac_tmp:=$tmp}"
17018 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17020 trap 'as_fn_exit 1' 1 2 13 15
17022 # Create a (secure) tmp directory for tmp files.
17025 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17029 tmp=./conf$$-$RANDOM
17030 (umask 077 && mkdir "$tmp")
17031 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17034 # Set up the scripts for CONFIG_FILES section.
17035 # No need to generate them if there are no CONFIG_FILES.
17036 # This happens for instance with `./config.status config.h'.
17037 if test -n "$CONFIG_FILES"; then
17040 ac_cr=`echo X | tr X '\015'`
17041 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17042 # But we know of no other shell where ac_cr would be empty at this
17043 # point, so we can use a bashism as a fallback.
17044 if test "x$ac_cr" = x; then
17045 eval ac_cr=\$\'\\r\'
17047 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17048 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17051 ac_cs_awk_cr=$ac_cr
17054 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17059 echo "cat >conf$$subs.awk <<_ACEOF" &&
17060 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17062 } >conf$$subs.sh ||
17063 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17064 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17066 for ac_last_try in false false false false false :; do
17067 . ./conf$$subs.sh ||
17068 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17070 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17071 if test $ac_delim_n = $ac_delim_num; then
17073 elif $ac_last_try; then
17074 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17076 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17079 rm -f conf$$subs.sh
17081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17082 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17086 s/^/S["/; s/!.*/"]=/
17096 s/\(.\{148\}\)..*/\1/
17098 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17103 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17110 s/\(.\{148\}\)..*/\1/
17112 s/["\\]/\\&/g; s/^/"/; s/$/"/
17116 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17121 ' <conf$$subs.awk | sed '
17126 ' >>$CONFIG_STATUS || ac_write_fail=1
17127 rm -f conf$$subs.awk
17128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17130 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17131 for (key in S) S_is_set[key] = 1
17137 nfields = split(line, field, "@")
17139 len = length(field[1])
17140 for (i = 2; i < nfields; i++) {
17142 keylen = length(key)
17143 if (S_is_set[key]) {
17145 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17146 len += length(value) + length(field[++i])
17157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17158 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17159 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17162 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17163 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17166 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17167 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17168 # trailing colons and then remove the whole line if VPATH becomes empty
17169 # (actually we leave an empty line to preserve line numbers).
17170 if test "x$srcdir" = x.; then
17171 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17190 fi # test -n "$CONFIG_FILES"
17192 # Set up the scripts for CONFIG_HEADERS section.
17193 # No need to generate them if there are no CONFIG_HEADERS.
17194 # This happens for instance with `./config.status Makefile'.
17195 if test -n "$CONFIG_HEADERS"; then
17196 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17200 # Transform confdefs.h into an awk script `defines.awk', embedded as
17201 # here-document in config.status, that substitutes the proper values into
17202 # config.h.in to produce config.h.
17204 # Create a delimiter string that does not exist in confdefs.h, to ease
17205 # handling of long lines.
17207 for ac_last_try in false false :; do
17208 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17209 if test -z "$ac_tt"; then
17211 elif $ac_last_try; then
17212 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17214 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17218 # For the awk script, D is an array of macro values keyed by name,
17219 # likewise P contains macro parameters if any. Preserve backslash
17220 # newline sequences.
17222 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17224 s/.\{148\}/&'"$ac_delim"'/g
17227 s/^[ ]*#[ ]*define[ ][ ]*/ /
17234 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17236 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17240 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17241 D["\1"]=" \3\\\\\\n"\\/p
17243 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17248 s/.\{148\}/&'"$ac_delim"'/g
17253 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17256 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17258 ' <confdefs.h | sed '
17259 s/'"$ac_delim"'/"\\\
17260 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17263 for (key in D) D_is_set[key] = 1
17266 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17268 split(line, arg, " ")
17269 if (arg[1] == "#") {
17273 defundef = substr(arg[1], 2)
17276 split(mac1, mac2, "(") #)
17278 prefix = substr(line, 1, index(line, defundef) - 1)
17279 if (D_is_set[macro]) {
17280 # Preserve the white space surrounding the "#".
17281 print prefix "define", macro P[macro] D[macro]
17284 # Replace #undef with comments. This is necessary, for example,
17285 # in the case of _POSIX_SOURCE, which is predefined and required
17286 # on some systems where configure will not decide to define it.
17287 if (defundef == "undef") {
17288 print "/*", prefix defundef, macro, "*/"
17296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17297 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17298 fi # test -n "$CONFIG_HEADERS"
17301 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17306 :[FHLC]) ac_mode=$ac_tag; continue;;
17308 case $ac_mode$ac_tag in
17310 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17311 :[FH]-) ac_tag=-:-;;
17312 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17329 -) ac_f="$ac_tmp/stdin";;
17330 *) # Look for the file first in the build tree, then in the source tree
17331 # (if the path is not absolute). The absolute path cannot be DOS-style,
17332 # because $ac_f cannot contain `:'.
17336 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17338 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17340 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17341 as_fn_append ac_file_inputs " '$ac_f'"
17344 # Let's still pretend it is `configure' which instantiates (i.e., don't
17345 # use $as_me), people would be surprised to read:
17346 # /* config.h. Generated by config.status. */
17347 configure_input='Generated from '`
17348 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17350 if test x"$ac_file" != x-; then
17351 configure_input="$ac_file. $configure_input"
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17353 $as_echo "$as_me: creating $ac_file" >&6;}
17355 # Neutralize special characters interpreted by sed in replacement strings.
17356 case $configure_input in #(
17357 *\&* | *\|* | *\\* )
17358 ac_sed_conf_input=`$as_echo "$configure_input" |
17359 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17360 *) ac_sed_conf_input=$configure_input;;
17364 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17365 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17370 ac_dir=`$as_dirname -- "$ac_file" ||
17371 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17372 X"$ac_file" : 'X\(//\)[^/]' \| \
17373 X"$ac_file" : 'X\(//\)$' \| \
17374 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17375 $as_echo X"$ac_file" |
17376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17380 /^X\(\/\/\)[^/].*/{
17393 as_dir="$ac_dir"; as_fn_mkdir_p
17397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17399 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17400 # A ".." for each directory in $ac_dir_suffix.
17401 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17402 case $ac_top_builddir_sub in
17403 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17404 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17407 ac_abs_top_builddir=$ac_pwd
17408 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17409 # for backward compatibility:
17410 ac_top_builddir=$ac_top_build_prefix
17413 .) # We are building in place.
17415 ac_top_srcdir=$ac_top_builddir_sub
17416 ac_abs_top_srcdir=$ac_pwd ;;
17417 [\\/]* | ?:[\\/]* ) # Absolute name.
17418 ac_srcdir=$srcdir$ac_dir_suffix;
17419 ac_top_srcdir=$srcdir
17420 ac_abs_top_srcdir=$srcdir ;;
17421 *) # Relative name.
17422 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17423 ac_top_srcdir=$ac_top_build_prefix$srcdir
17424 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17436 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17437 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17439 ac_MKDIR_P=$MKDIR_P
17441 [\\/$]* | ?:[\\/]* ) ;;
17442 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17447 # If the template does not know about datarootdir, expand it.
17448 # FIXME: This hack should be removed a few years after 2.60.
17449 ac_datarootdir_hack=; ac_datarootdir_seen=
17460 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17461 *datarootdir*) ac_datarootdir_seen=yes;;
17462 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17464 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17467 ac_datarootdir_hack='
17468 s&@datadir@&$datadir&g
17469 s&@docdir@&$docdir&g
17470 s&@infodir@&$infodir&g
17471 s&@localedir@&$localedir&g
17472 s&@mandir@&$mandir&g
17473 s&\\\${datarootdir}&$datarootdir&g' ;;
17477 # Neutralize VPATH when `$srcdir' = `.'.
17478 # Shell code in configure.ac might set extrasub.
17479 # FIXME: do we really want to maintain this feature?
17480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17481 ac_sed_extra="$ac_vpsub
17484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17486 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17487 s|@configure_input@|$ac_sed_conf_input|;t t
17488 s&@top_builddir@&$ac_top_builddir_sub&;t t
17489 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17490 s&@srcdir@&$ac_srcdir&;t t
17491 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17492 s&@top_srcdir@&$ac_top_srcdir&;t t
17493 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17494 s&@builddir@&$ac_builddir&;t t
17495 s&@abs_builddir@&$ac_abs_builddir&;t t
17496 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17497 s&@INSTALL@&$ac_INSTALL&;t t
17498 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17499 $ac_datarootdir_hack
17501 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17502 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17504 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17505 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17506 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17507 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17509 which seems to be undefined. Please make sure it is defined" >&5
17510 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17511 which seems to be undefined. Please make sure it is defined" >&2;}
17513 rm -f "$ac_tmp/stdin"
17515 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17516 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17518 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17524 if test x"$ac_file" != x-; then
17526 $as_echo "/* $configure_input */" \
17527 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17528 } >"$ac_tmp/config.h" \
17529 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17530 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17532 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17535 mv "$ac_tmp/config.h" "$ac_file" \
17536 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17539 $as_echo "/* $configure_input */" \
17540 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17541 || as_fn_error $? "could not create -" "$LINENO" 5
17543 # Compute "$ac_file"'s index in $config_headers.
17546 for _am_header in $config_headers :; do
17547 case $_am_header in
17548 $_am_arg | $_am_arg:* )
17551 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17554 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17555 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17556 X"$_am_arg" : 'X\(//\)[^/]' \| \
17557 X"$_am_arg" : 'X\(//\)$' \| \
17558 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17559 $as_echo X"$_am_arg" |
17560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17564 /^X\(\/\/\)[^/].*/{
17576 s/.*/./; q'`/stamp-h$_am_stamp_count
17579 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17580 $as_echo "$as_me: executing $ac_file commands" >&6;}
17585 case $ac_file$ac_mode in
17586 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17587 # Older Autoconf quotes --file arguments for eval, but not when files
17588 # are listed without --file. Let's play safe and only enable the eval
17589 # if we detect the quoting.
17590 case $CONFIG_FILES in
17591 *\'*) eval set x "$CONFIG_FILES" ;;
17592 *) set x $CONFIG_FILES ;;
17597 # Strip MF so we end up with the name of the file.
17598 mf=`echo "$mf" | sed -e 's/:.*$//'`
17599 # Check whether this is an Automake generated Makefile or not.
17600 # We used to match only the files named 'Makefile.in', but
17601 # some people rename them; so instead we look at the file content.
17602 # Grep'ing the first line is not enough: some people post-process
17603 # each Makefile.in and add a new line on top of each file to say so.
17604 # Grep'ing the whole file is not good either: AIX grep has a line
17605 # limit of 2048, but all sed's we know have understand at least 4000.
17606 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17607 dirpart=`$as_dirname -- "$mf" ||
17608 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17609 X"$mf" : 'X\(//\)[^/]' \| \
17610 X"$mf" : 'X\(//\)$' \| \
17611 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17617 /^X\(\/\/\)[^/].*/{
17633 # Extract the definition of DEPDIR, am__include, and am__quote
17634 # from the Makefile without running 'make'.
17635 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17636 test -z "$DEPDIR" && continue
17637 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17638 test -z "$am__include" && continue
17639 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17640 # Find all dependency output files, they are included files with
17641 # $(DEPDIR) in their names. We invoke sed twice because it is the
17642 # simplest approach to changing $(DEPDIR) to its actual value in the
17644 for file in `sed -n "
17645 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17646 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17647 # Make sure the directory exists.
17648 test -f "$dirpart/$file" && continue
17649 fdir=`$as_dirname -- "$file" ||
17650 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17651 X"$file" : 'X\(//\)[^/]' \| \
17652 X"$file" : 'X\(//\)$' \| \
17653 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17654 $as_echo X"$file" |
17655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17659 /^X\(\/\/\)[^/].*/{
17672 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17673 # echo "creating $dirpart/$file"
17674 echo '# dummy' > "$dirpart/$file"
17681 # See if we are running on zsh, and set the options which allow our
17682 # commands through without removal of \ escapes.
17683 if test -n "${ZSH_VERSION+set}" ; then
17684 setopt NO_GLOB_SUBST
17687 cfgfile="${ofile}T"
17688 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17691 cat <<_LT_EOF >> "$cfgfile"
17694 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17695 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17696 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17697 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17699 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17700 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17702 # Written by Gordon Matzigkeit, 1996
17704 # This file is part of GNU Libtool.
17706 # GNU Libtool is free software; you can redistribute it and/or
17707 # modify it under the terms of the GNU General Public License as
17708 # published by the Free Software Foundation; either version 2 of
17709 # the License, or (at your option) any later version.
17711 # As a special exception to the GNU General Public License,
17712 # if you distribute this file as part of a program or library that
17713 # is built using GNU Libtool, you may include this file under the
17714 # same distribution terms that you use for the rest of that program.
17716 # GNU Libtool is distributed in the hope that it will be useful,
17717 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17718 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17719 # GNU General Public License for more details.
17721 # You should have received a copy of the GNU General Public License
17722 # along with GNU Libtool; see the file COPYING. If not, a copy
17723 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17724 # obtained by writing to the Free Software Foundation, Inc.,
17725 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17728 # The names of the tagged configurations supported by this script.
17731 # ### BEGIN LIBTOOL CONFIG
17733 # Which release of libtool.m4 was used?
17734 macro_version=$macro_version
17735 macro_revision=$macro_revision
17737 # Whether or not to build shared libraries.
17738 build_libtool_libs=$enable_shared
17740 # Whether or not to build static libraries.
17741 build_old_libs=$enable_static
17743 # What type of objects to build.
17746 # Whether or not to optimize for fast installation.
17747 fast_install=$enable_fast_install
17749 # Shell to use when invoking shell scripts.
17752 # An echo program that protects backslashes.
17755 # The PATH separator for the build system.
17756 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17759 host_alias=$host_alias
17763 # The build system.
17764 build_alias=$build_alias
17768 # A sed program that does not truncate output.
17771 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17772 Xsed="\$SED -e 1s/^X//"
17774 # A grep program that handles long lines.
17780 # A literal string matcher.
17783 # A BSD- or MS-compatible name lister.
17786 # Whether we need soft or hard links.
17789 # What is the maximum length of a command?
17790 max_cmd_len=$max_cmd_len
17792 # Object file suffix (normally "o").
17795 # Executable file suffix (normally "").
17798 # whether the shell understands "unset".
17801 # turn spaces into newlines.
17804 # turn newlines into spaces.
17807 # convert \$build file names to \$host format.
17808 to_host_file_cmd=$lt_cv_to_host_file_cmd
17810 # convert \$build files to toolchain format.
17811 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17813 # An object symbol dumper.
17814 OBJDUMP=$lt_OBJDUMP
17816 # Method to check whether dependent libraries are shared objects.
17817 deplibs_check_method=$lt_deplibs_check_method
17819 # Command to use when deplibs_check_method = "file_magic".
17820 file_magic_cmd=$lt_file_magic_cmd
17822 # How to find potential files when deplibs_check_method = "file_magic".
17823 file_magic_glob=$lt_file_magic_glob
17825 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17826 want_nocaseglob=$lt_want_nocaseglob
17828 # DLL creation program.
17829 DLLTOOL=$lt_DLLTOOL
17831 # Command to associate shared and link libraries.
17832 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17837 # Flags to create an archive.
17838 AR_FLAGS=$lt_AR_FLAGS
17840 # How to feed a file listing to the archiver.
17841 archiver_list_spec=$lt_archiver_list_spec
17843 # A symbol stripping program.
17846 # Commands used to install an old-style archive.
17848 old_postinstall_cmds=$lt_old_postinstall_cmds
17849 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17851 # Whether to use a lock for old archive extraction.
17852 lock_old_archive_extraction=$lock_old_archive_extraction
17857 # LTCC compiler flags.
17858 LTCFLAGS=$lt_CFLAGS
17860 # Take the output of nm and produce a listing of raw symbols and C names.
17861 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17863 # Transform the output of nm in a proper C declaration.
17864 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17866 # Transform the output of nm in a C name address pair.
17867 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17869 # Transform the output of nm in a C name address pair when lib prefix is needed.
17870 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17872 # Specify filename containing input files for \$NM.
17873 nm_file_list_spec=$lt_nm_file_list_spec
17875 # The root where to search for dependent libraries,and in which our libraries should be installed.
17876 lt_sysroot=$lt_sysroot
17878 # The name of the directory that contains temporary libtool files.
17881 # Used to examine libraries when file_magic_cmd begins with "file".
17882 MAGIC_CMD=$MAGIC_CMD
17884 # Must we lock files when doing compilation?
17885 need_locks=$lt_need_locks
17888 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17890 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17891 DSYMUTIL=$lt_DSYMUTIL
17893 # Tool to change global to local symbols on Mac OS X.
17896 # Tool to manipulate fat objects and archives on Mac OS X.
17899 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17902 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17903 OTOOL64=$lt_OTOOL64
17905 # Old archive suffix (normally "a").
17908 # Shared library suffix (normally ".so").
17909 shrext_cmds=$lt_shrext_cmds
17911 # The commands to extract the exported symbol list from a shared archive.
17912 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17914 # Variables whose values should be saved in libtool wrapper scripts and
17915 # restored at link time.
17916 variables_saved_for_relink=$lt_variables_saved_for_relink
17918 # Do we need the "lib" prefix for modules?
17919 need_lib_prefix=$need_lib_prefix
17921 # Do we need a version for libraries?
17922 need_version=$need_version
17924 # Library versioning type.
17925 version_type=$version_type
17927 # Shared library runtime path variable.
17928 runpath_var=$runpath_var
17930 # Shared library path variable.
17931 shlibpath_var=$shlibpath_var
17933 # Is shlibpath searched before the hard-coded library search path?
17934 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17936 # Format of library name prefix.
17937 libname_spec=$lt_libname_spec
17939 # List of archive names. First name is the real one, the rest are links.
17940 # The last name is the one that the linker finds with -lNAME
17941 library_names_spec=$lt_library_names_spec
17943 # The coded name of the library, if different from the real name.
17944 soname_spec=$lt_soname_spec
17946 # Permission mode override for installation of shared libraries.
17947 install_override_mode=$lt_install_override_mode
17949 # Command to use after installation of a shared archive.
17950 postinstall_cmds=$lt_postinstall_cmds
17952 # Command to use after uninstallation of a shared archive.
17953 postuninstall_cmds=$lt_postuninstall_cmds
17955 # Commands used to finish a libtool library installation in a directory.
17956 finish_cmds=$lt_finish_cmds
17958 # As "finish_cmds", except a single script fragment to be evaled but
17960 finish_eval=$lt_finish_eval
17962 # Whether we should hardcode library paths into libraries.
17963 hardcode_into_libs=$hardcode_into_libs
17965 # Compile-time system search path for libraries.
17966 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17968 # Run-time system search path for libraries.
17969 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17971 # Whether dlopen is supported.
17972 dlopen_support=$enable_dlopen
17974 # Whether dlopen of programs is supported.
17975 dlopen_self=$enable_dlopen_self
17977 # Whether dlopen of statically linked programs is supported.
17978 dlopen_self_static=$enable_dlopen_self_static
17980 # Commands to strip libraries.
17981 old_striplib=$lt_old_striplib
17982 striplib=$lt_striplib
17985 # The linker used to build libraries.
17988 # How to create reloadable object files.
17989 reload_flag=$lt_reload_flag
17990 reload_cmds=$lt_reload_cmds
17992 # Commands used to build an old-style archive.
17993 old_archive_cmds=$lt_old_archive_cmds
17995 # A language specific compiler.
17998 # Is the compiler the GNU compiler?
18001 # Compiler flag to turn off builtin functions.
18002 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18004 # Additional compiler flags for building library objects.
18005 pic_flag=$lt_lt_prog_compiler_pic
18007 # How to pass a linker flag through the compiler.
18008 wl=$lt_lt_prog_compiler_wl
18010 # Compiler flag to prevent dynamic linking.
18011 link_static_flag=$lt_lt_prog_compiler_static
18013 # Does compiler simultaneously support -c and -o options?
18014 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18016 # Whether or not to add -lc for building shared libraries.
18017 build_libtool_need_lc=$archive_cmds_need_lc
18019 # Whether or not to disallow shared libs when runtime libs are static.
18020 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18022 # Compiler flag to allow reflexive dlopens.
18023 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18025 # Compiler flag to generate shared objects directly from archives.
18026 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18028 # Whether the compiler copes with passing no objects directly.
18029 compiler_needs_object=$lt_compiler_needs_object
18031 # Create an old-style archive from a shared archive.
18032 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18034 # Create a temporary old-style archive to link instead of a shared archive.
18035 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18037 # Commands used to build a shared archive.
18038 archive_cmds=$lt_archive_cmds
18039 archive_expsym_cmds=$lt_archive_expsym_cmds
18041 # Commands used to build a loadable module if different from building
18042 # a shared archive.
18043 module_cmds=$lt_module_cmds
18044 module_expsym_cmds=$lt_module_expsym_cmds
18046 # Whether we are building with GNU ld or not.
18047 with_gnu_ld=$lt_with_gnu_ld
18049 # Flag that allows shared libraries with undefined symbols to be built.
18050 allow_undefined_flag=$lt_allow_undefined_flag
18052 # Flag that enforces no undefined symbols.
18053 no_undefined_flag=$lt_no_undefined_flag
18055 # Flag to hardcode \$libdir into a binary during linking.
18056 # This must work even if \$libdir does not exist
18057 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18059 # Whether we need a single "-rpath" flag with a separated argument.
18060 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18062 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18063 # DIR into the resulting binary.
18064 hardcode_direct=$hardcode_direct
18066 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18067 # DIR into the resulting binary and the resulting library dependency is
18068 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18069 # library is relocated.
18070 hardcode_direct_absolute=$hardcode_direct_absolute
18072 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18073 # into the resulting binary.
18074 hardcode_minus_L=$hardcode_minus_L
18076 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18077 # into the resulting binary.
18078 hardcode_shlibpath_var=$hardcode_shlibpath_var
18080 # Set to "yes" if building a shared library automatically hardcodes DIR
18081 # into the library and all subsequent libraries and executables linked
18083 hardcode_automatic=$hardcode_automatic
18085 # Set to yes if linker adds runtime paths of dependent libraries
18086 # to runtime path list.
18087 inherit_rpath=$inherit_rpath
18089 # Whether libtool must link a program against all its dependency libraries.
18090 link_all_deplibs=$link_all_deplibs
18092 # Set to "yes" if exported symbols are required.
18093 always_export_symbols=$always_export_symbols
18095 # The commands to list exported symbols.
18096 export_symbols_cmds=$lt_export_symbols_cmds
18098 # Symbols that should not be listed in the preloaded symbols.
18099 exclude_expsyms=$lt_exclude_expsyms
18101 # Symbols that must always be exported.
18102 include_expsyms=$lt_include_expsyms
18104 # Commands necessary for linking programs (against libraries) with templates.
18105 prelink_cmds=$lt_prelink_cmds
18107 # Commands necessary for finishing linking programs.
18108 postlink_cmds=$lt_postlink_cmds
18110 # Specify filename containing input files.
18111 file_list_spec=$lt_file_list_spec
18113 # How to hardcode a shared library path into an executable.
18114 hardcode_action=$hardcode_action
18116 # ### END LIBTOOL CONFIG
18122 cat <<\_LT_EOF >> "$cfgfile"
18123 # AIX sometimes has problems with the GCC collect2 program. For some
18124 # reason, if we set the COLLECT_NAMES environment variable, the problems
18125 # vanish in a puff of smoke.
18126 if test "X${COLLECT_NAMES+set}" != Xset; then
18128 export COLLECT_NAMES
18135 ltmain="$ac_aux_dir/ltmain.sh"
18138 # We use sed instead of cat because bash on DJGPP gets confused if
18139 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18140 # text mode, it properly converts lines to CR/LF. This bash problem
18141 # is reportedly fixed, but why not run on old versions too?
18142 sed '$q' "$ltmain" >> "$cfgfile" \
18143 || (rm -f "$cfgfile"; exit 1)
18145 if test x"$xsi_shell" = xyes; then
18146 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18150 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18151 \ * ) func_dirname_result="${3}" ;;\
18153 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18154 && mv -f "$cfgfile.tmp" "$cfgfile" \
18155 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18156 test 0 -eq $? || _lt_function_replace_fail=:
18159 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18162 \ func_basename_result="${1##*/}"\
18163 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18164 && mv -f "$cfgfile.tmp" "$cfgfile" \
18165 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18166 test 0 -eq $? || _lt_function_replace_fail=:
18169 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18170 func_dirname_and_basename ()\
18173 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18174 \ * ) func_dirname_result="${3}" ;;\
18176 \ func_basename_result="${1##*/}"\
18177 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18178 && mv -f "$cfgfile.tmp" "$cfgfile" \
18179 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18180 test 0 -eq $? || _lt_function_replace_fail=:
18183 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18186 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18187 \ # positional parameters, so assign one to ordinary parameter first.\
18188 \ func_stripname_result=${3}\
18189 \ func_stripname_result=${func_stripname_result#"${1}"}\
18190 \ func_stripname_result=${func_stripname_result%"${2}"}\
18191 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18192 && mv -f "$cfgfile.tmp" "$cfgfile" \
18193 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18194 test 0 -eq $? || _lt_function_replace_fail=:
18197 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18198 func_split_long_opt ()\
18200 \ func_split_long_opt_name=${1%%=*}\
18201 \ func_split_long_opt_arg=${1#*=}\
18202 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18203 && mv -f "$cfgfile.tmp" "$cfgfile" \
18204 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18205 test 0 -eq $? || _lt_function_replace_fail=:
18208 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18209 func_split_short_opt ()\
18211 \ func_split_short_opt_arg=${1#??}\
18212 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18213 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18214 && mv -f "$cfgfile.tmp" "$cfgfile" \
18215 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18216 test 0 -eq $? || _lt_function_replace_fail=:
18219 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18223 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18224 \ *) func_lo2o_result=${1} ;;\
18226 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18227 && mv -f "$cfgfile.tmp" "$cfgfile" \
18228 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18229 test 0 -eq $? || _lt_function_replace_fail=:
18232 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18235 func_xform_result=${1%.*}.lo\
18236 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18237 && mv -f "$cfgfile.tmp" "$cfgfile" \
18238 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18239 test 0 -eq $? || _lt_function_replace_fail=:
18242 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18245 func_arith_result=$(( $* ))\
18246 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18247 && mv -f "$cfgfile.tmp" "$cfgfile" \
18248 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18249 test 0 -eq $? || _lt_function_replace_fail=:
18252 sed -e '/^func_len ()$/,/^} # func_len /c\
18255 func_len_result=${#1}\
18256 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18257 && mv -f "$cfgfile.tmp" "$cfgfile" \
18258 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18259 test 0 -eq $? || _lt_function_replace_fail=:
18263 if test x"$lt_shell_append" = xyes; then
18264 sed -e '/^func_append ()$/,/^} # func_append /c\
18267 eval "${1}+=\\${2}"\
18268 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18269 && mv -f "$cfgfile.tmp" "$cfgfile" \
18270 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18271 test 0 -eq $? || _lt_function_replace_fail=:
18274 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18275 func_append_quoted ()\
18277 \ func_quote_for_eval "${2}"\
18278 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18279 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18280 && mv -f "$cfgfile.tmp" "$cfgfile" \
18281 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18282 test 0 -eq $? || _lt_function_replace_fail=:
18285 # Save a `func_append' function call where possible by direct use of '+='
18286 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18287 && mv -f "$cfgfile.tmp" "$cfgfile" \
18288 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18289 test 0 -eq $? || _lt_function_replace_fail=:
18291 # Save a `func_append' function call even when '+=' is not available
18292 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18293 && mv -f "$cfgfile.tmp" "$cfgfile" \
18294 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18295 test 0 -eq $? || _lt_function_replace_fail=:
18298 if test x"$_lt_function_replace_fail" = x":"; then
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18300 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18304 mv -f "$cfgfile" "$ofile" ||
18305 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18309 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
18310 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18313 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18314 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18316 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18321 '"s|^| $ac_top_srcdir/|" \
18322 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18324 sed '/^POTFILES =/,/[^\\]$/ {
18328 ' "po/Makefile.in" >"po/Makefile"
18329 rm -f "po/Makefile.tmp"
18330 mv "po/stamp-it.tmp" "po/stamp-it"
18339 ac_clean_files=$ac_clean_files_save
18341 test $ac_write_fail = 0 ||
18342 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18345 # configure is writing to config.log, and then calls config.status.
18346 # config.status does its own redirection, appending to config.log.
18347 # Unfortunately, on DOS this fails, as config.log is still kept open
18348 # by configure, so config.status won't be able to write to it; its
18349 # output is simply discarded. So we exec the FD to /dev/null,
18350 # effectively closing config.log, so it can be properly (re)opened and
18351 # appended to by config.status. When coming back to configure, we
18352 # need to make the FD available again.
18353 if test "$no_create" != yes; then
18355 ac_config_status_args=
18356 test "$silent" = yes &&
18357 ac_config_status_args="$ac_config_status_args --quiet"
18359 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18361 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18362 # would make configure fail if this is the last instruction.
18363 $ac_cs_success || as_fn_exit 1
18365 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18367 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18376 Package ................. ${PACKAGE}-${VERSION}
18377 Installation prefix ..... ${prefix}
18378 Source code location .... ${srcdir}
18379 Compiler ................ ${CC}
18382 Optional data merge backends:
18384 Evolution Data Server ... ${have_libebook}
18387 Optional barcode backends:
18389 GNU Barcode ............. ${have_libbarcode} ${help_libbarcode}
18390 QR Code ................. ${have_libqrencode} ${help_libqrencode}
18391 IEC 16022 ............... ${have_libiec16022} ${help_libiec16022}
18392 Zint .................... ${have_libzint} ${help_libzint}