2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for navit 0.5.0.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir=.
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 *v*x* | *x*v* ) as_opts=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x$as_have_required = xno; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x${ZSH_VERSION+set} = xset ; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE= GREP_OPTIONS=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir=./$as_dir;;
293 test -d "$as_dir" || eval $as_mkdir_p || {
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs="'$as_qdir' $as_dirs"
301 as_dir=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" || eval "mkdir $as_dirs"
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
362 as_val=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status=$1; test $as_status -eq 0 && as_status=1
376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit $as_status
383 if expr a : '\(a\)' >/dev/null 2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
402 as_me=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits='0123456789'
426 as_cr_alnum=$as_cr_Letters$as_cr_digits
429 as_lineno_1=$LINENO as_lineno_1a=$LINENO
430 as_lineno_2=$LINENO as_lineno_2a=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x "$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C= ECHO_N= ECHO_T=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
473 rm -f conf$$ conf$$.exe conf$$.file
474 if test -d conf$$.dir; then
475 rm -f conf$$.dir/conf$$.file
478 mkdir conf$$.dir 2>/dev/null
480 if (echo >conf$$.file) 2>/dev/null; then
481 if ln -s conf$$.file conf$$ 2>/dev/null; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
489 elif ln conf$$.file conf$$ 2>/dev/null; then
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498 rmdir conf$$.dir 2>/dev/null
500 if mkdir -p . 2>/dev/null; then
501 as_mkdir_p='mkdir -p "$as_dir"'
503 test -d ./-p && rmdir ./-p
507 if test -x / >/dev/null 2>&1; then
510 if ls -dL / >/dev/null 2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538 # Check that we are running under the correct shell.
539 SHELL=${CONFIG_SHELL-/bin/sh}
543 # Remove one level of quotation (which was required for Make).
544 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
549 if test "X$1" = X--no-reexec; then
550 # Discard the --no-reexec flag, and continue.
552 elif test "X$1" = X--fallback-echo; then
553 # Avoid inline document here, it may be left over
555 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
556 # Yippee, $ECHO works!
559 # Restart under the correct shell.
560 exec $SHELL "$0" --no-reexec ${1+"$@"}
563 if test "X$1" = X--fallback-echo; then
564 # used as fallback echo
572 # The HP-UX ksh and POSIX shell print the target directory to stdout
574 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
576 if test -z "$lt_ECHO"; then
577 if test "X${echo_test_string+set}" != Xset; then
578 # find a string as large as possible, as long as the shell can cope with it
579 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
580 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
581 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
582 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
589 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
590 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
591 test "X$echo_testing_string" = "X$echo_test_string"; then
594 # The Solaris, AIX, and Digital Unix default echo programs unquote
595 # backslashes. This makes it impossible to quote backslashes using
596 # echo "$something" | sed 's/\\/\\\\/g'
598 # So, first we look for a working echo in the user's PATH.
600 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
601 for dir in $PATH /usr/ucb; do
603 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
604 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
605 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
606 test "X$echo_testing_string" = "X$echo_test_string"; then
613 if test "X$ECHO" = Xecho; then
614 # We didn't find a better echo, so look for alternatives.
615 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
616 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
617 test "X$echo_testing_string" = "X$echo_test_string"; then
618 # This shell has a builtin print -r that does the trick.
620 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
621 test "X$CONFIG_SHELL" != X/bin/ksh; then
622 # If we have ksh, try running configure again with it.
623 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
624 export ORIGINAL_CONFIG_SHELL
625 CONFIG_SHELL=/bin/ksh
627 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
631 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
632 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
636 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
637 test "X$echo_testing_string" = 'X\t' &&
638 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
639 test "X$echo_testing_string" = "X$echo_test_string"; then
640 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
642 SHELL="$CONFIG_SHELL"
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
645 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
646 test "X$echo_testing_string" = 'X\t' &&
647 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
648 test "X$echo_testing_string" = "X$echo_test_string"; then
649 ECHO="$CONFIG_SHELL $0 --fallback-echo"
651 # maybe with a smaller string...
654 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
655 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
662 if test "$prev" != 'sed 50q "$0"'; then
663 echo_test_string=`eval $prev`
664 export echo_test_string
665 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
667 # Oops. We lost completely, so just stick with echo.
676 # Copy echo and quote the copy suitably for passing to libtool from
677 # the Makefile, instead of quoting the original, which is used later.
679 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
680 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
686 test -n "$DJDIR" || exec 7<&0 </dev/null
690 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
691 # so uname gets run too.
692 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
697 ac_default_prefix=/usr/local
699 ac_config_libobj_dir=.
706 # Identity of this package.
708 PACKAGE_TARNAME='navit'
709 PACKAGE_VERSION='0.5.0'
710 PACKAGE_STRING='navit 0.5.0'
714 # Factoring default headers for most tests.
715 ac_includes_default="\
717 #ifdef HAVE_SYS_TYPES_H
718 # include <sys/types.h>
720 #ifdef HAVE_SYS_STAT_H
721 # include <sys/stat.h>
727 # ifdef HAVE_STDLIB_H
732 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
737 #ifdef HAVE_STRINGS_H
738 # include <strings.h>
740 #ifdef HAVE_INTTYPES_H
741 # include <inttypes.h>
751 ac_subst_vars='am__EXEEXT_FALSE
790 VEHICLE_ANDROID_FALSE
794 SPEECH_SPEECH_DISPATCHER_FALSE
795 SPEECH_SPEECH_DISPATCHER_TRUE
806 PLUGIN_PEDESTRIAN_FALSE
807 PLUGIN_PEDESTRIAN_TRUE
811 QT_DECLARATIVE_CFLAGS
835 GRAPHICS_QT_QPAINTER_FALSE
836 GRAPHICS_QT_QPAINTER_TRUE
845 GRAPHICS_GTK_DRAWING_AREA_FALSE
846 GRAPHICS_GTK_DRAWING_AREA_TRUE
852 GRAPHICS_ANDROID_FALSE
853 GRAPHICS_ANDROID_TRUE
858 SUPPORT_WORDEXP_FALSE
868 INTL_LIBTOOL_SUFFIX_PREFIX
875 BUILD_INCLUDED_LIBINTL
903 USE_SVG2PNG_SCALES_NAV_FALSE
904 USE_SVG2PNG_SCALES_NAV_TRUE
905 USE_SVG2PNG_SCALES_FLAG_FALSE
906 USE_SVG2PNG_SCALES_FLAG_TRUE
907 USE_SVG2PNG_SCALES_FALSE
908 USE_SVG2PNG_SCALES_TRUE
918 VEHICLE_GPSD_DBUS_FALSE
919 VEHICLE_GPSD_DBUS_TRUE
934 HAVE_SYSTEM_SHAPEFILELIB_FALSE
935 HAVE_SYSTEM_SHAPEFILELIB_TRUE
938 GRAPHICS_OPENGL_FALSE
959 HAVE_POSTGRESQL_FALSE
1002 SHARED_LIBNAVIT_FALSE
1003 SHARED_LIBNAVIT_TRUE
1013 BUILD_SAMPLEMAP_FALSE
1014 BUILD_SAMPLEMAP_TRUE
1030 CROSS_COMPILING_FALSE
1031 CROSS_COMPILING_TRUE
1037 am__fastdepCXX_FALSE
1043 am__fastdepOBJC_FALSE
1044 am__fastdepOBJC_TRUE
1068 NAVIT_SOCKET_LDFLAGS
1069 NAVIT_MODULE_LDFLAGS
1072 SUPPORT_LIBPNG_FALSE
1074 SUPPORT_ANDROID_FALSE
1075 SUPPORT_ANDROID_TRUE
1076 SUPPORT_WIN32CE_FALSE
1077 SUPPORT_WIN32CE_TRUE
1089 MAINTAINER_MODE_FALSE
1090 MAINTAINER_MODE_TRUE
1091 SOURCE_MODE_SVN_FALSE
1092 SOURCE_MODE_SVN_TRUE
1102 INSTALL_STRIP_PROGRAM
1144 program_transform_name
1157 enable_option_checking
1158 enable_maintainer_mode
1159 enable_dependency_tracking
1162 enable_avoid_unaligned
1164 enable_transformation_roll
1174 enable_shared_libnavit
1183 enable_font_freetype
1187 enable_graphics_opengl
1188 enable_binding_python
1190 enable_binding_dbus_use_system_bus
1191 with_dbus_service_dir
1192 enable_binding_win32
1195 enable_svg2png_scaling
1196 enable_svg2png_scaling_flag
1197 enable_svg2png_scaling_nav
1198 with_svg2png_use_convert
1199 with_svg2png_use_rsvg_convert
1200 with_svg2png_use_inkscape
1201 with_svg2png_use_ksvgtopng4
1202 with_svg2png_use_ksvgtopng
1205 with_android_permissions
1206 with_android_project
1209 with_libiconv_prefix
1210 with_included_gettext
1214 enable_graphics_android
1216 enable_graphics_gtk_drawing_area
1217 enable_graphics_null
1218 enable_graphics_win32
1219 enable_graphics_qt_qpainter
1223 enable_map_shapefile
1231 enable_plugin_pedestrian
1233 enable_speech_android
1234 enable_speech_cmdline
1235 enable_speech_espeak
1236 enable_speech_speech_dispatcher
1237 enable_vehicle_android
1241 enable_vehicle_gypsy
1242 enable_vehicle_maemo
1244 enable_vehicle_wince
1245 enable_vehicle_iphone
1246 enable_vehicle_webos
1248 ac_precious_vars='build_alias
1300 QT_DECLARATIVE_CFLAGS
1312 # Initialize some variables set by options.
1314 ac_init_version=false
1315 ac_unrecognized_opts=
1316 ac_unrecognized_sep=
1317 # The variables have the same names as the options, with
1318 # dashes changed to underlines.
1319 cache_file=/dev/null
1326 program_transform_name=s,x,x,
1334 # Installation directory options.
1335 # These are left unexpanded so users can "make install exec_prefix=/foo"
1336 # and all the variables that are supposed to be based on exec_prefix
1337 # by default will actually change.
1338 # Use braces instead of parens because sh, perl, etc. also accept them.
1339 # (The list follows the same order as the GNU Coding Standards.)
1340 bindir='${exec_prefix}/bin'
1341 sbindir='${exec_prefix}/sbin'
1342 libexecdir='${exec_prefix}/libexec'
1343 datarootdir='${prefix}/share'
1344 datadir='${datarootdir}'
1345 sysconfdir='${prefix}/etc'
1346 sharedstatedir='${prefix}/com'
1347 localstatedir='${prefix}/var'
1348 includedir='${prefix}/include'
1349 oldincludedir='/usr/include'
1350 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1351 infodir='${datarootdir}/info'
1356 libdir='${exec_prefix}/lib'
1357 localedir='${datarootdir}/locale'
1358 mandir='${datarootdir}/man'
1364 # If the previous option needs an argument, assign it.
1365 if test -n "$ac_prev"; then
1366 eval $ac_prev=\$ac_option
1372 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1377 # Accept the important Cygnus configure options, so we can diagnose typos.
1379 case $ac_dashdash$ac_option in
1383 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1385 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1386 bindir=$ac_optarg ;;
1388 -build | --build | --buil | --bui | --bu)
1389 ac_prev=build_alias ;;
1390 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1391 build_alias=$ac_optarg ;;
1393 -cache-file | --cache-file | --cache-fil | --cache-fi \
1394 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1395 ac_prev=cache_file ;;
1396 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1397 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1398 cache_file=$ac_optarg ;;
1400 --config-cache | -C)
1401 cache_file=config.cache ;;
1403 -datadir | --datadir | --datadi | --datad)
1405 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1406 datadir=$ac_optarg ;;
1408 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1409 | --dataroo | --dataro | --datar)
1410 ac_prev=datarootdir ;;
1411 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1412 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1413 datarootdir=$ac_optarg ;;
1415 -disable-* | --disable-*)
1416 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1419 as_fn_error $? "invalid feature name: $ac_useropt"
1420 ac_useropt_orig=$ac_useropt
1421 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1422 case $ac_user_opts in
1424 "enable_$ac_useropt"
1426 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1427 ac_unrecognized_sep=', ';;
1429 eval enable_$ac_useropt=no ;;
1431 -docdir | --docdir | --docdi | --doc | --do)
1433 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1434 docdir=$ac_optarg ;;
1436 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1438 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1439 dvidir=$ac_optarg ;;
1441 -enable-* | --enable-*)
1442 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1443 # Reject names that are not valid shell variable names.
1444 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1445 as_fn_error $? "invalid feature name: $ac_useropt"
1446 ac_useropt_orig=$ac_useropt
1447 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1448 case $ac_user_opts in
1450 "enable_$ac_useropt"
1452 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1453 ac_unrecognized_sep=', ';;
1455 eval enable_$ac_useropt=\$ac_optarg ;;
1457 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1458 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1459 | --exec | --exe | --ex)
1460 ac_prev=exec_prefix ;;
1461 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1462 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1463 | --exec=* | --exe=* | --ex=*)
1464 exec_prefix=$ac_optarg ;;
1466 -gas | --gas | --ga | --g)
1467 # Obsolete; use --with-gas.
1470 -help | --help | --hel | --he | -h)
1471 ac_init_help=long ;;
1472 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1473 ac_init_help=recursive ;;
1474 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1475 ac_init_help=short ;;
1477 -host | --host | --hos | --ho)
1478 ac_prev=host_alias ;;
1479 -host=* | --host=* | --hos=* | --ho=*)
1480 host_alias=$ac_optarg ;;
1482 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1484 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1486 htmldir=$ac_optarg ;;
1488 -includedir | --includedir | --includedi | --included | --include \
1489 | --includ | --inclu | --incl | --inc)
1490 ac_prev=includedir ;;
1491 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1492 | --includ=* | --inclu=* | --incl=* | --inc=*)
1493 includedir=$ac_optarg ;;
1495 -infodir | --infodir | --infodi | --infod | --info | --inf)
1497 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1498 infodir=$ac_optarg ;;
1500 -libdir | --libdir | --libdi | --libd)
1502 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1503 libdir=$ac_optarg ;;
1505 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1506 | --libexe | --libex | --libe)
1507 ac_prev=libexecdir ;;
1508 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1509 | --libexe=* | --libex=* | --libe=*)
1510 libexecdir=$ac_optarg ;;
1512 -localedir | --localedir | --localedi | --localed | --locale)
1513 ac_prev=localedir ;;
1514 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1515 localedir=$ac_optarg ;;
1517 -localstatedir | --localstatedir | --localstatedi | --localstated \
1518 | --localstate | --localstat | --localsta | --localst | --locals)
1519 ac_prev=localstatedir ;;
1520 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1521 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1522 localstatedir=$ac_optarg ;;
1524 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1526 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1527 mandir=$ac_optarg ;;
1529 -nfp | --nfp | --nf)
1530 # Obsolete; use --without-fp.
1533 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1534 | --no-cr | --no-c | -n)
1537 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1538 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1541 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1542 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1543 | --oldin | --oldi | --old | --ol | --o)
1544 ac_prev=oldincludedir ;;
1545 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1546 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1547 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1548 oldincludedir=$ac_optarg ;;
1550 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1552 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1553 prefix=$ac_optarg ;;
1555 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1556 | --program-pre | --program-pr | --program-p)
1557 ac_prev=program_prefix ;;
1558 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1559 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1560 program_prefix=$ac_optarg ;;
1562 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1563 | --program-suf | --program-su | --program-s)
1564 ac_prev=program_suffix ;;
1565 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1566 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1567 program_suffix=$ac_optarg ;;
1569 -program-transform-name | --program-transform-name \
1570 | --program-transform-nam | --program-transform-na \
1571 | --program-transform-n | --program-transform- \
1572 | --program-transform | --program-transfor \
1573 | --program-transfo | --program-transf \
1574 | --program-trans | --program-tran \
1575 | --progr-tra | --program-tr | --program-t)
1576 ac_prev=program_transform_name ;;
1577 -program-transform-name=* | --program-transform-name=* \
1578 | --program-transform-nam=* | --program-transform-na=* \
1579 | --program-transform-n=* | --program-transform-=* \
1580 | --program-transform=* | --program-transfor=* \
1581 | --program-transfo=* | --program-transf=* \
1582 | --program-trans=* | --program-tran=* \
1583 | --progr-tra=* | --program-tr=* | --program-t=*)
1584 program_transform_name=$ac_optarg ;;
1586 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1588 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1589 pdfdir=$ac_optarg ;;
1591 -psdir | --psdir | --psdi | --psd | --ps)
1593 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1596 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1597 | -silent | --silent | --silen | --sile | --sil)
1600 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1602 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1604 sbindir=$ac_optarg ;;
1606 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1607 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1608 | --sharedst | --shareds | --shared | --share | --shar \
1610 ac_prev=sharedstatedir ;;
1611 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1612 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1613 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1615 sharedstatedir=$ac_optarg ;;
1617 -site | --site | --sit)
1619 -site=* | --site=* | --sit=*)
1622 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1624 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1625 srcdir=$ac_optarg ;;
1627 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1628 | --syscon | --sysco | --sysc | --sys | --sy)
1629 ac_prev=sysconfdir ;;
1630 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1631 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1632 sysconfdir=$ac_optarg ;;
1634 -target | --target | --targe | --targ | --tar | --ta | --t)
1635 ac_prev=target_alias ;;
1636 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1637 target_alias=$ac_optarg ;;
1639 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1642 -version | --version | --versio | --versi | --vers | -V)
1643 ac_init_version=: ;;
1646 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1647 # Reject names that are not valid shell variable names.
1648 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1649 as_fn_error $? "invalid package name: $ac_useropt"
1650 ac_useropt_orig=$ac_useropt
1651 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1652 case $ac_user_opts in
1656 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1657 ac_unrecognized_sep=', ';;
1659 eval with_$ac_useropt=\$ac_optarg ;;
1661 -without-* | --without-*)
1662 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1663 # Reject names that are not valid shell variable names.
1664 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1665 as_fn_error $? "invalid package name: $ac_useropt"
1666 ac_useropt_orig=$ac_useropt
1667 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1668 case $ac_user_opts in
1672 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1673 ac_unrecognized_sep=', ';;
1675 eval with_$ac_useropt=no ;;
1678 # Obsolete; use --with-x.
1681 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1682 | --x-incl | --x-inc | --x-in | --x-i)
1683 ac_prev=x_includes ;;
1684 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1685 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1686 x_includes=$ac_optarg ;;
1688 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1689 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1690 ac_prev=x_libraries ;;
1691 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1692 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1693 x_libraries=$ac_optarg ;;
1695 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1696 Try \`$0 --help' for more information"
1700 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1701 # Reject names that are not valid shell variable names.
1702 case $ac_envvar in #(
1703 '' | [0-9]* | *[!_$as_cr_alnum]* )
1704 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1706 eval $ac_envvar=\$ac_optarg
1707 export $ac_envvar ;;
1710 # FIXME: should be removed in autoconf 3.0.
1711 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1712 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1713 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1714 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1720 if test -n "$ac_prev"; then
1721 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1722 as_fn_error $? "missing argument to $ac_option"
1725 if test -n "$ac_unrecognized_opts"; then
1726 case $enable_option_checking in
1728 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1729 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1733 # Check all directory arguments for consistency.
1734 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1735 datadir sysconfdir sharedstatedir localstatedir includedir \
1736 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1737 libdir localedir mandir
1739 eval ac_val=\$$ac_var
1740 # Remove trailing slashes.
1743 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1744 eval $ac_var=\$ac_val;;
1746 # Be sure to have absolute directory names.
1748 [\\/$]* | ?:[\\/]* ) continue;;
1749 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1751 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1754 # There might be people who depend on the old broken behavior: `$host'
1755 # used to hold the argument of --host etc.
1756 # FIXME: To remove some day.
1759 target=$target_alias
1761 # FIXME: To remove some day.
1762 if test "x$host_alias" != x; then
1763 if test "x$build_alias" = x; then
1764 cross_compiling=maybe
1765 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1766 If a cross compiler is detected then cross compile mode will be used" >&2
1767 elif test "x$build_alias" != "x$host_alias"; then
1773 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1775 test "$silent" = yes && exec 6>/dev/null
1778 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1779 ac_ls_di=`ls -di .` &&
1780 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1781 as_fn_error $? "working directory cannot be determined"
1782 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1783 as_fn_error $? "pwd does not report name of working directory"
1786 # Find the source files, if location was not specified.
1787 if test -z "$srcdir"; then
1788 ac_srcdir_defaulted=yes
1789 # Try the directory containing this script, then the parent directory.
1790 ac_confdir=`$as_dirname -- "$as_myself" ||
1791 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1792 X"$as_myself" : 'X\(//\)[^/]' \| \
1793 X"$as_myself" : 'X\(//\)$' \| \
1794 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1795 $as_echo X"$as_myself" |
1796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1814 if test ! -r "$srcdir/$ac_unique_file"; then
1818 ac_srcdir_defaulted=no
1820 if test ! -r "$srcdir/$ac_unique_file"; then
1821 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1822 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1824 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1826 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1828 # When building in place, set srcdir=.
1829 if test "$ac_abs_confdir" = "$ac_pwd"; then
1832 # Remove unnecessary trailing slashes from srcdir.
1833 # Double slashes in file names in object file debugging info
1834 # mess up M-x gdb in Emacs.
1836 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1838 for ac_var in $ac_precious_vars; do
1839 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1840 eval ac_env_${ac_var}_value=\$${ac_var}
1841 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1842 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1846 # Report the --help message.
1848 if test "$ac_init_help" = "long"; then
1849 # Omit some internal or obsolete options to make the list less imposing.
1850 # This message is too long to be a string in the A/UX 3.1 sh.
1852 \`configure' configures navit 0.5.0 to adapt to many kinds of systems.
1854 Usage: $0 [OPTION]... [VAR=VALUE]...
1856 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1857 VAR=VALUE. See below for descriptions of some of the useful variables.
1859 Defaults for the options are specified in brackets.
1862 -h, --help display this help and exit
1863 --help=short display options specific to this package
1864 --help=recursive display the short help of all the included packages
1865 -V, --version display version information and exit
1866 -q, --quiet, --silent do not print \`checking ...' messages
1867 --cache-file=FILE cache test results in FILE [disabled]
1868 -C, --config-cache alias for \`--cache-file=config.cache'
1869 -n, --no-create do not create output files
1870 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1872 Installation directories:
1873 --prefix=PREFIX install architecture-independent files in PREFIX
1874 [$ac_default_prefix]
1875 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1878 By default, \`make install' will install all the files in
1879 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1880 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1881 for instance \`--prefix=\$HOME'.
1883 For better control, use the options below.
1885 Fine tuning of the installation directories:
1886 --bindir=DIR user executables [EPREFIX/bin]
1887 --sbindir=DIR system admin executables [EPREFIX/sbin]
1888 --libexecdir=DIR program executables [EPREFIX/libexec]
1889 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1890 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1891 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1892 --libdir=DIR object code libraries [EPREFIX/lib]
1893 --includedir=DIR C header files [PREFIX/include]
1894 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1895 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1896 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1897 --infodir=DIR info documentation [DATAROOTDIR/info]
1898 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1899 --mandir=DIR man documentation [DATAROOTDIR/man]
1900 --docdir=DIR documentation root [DATAROOTDIR/doc/navit]
1901 --htmldir=DIR html documentation [DOCDIR]
1902 --dvidir=DIR dvi documentation [DOCDIR]
1903 --pdfdir=DIR pdf documentation [DOCDIR]
1904 --psdir=DIR ps documentation [DOCDIR]
1910 --program-prefix=PREFIX prepend PREFIX to installed program names
1911 --program-suffix=SUFFIX append SUFFIX to installed program names
1912 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1915 --build=BUILD configure for building on BUILD [guessed]
1916 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1920 if test -n "$ac_init_help"; then
1921 case $ac_init_help in
1922 short | recursive ) echo "Configuration of navit 0.5.0:";;
1927 --disable-option-checking ignore unrecognized --enable/--with options
1928 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1929 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1930 --enable-maintainer-mode enable make rules and dependencies not useful
1931 (and sometimes confusing) to the casual installer
1932 --disable-dependency-tracking speeds up one-time build
1933 --enable-dependency-tracking do not reject slow dependency extractors
1934 --enable-variant=something set variant
1935 --enable-cache-size=size in bytes set cache size
1936 --enable-avoid-unaligned avoid unaligned accesses
1937 --enable-avoid-float avoid floating point calculations
1938 --enable-transformation-roll add support for specifying roll angle in transformation
1939 --disable-hildon build without maemo/hildon support
1940 --disable-osso build without maemo/osso support
1941 --disable-garmin disable garmin support
1942 --disable-maptool don't build maptool
1943 --disable-samplemap don't build the samplemap
1944 --disable-fastmath don't build with fastmath
1945 --disable-glib don't build with external glib
1946 --disable-gmodule don't build with gmodule
1947 --disable-plugins disable plugins
1948 --enable-shared-libnavit
1949 --enable-shared[=PKGS] build shared libraries [default=yes]
1950 --enable-static[=PKGS] build static libraries [default=no]
1951 --enable-fast-install[=PKGS]
1952 optimize for fast installation [default=yes]
1953 --disable-libtool-lock avoid locking (might break parallel builds)
1954 --disable-graphics-sdl don't create graphics sdl
1955 --disable-postgresql don't add postgresql support to maptool
1956 --disable-font-freetype don't add freetype support
1957 --disable-fontconfig don't' add fontconfig support
1958 --disable-fribidi dont build with fribidi
1959 --disable-graphics-opengl disable graphics type OpenGL
1960 --disable-binding-python don't create binding python
1961 --disable-binding-dbus don't create binding dbus
1962 --enable-binding-dbus-use-system-bus use system bus for dbus binding
1963 --disable-binding-win32 don't create binding win32
1964 --disable-svg disable Scalable Vector Graphics
1965 --disable-svg2png disable conversion of svgs to pngs
1966 --enable-svg2png-scaling enable conversion of svgs to pngs with specified sizes
1967 --enable-svg2png-scaling-flag enable conversion of flag svgs to pngs with specified sizes
1968 --enable-svg2png-scaling-nav enable conversion of nav svgs to pngs with specified sizes
1969 --disable-nls disable Native Language Support ( gettext/libintl )
1970 --disable-nls do not use Native Language Support
1971 --disable-rpath do not hardcode runtime library paths
1972 --enable-support-libc enable builtin mini libc
1973 --disable-graphics disable graphics
1974 --disable-graphics-android disable graphics type android
1975 --enable-graphics-gd enable graphics type gd
1976 --disable-graphics-gtk-drawing-area disable graphics type gtk_drawing_area
1977 --disable-graphics-null disable graphics type null
1978 --disable-graphics-win32 disable graphics type win32
1979 --disable-graphics-qt-qpainter disable graphics type qt-qpainter
1980 --disable-map-binfile disable map binfile
1981 --disable-map-filter disable map filter
1982 --disable-map-mg disable map mg
1983 --disable-map-shapefile disable map shapefile
1984 --disable-map-textfile disable map textfile
1985 --disable-map-csv disable map csv
1986 --disable-osd-core disable osd core
1987 --disable-gui-gtk disable gui type gtk
1988 --disable-gui-internal disable gui type internal
1989 --disable-gui-win32 disable gui type win32
1990 --disable-gui-qml disable gui type QML
1991 --enable-plugin-pedestrian enable pedestrian plugin
1992 --disable-routing disable routing
1993 --disable-speech-android disable speech type android
1994 --disable-speech-cmdline disable speech type cmdline
1995 --disable-speech-espeak disable speech type espeak
1996 --disable-speech-speech-dispatcher disable speech type speech-dispatcher
1997 --disable-vehicle-android disable vehicle type android
1998 --disable-vehicle-demo disable vehicle type demo
1999 --disable-vehicle-file disable vehicle type file
2000 --disable-vehicle-gpsd disable vehicle type gpsd
2001 --disable-vehicle-gypsy disable vehicle type gypsy
2002 --disable-vehicle-maemo disable vehicle type maemo
2003 --enable-vehicle-null enable vehicle type null
2004 --disable-vehicle-wince disable vehicle type wince
2005 --disable-vehicle-iphone disable vehicle type iphone
2006 --enable-vehicle-webos enable vehicle type webos
2009 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2010 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2011 --with-pic try to use only PIC/non-PIC objects [default=use
2013 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2014 --with-freetype-fonts specify what fonts to use
2015 --with-dbus-service-dir specify where the dbus service dir resides
2016 --with-svg2png-use-convert use imagemagick's convert for png creation
2017 --with-svg2png-use-rsvg-convert use librsvg's rsvg-convert for png creation
2018 --with-svg2png-use-inkscape use inkscapes internal convert routines for png creation
2019 --with-svg2png-use-ksvgtopng4 use kde4's ksvgtopng4 for png creation
2020 --with-svg2png-use-ksvgtopng use kde3's convert for png creation
2021 --with-xslts enable processing of navit.xml with given xslt scripts
2022 --with-saxon specify the saxon xslt processor
2023 --with-android-permissions Set additional android permissions
2024 --with-android-project Set android project
2025 --with-gnu-ld assume the C compiler uses GNU ld default=no
2026 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
2027 --without-libiconv-prefix don't search for libiconv in includedir and libdir
2028 --with-included-gettext use the GNU gettext library included here
2029 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
2030 --without-libintl-prefix don't search for libintl in includedir and libdir
2032 Some influential environment variables:
2033 CC C compiler command
2034 CFLAGS C compiler flags
2035 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2036 nonstandard directory <lib dir>
2037 LIBS libraries to pass to the linker, e.g. -l<library>
2038 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2039 you have headers in a nonstandard directory <include dir>
2041 OBJC Objective C compiler command
2042 OBJCFLAGS Objective C compiler flags
2043 CXX C++ compiler command
2044 CXXFLAGS C++ compiler flags
2045 PKG_CONFIG path to pkg-config utility
2047 directories to add to pkg-config's search path
2049 path overriding pkg-config's built-in search path
2051 C compiler flags for HILDON, overriding pkg-config
2052 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2054 C compiler flags for GPSBT, overriding pkg-config
2055 GPSBT_LIBS linker flags for GPSBT, overriding pkg-config
2057 C compiler flags for LIBOSSO, overriding pkg-config
2059 linker flags for LIBOSSO, overriding pkg-config
2060 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2061 GLIB_LIBS linker flags for GLIB, overriding pkg-config
2063 C compiler flags for GMODULE, overriding pkg-config
2065 linker flags for GMODULE, overriding pkg-config
2066 CXXCPP C++ preprocessor
2067 GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
2068 GTK2_LIBS linker flags for GTK2, overriding pkg-config
2069 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
2070 SDL_LIBS linker flags for SDL, overriding pkg-config
2072 C compiler flags for FREETYPE2, overriding pkg-config
2074 linker flags for FREETYPE2, overriding pkg-config
2076 C compiler flags for FONTCONFIG, overriding pkg-config
2078 linker flags for FONTCONFIG, overriding pkg-config
2080 C compiler flags for FRIBIDI2, overriding pkg-config
2082 linker flags for FRIBIDI2, overriding pkg-config
2084 C compiler flags for FRIBIDI, overriding pkg-config
2086 linker flags for FRIBIDI, overriding pkg-config
2088 C compiler flags for IMLIB2, overriding pkg-config
2089 IMLIB2_LIBS linker flags for IMLIB2, overriding pkg-config
2091 C compiler flags for LIBGARMIN, overriding pkg-config
2093 linker flags for LIBGARMIN, overriding pkg-config
2094 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
2095 DBUS_LIBS linker flags for DBUS, overriding pkg-config
2097 C compiler flags for QT_GUI, overriding pkg-config
2098 QT_GUI_LIBS linker flags for QT_GUI, overriding pkg-config
2100 C compiler flags for QT_SVG, overriding pkg-config
2101 QT_SVG_LIBS linker flags for QT_SVG, overriding pkg-config
2103 C compiler flags for QT_XML, overriding pkg-config
2104 QT_XML_LIBS linker flags for QT_XML, overriding pkg-config
2105 QT_DECLARATIVE_CFLAGS
2106 C compiler flags for QT_DECLARATIVE, overriding pkg-config
2108 linker flags for QT_DECLARATIVE, overriding pkg-config
2109 GPSD_CFLAGS C compiler flags for GPSD, overriding pkg-config
2110 GPSD_LIBS linker flags for GPSD, overriding pkg-config
2112 C compiler flags for LIBGPS19, overriding pkg-config
2114 linker flags for LIBGPS19, overriding pkg-config
2116 C compiler flags for GYPSY, overriding pkg-config
2117 GYPSY_LIBS linker flags for GYPSY, overriding pkg-config
2119 C compiler flags for LIBLOCATION, overriding pkg-config
2121 linker flags for LIBLOCATION, overriding pkg-config
2123 Use these variables to override the choices made by `configure' or to help
2124 it to find libraries and programs with nonstandard names/locations.
2126 Report bugs to the package provider.
2131 if test "$ac_init_help" = "recursive"; then
2132 # If there are subdirs, report their specific --help.
2133 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2134 test -d "$ac_dir" ||
2135 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2140 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2142 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2143 # A ".." for each directory in $ac_dir_suffix.
2144 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2145 case $ac_top_builddir_sub in
2146 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2147 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2150 ac_abs_top_builddir=$ac_pwd
2151 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2152 # for backward compatibility:
2153 ac_top_builddir=$ac_top_build_prefix
2156 .) # We are building in place.
2158 ac_top_srcdir=$ac_top_builddir_sub
2159 ac_abs_top_srcdir=$ac_pwd ;;
2160 [\\/]* | ?:[\\/]* ) # Absolute name.
2161 ac_srcdir=$srcdir$ac_dir_suffix;
2162 ac_top_srcdir=$srcdir
2163 ac_abs_top_srcdir=$srcdir ;;
2165 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2166 ac_top_srcdir=$ac_top_build_prefix$srcdir
2167 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2169 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2171 cd "$ac_dir" || { ac_status=$?; continue; }
2172 # Check for guested configure.
2173 if test -f "$ac_srcdir/configure.gnu"; then
2175 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2176 elif test -f "$ac_srcdir/configure"; then
2178 $SHELL "$ac_srcdir/configure" --help=recursive
2180 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2182 cd "$ac_pwd" || { ac_status=$?; break; }
2186 test -n "$ac_init_help" && exit $ac_status
2187 if $ac_init_version; then
2189 navit configure 0.5.0
2190 generated by GNU Autoconf 2.68
2192 Copyright (C) 2010 Free Software Foundation, Inc.
2193 This configure script is free software; the Free Software Foundation
2194 gives unlimited permission to copy, distribute and modify it.
2199 ## ------------------------ ##
2200 ## Autoconf initialization. ##
2201 ## ------------------------ ##
2203 # ac_fn_c_try_compile LINENO
2204 # --------------------------
2205 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2206 ac_fn_c_try_compile ()
2208 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2209 rm -f conftest.$ac_objext
2210 if { { ac_try="$ac_compile"
2212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2213 *) ac_try_echo=$ac_try;;
2215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2216 $as_echo "$ac_try_echo"; } >&5
2217 (eval "$ac_compile") 2>conftest.err
2219 if test -s conftest.err; then
2220 grep -v '^ *+' conftest.err >conftest.er1
2221 cat conftest.er1 >&5
2222 mv -f conftest.er1 conftest.err
2224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2225 test $ac_status = 0; } && {
2226 test -z "$ac_c_werror_flag" ||
2227 test ! -s conftest.err
2228 } && test -s conftest.$ac_objext; then :
2231 $as_echo "$as_me: failed program was:" >&5
2232 sed 's/^/| /' conftest.$ac_ext >&5
2236 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2237 as_fn_set_status $ac_retval
2239 } # ac_fn_c_try_compile
2241 # ac_fn_c_try_cpp LINENO
2242 # ----------------------
2243 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2246 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2247 if { { ac_try="$ac_cpp conftest.$ac_ext"
2249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2250 *) ac_try_echo=$ac_try;;
2252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2253 $as_echo "$ac_try_echo"; } >&5
2254 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2256 if test -s conftest.err; then
2257 grep -v '^ *+' conftest.err >conftest.er1
2258 cat conftest.er1 >&5
2259 mv -f conftest.er1 conftest.err
2261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2262 test $ac_status = 0; } > conftest.i && {
2263 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2264 test ! -s conftest.err
2268 $as_echo "$as_me: failed program was:" >&5
2269 sed 's/^/| /' conftest.$ac_ext >&5
2273 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2274 as_fn_set_status $ac_retval
2278 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2279 # -------------------------------------------------------
2280 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2281 # the include files in INCLUDES and setting the cache variable VAR
2283 ac_fn_c_check_header_mongrel ()
2285 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2286 if eval \${$3+:} false; then :
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2288 $as_echo_n "checking for $2... " >&6; }
2289 if eval \${$3+:} false; then :
2290 $as_echo_n "(cached) " >&6
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2294 $as_echo "$ac_res" >&6; }
2296 # Is the header compilable?
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2298 $as_echo_n "checking $2 usability... " >&6; }
2299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2304 if ac_fn_c_try_compile "$LINENO"; then :
2305 ac_header_compiler=yes
2307 ac_header_compiler=no
2309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2311 $as_echo "$ac_header_compiler" >&6; }
2313 # Is the header present?
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2315 $as_echo_n "checking $2 presence... " >&6; }
2316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2317 /* end confdefs.h. */
2320 if ac_fn_c_try_cpp "$LINENO"; then :
2321 ac_header_preproc=yes
2323 ac_header_preproc=no
2325 rm -f conftest.err conftest.i conftest.$ac_ext
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2327 $as_echo "$ac_header_preproc" >&6; }
2329 # So? What about this header?
2330 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2333 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2335 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2339 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2341 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2343 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2345 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2347 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2351 $as_echo_n "checking for $2... " >&6; }
2352 if eval \${$3+:} false; then :
2353 $as_echo_n "(cached) " >&6
2355 eval "$3=\$ac_header_compiler"
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2359 $as_echo "$ac_res" >&6; }
2361 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2363 } # ac_fn_c_check_header_mongrel
2365 # ac_fn_c_try_run LINENO
2366 # ----------------------
2367 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2368 # that executables *can* be run.
2371 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2372 if { { ac_try="$ac_link"
2374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2375 *) ac_try_echo=$ac_try;;
2377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2378 $as_echo "$ac_try_echo"; } >&5
2379 (eval "$ac_link") 2>&5
2381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2382 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2383 { { case "(($ac_try" in
2384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2385 *) ac_try_echo=$ac_try;;
2387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2388 $as_echo "$ac_try_echo"; } >&5
2389 (eval "$ac_try") 2>&5
2391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2392 test $ac_status = 0; }; }; then :
2395 $as_echo "$as_me: program exited with status $ac_status" >&5
2396 $as_echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.$ac_ext >&5
2399 ac_retval=$ac_status
2401 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2402 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2403 as_fn_set_status $ac_retval
2407 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2408 # -------------------------------------------------------
2409 # Tests whether HEADER exists and can be compiled using the include files in
2410 # INCLUDES, setting the cache variable VAR accordingly.
2411 ac_fn_c_check_header_compile ()
2413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2415 $as_echo_n "checking for $2... " >&6; }
2416 if eval \${$3+:} false; then :
2417 $as_echo_n "(cached) " >&6
2419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2420 /* end confdefs.h. */
2424 if ac_fn_c_try_compile "$LINENO"; then :
2429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2433 $as_echo "$ac_res" >&6; }
2434 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2436 } # ac_fn_c_check_header_compile
2438 # ac_fn_objc_try_compile LINENO
2439 # -----------------------------
2440 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2441 ac_fn_objc_try_compile ()
2443 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2444 rm -f conftest.$ac_objext
2445 if { { ac_try="$ac_compile"
2447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2448 *) ac_try_echo=$ac_try;;
2450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2451 $as_echo "$ac_try_echo"; } >&5
2452 (eval "$ac_compile") 2>conftest.err
2454 if test -s conftest.err; then
2455 grep -v '^ *+' conftest.err >conftest.er1
2456 cat conftest.er1 >&5
2457 mv -f conftest.er1 conftest.err
2459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2460 test $ac_status = 0; } && {
2461 test -z "$ac_objc_werror_flag" ||
2462 test ! -s conftest.err
2463 } && test -s conftest.$ac_objext; then :
2466 $as_echo "$as_me: failed program was:" >&5
2467 sed 's/^/| /' conftest.$ac_ext >&5
2471 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2472 as_fn_set_status $ac_retval
2474 } # ac_fn_objc_try_compile
2476 # ac_fn_cxx_try_compile LINENO
2477 # ----------------------------
2478 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2479 ac_fn_cxx_try_compile ()
2481 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2482 rm -f conftest.$ac_objext
2483 if { { ac_try="$ac_compile"
2485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2486 *) ac_try_echo=$ac_try;;
2488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2489 $as_echo "$ac_try_echo"; } >&5
2490 (eval "$ac_compile") 2>conftest.err
2492 if test -s conftest.err; then
2493 grep -v '^ *+' conftest.err >conftest.er1
2494 cat conftest.er1 >&5
2495 mv -f conftest.er1 conftest.err
2497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2498 test $ac_status = 0; } && {
2499 test -z "$ac_cxx_werror_flag" ||
2500 test ! -s conftest.err
2501 } && test -s conftest.$ac_objext; then :
2504 $as_echo "$as_me: failed program was:" >&5
2505 sed 's/^/| /' conftest.$ac_ext >&5
2509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2510 as_fn_set_status $ac_retval
2512 } # ac_fn_cxx_try_compile
2514 # ac_fn_c_try_link LINENO
2515 # -----------------------
2516 # Try to link conftest.$ac_ext, and return whether this succeeded.
2519 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2520 rm -f conftest.$ac_objext conftest$ac_exeext
2521 if { { ac_try="$ac_link"
2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2527 $as_echo "$ac_try_echo"; } >&5
2528 (eval "$ac_link") 2>conftest.err
2530 if test -s conftest.err; then
2531 grep -v '^ *+' conftest.err >conftest.er1
2532 cat conftest.er1 >&5
2533 mv -f conftest.er1 conftest.err
2535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2536 test $ac_status = 0; } && {
2537 test -z "$ac_c_werror_flag" ||
2538 test ! -s conftest.err
2539 } && test -s conftest$ac_exeext && {
2540 test "$cross_compiling" = yes ||
2541 $as_test_x conftest$ac_exeext
2545 $as_echo "$as_me: failed program was:" >&5
2546 sed 's/^/| /' conftest.$ac_ext >&5
2550 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2551 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2552 # interfere with the next link command; also delete a directory that is
2553 # left behind by Apple's compiler. We do this before executing the actions.
2554 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2556 as_fn_set_status $ac_retval
2558 } # ac_fn_c_try_link
2560 # ac_fn_c_check_func LINENO FUNC VAR
2561 # ----------------------------------
2562 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2563 ac_fn_c_check_func ()
2565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2567 $as_echo_n "checking for $2... " >&6; }
2568 if eval \${$3+:} false; then :
2569 $as_echo_n "(cached) " >&6
2571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2572 /* end confdefs.h. */
2573 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2575 #define $2 innocuous_$2
2577 /* System header to define __stub macros and hopefully few prototypes,
2578 which can conflict with char $2 (); below.
2579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2580 <limits.h> exists even on freestanding compilers. */
2583 # include <limits.h>
2585 # include <assert.h>
2590 /* Override any GCC internal prototype to avoid an error.
2591 Use char because int might match the return type of a GCC
2592 builtin and then its argument prototype would still apply. */
2597 /* The GNU C library defines this for functions which it implements
2598 to always fail with ENOSYS. Some functions are actually named
2599 something starting with __ and the normal name is an alias. */
2600 #if defined __stub_$2 || defined __stub___$2
2612 if ac_fn_c_try_link "$LINENO"; then :
2617 rm -f core conftest.err conftest.$ac_objext \
2618 conftest$ac_exeext conftest.$ac_ext
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2622 $as_echo "$ac_res" >&6; }
2623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2625 } # ac_fn_c_check_func
2627 # ac_fn_cxx_try_cpp LINENO
2628 # ------------------------
2629 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2630 ac_fn_cxx_try_cpp ()
2632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2633 if { { ac_try="$ac_cpp conftest.$ac_ext"
2635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636 *) ac_try_echo=$ac_try;;
2638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2639 $as_echo "$ac_try_echo"; } >&5
2640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2642 if test -s conftest.err; then
2643 grep -v '^ *+' conftest.err >conftest.er1
2644 cat conftest.er1 >&5
2645 mv -f conftest.er1 conftest.err
2647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2648 test $ac_status = 0; } > conftest.i && {
2649 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2650 test ! -s conftest.err
2654 $as_echo "$as_me: failed program was:" >&5
2655 sed 's/^/| /' conftest.$ac_ext >&5
2659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2660 as_fn_set_status $ac_retval
2662 } # ac_fn_cxx_try_cpp
2664 # ac_fn_cxx_try_link LINENO
2665 # -------------------------
2666 # Try to link conftest.$ac_ext, and return whether this succeeded.
2667 ac_fn_cxx_try_link ()
2669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2670 rm -f conftest.$ac_objext conftest$ac_exeext
2671 if { { ac_try="$ac_link"
2673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2677 $as_echo "$ac_try_echo"; } >&5
2678 (eval "$ac_link") 2>conftest.err
2680 if test -s conftest.err; then
2681 grep -v '^ *+' conftest.err >conftest.er1
2682 cat conftest.er1 >&5
2683 mv -f conftest.er1 conftest.err
2685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2686 test $ac_status = 0; } && {
2687 test -z "$ac_cxx_werror_flag" ||
2688 test ! -s conftest.err
2689 } && test -s conftest$ac_exeext && {
2690 test "$cross_compiling" = yes ||
2691 $as_test_x conftest$ac_exeext
2695 $as_echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.$ac_ext >&5
2700 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2701 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2702 # interfere with the next link command; also delete a directory that is
2703 # left behind by Apple's compiler. We do this before executing the actions.
2704 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2706 as_fn_set_status $ac_retval
2708 } # ac_fn_cxx_try_link
2710 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2711 # -------------------------------------------
2712 # Tests whether TYPE exists after having included INCLUDES, setting cache
2713 # variable VAR accordingly.
2714 ac_fn_c_check_type ()
2716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2718 $as_echo_n "checking for $2... " >&6; }
2719 if eval \${$3+:} false; then :
2720 $as_echo_n "(cached) " >&6
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2735 if ac_fn_c_try_compile "$LINENO"; then :
2736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2748 if ac_fn_c_try_compile "$LINENO"; then :
2753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2759 $as_echo "$ac_res" >&6; }
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2762 } # ac_fn_c_check_type
2764 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2765 # --------------------------------------------
2766 # Tries to find the compile-time value of EXPR in a program that includes
2767 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2769 ac_fn_c_compute_int ()
2771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772 if test "$cross_compiling" = yes; then
2773 # Depending upon the size, compute the lo and hi bounds.
2774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2775 /* end confdefs.h. */
2780 static int test_array [1 - 2 * !(($2) >= 0)];
2787 if ac_fn_c_try_compile "$LINENO"; then :
2790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2791 /* end confdefs.h. */
2796 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2803 if ac_fn_c_try_compile "$LINENO"; then :
2804 ac_hi=$ac_mid; break
2806 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2807 if test $ac_lo -le $ac_mid; then
2811 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2817 /* end confdefs.h. */
2822 static int test_array [1 - 2 * !(($2) < 0)];
2829 if ac_fn_c_try_compile "$LINENO"; then :
2832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833 /* end confdefs.h. */
2838 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2845 if ac_fn_c_try_compile "$LINENO"; then :
2846 ac_lo=$ac_mid; break
2848 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2849 if test $ac_mid -le $ac_hi; then
2853 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 # Binary search between lo and hi bounds.
2864 while test "x$ac_lo" != "x$ac_hi"; do
2865 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2872 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2879 if ac_fn_c_try_compile "$LINENO"; then :
2882 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2887 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892 /* end confdefs.h. */
2894 static long int longval () { return $2; }
2895 static unsigned long int ulongval () { return $2; }
2902 FILE *f = fopen ("conftest.val", "w");
2907 long int i = longval ();
2910 fprintf (f, "%ld", i);
2914 unsigned long int i = ulongval ();
2917 fprintf (f, "%lu", i);
2919 /* Do not output a trailing newline, as this causes \r\n confusion
2920 on some platforms. */
2921 return ferror (f) || fclose (f) != 0;
2927 if ac_fn_c_try_run "$LINENO"; then :
2928 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2932 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2933 conftest.$ac_objext conftest.beam conftest.$ac_ext
2937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2938 as_fn_set_status $ac_retval
2940 } # ac_fn_c_compute_int
2941 cat >config.log <<_ACEOF
2942 This file contains any messages produced by compilers while
2943 running configure, to aid debugging if configure makes a mistake.
2945 It was created by navit $as_me 0.5.0, which was
2946 generated by GNU Autoconf 2.68. Invocation command line was
2958 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2959 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2960 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2961 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2962 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2964 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2965 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2967 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2968 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2969 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2970 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2971 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2972 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2973 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 test -z "$as_dir" && as_dir=.
2982 $as_echo "PATH: $as_dir"
2998 # Keep a trace of the command line.
2999 # Strip out --no-create and --no-recursion so they do not pile up.
3000 # Strip out --silent because we don't want to record it for future runs.
3001 # Also quote any args containing shell meta-characters.
3002 # Make two passes to allow for proper duplicate-argument suppression.
3006 ac_must_keep_next=false
3012 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3014 | -silent | --silent | --silen | --sile | --sil)
3017 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3020 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3022 as_fn_append ac_configure_args1 " '$ac_arg'"
3023 if test $ac_must_keep_next = true; then
3024 ac_must_keep_next=false # Got value, back to normal.
3027 *=* | --config-cache | -C | -disable-* | --disable-* \
3028 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3029 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3030 | -with-* | --with-* | -without-* | --without-* | --x)
3031 case "$ac_configure_args0 " in
3032 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3035 -* ) ac_must_keep_next=true ;;
3038 as_fn_append ac_configure_args " '$ac_arg'"
3043 { ac_configure_args0=; unset ac_configure_args0;}
3044 { ac_configure_args1=; unset ac_configure_args1;}
3046 # When interrupted or exit'd, cleanup temporary files, and complete
3047 # config.log. We remove comments because anyway the quotes in there
3048 # would cause problems or look ugly.
3049 # WARNING: Use '\'' to represent an apostrophe within the trap.
3050 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3051 trap 'exit_status=$?
3052 # Save into config.log some information that might help in debugging.
3056 $as_echo "## ---------------- ##
3057 ## Cache variables. ##
3058 ## ---------------- ##"
3060 # The following way of writing the cache mishandles newlines in values,
3062 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3063 eval ac_val=\$$ac_var
3067 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3068 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3071 _ | IFS | as_nl) ;; #(
3072 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3073 *) { eval $ac_var=; unset $ac_var;} ;;
3078 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3079 *${as_nl}ac_space=\ *)
3081 "s/'\''/'\''\\\\'\'''\''/g;
3082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3085 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3092 $as_echo "## ----------------- ##
3093 ## Output variables. ##
3094 ## ----------------- ##"
3096 for ac_var in $ac_subst_vars
3098 eval ac_val=\$$ac_var
3100 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3102 $as_echo "$ac_var='\''$ac_val'\''"
3106 if test -n "$ac_subst_files"; then
3107 $as_echo "## ------------------- ##
3108 ## File substitutions. ##
3109 ## ------------------- ##"
3111 for ac_var in $ac_subst_files
3113 eval ac_val=\$$ac_var
3115 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3117 $as_echo "$ac_var='\''$ac_val'\''"
3122 if test -s confdefs.h; then
3123 $as_echo "## ----------- ##
3130 test "$ac_signal" != 0 &&
3131 $as_echo "$as_me: caught signal $ac_signal"
3132 $as_echo "$as_me: exit $exit_status"
3134 rm -f core *.core core.conftest.* &&
3135 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3138 for ac_signal in 1 2 13 15; do
3139 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3143 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3144 rm -f -r conftest* confdefs.h
3146 $as_echo "/* confdefs.h */" > confdefs.h
3148 # Predefined preprocessor variables.
3150 cat >>confdefs.h <<_ACEOF
3151 #define PACKAGE_NAME "$PACKAGE_NAME"
3154 cat >>confdefs.h <<_ACEOF
3155 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3158 cat >>confdefs.h <<_ACEOF
3159 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3162 cat >>confdefs.h <<_ACEOF
3163 #define PACKAGE_STRING "$PACKAGE_STRING"
3166 cat >>confdefs.h <<_ACEOF
3167 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3170 cat >>confdefs.h <<_ACEOF
3171 #define PACKAGE_URL "$PACKAGE_URL"
3175 # Let the site file select an alternate cache file if it wants to.
3176 # Prefer an explicitly selected file to automatically selected ones.
3179 if test -n "$CONFIG_SITE"; then
3180 # We do not want a PATH search for config.site.
3181 case $CONFIG_SITE in #((
3182 -*) ac_site_file1=./$CONFIG_SITE;;
3183 */*) ac_site_file1=$CONFIG_SITE;;
3184 *) ac_site_file1=./$CONFIG_SITE;;
3186 elif test "x$prefix" != xNONE; then
3187 ac_site_file1=$prefix/share/config.site
3188 ac_site_file2=$prefix/etc/config.site
3190 ac_site_file1=$ac_default_prefix/share/config.site
3191 ac_site_file2=$ac_default_prefix/etc/config.site
3193 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3195 test "x$ac_site_file" = xNONE && continue
3196 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3198 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3199 sed 's/^/| /' "$ac_site_file" >&5
3201 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3203 as_fn_error $? "failed to load site script $ac_site_file
3204 See \`config.log' for more details" "$LINENO" 5; }
3208 if test -r "$cache_file"; then
3209 # Some versions of bash will fail to source /dev/null (special files
3210 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3211 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3213 $as_echo "$as_me: loading cache $cache_file" >&6;}
3215 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3216 *) . "./$cache_file";;
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3221 $as_echo "$as_me: creating cache $cache_file" >&6;}
3225 as_fn_append ac_header_list " stdlib.h"
3226 as_fn_append ac_header_list " unistd.h"
3227 as_fn_append ac_header_list " sys/param.h"
3228 # Check that the precious variables saved in the cache have kept the same
3230 ac_cache_corrupted=false
3231 for ac_var in $ac_precious_vars; do
3232 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3233 eval ac_new_set=\$ac_env_${ac_var}_set
3234 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3235 eval ac_new_val=\$ac_env_${ac_var}_value
3236 case $ac_old_set,$ac_new_set in
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3239 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3240 ac_cache_corrupted=: ;;
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3243 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3244 ac_cache_corrupted=: ;;
3247 if test "x$ac_old_val" != "x$ac_new_val"; then
3248 # differences in whitespace do not lead to failure.
3249 ac_old_val_w=`echo x $ac_old_val`
3250 ac_new_val_w=`echo x $ac_new_val`
3251 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3253 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3254 ac_cache_corrupted=:
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3257 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3258 eval $ac_var=\$ac_old_val
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3261 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3263 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3266 # Pass precious variables to config.status.
3267 if test "$ac_new_set" = set; then
3269 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3270 *) ac_arg=$ac_var=$ac_new_val ;;
3272 case " $ac_configure_args " in
3273 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3274 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3278 if $ac_cache_corrupted; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3282 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3283 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3285 ## -------------------- ##
3286 ## Main body of script. ##
3287 ## -------------------- ##
3290 ac_cpp='$CPP $CPPFLAGS'
3291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3299 am__api_version='1.11'
3302 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3303 if test -f "$ac_dir/install-sh"; then
3305 ac_install_sh="$ac_aux_dir/install-sh -c"
3307 elif test -f "$ac_dir/install.sh"; then
3309 ac_install_sh="$ac_aux_dir/install.sh -c"
3311 elif test -f "$ac_dir/shtool"; then
3313 ac_install_sh="$ac_aux_dir/shtool install -c"
3317 if test -z "$ac_aux_dir"; then
3318 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3321 # These three variables are undocumented and unsupported,
3322 # and are intended to be withdrawn in a future Autoconf release.
3323 # They can cause serious problems if a builder's source tree is in a directory
3324 # whose full name contains unusual characters.
3325 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3326 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3327 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3330 # Find a good install program. We prefer a C program (faster),
3331 # so one script is as good as another. But avoid the broken or
3332 # incompatible versions:
3333 # SysV /etc/install, /usr/sbin/install
3334 # SunOS /usr/etc/install
3335 # IRIX /sbin/install
3337 # AmigaOS /C/install, which installs bootblocks on floppy discs
3338 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3339 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3340 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3341 # OS/2's system install, which has a completely different semantic
3342 # ./install, which can be erroneously created by make from ./install.sh.
3343 # Reject install programs that cannot install multiple files.
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3345 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3346 if test -z "$INSTALL"; then
3347 if ${ac_cv_path_install+:} false; then :
3348 $as_echo_n "(cached) " >&6
3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 test -z "$as_dir" && as_dir=.
3355 # Account for people who put trailing slashes in PATH elements.
3356 case $as_dir/ in #((
3357 ./ | .// | /[cC]/* | \
3358 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3359 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3362 # OSF1 and SCO ODT 3.0 have their own names for install.
3363 # Don't use installbsd from OSF since it installs stuff as root
3365 for ac_prog in ginstall scoinst install; do
3366 for ac_exec_ext in '' $ac_executable_extensions; do
3367 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3368 if test $ac_prog = install &&
3369 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3370 # AIX install. It has an incompatible calling convention.
3372 elif test $ac_prog = install &&
3373 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3374 # program-specific install script used by HP pwplus--don't use.
3377 rm -rf conftest.one conftest.two conftest.dir
3378 echo one > conftest.one
3379 echo two > conftest.two
3381 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3382 test -s conftest.one && test -s conftest.two &&
3383 test -s conftest.dir/conftest.one &&
3384 test -s conftest.dir/conftest.two
3386 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3399 rm -rf conftest.one conftest.two conftest.dir
3402 if test "${ac_cv_path_install+set}" = set; then
3403 INSTALL=$ac_cv_path_install
3405 # As a last resort, use the slow shell script. Don't cache a
3406 # value for INSTALL within a source directory, because that will
3407 # break other packages using the cache if that directory is
3408 # removed, or if the value is a relative name.
3409 INSTALL=$ac_install_sh
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3413 $as_echo "$INSTALL" >&6; }
3415 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3416 # It thinks the first close brace ends the variable substitution.
3417 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3419 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3421 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3424 $as_echo_n "checking whether build environment is sane... " >&6; }
3427 echo timestamp > conftest.file
3428 # Reject unsafe characters in $srcdir or the absolute working directory
3429 # name. Accept space and tab only in the latter.
3433 *[\\\"\#\$\&\'\`$am_lf]*)
3434 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3437 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3438 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3441 # Do `set' in a subshell so we don't clobber the current shell's
3442 # arguments. Must try -L first in case configure is actually a
3443 # symlink; some systems play weird games with the mod time of symlinks
3444 # (eg FreeBSD returns the mod time of the symlink's containing
3447 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3448 if test "$*" = "X"; then
3450 set X `ls -t "$srcdir/configure" conftest.file`
3453 if test "$*" != "X $srcdir/configure conftest.file" \
3454 && test "$*" != "X conftest.file $srcdir/configure"; then
3456 # If neither matched, then we have a broken ls. This can happen
3457 # if, for instance, CONFIG_SHELL is bash and it inherits a
3458 # broken ls alias from the environment. This has actually
3459 # happened. Such a system could not be considered "sane".
3460 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3461 alias in your environment" "$LINENO" 5
3464 test "$2" = conftest.file
3470 as_fn_error $? "newly created file is older than distributed files!
3471 Check your system clock" "$LINENO" 5
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3474 $as_echo "yes" >&6; }
3475 test "$program_prefix" != NONE &&
3476 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3477 # Use a double $ so make ignores it.
3478 test "$program_suffix" != NONE &&
3479 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3480 # Double any \ or $.
3481 # By default was `s,x,x', remove it if useless.
3482 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3483 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3485 # expand $ac_aux_dir to an absolute path
3486 am_aux_dir=`cd $ac_aux_dir && pwd`
3488 if test x"${MISSING+set}" != xset; then
3491 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3493 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3496 # Use eval to expand $SHELL
3497 if eval "$MISSING --run true"; then
3498 am_missing_run="$MISSING --run "
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3502 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3505 if test x"${install_sh}" != xset; then
3508 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3510 install_sh="\${SHELL} $am_aux_dir/install-sh"
3514 # Installed binaries are usually stripped using `strip' when the user
3515 # run `make install-strip'. However `strip' might not be the right
3516 # tool to use in cross-compilation environments, therefore Automake
3517 # will honor the `STRIP' environment variable to overrule this program.
3518 if test "$cross_compiling" != no; then
3519 if test -n "$ac_tool_prefix"; then
3520 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3521 set dummy ${ac_tool_prefix}strip; ac_word=$2
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3523 $as_echo_n "checking for $ac_word... " >&6; }
3524 if ${ac_cv_prog_STRIP+:} false; then :
3525 $as_echo_n "(cached) " >&6
3527 if test -n "$STRIP"; then
3528 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3534 test -z "$as_dir" && as_dir=.
3535 for ac_exec_ext in '' $ac_executable_extensions; do
3536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3537 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3547 STRIP=$ac_cv_prog_STRIP
3548 if test -n "$STRIP"; then
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3550 $as_echo "$STRIP" >&6; }
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3553 $as_echo "no" >&6; }
3558 if test -z "$ac_cv_prog_STRIP"; then
3560 # Extract the first word of "strip", so it can be a program name with args.
3561 set dummy strip; ac_word=$2
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3563 $as_echo_n "checking for $ac_word... " >&6; }
3564 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3565 $as_echo_n "(cached) " >&6
3567 if test -n "$ac_ct_STRIP"; then
3568 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574 test -z "$as_dir" && as_dir=.
3575 for ac_exec_ext in '' $ac_executable_extensions; do
3576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3577 ac_cv_prog_ac_ct_STRIP="strip"
3578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3588 if test -n "$ac_ct_STRIP"; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3590 $as_echo "$ac_ct_STRIP" >&6; }
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3593 $as_echo "no" >&6; }
3596 if test "x$ac_ct_STRIP" = x; then
3599 case $cross_compiling:$ac_tool_warned in
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3603 ac_tool_warned=yes ;;
3608 STRIP="$ac_cv_prog_STRIP"
3612 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3615 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3616 if test -z "$MKDIR_P"; then
3617 if ${ac_cv_path_mkdir+:} false; then :
3618 $as_echo_n "(cached) " >&6
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3624 test -z "$as_dir" && as_dir=.
3625 for ac_prog in mkdir gmkdir; do
3626 for ac_exec_ext in '' $ac_executable_extensions; do
3627 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3628 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3629 'mkdir (GNU coreutils) '* | \
3630 'mkdir (coreutils) '* | \
3631 'mkdir (fileutils) '4.1*)
3632 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3642 test -d ./--version && rmdir ./--version
3643 if test "${ac_cv_path_mkdir+set}" = set; then
3644 MKDIR_P="$ac_cv_path_mkdir -p"
3646 # As a last resort, use the slow shell script. Don't cache a
3647 # value for MKDIR_P within a source directory, because that will
3648 # break other packages using the cache if that directory is
3649 # removed, or if the value is a relative name.
3650 MKDIR_P="$ac_install_sh -d"
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3654 $as_echo "$MKDIR_P" >&6; }
3658 [\\/$]* | ?:[\\/]*) ;;
3659 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3662 for ac_prog in gawk mawk nawk awk
3664 # Extract the first word of "$ac_prog", so it can be a program name with args.
3665 set dummy $ac_prog; ac_word=$2
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3667 $as_echo_n "checking for $ac_word... " >&6; }
3668 if ${ac_cv_prog_AWK+:} false; then :
3669 $as_echo_n "(cached) " >&6
3671 if test -n "$AWK"; then
3672 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3678 test -z "$as_dir" && as_dir=.
3679 for ac_exec_ext in '' $ac_executable_extensions; do
3680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3681 ac_cv_prog_AWK="$ac_prog"
3682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3692 if test -n "$AWK"; then
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3694 $as_echo "$AWK" >&6; }
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3697 $as_echo "no" >&6; }
3701 test -n "$AWK" && break
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3705 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3707 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3708 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3709 $as_echo_n "(cached) " >&6
3711 cat >conftest.make <<\_ACEOF
3714 @echo '@@@%%%=$(MAKE)=@@@%%%'
3716 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3717 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3719 eval ac_cv_prog_make_${ac_make}_set=yes;;
3721 eval ac_cv_prog_make_${ac_make}_set=no;;
3725 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3727 $as_echo "yes" >&6; }
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3732 SET_MAKE="MAKE=${MAKE-make}"
3735 rm -rf .tst 2>/dev/null
3736 mkdir .tst 2>/dev/null
3737 if test -d .tst; then
3742 rmdir .tst 2>/dev/null
3744 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3745 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3746 # is not polluted with repeated "-I."
3747 am__isrc=' -I$(srcdir)'
3748 # test to see if srcdir already configured
3749 if test -f $srcdir/config.status; then
3750 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3754 # test whether we have cygpath
3755 if test -z "$CYGPATH_W"; then
3756 if (cygpath --version) >/dev/null 2>/dev/null; then
3757 CYGPATH_W='cygpath -w'
3764 # Define the identity of the package.
3769 cat >>confdefs.h <<_ACEOF
3770 #define PACKAGE "$PACKAGE"
3774 cat >>confdefs.h <<_ACEOF
3775 #define VERSION "$VERSION"
3778 # Some tools Automake needs.
3780 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3783 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3786 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3789 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3792 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3794 # We need awk for the "check" target. The system "awk" is bad on
3796 # Always define AMTAR for backward compatibility.
3798 AMTAR=${AMTAR-"${am_missing_run}tar"}
3800 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3806 ac_config_headers="$ac_config_headers config.h"
3810 if test "x${SOURCE_MODE}" = "xsvn"; then
3811 SOURCE_MODE_SVN_TRUE=
3812 SOURCE_MODE_SVN_FALSE='#'
3814 SOURCE_MODE_SVN_TRUE='#'
3815 SOURCE_MODE_SVN_FALSE=
3819 if test "x${SOURCE_MODE}" = "xsvn" ; then
3820 USE_MAINTAINER_MODE=yes
3822 USE_MAINTAINER_MODE=no
3827 # This is what autoupdate's m4 run will expand. It fires
3828 # the warning (with _au_warn_XXX), outputs it into the
3829 # updated configure.ac (with AC_DIAGNOSE), and then outputs
3830 # the replacement expansion.
3833 # This is an auxiliary macro that is also run when
3834 # autoupdate runs m4. It simply calls m4_warning, but
3835 # we need a wrapper so that each warning is emitted only
3836 # once. We break the quoting in m4_warning's argument in
3837 # order to expand this macro's arguments, not AU_DEFUN's.
3840 # Finally, this is the expansion that is picked up by
3841 # autoconf. It tells the user to run autoupdate, and
3842 # then outputs the replacement expansion. We do not care
3843 # about autoupdate's warning because that contains
3844 # information on what to do *after* running autoupdate.
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3848 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3849 # Check whether --enable-maintainer-mode was given.
3850 if test "${enable_maintainer_mode+set}" = set; then :
3851 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3855 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3856 if test $USE_MAINTAINER_MODE = yes; then
3857 MAINTAINER_MODE_TRUE=
3858 MAINTAINER_MODE_FALSE='#'
3860 MAINTAINER_MODE_TRUE='#'
3861 MAINTAINER_MODE_FALSE=
3864 MAINT=$MAINTAINER_MODE_TRUE
3869 plugins=yes; plugins_reason=default
3870 postgresql=yes; postgresql_reason=default
3871 samplemap=yes; samplemap_reason=default
3872 binding_dbus=yes; binding_dbus_reason=default
3873 binding_dbus_use_system_bus=no
3874 binding_python=yes; binding_python_reason=default
3875 binding_win32=no; binding_win32_reason=default
3876 font_freetype=yes; font_freetype_reason=default
3877 fontconfig=yes; fontconfig_reason=default
3878 fribidi=yes; fribidi_reason=default
3879 gui_gtk=no; gui_gtk_reason=default
3880 gui_win32=no; gui_win32_reason=default
3881 gui_internal=yes; gui_internal_reason=default
3882 gui_qml=no; gui_qml_reason=default
3883 graphics=yes; graphics_reason=default
3884 graphics_gd=no; graphics_gd_reason=default
3885 graphics_gtk_drawing_area=no; graphics_gtk_drawing_area_reason=default
3886 graphics_qt_qpainter=yes; graphics_qt_qpainter_reason=default
3887 graphics_null=yes; graphics_null_reason=default
3888 graphics_opengl=yes; graphics_opengl_reason=default
3889 graphics_sdl=yes; graphics_sdl_reason=default
3890 graphics_win32=no; graphics_win32_reason=default
3891 maptool=yes; maptool_reason=default
3892 map_binfile=yes; map_binfile_reason=default
3893 map_filter=yes; map_filter_reason=default
3894 map_mg=yes; map_mg_reason=default
3895 map_shapefile=yes; map_shapefile_reason=default
3896 map_textfile=yes; map_textfile_reason=default
3897 map_csv=yes; map_csv_reason=default
3898 osd_core=yes; osd_core_reason=default
3899 plugin_pedestrian=no; plugin_pedestrian_reason=default
3900 routing=yes; routing_reason=default
3901 speech_android=no; speech_android_reason=default
3902 speech_cmdline=yes; speech_cmdline_reason=default
3903 speech_dbus=no; speech_dbus_reason=default
3904 speech_espeak=no; speech_espeak_reason=default
3905 speech_speech_dispatcher=yes; speech_speech_dispatcher_reason=default
3906 vehicle_demo=yes; vehicle_demo_reason=default
3907 vehicle_file=yes; vehicle_file_reason=default
3908 vehicle_gpsd=yes; vehicle_gpsd_reason=default
3909 vehicle_gpsd_dbus=no; vehicle_gpsd_dbus_reason=default
3910 vehicle_gypsy=yes; vehicle_gypsy_reason=default
3911 vehicle_null=no; vehicle_null_reason=default
3912 vehicle_wince=no; vehicle_wince_reason=default
3913 vehicle_iphone=no; vehicle_iphone_reason=default
3914 vehicle_android=no; vehicle_android_reason=default
3915 graphics_android=no; graphics_android_reason=default
3916 vehicle_maemo=no; vehicle_maemo_reason=default
3917 vehicle_webos=no; vehicle_webos_reason=default
3923 # Make sure we can run config.sub.
3924 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3925 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3928 $as_echo_n "checking build system type... " >&6; }
3929 if ${ac_cv_build+:} false; then :
3930 $as_echo_n "(cached) " >&6
3932 ac_build_alias=$build_alias
3933 test "x$ac_build_alias" = x &&
3934 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3935 test "x$ac_build_alias" = x &&
3936 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3937 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3938 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3942 $as_echo "$ac_cv_build" >&6; }
3943 case $ac_cv_build in
3945 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3948 ac_save_IFS=$IFS; IFS='-'
3954 # Remember, the first character of IFS is used to create $*,
3955 # except with old shells:
3958 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3962 $as_echo_n "checking host system type... " >&6; }
3963 if ${ac_cv_host+:} false; then :
3964 $as_echo_n "(cached) " >&6
3966 if test "x$host_alias" = x; then
3967 ac_cv_host=$ac_cv_build
3969 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3970 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3975 $as_echo "$ac_cv_host" >&6; }
3978 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3981 ac_save_IFS=$IFS; IFS='-'
3987 # Remember, the first character of IFS is used to create $*,
3988 # except with old shells:
3991 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3997 wince|mingw32ce|cegcc)
4001 $as_echo "#define HAVE_API_WIN32_BASE 1" >>confdefs.h
4004 $as_echo "#define HAVE_API_WIN32_CE 1" >>confdefs.h
4007 $as_echo "#define HAVE_PRAGMA_PACK 1" >>confdefs.h
4009 binding_win32=yes; binding_win32_reason="host_os is wince"
4010 gui_win32=yes; gui_win32_reason="host_os is wince"
4011 graphics_win32=yes; graphics_win32_reason="host_os is wince"
4012 vehicle_wince=yes; vehcile_wince_reason="host_os is wince"
4013 speech_espeak=yes; speech_espeak_reason="host_os is wince"
4015 maptool=no; maptool_reason="host_os is wince"
4020 $as_echo "#define HAVE_API_WIN32_BASE 1" >>confdefs.h
4023 $as_echo "#define HAVE_API_WIN32 1" >>confdefs.h
4025 binding_win32=yes; binding_win32_reason="host_os is mingw32"
4026 gui_win32=yes; gui_win32_reason="host_os is mingw32"
4027 graphics_win32=yes; graphics_win32_reason="host_os is mingw32"
4028 speech_espeak=yes; speech_espeak_reason="host_os is mingw32"
4036 $as_echo "#define HAVE_API_ANDROID 1" >>confdefs.h
4038 echo "void dl_unwind_find_exidx(void) {}" >crt0.c
4041 vehicle_android=yes; vehicle_android_reason="host_os is android"
4042 graphics_android=yes; graphics_android_reason="host_os is android"
4043 speech_android=yes; speech_android_reason="host_os is android"
4044 MODULE_LDFLAGS="-module -Xcompiler -nostdlib -Xcompiler -Wl,-rpath -Xcompiler -Wl,/data/data/org.navitproject.navit/lib"
4045 MODULE_LIBADD="-llog"
4046 LIBNAVIT=_data_data_org.navitproject.navit_lib_navit
4047 NAVIT_MODULE_LDFLAGS="$MODULE_LDFLAGS -L\$(top_builddir)/navit -l$LIBNAVIT"
4050 if test "x$win32" = "xyes"
4052 NAVIT_CFLAGS="$NAVIT_CFLAGS -I\$(top_srcdir)/navit/support/win32"
4053 NAVIT_LIBS="$NAVIT_LIBS -L\$(top_builddir)/navit/support/win32 -lsupport_win32"
4054 NAVIT_SOCKET_LDFLAGS="$MODULE_LDFLAGS -lws2_32"
4058 if test "x$win32" = "xyes"; then
4060 SUPPORT_WIN32_FALSE='#'
4062 SUPPORT_WIN32_TRUE='#'
4063 SUPPORT_WIN32_FALSE=
4066 if test "x$win32ce" = "xyes"; then
4067 SUPPORT_WIN32CE_TRUE=
4068 SUPPORT_WIN32CE_FALSE='#'
4070 SUPPORT_WIN32CE_TRUE='#'
4071 SUPPORT_WIN32CE_FALSE=
4074 if test "x$android" = "xyes"; then
4075 SUPPORT_ANDROID_TRUE=
4076 SUPPORT_ANDROID_FALSE='#'
4078 SUPPORT_ANDROID_TRUE='#'
4079 SUPPORT_ANDROID_FALSE=
4083 if test "x$support_libpng" = "xyes"
4085 NAVIT_CFLAGS="$NAVIT_CFLAGS -I\$(top_srcdir)/navit/support/libpng"
4086 NAVIT_LIBS="$NAVIT_LIBS -L\$(top_builddir)/navit/support/libpng -lsupport_libpng"
4088 if test "x$support_libpng" = "xyes"; then
4089 SUPPORT_LIBPNG_TRUE=
4090 SUPPORT_LIBPNG_FALSE='#'
4092 SUPPORT_LIBPNG_TRUE='#'
4093 SUPPORT_LIBPNG_FALSE=
4103 if test "$win32" == "no" -a test "$host_os" != "cygwin"; then
4104 LIBS="$LIBS -rdynamic"
4109 DEPDIR="${am__leading_dot}deps"
4111 ac_config_commands="$ac_config_commands depfiles"
4114 am_make=${MAKE-make}
4115 cat > confinc << 'END'
4117 @echo this is the am__doit target
4120 # If we don't find an include directive, just comment out the code.
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4122 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4126 # First try GNU make style include.
4127 echo "include confinc" > confmf
4128 # Ignore all kinds of additional output from `make'.
4129 case `$am_make -s -f confmf 2> /dev/null` in #(
4130 *the\ am__doit\ target*)
4136 # Now try BSD make style include.
4137 if test "$am__include" = "#"; then
4138 echo '.include "confinc"' > confmf
4139 case `$am_make -s -f confmf 2> /dev/null` in #(
4140 *the\ am__doit\ target*)
4141 am__include=.include
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4150 $as_echo "$_am_result" >&6; }
4151 rm -f confinc confmf
4153 # Check whether --enable-dependency-tracking was given.
4154 if test "${enable_dependency_tracking+set}" = set; then :
4155 enableval=$enable_dependency_tracking;
4158 if test "x$enable_dependency_tracking" != xno; then
4159 am_depcomp="$ac_aux_dir/depcomp"
4162 if test "x$enable_dependency_tracking" != xno; then
4172 ac_cpp='$CPP $CPPFLAGS'
4173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4176 if test -n "$ac_tool_prefix"; then
4177 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4178 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4180 $as_echo_n "checking for $ac_word... " >&6; }
4181 if ${ac_cv_prog_CC+:} false; then :
4182 $as_echo_n "(cached) " >&6
4184 if test -n "$CC"; then
4185 ac_cv_prog_CC="$CC" # Let the user override the test.
4187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4191 test -z "$as_dir" && as_dir=.
4192 for ac_exec_ext in '' $ac_executable_extensions; do
4193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4194 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4205 if test -n "$CC"; then
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4207 $as_echo "$CC" >&6; }
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4210 $as_echo "no" >&6; }
4215 if test -z "$ac_cv_prog_CC"; then
4217 # Extract the first word of "gcc", so it can be a program name with args.
4218 set dummy gcc; ac_word=$2
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4220 $as_echo_n "checking for $ac_word... " >&6; }
4221 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4222 $as_echo_n "(cached) " >&6
4224 if test -n "$ac_ct_CC"; then
4225 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 test -z "$as_dir" && as_dir=.
4232 for ac_exec_ext in '' $ac_executable_extensions; do
4233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4234 ac_cv_prog_ac_ct_CC="gcc"
4235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4244 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4245 if test -n "$ac_ct_CC"; then
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4247 $as_echo "$ac_ct_CC" >&6; }
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4250 $as_echo "no" >&6; }
4253 if test "x$ac_ct_CC" = x; then
4256 case $cross_compiling:$ac_tool_warned in
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4260 ac_tool_warned=yes ;;
4268 if test -z "$CC"; then
4269 if test -n "$ac_tool_prefix"; then
4270 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4271 set dummy ${ac_tool_prefix}cc; ac_word=$2
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4273 $as_echo_n "checking for $ac_word... " >&6; }
4274 if ${ac_cv_prog_CC+:} false; then :
4275 $as_echo_n "(cached) " >&6
4277 if test -n "$CC"; then
4278 ac_cv_prog_CC="$CC" # Let the user override the test.
4280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 test -z "$as_dir" && as_dir=.
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4287 ac_cv_prog_CC="${ac_tool_prefix}cc"
4288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 if test -n "$CC"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4300 $as_echo "$CC" >&6; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4309 if test -z "$CC"; then
4310 # Extract the first word of "cc", so it can be a program name with args.
4311 set dummy cc; ac_word=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if ${ac_cv_prog_CC+:} false; then :
4315 $as_echo_n "(cached) " >&6
4317 if test -n "$CC"; then
4318 ac_cv_prog_CC="$CC" # Let the user override the test.
4321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir=.
4326 for ac_exec_ext in '' $ac_executable_extensions; do
4327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4328 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4329 ac_prog_rejected=yes
4333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 if test $ac_prog_rejected = yes; then
4341 # We found a bogon in the path, so make sure we never use it.
4342 set dummy $ac_cv_prog_CC
4344 if test $# != 0; then
4345 # We chose a different compiler from the bogus one.
4346 # However, it has the same basename, so the bogon will be chosen
4347 # first if we set CC to just the basename; use the full file name.
4349 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4355 if test -n "$CC"; then
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4357 $as_echo "$CC" >&6; }
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4360 $as_echo "no" >&6; }
4365 if test -z "$CC"; then
4366 if test -n "$ac_tool_prefix"; then
4367 for ac_prog in cl.exe
4369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if ${ac_cv_prog_CC+:} false; then :
4374 $as_echo_n "(cached) " >&6
4376 if test -n "$CC"; then
4377 ac_cv_prog_CC="$CC" # Let the user override the test.
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383 test -z "$as_dir" && as_dir=.
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4386 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 if test -n "$CC"; then
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4399 $as_echo "$CC" >&6; }
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4402 $as_echo "no" >&6; }
4406 test -n "$CC" && break
4409 if test -z "$CC"; then
4411 for ac_prog in cl.exe
4413 # Extract the first word of "$ac_prog", so it can be a program name with args.
4414 set dummy $ac_prog; ac_word=$2
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4418 $as_echo_n "(cached) " >&6
4420 if test -n "$ac_ct_CC"; then
4421 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430 ac_cv_prog_ac_ct_CC="$ac_prog"
4431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4441 if test -n "$ac_ct_CC"; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4443 $as_echo "$ac_ct_CC" >&6; }
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4450 test -n "$ac_ct_CC" && break
4453 if test "x$ac_ct_CC" = x; then
4456 case $cross_compiling:$ac_tool_warned in
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4460 ac_tool_warned=yes ;;
4469 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4471 as_fn_error $? "no acceptable C compiler found in \$PATH
4472 See \`config.log' for more details" "$LINENO" 5; }
4474 # Provide some information about the compiler.
4475 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4478 for ac_option in --version -v -V -qversion; do
4479 { { ac_try="$ac_compiler $ac_option >&5"
4481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4482 *) ac_try_echo=$ac_try;;
4484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4485 $as_echo "$ac_try_echo"; } >&5
4486 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4488 if test -s conftest.err; then
4490 ... rest of stderr output deleted ...
4491 10q' conftest.err >conftest.er1
4492 cat conftest.er1 >&5
4494 rm -f conftest.er1 conftest.err
4495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496 test $ac_status = 0; }
4499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4510 ac_clean_files_save=$ac_clean_files
4511 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4512 # Try to create an executable without -o first, disregard a.out.
4513 # It will help us diagnose broken compilers, and finding out an intuition
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4516 $as_echo_n "checking whether the C compiler works... " >&6; }
4517 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4519 # The possible output files:
4520 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4523 for ac_file in $ac_files
4526 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4527 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4532 if { { ac_try="$ac_link_default"
4534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4535 *) ac_try_echo=$ac_try;;
4537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4538 $as_echo "$ac_try_echo"; } >&5
4539 (eval "$ac_link_default") 2>&5
4541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4542 test $ac_status = 0; }; then :
4543 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4544 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4545 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4546 # so that the user can short-circuit this test for compilers unknown to
4548 for ac_file in $ac_files ''
4550 test -f "$ac_file" || continue
4552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4555 # We found the default executable, but exeext='' is most
4559 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4561 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4563 # We set ac_cv_exeext here because the later test for it is not
4564 # safe: cross compilers may not add the suffix if given an `-o'
4565 # argument, so we may need to know it at that point already.
4566 # Even if this section looks crufty: it has the advantage of
4573 test "$ac_cv_exeext" = no && ac_cv_exeext=
4578 if test -z "$ac_file"; then :
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580 $as_echo "no" >&6; }
4581 $as_echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.$ac_ext >&5
4584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4586 as_fn_error 77 "C compiler cannot create executables
4587 See \`config.log' for more details" "$LINENO" 5; }
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4590 $as_echo "yes" >&6; }
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4593 $as_echo_n "checking for C compiler default output file name... " >&6; }
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4595 $as_echo "$ac_file" >&6; }
4596 ac_exeext=$ac_cv_exeext
4598 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4599 ac_clean_files=$ac_clean_files_save
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4601 $as_echo_n "checking for suffix of executables... " >&6; }
4602 if { { ac_try="$ac_link"
4604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4605 *) ac_try_echo=$ac_try;;
4607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4608 $as_echo "$ac_try_echo"; } >&5
4609 (eval "$ac_link") 2>&5
4611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4612 test $ac_status = 0; }; then :
4613 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4614 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4615 # work properly (i.e., refer to `conftest.exe'), while it won't with
4617 for ac_file in conftest.exe conftest conftest.*; do
4618 test -f "$ac_file" || continue
4620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4621 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4629 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4630 See \`config.log' for more details" "$LINENO" 5; }
4632 rm -f conftest conftest$ac_cv_exeext
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4634 $as_echo "$ac_cv_exeext" >&6; }
4636 rm -f conftest.$ac_ext
4637 EXEEXT=$ac_cv_exeext
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4645 FILE *f = fopen ("conftest.out", "w");
4646 return ferror (f) || fclose (f) != 0;
4652 ac_clean_files="$ac_clean_files conftest.out"
4653 # Check that the compiler produces executables we can run. If not, either
4654 # the compiler is broken, or we cross compile.
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4656 $as_echo_n "checking whether we are cross compiling... " >&6; }
4657 if test "$cross_compiling" != yes; then
4658 { { ac_try="$ac_link"
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4664 $as_echo "$ac_try_echo"; } >&5
4665 (eval "$ac_link") 2>&5
4667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4668 test $ac_status = 0; }
4669 if { ac_try='./conftest$ac_cv_exeext'
4670 { { case "(($ac_try" in
4671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4672 *) ac_try_echo=$ac_try;;
4674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4675 $as_echo "$ac_try_echo"; } >&5
4676 (eval "$ac_try") 2>&5
4678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4679 test $ac_status = 0; }; }; then
4682 if test "$cross_compiling" = maybe; then
4685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4687 as_fn_error $? "cannot run C compiled programs.
4688 If you meant to cross compile, use \`--host'.
4689 See \`config.log' for more details" "$LINENO" 5; }
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4694 $as_echo "$cross_compiling" >&6; }
4696 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4697 ac_clean_files=$ac_clean_files_save
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4699 $as_echo_n "checking for suffix of object files... " >&6; }
4700 if ${ac_cv_objext+:} false; then :
4701 $as_echo_n "(cached) " >&6
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4714 rm -f conftest.o conftest.obj
4715 if { { ac_try="$ac_compile"
4717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4718 *) ac_try_echo=$ac_try;;
4720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4721 $as_echo "$ac_try_echo"; } >&5
4722 (eval "$ac_compile") 2>&5
4724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4725 test $ac_status = 0; }; then :
4726 for ac_file in conftest.o conftest.obj conftest.*; do
4727 test -f "$ac_file" || continue;
4729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4730 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4735 $as_echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4740 as_fn_error $? "cannot compute suffix of object files: cannot compile
4741 See \`config.log' for more details" "$LINENO" 5; }
4743 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4746 $as_echo "$ac_cv_objext" >&6; }
4747 OBJEXT=$ac_cv_objext
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4750 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4751 if ${ac_cv_c_compiler_gnu+:} false; then :
4752 $as_echo_n "(cached) " >&6
4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4768 if ac_fn_c_try_compile "$LINENO"; then :
4773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4774 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4778 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4779 if test $ac_compiler_gnu = yes; then
4784 ac_test_CFLAGS=${CFLAGS+set}
4785 ac_save_CFLAGS=$CFLAGS
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4787 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4788 if ${ac_cv_prog_cc_g+:} false; then :
4789 $as_echo_n "(cached) " >&6
4791 ac_save_c_werror_flag=$ac_c_werror_flag
4792 ac_c_werror_flag=yes
4795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4806 if ac_fn_c_try_compile "$LINENO"; then :
4810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h. */
4821 if ac_fn_c_try_compile "$LINENO"; then :
4824 ac_c_werror_flag=$ac_save_c_werror_flag
4826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4827 /* end confdefs.h. */
4837 if ac_fn_c_try_compile "$LINENO"; then :
4840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845 ac_c_werror_flag=$ac_save_c_werror_flag
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4848 $as_echo "$ac_cv_prog_cc_g" >&6; }
4849 if test "$ac_test_CFLAGS" = set; then
4850 CFLAGS=$ac_save_CFLAGS
4851 elif test $ac_cv_prog_cc_g = yes; then
4852 if test "$GCC" = yes; then
4858 if test "$GCC" = yes; then
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4865 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4866 if ${ac_cv_prog_cc_c89+:} false; then :
4867 $as_echo_n "(cached) " >&6
4869 ac_cv_prog_cc_c89=no
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4875 #include <sys/types.h>
4876 #include <sys/stat.h>
4877 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4878 struct buf { int x; };
4879 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4880 static char *e (p, i)
4886 static char *f (char * (*g) (char **, int), char **p, ...)
4891 s = g (p, va_arg (v,int));
4896 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4897 function prototypes and stuff, but not '\xHH' hex character constants.
4898 These don't provoke an error unfortunately, instead are silently treated
4899 as 'x'. The following induces an error, until -std is added to get
4900 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4901 array size at least. It's necessary to write '\x00'==0 to get something
4902 that's true only with -std. */
4903 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4905 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4906 inside strings and character constants. */
4908 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4910 int test (int i, double x);
4911 struct s1 {int (*f) (int a);};
4912 struct s2 {int (*f) (double a);};
4913 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4919 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4924 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4925 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4927 CC="$ac_save_CC $ac_arg"
4928 if ac_fn_c_try_compile "$LINENO"; then :
4929 ac_cv_prog_cc_c89=$ac_arg
4931 rm -f core conftest.err conftest.$ac_objext
4932 test "x$ac_cv_prog_cc_c89" != "xno" && break
4934 rm -f conftest.$ac_ext
4939 case "x$ac_cv_prog_cc_c89" in
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4942 $as_echo "none needed" >&6; } ;;
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4945 $as_echo "unsupported" >&6; } ;;
4947 CC="$CC $ac_cv_prog_cc_c89"
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4949 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4951 if test "x$ac_cv_prog_cc_c89" != xno; then :
4956 ac_cpp='$CPP $CPPFLAGS'
4957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4961 depcc="$CC" am_compiler_list=
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4964 $as_echo_n "checking dependency style of $depcc... " >&6; }
4965 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4966 $as_echo_n "(cached) " >&6
4968 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4969 # We make a subdir and do the tests there. Otherwise we can end up
4970 # making bogus files that we don't know about and never remove. For
4971 # instance it was reported that on HP-UX the gcc test will end up
4972 # making a dummy file named `D' -- because `-MD' means `put the output
4975 # Copy depcomp to subdir because otherwise we won't find it if we're
4976 # using a relative directory.
4977 cp "$am_depcomp" conftest.dir
4979 # We will build objects and dependencies in a subdirectory because
4980 # it helps to detect inapplicable dependency modes. For instance
4981 # both Tru64's cc and ICC support -MD to output dependencies as a
4982 # side effect of compilation, but ICC will put the dependencies in
4983 # the current directory while Tru64 will put them in the object
4987 am_cv_CC_dependencies_compiler_type=none
4988 if test "$am_compiler_list" = ""; then
4989 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4992 case " $depcc " in #(
4993 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4996 for depmode in $am_compiler_list; do
4997 # Setup a source with many dependencies, because some compilers
4998 # like to wrap large dependency lists on column 80 (with \), and
4999 # we should not choose a depcomp mode which is confused by this.
5001 # We need to recreate these files for each test, as the compiler may
5002 # overwrite some of them when testing with obscure command lines.
5003 # This happens at least with the AIX C compiler.
5005 for i in 1 2 3 4 5 6; do
5006 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5007 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5008 # Solaris 8's {/usr,}/bin/sh.
5009 touch sub/conftst$i.h
5011 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5013 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5014 # mode. It turns out that the SunPro C++ compiler does not properly
5015 # handle `-M -o', and we need to detect this. Also, some Intel
5016 # versions had trouble with output in subdirs
5017 am__obj=sub/conftest.${OBJEXT-o}
5018 am__minus_obj="-o $am__obj"
5021 # This depmode causes a compiler race in universal mode.
5022 test "$am__universal" = false || continue
5025 # after this tag, mechanisms are not by side-effect, so they'll
5026 # only be used when explicitly requested
5027 if test "x$enable_dependency_tracking" = xyes; then
5033 msvisualcpp | msvcmsys)
5034 # This compiler won't grok `-c -o', but also, the minuso test has
5035 # not run yet. These depmodes are late enough in the game, and
5036 # so weak that their functioning should not be impacted.
5037 am__obj=conftest.${OBJEXT-o}
5042 if depmode=$depmode \
5043 source=sub/conftest.c object=$am__obj \
5044 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5045 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5046 >/dev/null 2>conftest.err &&
5047 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5048 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5049 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5050 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5051 # icc doesn't choke on unknown options, it will just issue warnings
5052 # or remarks (even with -Werror). So we grep stderr for any message
5053 # that says an option was ignored or not supported.
5054 # When given -MP, icc 7.0 and 7.1 complain thusly:
5055 # icc: Command line warning: ignoring option '-M'; no argument required
5056 # The diagnosis changed in icc 8.0:
5057 # icc: Command line remark: option '-MP' not supported
5058 if (grep 'ignoring option' conftest.err ||
5059 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5060 am_cv_CC_dependencies_compiler_type=$depmode
5069 am_cv_CC_dependencies_compiler_type=none
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5074 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5075 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5078 test "x$enable_dependency_tracking" != xno \
5079 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5081 am__fastdepCC_FALSE='#'
5083 am__fastdepCC_TRUE='#'
5084 am__fastdepCC_FALSE=
5090 ac_cpp='$CPP $CPPFLAGS'
5091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5095 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5096 # On Suns, sometimes $CPP names a directory.
5097 if test -n "$CPP" && test -d "$CPP"; then
5100 if test -z "$CPP"; then
5101 if ${ac_cv_prog_CPP+:} false; then :
5102 $as_echo_n "(cached) " >&6
5104 # Double quotes because CPP needs to be expanded
5105 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5108 for ac_c_preproc_warn_flag in '' yes
5110 # Use a header file that comes with gcc, so configuring glibc
5111 # with a fresh cross-compiler works.
5112 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5113 # <limits.h> exists even on freestanding compilers.
5114 # On the NeXT, cc -E runs the code through the compiler's parser,
5115 # not just through cpp. "Syntax error" is here to catch this case.
5116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117 /* end confdefs.h. */
5119 # include <limits.h>
5121 # include <assert.h>
5125 if ac_fn_c_try_cpp "$LINENO"; then :
5128 # Broken: fails on valid input.
5131 rm -f conftest.err conftest.i conftest.$ac_ext
5133 # OK, works on sane cases. Now check whether nonexistent headers
5134 # can be detected and how.
5135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136 /* end confdefs.h. */
5137 #include <ac_nonexistent.h>
5139 if ac_fn_c_try_cpp "$LINENO"; then :
5140 # Broken: success on invalid input.
5143 # Passes both tests.
5147 rm -f conftest.err conftest.i conftest.$ac_ext
5150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5151 rm -f conftest.i conftest.err conftest.$ac_ext
5152 if $ac_preproc_ok; then :
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5165 $as_echo "$CPP" >&6; }
5167 for ac_c_preproc_warn_flag in '' yes
5169 # Use a header file that comes with gcc, so configuring glibc
5170 # with a fresh cross-compiler works.
5171 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5172 # <limits.h> exists even on freestanding compilers.
5173 # On the NeXT, cc -E runs the code through the compiler's parser,
5174 # not just through cpp. "Syntax error" is here to catch this case.
5175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5176 /* end confdefs.h. */
5178 # include <limits.h>
5180 # include <assert.h>
5184 if ac_fn_c_try_cpp "$LINENO"; then :
5187 # Broken: fails on valid input.
5190 rm -f conftest.err conftest.i conftest.$ac_ext
5192 # OK, works on sane cases. Now check whether nonexistent headers
5193 # can be detected and how.
5194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5195 /* end confdefs.h. */
5196 #include <ac_nonexistent.h>
5198 if ac_fn_c_try_cpp "$LINENO"; then :
5199 # Broken: success on invalid input.
5202 # Passes both tests.
5206 rm -f conftest.err conftest.i conftest.$ac_ext
5209 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5210 rm -f conftest.i conftest.err conftest.$ac_ext
5211 if $ac_preproc_ok; then :
5214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5216 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5217 See \`config.log' for more details" "$LINENO" 5; }
5221 ac_cpp='$CPP $CPPFLAGS'
5222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5228 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5229 if ${ac_cv_path_GREP+:} false; then :
5230 $as_echo_n "(cached) " >&6
5232 if test -z "$GREP"; then
5233 ac_path_GREP_found=false
5234 # Loop through the user's path and test for each of PROGNAME-LIST
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5239 test -z "$as_dir" && as_dir=.
5240 for ac_prog in grep ggrep; do
5241 for ac_exec_ext in '' $ac_executable_extensions; do
5242 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5243 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5244 # Check for GNU ac_path_GREP and select it if it is found.
5245 # Check for GNU $ac_path_GREP
5246 case `"$ac_path_GREP" --version 2>&1` in
5248 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5251 $as_echo_n 0123456789 >"conftest.in"
5254 cat "conftest.in" "conftest.in" >"conftest.tmp"
5255 mv "conftest.tmp" "conftest.in"
5256 cp "conftest.in" "conftest.nl"
5257 $as_echo 'GREP' >> "conftest.nl"
5258 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5259 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5260 as_fn_arith $ac_count + 1 && ac_count=$as_val
5261 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5262 # Best one so far, save it but keep looking for a better one
5263 ac_cv_path_GREP="$ac_path_GREP"
5264 ac_path_GREP_max=$ac_count
5266 # 10*(2^10) chars as input seems more than enough
5267 test $ac_count -gt 10 && break
5269 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5272 $ac_path_GREP_found && break 3
5277 if test -z "$ac_cv_path_GREP"; then
5278 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5281 ac_cv_path_GREP=$GREP
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5286 $as_echo "$ac_cv_path_GREP" >&6; }
5287 GREP="$ac_cv_path_GREP"
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5291 $as_echo_n "checking for egrep... " >&6; }
5292 if ${ac_cv_path_EGREP+:} false; then :
5293 $as_echo_n "(cached) " >&6
5295 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5296 then ac_cv_path_EGREP="$GREP -E"
5298 if test -z "$EGREP"; then
5299 ac_path_EGREP_found=false
5300 # Loop through the user's path and test for each of PROGNAME-LIST
5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5305 test -z "$as_dir" && as_dir=.
5306 for ac_prog in egrep; do
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5309 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5310 # Check for GNU ac_path_EGREP and select it if it is found.
5311 # Check for GNU $ac_path_EGREP
5312 case `"$ac_path_EGREP" --version 2>&1` in
5314 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5317 $as_echo_n 0123456789 >"conftest.in"
5320 cat "conftest.in" "conftest.in" >"conftest.tmp"
5321 mv "conftest.tmp" "conftest.in"
5322 cp "conftest.in" "conftest.nl"
5323 $as_echo 'EGREP' >> "conftest.nl"
5324 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5325 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5326 as_fn_arith $ac_count + 1 && ac_count=$as_val
5327 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5328 # Best one so far, save it but keep looking for a better one
5329 ac_cv_path_EGREP="$ac_path_EGREP"
5330 ac_path_EGREP_max=$ac_count
5332 # 10*(2^10) chars as input seems more than enough
5333 test $ac_count -gt 10 && break
5335 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5338 $ac_path_EGREP_found && break 3
5343 if test -z "$ac_cv_path_EGREP"; then
5344 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5347 ac_cv_path_EGREP=$EGREP
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5353 $as_echo "$ac_cv_path_EGREP" >&6; }
5354 EGREP="$ac_cv_path_EGREP"
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5358 $as_echo_n "checking for ANSI C header files... " >&6; }
5359 if ${ac_cv_header_stdc+:} false; then :
5360 $as_echo_n "(cached) " >&6
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5377 if ac_fn_c_try_compile "$LINENO"; then :
5378 ac_cv_header_stdc=yes
5380 ac_cv_header_stdc=no
5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5384 if test $ac_cv_header_stdc = yes; then
5385 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5392 $EGREP "memchr" >/dev/null 2>&1; then :
5395 ac_cv_header_stdc=no
5401 if test $ac_cv_header_stdc = yes; then
5402 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h. */
5408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5409 $EGREP "free" >/dev/null 2>&1; then :
5412 ac_cv_header_stdc=no
5418 if test $ac_cv_header_stdc = yes; then
5419 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5420 if test "$cross_compiling" = yes; then :
5423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5424 /* end confdefs.h. */
5427 #if ((' ' & 0x0FF) == 0x020)
5428 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5429 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5431 # define ISLOWER(c) \
5432 (('a' <= (c) && (c) <= 'i') \
5433 || ('j' <= (c) && (c) <= 'r') \
5434 || ('s' <= (c) && (c) <= 'z'))
5435 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5438 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5443 for (i = 0; i < 256; i++)
5444 if (XOR (islower (i), ISLOWER (i))
5445 || toupper (i) != TOUPPER (i))
5450 if ac_fn_c_try_run "$LINENO"; then :
5453 ac_cv_header_stdc=no
5455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5456 conftest.$ac_objext conftest.beam conftest.$ac_ext
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5462 $as_echo "$ac_cv_header_stdc" >&6; }
5463 if test $ac_cv_header_stdc = yes; then
5465 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5469 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5470 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5471 inttypes.h stdint.h unistd.h
5473 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5474 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5476 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5477 cat >>confdefs.h <<_ACEOF
5478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5487 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5488 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5495 if test "$MINIX" = yes; then
5497 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5500 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5503 $as_echo "#define _MINIX 1" >>confdefs.h
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5509 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5510 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5511 $as_echo_n "(cached) " >&6
5513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5514 /* end confdefs.h. */
5516 # define __EXTENSIONS__ 1
5517 $ac_includes_default
5526 if ac_fn_c_try_compile "$LINENO"; then :
5527 ac_cv_safe_to_define___extensions__=yes
5529 ac_cv_safe_to_define___extensions__=no
5531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5534 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5535 test $ac_cv_safe_to_define___extensions__ = yes &&
5536 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5538 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5540 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5542 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5544 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5549 ac_cpp='$OBJCPP $CPPFLAGS'
5550 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5551 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5552 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
5553 if test -n "$ac_tool_prefix"; then
5554 for ac_prog in gcc objcc objc cc CC
5556 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5557 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_prog_OBJC+:} false; then :
5561 $as_echo_n "(cached) " >&6
5563 if test -n "$OBJC"; then
5564 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570 test -z "$as_dir" && as_dir=.
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5573 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 OBJC=$ac_cv_prog_OBJC
5584 if test -n "$OBJC"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
5586 $as_echo "$OBJC" >&6; }
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5593 test -n "$OBJC" && break
5596 if test -z "$OBJC"; then
5598 for ac_prog in gcc objcc objc cc CC
5600 # Extract the first word of "$ac_prog", so it can be a program name with args.
5601 set dummy $ac_prog; ac_word=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
5605 $as_echo_n "(cached) " >&6
5607 if test -n "$ac_ct_OBJC"; then
5608 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 test -z "$as_dir" && as_dir=.
5615 for ac_exec_ext in '' $ac_executable_extensions; do
5616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5617 ac_cv_prog_ac_ct_OBJC="$ac_prog"
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5627 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
5628 if test -n "$ac_ct_OBJC"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
5630 $as_echo "$ac_ct_OBJC" >&6; }
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5637 test -n "$ac_ct_OBJC" && break
5640 if test "x$ac_ct_OBJC" = x; then
5643 case $cross_compiling:$ac_tool_warned in
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5647 ac_tool_warned=yes ;;
5653 # Provide some information about the compiler.
5654 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
5657 for ac_option in --version -v -V -qversion; do
5658 { { ac_try="$ac_compiler $ac_option >&5"
5660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5661 *) ac_try_echo=$ac_try;;
5663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5664 $as_echo "$ac_try_echo"; } >&5
5665 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5667 if test -s conftest.err; then
5669 ... rest of stderr output deleted ...
5670 10q' conftest.err >conftest.er1
5671 cat conftest.er1 >&5
5673 rm -f conftest.er1 conftest.err
5674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5675 test $ac_status = 0; }
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
5679 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
5680 if ${ac_cv_objc_compiler_gnu+:} false; then :
5681 $as_echo_n "(cached) " >&6
5683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5684 /* end confdefs.h. */
5697 if ac_fn_objc_try_compile "$LINENO"; then :
5702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5703 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
5707 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
5708 if test $ac_compiler_gnu = yes; then
5713 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
5714 ac_save_OBJCFLAGS=$OBJCFLAGS
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
5716 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
5717 if ${ac_cv_prog_objc_g+:} false; then :
5718 $as_echo_n "(cached) " >&6
5720 ac_save_objc_werror_flag=$ac_objc_werror_flag
5721 ac_objc_werror_flag=yes
5722 ac_cv_prog_objc_g=no
5724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5725 /* end confdefs.h. */
5735 if ac_fn_objc_try_compile "$LINENO"; then :
5736 ac_cv_prog_objc_g=yes
5739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5740 /* end confdefs.h. */
5750 if ac_fn_objc_try_compile "$LINENO"; then :
5753 ac_objc_werror_flag=$ac_save_objc_werror_flag
5755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5756 /* end confdefs.h. */
5766 if ac_fn_objc_try_compile "$LINENO"; then :
5767 ac_cv_prog_objc_g=yes
5769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5774 ac_objc_werror_flag=$ac_save_objc_werror_flag
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
5777 $as_echo "$ac_cv_prog_objc_g" >&6; }
5778 if test "$ac_test_OBJCFLAGS" = set; then
5779 OBJCFLAGS=$ac_save_OBJCFLAGS
5780 elif test $ac_cv_prog_objc_g = yes; then
5781 if test "$GOBJC" = yes; then
5787 if test "$GOBJC" = yes; then
5794 ac_cpp='$CPP $CPPFLAGS'
5795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5799 depcc="$OBJC" am_compiler_list='gcc3 gcc'
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5802 $as_echo_n "checking dependency style of $depcc... " >&6; }
5803 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
5804 $as_echo_n "(cached) " >&6
5806 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5807 # We make a subdir and do the tests there. Otherwise we can end up
5808 # making bogus files that we don't know about and never remove. For
5809 # instance it was reported that on HP-UX the gcc test will end up
5810 # making a dummy file named `D' -- because `-MD' means `put the output
5813 # Copy depcomp to subdir because otherwise we won't find it if we're
5814 # using a relative directory.
5815 cp "$am_depcomp" conftest.dir
5817 # We will build objects and dependencies in a subdirectory because
5818 # it helps to detect inapplicable dependency modes. For instance
5819 # both Tru64's cc and ICC support -MD to output dependencies as a
5820 # side effect of compilation, but ICC will put the dependencies in
5821 # the current directory while Tru64 will put them in the object
5825 am_cv_OBJC_dependencies_compiler_type=none
5826 if test "$am_compiler_list" = ""; then
5827 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5832 for depmode in $am_compiler_list; do
5833 # Setup a source with many dependencies, because some compilers
5834 # like to wrap large dependency lists on column 80 (with \), and
5835 # we should not choose a depcomp mode which is confused by this.
5837 # We need to recreate these files for each test, as the compiler may
5838 # overwrite some of them when testing with obscure command lines.
5839 # This happens at least with the AIX C compiler.
5841 for i in 1 2 3 4 5 6; do
5842 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5843 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5844 # Solaris 8's {/usr,}/bin/sh.
5845 touch sub/conftst$i.h
5847 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5849 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5850 # mode. It turns out that the SunPro C++ compiler does not properly
5851 # handle `-M -o', and we need to detect this. Also, some Intel
5852 # versions had trouble with output in subdirs
5853 am__obj=sub/conftest.${OBJEXT-o}
5854 am__minus_obj="-o $am__obj"
5857 # This depmode causes a compiler race in universal mode.
5858 test "$am__universal" = false || continue
5861 # after this tag, mechanisms are not by side-effect, so they'll
5862 # only be used when explicitly requested
5863 if test "x$enable_dependency_tracking" = xyes; then
5869 msvisualcpp | msvcmsys)
5870 # This compiler won't grok `-c -o', but also, the minuso test has
5871 # not run yet. These depmodes are late enough in the game, and
5872 # so weak that their functioning should not be impacted.
5873 am__obj=conftest.${OBJEXT-o}
5878 if depmode=$depmode \
5879 source=sub/conftest.c object=$am__obj \
5880 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5881 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5882 >/dev/null 2>conftest.err &&
5883 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5884 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5885 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5886 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5887 # icc doesn't choke on unknown options, it will just issue warnings
5888 # or remarks (even with -Werror). So we grep stderr for any message
5889 # that says an option was ignored or not supported.
5890 # When given -MP, icc 7.0 and 7.1 complain thusly:
5891 # icc: Command line warning: ignoring option '-M'; no argument required
5892 # The diagnosis changed in icc 8.0:
5893 # icc: Command line remark: option '-MP' not supported
5894 if (grep 'ignoring option' conftest.err ||
5895 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5896 am_cv_OBJC_dependencies_compiler_type=$depmode
5905 am_cv_OBJC_dependencies_compiler_type=none
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
5910 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
5911 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
5914 test "x$enable_dependency_tracking" != xno \
5915 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
5916 am__fastdepOBJC_TRUE=
5917 am__fastdepOBJC_FALSE='#'
5919 am__fastdepOBJC_TRUE='#'
5920 am__fastdepOBJC_FALSE=
5925 ac_cpp='$CPP $CPPFLAGS'
5926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5929 if test -n "$ac_tool_prefix"; then
5930 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5931 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if ${ac_cv_prog_CC+:} false; then :
5935 $as_echo_n "(cached) " >&6
5937 if test -n "$CC"; then
5938 ac_cv_prog_CC="$CC" # Let the user override the test.
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5947 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 if test -n "$CC"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5960 $as_echo "$CC" >&6; }
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5968 if test -z "$ac_cv_prog_CC"; then
5970 # Extract the first word of "gcc", so it can be a program name with args.
5971 set dummy gcc; ac_word=$2
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973 $as_echo_n "checking for $ac_word... " >&6; }
5974 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5975 $as_echo_n "(cached) " >&6
5977 if test -n "$ac_ct_CC"; then
5978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5987 ac_cv_prog_ac_ct_CC="gcc"
5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5998 if test -n "$ac_ct_CC"; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6000 $as_echo "$ac_ct_CC" >&6; }
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6006 if test "x$ac_ct_CC" = x; then
6009 case $cross_compiling:$ac_tool_warned in
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6013 ac_tool_warned=yes ;;
6021 if test -z "$CC"; then
6022 if test -n "$ac_tool_prefix"; then
6023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6024 set dummy ${ac_tool_prefix}cc; ac_word=$2
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 $as_echo_n "checking for $ac_word... " >&6; }
6027 if ${ac_cv_prog_CC+:} false; then :
6028 $as_echo_n "(cached) " >&6
6030 if test -n "$CC"; then
6031 ac_cv_prog_CC="$CC" # Let the user override the test.
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 test -z "$as_dir" && as_dir=.
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6040 ac_cv_prog_CC="${ac_tool_prefix}cc"
6041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6051 if test -n "$CC"; then
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6053 $as_echo "$CC" >&6; }
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 $as_echo "no" >&6; }
6062 if test -z "$CC"; then
6063 # Extract the first word of "cc", so it can be a program name with args.
6064 set dummy cc; ac_word=$2
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 $as_echo_n "checking for $ac_word... " >&6; }
6067 if ${ac_cv_prog_CC+:} false; then :
6068 $as_echo_n "(cached) " >&6
6070 if test -n "$CC"; then
6071 ac_cv_prog_CC="$CC" # Let the user override the test.
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 test -z "$as_dir" && as_dir=.
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6082 ac_prog_rejected=yes
6086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6093 if test $ac_prog_rejected = yes; then
6094 # We found a bogon in the path, so make sure we never use it.
6095 set dummy $ac_cv_prog_CC
6097 if test $# != 0; then
6098 # We chose a different compiler from the bogus one.
6099 # However, it has the same basename, so the bogon will be chosen
6100 # first if we set CC to just the basename; use the full file name.
6102 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6108 if test -n "$CC"; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6110 $as_echo "$CC" >&6; }
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6113 $as_echo "no" >&6; }
6118 if test -z "$CC"; then
6119 if test -n "$ac_tool_prefix"; then
6120 for ac_prog in cl.exe
6122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if ${ac_cv_prog_CC+:} false; then :
6127 $as_echo_n "(cached) " >&6
6129 if test -n "$CC"; then
6130 ac_cv_prog_CC="$CC" # Let the user override the test.
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6139 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6150 if test -n "$CC"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6152 $as_echo "$CC" >&6; }
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6159 test -n "$CC" && break
6162 if test -z "$CC"; then
6164 for ac_prog in cl.exe
6166 # Extract the first word of "$ac_prog", so it can be a program name with args.
6167 set dummy $ac_prog; ac_word=$2
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169 $as_echo_n "checking for $ac_word... " >&6; }
6170 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6171 $as_echo_n "(cached) " >&6
6173 if test -n "$ac_ct_CC"; then
6174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180 test -z "$as_dir" && as_dir=.
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6183 ac_cv_prog_ac_ct_CC="$ac_prog"
6184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6194 if test -n "$ac_ct_CC"; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6196 $as_echo "$ac_ct_CC" >&6; }
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6203 test -n "$ac_ct_CC" && break
6206 if test "x$ac_ct_CC" = x; then
6209 case $cross_compiling:$ac_tool_warned in
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6213 ac_tool_warned=yes ;;
6222 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6224 as_fn_error $? "no acceptable C compiler found in \$PATH
6225 See \`config.log' for more details" "$LINENO" 5; }
6227 # Provide some information about the compiler.
6228 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6231 for ac_option in --version -v -V -qversion; do
6232 { { ac_try="$ac_compiler $ac_option >&5"
6234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6235 *) ac_try_echo=$ac_try;;
6237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6238 $as_echo "$ac_try_echo"; } >&5
6239 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6241 if test -s conftest.err; then
6243 ... rest of stderr output deleted ...
6244 10q' conftest.err >conftest.er1
6245 cat conftest.er1 >&5
6247 rm -f conftest.er1 conftest.err
6248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6249 test $ac_status = 0; }
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6253 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6254 if ${ac_cv_c_compiler_gnu+:} false; then :
6255 $as_echo_n "(cached) " >&6
6257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6258 /* end confdefs.h. */
6271 if ac_fn_c_try_compile "$LINENO"; then :
6276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6277 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6281 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6282 if test $ac_compiler_gnu = yes; then
6287 ac_test_CFLAGS=${CFLAGS+set}
6288 ac_save_CFLAGS=$CFLAGS
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6290 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6291 if ${ac_cv_prog_cc_g+:} false; then :
6292 $as_echo_n "(cached) " >&6
6294 ac_save_c_werror_flag=$ac_c_werror_flag
6295 ac_c_werror_flag=yes
6298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6309 if ac_fn_c_try_compile "$LINENO"; then :
6313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6324 if ac_fn_c_try_compile "$LINENO"; then :
6327 ac_c_werror_flag=$ac_save_c_werror_flag
6329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6330 /* end confdefs.h. */
6340 if ac_fn_c_try_compile "$LINENO"; then :
6343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6348 ac_c_werror_flag=$ac_save_c_werror_flag
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6351 $as_echo "$ac_cv_prog_cc_g" >&6; }
6352 if test "$ac_test_CFLAGS" = set; then
6353 CFLAGS=$ac_save_CFLAGS
6354 elif test $ac_cv_prog_cc_g = yes; then
6355 if test "$GCC" = yes; then
6361 if test "$GCC" = yes; then
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6368 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6369 if ${ac_cv_prog_cc_c89+:} false; then :
6370 $as_echo_n "(cached) " >&6
6372 ac_cv_prog_cc_c89=no
6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6378 #include <sys/types.h>
6379 #include <sys/stat.h>
6380 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6381 struct buf { int x; };
6382 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6383 static char *e (p, i)
6389 static char *f (char * (*g) (char **, int), char **p, ...)
6394 s = g (p, va_arg (v,int));
6399 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6400 function prototypes and stuff, but not '\xHH' hex character constants.
6401 These don't provoke an error unfortunately, instead are silently treated
6402 as 'x'. The following induces an error, until -std is added to get
6403 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6404 array size at least. It's necessary to write '\x00'==0 to get something
6405 that's true only with -std. */
6406 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6408 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6409 inside strings and character constants. */
6411 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6413 int test (int i, double x);
6414 struct s1 {int (*f) (int a);};
6415 struct s2 {int (*f) (double a);};
6416 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6422 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6427 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6428 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6430 CC="$ac_save_CC $ac_arg"
6431 if ac_fn_c_try_compile "$LINENO"; then :
6432 ac_cv_prog_cc_c89=$ac_arg
6434 rm -f core conftest.err conftest.$ac_objext
6435 test "x$ac_cv_prog_cc_c89" != "xno" && break
6437 rm -f conftest.$ac_ext
6442 case "x$ac_cv_prog_cc_c89" in
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6445 $as_echo "none needed" >&6; } ;;
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6448 $as_echo "unsupported" >&6; } ;;
6450 CC="$CC $ac_cv_prog_cc_c89"
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6452 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6454 if test "x$ac_cv_prog_cc_c89" != xno; then :
6459 ac_cpp='$CPP $CPPFLAGS'
6460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6464 depcc="$CC" am_compiler_list=
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6467 $as_echo_n "checking dependency style of $depcc... " >&6; }
6468 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6469 $as_echo_n "(cached) " >&6
6471 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6472 # We make a subdir and do the tests there. Otherwise we can end up
6473 # making bogus files that we don't know about and never remove. For
6474 # instance it was reported that on HP-UX the gcc test will end up
6475 # making a dummy file named `D' -- because `-MD' means `put the output
6478 # Copy depcomp to subdir because otherwise we won't find it if we're
6479 # using a relative directory.
6480 cp "$am_depcomp" conftest.dir
6482 # We will build objects and dependencies in a subdirectory because
6483 # it helps to detect inapplicable dependency modes. For instance
6484 # both Tru64's cc and ICC support -MD to output dependencies as a
6485 # side effect of compilation, but ICC will put the dependencies in
6486 # the current directory while Tru64 will put them in the object
6490 am_cv_CC_dependencies_compiler_type=none
6491 if test "$am_compiler_list" = ""; then
6492 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6495 case " $depcc " in #(
6496 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6499 for depmode in $am_compiler_list; do
6500 # Setup a source with many dependencies, because some compilers
6501 # like to wrap large dependency lists on column 80 (with \), and
6502 # we should not choose a depcomp mode which is confused by this.
6504 # We need to recreate these files for each test, as the compiler may
6505 # overwrite some of them when testing with obscure command lines.
6506 # This happens at least with the AIX C compiler.
6508 for i in 1 2 3 4 5 6; do
6509 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6510 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6511 # Solaris 8's {/usr,}/bin/sh.
6512 touch sub/conftst$i.h
6514 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6516 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6517 # mode. It turns out that the SunPro C++ compiler does not properly
6518 # handle `-M -o', and we need to detect this. Also, some Intel
6519 # versions had trouble with output in subdirs
6520 am__obj=sub/conftest.${OBJEXT-o}
6521 am__minus_obj="-o $am__obj"
6524 # This depmode causes a compiler race in universal mode.
6525 test "$am__universal" = false || continue
6528 # after this tag, mechanisms are not by side-effect, so they'll
6529 # only be used when explicitly requested
6530 if test "x$enable_dependency_tracking" = xyes; then
6536 msvisualcpp | msvcmsys)
6537 # This compiler won't grok `-c -o', but also, the minuso test has
6538 # not run yet. These depmodes are late enough in the game, and
6539 # so weak that their functioning should not be impacted.
6540 am__obj=conftest.${OBJEXT-o}
6545 if depmode=$depmode \
6546 source=sub/conftest.c object=$am__obj \
6547 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6548 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6549 >/dev/null 2>conftest.err &&
6550 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6551 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6552 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6553 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6554 # icc doesn't choke on unknown options, it will just issue warnings
6555 # or remarks (even with -Werror). So we grep stderr for any message
6556 # that says an option was ignored or not supported.
6557 # When given -MP, icc 7.0 and 7.1 complain thusly:
6558 # icc: Command line warning: ignoring option '-M'; no argument required
6559 # The diagnosis changed in icc 8.0:
6560 # icc: Command line remark: option '-MP' not supported
6561 if (grep 'ignoring option' conftest.err ||
6562 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6563 am_cv_CC_dependencies_compiler_type=$depmode
6572 am_cv_CC_dependencies_compiler_type=none
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6577 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6578 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6581 test "x$enable_dependency_tracking" != xno \
6582 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6584 am__fastdepCC_FALSE='#'
6586 am__fastdepCC_TRUE='#'
6587 am__fastdepCC_FALSE=
6592 ac_cpp='$OBJCPP $CPPFLAGS'
6593 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6594 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6595 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
6596 if test -n "$ac_tool_prefix"; then
6597 for ac_prog in gcc objcc objc cc CC
6599 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6600 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 $as_echo_n "checking for $ac_word... " >&6; }
6603 if ${ac_cv_prog_OBJC+:} false; then :
6604 $as_echo_n "(cached) " >&6
6606 if test -n "$OBJC"; then
6607 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6616 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 OBJC=$ac_cv_prog_OBJC
6627 if test -n "$OBJC"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
6629 $as_echo "$OBJC" >&6; }
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6636 test -n "$OBJC" && break
6639 if test -z "$OBJC"; then
6641 for ac_prog in gcc objcc objc cc CC
6643 # Extract the first word of "$ac_prog", so it can be a program name with args.
6644 set dummy $ac_prog; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
6648 $as_echo_n "(cached) " >&6
6650 if test -n "$ac_ct_OBJC"; then
6651 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 test -z "$as_dir" && as_dir=.
6658 for ac_exec_ext in '' $ac_executable_extensions; do
6659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6660 ac_cv_prog_ac_ct_OBJC="$ac_prog"
6661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
6671 if test -n "$ac_ct_OBJC"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
6673 $as_echo "$ac_ct_OBJC" >&6; }
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6680 test -n "$ac_ct_OBJC" && break
6683 if test "x$ac_ct_OBJC" = x; then
6686 case $cross_compiling:$ac_tool_warned in
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6690 ac_tool_warned=yes ;;
6696 # Provide some information about the compiler.
6697 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
6700 for ac_option in --version -v -V -qversion; do
6701 { { ac_try="$ac_compiler $ac_option >&5"
6703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6704 *) ac_try_echo=$ac_try;;
6706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6707 $as_echo "$ac_try_echo"; } >&5
6708 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6710 if test -s conftest.err; then
6712 ... rest of stderr output deleted ...
6713 10q' conftest.err >conftest.er1
6714 cat conftest.er1 >&5
6716 rm -f conftest.er1 conftest.err
6717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6718 test $ac_status = 0; }
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
6722 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
6723 if ${ac_cv_objc_compiler_gnu+:} false; then :
6724 $as_echo_n "(cached) " >&6
6726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6727 /* end confdefs.h. */
6740 if ac_fn_objc_try_compile "$LINENO"; then :
6745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6746 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
6750 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
6751 if test $ac_compiler_gnu = yes; then
6756 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
6757 ac_save_OBJCFLAGS=$OBJCFLAGS
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
6759 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
6760 if ${ac_cv_prog_objc_g+:} false; then :
6761 $as_echo_n "(cached) " >&6
6763 ac_save_objc_werror_flag=$ac_objc_werror_flag
6764 ac_objc_werror_flag=yes
6765 ac_cv_prog_objc_g=no
6767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6768 /* end confdefs.h. */
6778 if ac_fn_objc_try_compile "$LINENO"; then :
6779 ac_cv_prog_objc_g=yes
6782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6783 /* end confdefs.h. */
6793 if ac_fn_objc_try_compile "$LINENO"; then :
6796 ac_objc_werror_flag=$ac_save_objc_werror_flag
6798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6799 /* end confdefs.h. */
6809 if ac_fn_objc_try_compile "$LINENO"; then :
6810 ac_cv_prog_objc_g=yes
6812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6817 ac_objc_werror_flag=$ac_save_objc_werror_flag
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
6820 $as_echo "$ac_cv_prog_objc_g" >&6; }
6821 if test "$ac_test_OBJCFLAGS" = set; then
6822 OBJCFLAGS=$ac_save_OBJCFLAGS
6823 elif test $ac_cv_prog_objc_g = yes; then
6824 if test "$GOBJC" = yes; then
6830 if test "$GOBJC" = yes; then
6837 ac_cpp='$CPP $CPPFLAGS'
6838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6842 depcc="$OBJC" am_compiler_list='gcc3 gcc'
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6845 $as_echo_n "checking dependency style of $depcc... " >&6; }
6846 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
6847 $as_echo_n "(cached) " >&6
6849 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6850 # We make a subdir and do the tests there. Otherwise we can end up
6851 # making bogus files that we don't know about and never remove. For
6852 # instance it was reported that on HP-UX the gcc test will end up
6853 # making a dummy file named `D' -- because `-MD' means `put the output
6856 # Copy depcomp to subdir because otherwise we won't find it if we're
6857 # using a relative directory.
6858 cp "$am_depcomp" conftest.dir
6860 # We will build objects and dependencies in a subdirectory because
6861 # it helps to detect inapplicable dependency modes. For instance
6862 # both Tru64's cc and ICC support -MD to output dependencies as a
6863 # side effect of compilation, but ICC will put the dependencies in
6864 # the current directory while Tru64 will put them in the object
6868 am_cv_OBJC_dependencies_compiler_type=none
6869 if test "$am_compiler_list" = ""; then
6870 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6875 for depmode in $am_compiler_list; do
6876 # Setup a source with many dependencies, because some compilers
6877 # like to wrap large dependency lists on column 80 (with \), and
6878 # we should not choose a depcomp mode which is confused by this.
6880 # We need to recreate these files for each test, as the compiler may
6881 # overwrite some of them when testing with obscure command lines.
6882 # This happens at least with the AIX C compiler.
6884 for i in 1 2 3 4 5 6; do
6885 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6886 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6887 # Solaris 8's {/usr,}/bin/sh.
6888 touch sub/conftst$i.h
6890 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6892 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6893 # mode. It turns out that the SunPro C++ compiler does not properly
6894 # handle `-M -o', and we need to detect this. Also, some Intel
6895 # versions had trouble with output in subdirs
6896 am__obj=sub/conftest.${OBJEXT-o}
6897 am__minus_obj="-o $am__obj"
6900 # This depmode causes a compiler race in universal mode.
6901 test "$am__universal" = false || continue
6904 # after this tag, mechanisms are not by side-effect, so they'll
6905 # only be used when explicitly requested
6906 if test "x$enable_dependency_tracking" = xyes; then
6912 msvisualcpp | msvcmsys)
6913 # This compiler won't grok `-c -o', but also, the minuso test has
6914 # not run yet. These depmodes are late enough in the game, and
6915 # so weak that their functioning should not be impacted.
6916 am__obj=conftest.${OBJEXT-o}
6921 if depmode=$depmode \
6922 source=sub/conftest.c object=$am__obj \
6923 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6924 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6925 >/dev/null 2>conftest.err &&
6926 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6927 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6928 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6929 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6930 # icc doesn't choke on unknown options, it will just issue warnings
6931 # or remarks (even with -Werror). So we grep stderr for any message
6932 # that says an option was ignored or not supported.
6933 # When given -MP, icc 7.0 and 7.1 complain thusly:
6934 # icc: Command line warning: ignoring option '-M'; no argument required
6935 # The diagnosis changed in icc 8.0:
6936 # icc: Command line remark: option '-MP' not supported
6937 if (grep 'ignoring option' conftest.err ||
6938 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6939 am_cv_OBJC_dependencies_compiler_type=$depmode
6948 am_cv_OBJC_dependencies_compiler_type=none
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
6953 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
6954 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
6957 test "x$enable_dependency_tracking" != xno \
6958 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
6959 am__fastdepOBJC_TRUE=
6960 am__fastdepOBJC_FALSE='#'
6962 am__fastdepOBJC_TRUE='#'
6963 am__fastdepOBJC_FALSE=
6969 if eval "test x`uname` = xDarwin"; then
6970 CFLAGS="$CFLAGS -I/opt/local/include -L/opt/local/lib"
6972 if eval "test x$GCC = xyes"; then
6973 CFLAGS="$CFLAGS -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE"
6975 if test "x$CC" != xcc; then
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
6977 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
6980 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
6982 set dummy $CC; ac_cc=`$as_echo "$2" |
6983 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6984 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
6985 $as_echo_n "(cached) " >&6
6987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6988 /* end confdefs.h. */
6998 # Make sure it works both with $CC and with simple cc.
6999 # We do the test twice because some compilers refuse to overwrite an
7000 # existing .o file with -o, though they will create one.
7001 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
7003 if { { case "(($ac_try" in
7004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7005 *) ac_try_echo=$ac_try;;
7007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7008 $as_echo "$ac_try_echo"; } >&5
7009 (eval "$ac_try") 2>&5
7011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7012 test $ac_status = 0; } &&
7013 test -f conftest2.$ac_objext && { { case "(($ac_try" in
7014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7015 *) ac_try_echo=$ac_try;;
7017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7018 $as_echo "$ac_try_echo"; } >&5
7019 (eval "$ac_try") 2>&5
7021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7022 test $ac_status = 0; };
7024 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
7025 if test "x$CC" != xcc; then
7026 # Test first that cc exists at all.
7027 if { ac_try='cc -c conftest.$ac_ext >&5'
7028 { { case "(($ac_try" in
7029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7030 *) ac_try_echo=$ac_try;;
7032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7033 $as_echo "$ac_try_echo"; } >&5
7034 (eval "$ac_try") 2>&5
7036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7037 test $ac_status = 0; }; }; then
7038 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
7040 if { { case "(($ac_try" in
7041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7042 *) ac_try_echo=$ac_try;;
7044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7045 $as_echo "$ac_try_echo"; } >&5
7046 (eval "$ac_try") 2>&5
7048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7049 test $ac_status = 0; } &&
7050 test -f conftest2.$ac_objext && { { case "(($ac_try" in
7051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7052 *) ac_try_echo=$ac_try;;
7054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7055 $as_echo "$ac_try_echo"; } >&5
7056 (eval "$ac_try") 2>&5
7058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7059 test $ac_status = 0; };
7064 # cc exists but doesn't like -o.
7065 eval ac_cv_prog_cc_${ac_cc}_c_o=no
7070 eval ac_cv_prog_cc_${ac_cc}_c_o=no
7072 rm -f core conftest*
7075 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7077 $as_echo "yes" >&6; }
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7080 $as_echo "no" >&6; }
7082 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
7086 # FIXME: we rely on the cache variable name because
7087 # there is no other way.
7089 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
7090 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
7091 if test "$am_t" != yes; then
7092 # Losing compiler, so override with the script.
7093 # FIXME: It is wrong to rewrite CC.
7094 # But if we don't then we get into trouble of one sort or another.
7095 # A longer-term fix would be to have automake use am__CC in this case,
7096 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
7097 CC="$am_aux_dir/compile $CC"
7103 ac_cpp='$CXXCPP $CPPFLAGS'
7104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7107 if test -z "$CXX"; then
7108 if test -n "$CCC"; then
7111 if test -n "$ac_tool_prefix"; then
7112 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7114 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7115 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117 $as_echo_n "checking for $ac_word... " >&6; }
7118 if ${ac_cv_prog_CXX+:} false; then :
7119 $as_echo_n "(cached) " >&6
7121 if test -n "$CXX"; then
7122 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 test -z "$as_dir" && as_dir=.
7129 for ac_exec_ext in '' $ac_executable_extensions; do
7130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 if test -n "$CXX"; then
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7144 $as_echo "$CXX" >&6; }
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7147 $as_echo "no" >&6; }
7151 test -n "$CXX" && break
7154 if test -z "$CXX"; then
7156 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7158 # Extract the first word of "$ac_prog", so it can be a program name with args.
7159 set dummy $ac_prog; ac_word=$2
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161 $as_echo_n "checking for $ac_word... " >&6; }
7162 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
7163 $as_echo_n "(cached) " >&6
7165 if test -n "$ac_ct_CXX"; then
7166 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172 test -z "$as_dir" && as_dir=.
7173 for ac_exec_ext in '' $ac_executable_extensions; do
7174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7175 ac_cv_prog_ac_ct_CXX="$ac_prog"
7176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7185 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7186 if test -n "$ac_ct_CXX"; then
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7188 $as_echo "$ac_ct_CXX" >&6; }
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7191 $as_echo "no" >&6; }
7195 test -n "$ac_ct_CXX" && break
7198 if test "x$ac_ct_CXX" = x; then
7201 case $cross_compiling:$ac_tool_warned in
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7205 ac_tool_warned=yes ;;
7213 # Provide some information about the compiler.
7214 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7217 for ac_option in --version -v -V -qversion; do
7218 { { ac_try="$ac_compiler $ac_option >&5"
7220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7221 *) ac_try_echo=$ac_try;;
7223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7224 $as_echo "$ac_try_echo"; } >&5
7225 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7227 if test -s conftest.err; then
7229 ... rest of stderr output deleted ...
7230 10q' conftest.err >conftest.er1
7231 cat conftest.er1 >&5
7233 rm -f conftest.er1 conftest.err
7234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7235 test $ac_status = 0; }
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7239 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7240 if ${ac_cv_cxx_compiler_gnu+:} false; then :
7241 $as_echo_n "(cached) " >&6
7243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7244 /* end confdefs.h. */
7257 if ac_fn_cxx_try_compile "$LINENO"; then :
7262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7263 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7267 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7268 if test $ac_compiler_gnu = yes; then
7273 ac_test_CXXFLAGS=${CXXFLAGS+set}
7274 ac_save_CXXFLAGS=$CXXFLAGS
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7276 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7277 if ${ac_cv_prog_cxx_g+:} false; then :
7278 $as_echo_n "(cached) " >&6
7280 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7281 ac_cxx_werror_flag=yes
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285 /* end confdefs.h. */
7295 if ac_fn_cxx_try_compile "$LINENO"; then :
7296 ac_cv_prog_cxx_g=yes
7299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7300 /* end confdefs.h. */
7310 if ac_fn_cxx_try_compile "$LINENO"; then :
7313 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7316 /* end confdefs.h. */
7326 if ac_fn_cxx_try_compile "$LINENO"; then :
7327 ac_cv_prog_cxx_g=yes
7329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7334 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7337 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7338 if test "$ac_test_CXXFLAGS" = set; then
7339 CXXFLAGS=$ac_save_CXXFLAGS
7340 elif test $ac_cv_prog_cxx_g = yes; then
7341 if test "$GXX" = yes; then
7347 if test "$GXX" = yes; then
7354 ac_cpp='$CPP $CPPFLAGS'
7355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7359 depcc="$CXX" am_compiler_list=
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7362 $as_echo_n "checking dependency style of $depcc... " >&6; }
7363 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
7364 $as_echo_n "(cached) " >&6
7366 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7367 # We make a subdir and do the tests there. Otherwise we can end up
7368 # making bogus files that we don't know about and never remove. For
7369 # instance it was reported that on HP-UX the gcc test will end up
7370 # making a dummy file named `D' -- because `-MD' means `put the output
7373 # Copy depcomp to subdir because otherwise we won't find it if we're
7374 # using a relative directory.
7375 cp "$am_depcomp" conftest.dir
7377 # We will build objects and dependencies in a subdirectory because
7378 # it helps to detect inapplicable dependency modes. For instance
7379 # both Tru64's cc and ICC support -MD to output dependencies as a
7380 # side effect of compilation, but ICC will put the dependencies in
7381 # the current directory while Tru64 will put them in the object
7385 am_cv_CXX_dependencies_compiler_type=none
7386 if test "$am_compiler_list" = ""; then
7387 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7390 case " $depcc " in #(
7391 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7394 for depmode in $am_compiler_list; do
7395 # Setup a source with many dependencies, because some compilers
7396 # like to wrap large dependency lists on column 80 (with \), and
7397 # we should not choose a depcomp mode which is confused by this.
7399 # We need to recreate these files for each test, as the compiler may
7400 # overwrite some of them when testing with obscure command lines.
7401 # This happens at least with the AIX C compiler.
7403 for i in 1 2 3 4 5 6; do
7404 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7405 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7406 # Solaris 8's {/usr,}/bin/sh.
7407 touch sub/conftst$i.h
7409 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7411 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7412 # mode. It turns out that the SunPro C++ compiler does not properly
7413 # handle `-M -o', and we need to detect this. Also, some Intel
7414 # versions had trouble with output in subdirs
7415 am__obj=sub/conftest.${OBJEXT-o}
7416 am__minus_obj="-o $am__obj"
7419 # This depmode causes a compiler race in universal mode.
7420 test "$am__universal" = false || continue
7423 # after this tag, mechanisms are not by side-effect, so they'll
7424 # only be used when explicitly requested
7425 if test "x$enable_dependency_tracking" = xyes; then
7431 msvisualcpp | msvcmsys)
7432 # This compiler won't grok `-c -o', but also, the minuso test has
7433 # not run yet. These depmodes are late enough in the game, and
7434 # so weak that their functioning should not be impacted.
7435 am__obj=conftest.${OBJEXT-o}
7440 if depmode=$depmode \
7441 source=sub/conftest.c object=$am__obj \
7442 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7443 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7444 >/dev/null 2>conftest.err &&
7445 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7446 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7447 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7448 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7449 # icc doesn't choke on unknown options, it will just issue warnings
7450 # or remarks (even with -Werror). So we grep stderr for any message
7451 # that says an option was ignored or not supported.
7452 # When given -MP, icc 7.0 and 7.1 complain thusly:
7453 # icc: Command line warning: ignoring option '-M'; no argument required
7454 # The diagnosis changed in icc 8.0:
7455 # icc: Command line remark: option '-MP' not supported
7456 if (grep 'ignoring option' conftest.err ||
7457 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7458 am_cv_CXX_dependencies_compiler_type=$depmode
7467 am_cv_CXX_dependencies_compiler_type=none
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7472 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7473 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7476 test "x$enable_dependency_tracking" != xno \
7477 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7478 am__fastdepCXX_TRUE=
7479 am__fastdepCXX_FALSE='#'
7481 am__fastdepCXX_TRUE='#'
7482 am__fastdepCXX_FALSE=
7486 if eval "test x$GXX = xyes"; then
7487 CXXFLAGS="$CXXFLAGS -Wall -Wcast-align -Wpointer-arith -Wreturn-type -D_GNU_SOURCE"
7496 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7497 if test -n "$ac_tool_prefix"; then
7498 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7499 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7501 $as_echo_n "checking for $ac_word... " >&6; }
7502 if ${ac_cv_path_PKG_CONFIG+:} false; then :
7503 $as_echo_n "(cached) " >&6
7507 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7514 test -z "$as_dir" && as_dir=.
7515 for ac_exec_ext in '' $ac_executable_extensions; do
7516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7517 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7528 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7529 if test -n "$PKG_CONFIG"; then
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7531 $as_echo "$PKG_CONFIG" >&6; }
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7534 $as_echo "no" >&6; }
7539 if test -z "$ac_cv_path_PKG_CONFIG"; then
7540 ac_pt_PKG_CONFIG=$PKG_CONFIG
7541 # Extract the first word of "pkg-config", so it can be a program name with args.
7542 set dummy pkg-config; ac_word=$2
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7544 $as_echo_n "checking for $ac_word... " >&6; }
7545 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
7546 $as_echo_n "(cached) " >&6
7548 case $ac_pt_PKG_CONFIG in
7550 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7557 test -z "$as_dir" && as_dir=.
7558 for ac_exec_ext in '' $ac_executable_extensions; do
7559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7560 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7571 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7572 if test -n "$ac_pt_PKG_CONFIG"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7574 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7580 if test "x$ac_pt_PKG_CONFIG" = x; then
7583 case $cross_compiling:$ac_tool_warned in
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7587 ac_tool_warned=yes ;;
7589 PKG_CONFIG=$ac_pt_PKG_CONFIG
7592 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7596 if test -n "$PKG_CONFIG"; then
7597 _pkg_min_version=0.9.0
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7599 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7600 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7602 $as_echo "yes" >&6; }
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605 $as_echo "no" >&6; }
7609 if test -n "$PKG_CONFIG" && \
7610 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\""; } >&5
7611 ($PKG_CONFIG --exists --print-errors "") 2>&5
7613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7614 test $ac_status = 0; }; then
7617 if test "x${cross_compiling}" = "xyes"; then
7618 samplemap="no";samplemap_reason="not supported for cross compiling"
7619 binding_python="no";binding_python_reason="not supported for cross compiling"
7620 postgresql="no";postgresql_reason="not supported for cross compiling"
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a C compiler for build tools" >&5
7622 $as_echo_n "checking for a C compiler for build tools... " >&6; }
7623 for ac_prog in gcc cc
7625 # Extract the first word of "$ac_prog", so it can be a program name with args.
7626 set dummy $ac_prog; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
7630 $as_echo_n "(cached) " >&6
7632 if test -n "$CC_FOR_BUILD"; then
7633 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7642 ac_cv_prog_CC_FOR_BUILD="$ac_prog"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7652 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
7653 if test -n "$CC_FOR_BUILD"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
7655 $as_echo "$CC_FOR_BUILD" >&6; }
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7662 test -n "$CC_FOR_BUILD" && break
7668 CCLD_FOR_BUILD="$CC_FOR_BUILD"
7670 if test "x${cross_compiling}" = "xyes"; then
7671 CROSS_COMPILING_TRUE=
7672 CROSS_COMPILING_FALSE='#'
7674 CROSS_COMPILING_TRUE='#'
7675 CROSS_COMPILING_FALSE=
7682 # defines WORDS_BIGENDIAN for big-endian systems
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
7684 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
7685 if ${ac_cv_c_bigendian+:} false; then :
7686 $as_echo_n "(cached) " >&6
7688 ac_cv_c_bigendian=unknown
7689 # See if we're dealing with a universal compiler.
7690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h. */
7692 #ifndef __APPLE_CC__
7693 not a universal capable compiler
7698 if ac_fn_c_try_compile "$LINENO"; then :
7700 # Check for potential -arch flags. It is not universal unless
7701 # there are at least two -arch flags with different values.
7704 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
7705 if test -n "$ac_prev"; then
7707 i?86 | x86_64 | ppc | ppc64)
7708 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
7711 ac_cv_c_bigendian=universal
7717 elif test "x$ac_word" = "x-arch"; then
7722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7723 if test $ac_cv_c_bigendian = unknown; then
7724 # See if sys/param.h defines the BYTE_ORDER macro.
7725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7726 /* end confdefs.h. */
7727 #include <sys/types.h>
7728 #include <sys/param.h>
7733 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
7734 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
7743 if ac_fn_c_try_compile "$LINENO"; then :
7744 # It does; now see whether it defined to BIG_ENDIAN or not.
7745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7746 /* end confdefs.h. */
7747 #include <sys/types.h>
7748 #include <sys/param.h>
7753 #if BYTE_ORDER != BIG_ENDIAN
7761 if ac_fn_c_try_compile "$LINENO"; then :
7762 ac_cv_c_bigendian=yes
7764 ac_cv_c_bigendian=no
7766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7770 if test $ac_cv_c_bigendian = unknown; then
7771 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
7772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7773 /* end confdefs.h. */
7779 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
7787 if ac_fn_c_try_compile "$LINENO"; then :
7788 # It does; now see whether it defined to _BIG_ENDIAN or not.
7789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h. */
7804 if ac_fn_c_try_compile "$LINENO"; then :
7805 ac_cv_c_bigendian=yes
7807 ac_cv_c_bigendian=no
7809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7813 if test $ac_cv_c_bigendian = unknown; then
7814 # Compile a test program.
7815 if test "$cross_compiling" = yes; then :
7816 # Try to guess by grepping values from an object file.
7817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7818 /* end confdefs.h. */
7819 short int ascii_mm[] =
7820 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7821 short int ascii_ii[] =
7822 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7823 int use_ascii (int i) {
7824 return ascii_mm[i] + ascii_ii[i];
7826 short int ebcdic_ii[] =
7827 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7828 short int ebcdic_mm[] =
7829 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7830 int use_ebcdic (int i) {
7831 return ebcdic_mm[i] + ebcdic_ii[i];
7838 return use_ascii (foo) == use_ebcdic (foo);
7843 if ac_fn_c_try_compile "$LINENO"; then :
7844 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
7845 ac_cv_c_bigendian=yes
7847 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
7848 if test "$ac_cv_c_bigendian" = unknown; then
7849 ac_cv_c_bigendian=no
7851 # finding both strings is unlikely to happen, but who knows?
7852 ac_cv_c_bigendian=unknown
7856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7859 /* end confdefs.h. */
7860 $ac_includes_default
7865 /* Are we little or big endian? From Harbison&Steele. */
7869 char c[sizeof (long int)];
7872 return u.c[sizeof (long int) - 1] == 1;
7878 if ac_fn_c_try_run "$LINENO"; then :
7879 ac_cv_c_bigendian=no
7881 ac_cv_c_bigendian=yes
7883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7884 conftest.$ac_objext conftest.beam conftest.$ac_ext
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
7890 $as_echo "$ac_cv_c_bigendian" >&6; }
7891 case $ac_cv_c_bigendian in #(
7893 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
7899 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
7903 as_fn_error $? "unknown endianness
7904 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
7908 # Check whether --enable-variant was given.
7909 if test "${enable_variant+set}" = set; then :
7910 enableval=$enable_variant; NAVIT_VARIANT=$enableval
7915 # Check whether --enable-cache-size was given.
7916 if test "${enable_cache_size+set}" = set; then :
7917 enableval=$enable_cache_size;
7918 cat >>confdefs.h <<_ACEOF
7919 #define CACHE_SIZE ${enableval}
7925 # Check whether --enable-avoid-unaligned was given.
7926 if test "${enable_avoid_unaligned+set}" = set; then :
7927 enableval=$enable_avoid_unaligned; AVOID_UNALIGNED=$enableval
7932 test x"${AVOID_UNALIGNED}" = xyes &&
7933 $as_echo "#define AVOID_UNALIGNED /**/" >>confdefs.h
7936 # Check whether --enable-avoid-float was given.
7937 if test "${enable_avoid_float+set}" = set; then :
7938 enableval=$enable_avoid_float; AVOID_FLOAT=$enableval
7943 test x"${AVOID_FLOAT}" = xyes &&
7944 $as_echo "#define AVOID_FLOAT /**/" >>confdefs.h
7947 # Check whether --enable-transformation-roll was given.
7948 if test "${enable_transformation_roll+set}" = set; then :
7949 enableval=$enable_transformation_roll; ENABLE_ROLL=$enableval
7954 test x"${ENABLE_ROLL}" = xyes &&
7955 $as_echo "#define ENABLE_ROLL /**/" >>confdefs.h
7958 # Check whether --enable-hildon was given.
7959 if test "${enable_hildon+set}" = set; then :
7960 enableval=$enable_hildon; enable_hildon=$enableval
7965 if test "x${enable_hildon}" = "xyes" ; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
7969 $as_echo_n "checking for HILDON... " >&6; }
7971 if test -n "$HILDON_CFLAGS"; then
7972 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
7973 elif test -n "$PKG_CONFIG"; then
7974 if test -n "$PKG_CONFIG" && \
7975 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 0.9.9\""; } >&5
7976 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 0.9.9") 2>&5
7978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7979 test $ac_status = 0; }; then
7980 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 0.9.9" 2>/dev/null`
7987 if test -n "$HILDON_LIBS"; then
7988 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
7989 elif test -n "$PKG_CONFIG"; then
7990 if test -n "$PKG_CONFIG" && \
7991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 0.9.9\""; } >&5
7992 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 0.9.9") 2>&5
7994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7995 test $ac_status = 0; }; then
7996 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 0.9.9" 2>/dev/null`
8006 if test $pkg_failed = yes; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8010 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8011 _pkg_short_errors_supported=yes
8013 _pkg_short_errors_supported=no
8015 if test $_pkg_short_errors_supported = yes; then
8016 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "hildon-1 >= 0.9.9" 2>&1`
8018 HILDON_PKG_ERRORS=`$PKG_CONFIG --print-errors "hildon-1 >= 0.9.9" 2>&1`
8020 # Put the nasty error message in config.log where it belongs
8021 echo "$HILDON_PKG_ERRORS" >&5
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8025 $as_echo "no" >&6; }
8028 elif test $pkg_failed = untried; then
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8030 $as_echo "no" >&6; }
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8033 $as_echo "no" >&6; }
8037 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
8038 HILDON_LIBS=$pkg_cv_HILDON_LIBS
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8040 $as_echo "yes" >&6; }
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPSBT" >&5
8046 $as_echo_n "checking for GPSBT... " >&6; }
8048 if test -n "$GPSBT_CFLAGS"; then
8049 pkg_cv_GPSBT_CFLAGS="$GPSBT_CFLAGS"
8050 elif test -n "$PKG_CONFIG"; then
8051 if test -n "$PKG_CONFIG" && \
8052 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpsbt\""; } >&5
8053 ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
8055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8056 test $ac_status = 0; }; then
8057 pkg_cv_GPSBT_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`
8064 if test -n "$GPSBT_LIBS"; then
8065 pkg_cv_GPSBT_LIBS="$GPSBT_LIBS"
8066 elif test -n "$PKG_CONFIG"; then
8067 if test -n "$PKG_CONFIG" && \
8068 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gpsbt\""; } >&5
8069 ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
8071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8072 test $ac_status = 0; }; then
8073 pkg_cv_GPSBT_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`
8083 if test $pkg_failed = yes; then
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8085 $as_echo "no" >&6; }
8087 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8088 _pkg_short_errors_supported=yes
8090 _pkg_short_errors_supported=no
8092 if test $_pkg_short_errors_supported = yes; then
8093 GPSBT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gpsbt" 2>&1`
8095 GPSBT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gpsbt" 2>&1`
8097 # Put the nasty error message in config.log where it belongs
8098 echo "$GPSBT_PKG_ERRORS" >&5
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 $as_echo "no" >&6; }
8104 elif test $pkg_failed = untried; then
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8106 $as_echo "no" >&6; }
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8109 $as_echo "no" >&6; }
8112 GPSBT_CFLAGS=$pkg_cv_GPSBT_CFLAGS
8113 GPSBT_LIBS=$pkg_cv_GPSBT_LIBS
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8115 $as_echo "yes" >&6; }
8118 $as_echo "#define HAVE_GPSBT 1" >>confdefs.h
8124 if test x"${enable_hildon}" = xyes ; then
8126 $as_echo "#define USE_HILDON 1" >>confdefs.h
8132 if test "${enable_hildon}" = "xyes"; then
8134 USE_HILDON_FALSE='#'
8141 # Check whether --enable-osso was given.
8142 if test "${enable_osso+set}" = set; then :
8143 enableval=$enable_osso; enable_osso=$enableval
8148 if test "x${enable_osso}" = "xyes" ; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBOSSO" >&5
8152 $as_echo_n "checking for LIBOSSO... " >&6; }
8154 if test -n "$LIBOSSO_CFLAGS"; then
8155 pkg_cv_LIBOSSO_CFLAGS="$LIBOSSO_CFLAGS"
8156 elif test -n "$PKG_CONFIG"; then
8157 if test -n "$PKG_CONFIG" && \
8158 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libosso\""; } >&5
8159 ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
8161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8162 test $ac_status = 0; }; then
8163 pkg_cv_LIBOSSO_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`
8170 if test -n "$LIBOSSO_LIBS"; then
8171 pkg_cv_LIBOSSO_LIBS="$LIBOSSO_LIBS"
8172 elif test -n "$PKG_CONFIG"; then
8173 if test -n "$PKG_CONFIG" && \
8174 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libosso\""; } >&5
8175 ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
8177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8178 test $ac_status = 0; }; then
8179 pkg_cv_LIBOSSO_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`
8189 if test $pkg_failed = yes; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8191 $as_echo "no" >&6; }
8193 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8194 _pkg_short_errors_supported=yes
8196 _pkg_short_errors_supported=no
8198 if test $_pkg_short_errors_supported = yes; then
8199 LIBOSSO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libosso" 2>&1`
8201 LIBOSSO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libosso" 2>&1`
8203 # Put the nasty error message in config.log where it belongs
8204 echo "$LIBOSSO_PKG_ERRORS" >&5
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8208 $as_echo "no" >&6; }
8211 elif test $pkg_failed = untried; then
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8213 $as_echo "no" >&6; }
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8216 $as_echo "no" >&6; }
8220 LIBOSSO_CFLAGS=$pkg_cv_LIBOSSO_CFLAGS
8221 LIBOSSO_LIBS=$pkg_cv_LIBOSSO_LIBS
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8223 $as_echo "yes" >&6; }
8226 if test x"${enable_osso}" = xyes ; then
8228 $as_echo "#define USE_OSSO 1" >>confdefs.h
8235 if test "x${enable_osso}" = "xyes"; then
8244 # Check whether --enable-garmin was given.
8245 if test "${enable_garmin+set}" = set; then :
8246 enableval=$enable_garmin; USE_GARMIN=$enableval
8253 # Extract the first word of "bzcat", so it can be a program name with args.
8254 set dummy bzcat; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256 $as_echo_n "checking for $ac_word... " >&6; }
8257 if ${ac_cv_path__PATH_BZCAT+:} false; then :
8258 $as_echo_n "(cached) " >&6
8260 case $_PATH_BZCAT in
8262 ac_cv_path__PATH_BZCAT="$_PATH_BZCAT" # Let the user override the test with a path.
8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8269 test -z "$as_dir" && as_dir=.
8270 for ac_exec_ext in '' $ac_executable_extensions; do
8271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8272 ac_cv_path__PATH_BZCAT="$as_dir/$ac_word$ac_exec_ext"
8273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8283 _PATH_BZCAT=$ac_cv_path__PATH_BZCAT
8284 if test -n "$_PATH_BZCAT"; then
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_PATH_BZCAT" >&5
8286 $as_echo "$_PATH_BZCAT" >&6; }
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8289 $as_echo "no" >&6; }
8293 if test "x${_PATH_BZCAT}" = "x" ; then
8294 samplemap=no; samplemap_reason="bzcat missing"
8296 # Check whether --enable-maptool was given.
8297 if test "${enable_maptool+set}" = set; then :
8298 enableval=$enable_maptool; maptool=$enableval;maptool_reason="configure parameter"
8301 if test "x$maptool" = "xyes"; then
8309 if test "x$maptool" != "xyes"; then
8310 samplemap=no; samplemap_reason="maptool disabled"
8312 # Check whether --enable-samplemap was given.
8313 if test "${enable_samplemap+set}" = set; then :
8314 enableval=$enable_samplemap; samplemap=$enableval;samplemap_reason="configure parameter"
8317 if test "x$samplemap" = "xyes"; then
8318 BUILD_SAMPLEMAP_TRUE=
8319 BUILD_SAMPLEMAP_FALSE='#'
8321 BUILD_SAMPLEMAP_TRUE='#'
8322 BUILD_SAMPLEMAP_FALSE=
8326 # Check whether --enable-fastmath was given.
8327 if test "${enable_fastmath+set}" = set; then :
8328 enableval=$enable_fastmath; fastmath=$enableval
8333 if test "x$fastmath" = "xyes"; then
8342 if test x"$fastmath" = xyes; then
8343 if eval "test x$GCC = xyes"; then
8344 CFLAGS="$CFLAGS -ffast-math"
8348 X_CFLAGS="-I$x_includes"
8349 if test -n "$ac_x_libraries"; then :
8350 X_LIBS="-L$ac_x_libraries"
8354 # Check whether --enable-glib was given.
8355 if test "${enable_glib+set}" = set; then :
8356 enableval=$enable_glib; glib=$enableval
8361 if test "x${glib}" = "xyes" -a "x${GLIB_CFLAGS}" = "x" -a "x${GLIB_LIBS}" = "x"; then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
8365 $as_echo_n "checking for GLIB... " >&6; }
8367 if test -n "$GLIB_CFLAGS"; then
8368 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
8369 elif test -n "$PKG_CONFIG"; then
8370 if test -n "$PKG_CONFIG" && \
8371 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gthread-2.0\""; } >&5
8372 ($PKG_CONFIG --exists --print-errors "glib-2.0 gthread-2.0") 2>&5
8374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8375 test $ac_status = 0; }; then
8376 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gthread-2.0" 2>/dev/null`
8383 if test -n "$GLIB_LIBS"; then
8384 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
8385 elif test -n "$PKG_CONFIG"; then
8386 if test -n "$PKG_CONFIG" && \
8387 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gthread-2.0\""; } >&5
8388 ($PKG_CONFIG --exists --print-errors "glib-2.0 gthread-2.0") 2>&5
8390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8391 test $ac_status = 0; }; then
8392 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 gthread-2.0" 2>/dev/null`
8402 if test $pkg_failed = yes; then
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8404 $as_echo "no" >&6; }
8406 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8407 _pkg_short_errors_supported=yes
8409 _pkg_short_errors_supported=no
8411 if test $_pkg_short_errors_supported = yes; then
8412 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 gthread-2.0" 2>&1`
8414 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 gthread-2.0" 2>&1`
8416 # Put the nasty error message in config.log where it belongs
8417 echo "$GLIB_PKG_ERRORS" >&5
8420 elif test $pkg_failed = untried; then
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8422 $as_echo "no" >&6; }
8425 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
8426 GLIB_LIBS=$pkg_cv_GLIB_LIBS
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8428 $as_echo "yes" >&6; }
8432 if test "x${glib}" = "xyes"; then
8434 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
8437 GLIB_CFLAGS="-I\$(top_srcdir)/navit/support -I\$(top_srcdir)/navit/support/glib -I\$(top_srcdir)/navit/support/ezxml"
8438 GLIB_LIBS="-L\$(top_builddir)/navit/support/glib -lsupport_glib -L\$(top_builddir)/navit/support/ezxml -lsupport_ezxml"
8439 if test "x${win32}" != "xyes" -a "x${android}" != "xyes"; then
8440 GLIB_LIBS="$GLIB_LIBS -lpthread"
8445 # Check whether --enable-gmodule was given.
8446 if test "${enable_gmodule+set}" = set; then :
8447 enableval=$enable_gmodule; gmodule=$enableval
8452 if test x"${gmodule}" = "xyes"; then
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
8456 $as_echo_n "checking for GMODULE... " >&6; }
8458 if test -n "$GMODULE_CFLAGS"; then
8459 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
8460 elif test -n "$PKG_CONFIG"; then
8461 if test -n "$PKG_CONFIG" && \
8462 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
8463 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
8465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8466 test $ac_status = 0; }; then
8467 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
8474 if test -n "$GMODULE_LIBS"; then
8475 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
8476 elif test -n "$PKG_CONFIG"; then
8477 if test -n "$PKG_CONFIG" && \
8478 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
8479 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
8481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8482 test $ac_status = 0; }; then
8483 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
8493 if test $pkg_failed = yes; then
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8495 $as_echo "no" >&6; }
8497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8498 _pkg_short_errors_supported=yes
8500 _pkg_short_errors_supported=no
8502 if test $_pkg_short_errors_supported = yes; then
8503 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gmodule-2.0" 2>&1`
8505 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gmodule-2.0" 2>&1`
8507 # Put the nasty error message in config.log where it belongs
8508 echo "$GMODULE_PKG_ERRORS" >&5
8511 elif test $pkg_failed = untried; then
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8513 $as_echo "no" >&6; }
8516 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
8517 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8519 $as_echo "yes" >&6; }
8523 if test "x${gmodule}" = "xyes"; then
8525 $as_echo "#define HAVE_GMODULE 1" >>confdefs.h
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
8529 $as_echo_n "checking for dlopen in -ldl... " >&6; }
8530 if ${ac_cv_lib_dl_dlopen+:} false; then :
8531 $as_echo_n "(cached) " >&6
8533 ac_check_lib_save_LIBS=$LIBS
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8538 /* Override any GCC internal prototype to avoid an error.
8539 Use char because int might match the return type of a GCC
8540 builtin and then its argument prototype would still apply. */
8553 if ac_fn_c_try_link "$LINENO"; then :
8554 ac_cv_lib_dl_dlopen=yes
8556 ac_cv_lib_dl_dlopen=no
8558 rm -f core conftest.err conftest.$ac_objext \
8559 conftest$ac_exeext conftest.$ac_ext
8560 LIBS=$ac_check_lib_save_LIBS
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
8563 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
8564 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
8565 plugins_reason="default, via dlopen";GMODULE_LIBS="-ldl";
8566 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
8569 plugins="no"; plugins_reason="package gmodule and dlopen missing"
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_encrypt in -lcrypto" >&5
8577 $as_echo_n "checking for AES_encrypt in -lcrypto... " >&6; }
8578 if ${ac_cv_lib_crypto_AES_encrypt+:} false; then :
8579 $as_echo_n "(cached) " >&6
8581 ac_check_lib_save_LIBS=$LIBS
8582 LIBS="-lcrypto $LIBS"
8583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8584 /* end confdefs.h. */
8586 /* Override any GCC internal prototype to avoid an error.
8587 Use char because int might match the return type of a GCC
8588 builtin and then its argument prototype would still apply. */
8592 char AES_encrypt ();
8596 return AES_encrypt ();
8601 if ac_fn_c_try_link "$LINENO"; then :
8602 ac_cv_lib_crypto_AES_encrypt=yes
8604 ac_cv_lib_crypto_AES_encrypt=no
8606 rm -f core conftest.err conftest.$ac_objext \
8607 conftest$ac_exeext conftest.$ac_ext
8608 LIBS=$ac_check_lib_save_LIBS
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_encrypt" >&5
8611 $as_echo "$ac_cv_lib_crypto_AES_encrypt" >&6; }
8612 if test "x$ac_cv_lib_crypto_AES_encrypt" = xyes; then :
8613 CRYPTO_LIBS="-lcrypto";
8614 $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
8621 # Check whether --enable-plugins was given.
8622 if test "${enable_plugins+set}" = set; then :
8623 enableval=$enable_plugins; plugins=$enableval;plugin_reason="configure parameter"
8626 # Check whether --enable-shared-libnavit was given.
8627 if test "${enable_shared_libnavit+set}" = set; then :
8628 enableval=$enable_shared_libnavit; shared_libnavit=$enableval
8631 if test "x${plugins}" = "xyes"; then
8632 # Check whether --enable-shared was given.
8633 if test "${enable_shared+set}" = set; then :
8634 enableval=$enable_shared; p=${PACKAGE-default}
8636 yes) enable_shared=yes ;;
8637 no) enable_shared=no ;;
8640 # Look at the argument we got. We use all the common list separators.
8641 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8642 for pkg in $enableval; do
8644 if test "X$pkg" = "X$p"; then
8663 # Check whether --enable-static was given.
8664 if test "${enable_static+set}" = set; then :
8665 enableval=$enable_static; p=${PACKAGE-default}
8667 yes) enable_static=yes ;;
8668 no) enable_static=no ;;
8671 # Look at the argument we got. We use all the common list separators.
8672 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8673 for pkg in $enableval; do
8675 if test "X$pkg" = "X$p"; then
8695 $as_echo "#define USE_PLUGINS /**/" >>confdefs.h
8697 if test "x${win32}" = "xyes"; then
8699 NAVIT_MODULE_LDFLAGS="-no-undefined -L\$(top_builddir)/navit -l$LIBNAVIT -L\$(top_builddir)/intl -lintl"
8702 if test "x${shared_libnavit}" = "xyes"; then
8703 # Check whether --enable-shared was given.
8704 if test "${enable_shared+set}" = set; then :
8705 enableval=$enable_shared; p=${PACKAGE-default}
8707 yes) enable_shared=yes ;;
8708 no) enable_shared=no ;;
8711 # Look at the argument we got. We use all the common list separators.
8712 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8713 for pkg in $enableval; do
8715 if test "X$pkg" = "X$p"; then
8731 # Check whether --enable-static was given.
8732 if test "${enable_static+set}" = set; then :
8733 enableval=$enable_static; p=${PACKAGE-default}
8735 yes) enable_static=yes ;;
8736 no) enable_static=no ;;
8739 # Look at the argument we got. We use all the common list separators.
8740 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8741 for pkg in $enableval; do
8743 if test "X$pkg" = "X$p"; then
8760 # Check whether --enable-shared was given.
8761 if test "${enable_shared+set}" = set; then :
8762 enableval=$enable_shared; p=${PACKAGE-default}
8764 yes) enable_shared=yes ;;
8765 no) enable_shared=no ;;
8768 # Look at the argument we got. We use all the common list separators.
8769 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8770 for pkg in $enableval; do
8772 if test "X$pkg" = "X$p"; then
8788 # Check whether --enable-static was given.
8789 if test "${enable_static+set}" = set; then :
8790 enableval=$enable_static; p=${PACKAGE-default}
8792 yes) enable_static=yes ;;
8793 no) enable_static=no ;;
8796 # Look at the argument we got. We use all the common list separators.
8797 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8798 for pkg in $enableval; do
8800 if test "X$pkg" = "X$p"; then
8818 if test "x$plugins" = "xyes"; then
8826 if test "x$shared_libnavit" = "xyes"; then
8827 SHARED_LIBNAVIT_TRUE=
8828 SHARED_LIBNAVIT_FALSE='#'
8830 SHARED_LIBNAVIT_TRUE='#'
8831 SHARED_LIBNAVIT_FALSE=
8834 if test "x$bin_navit" = "xyes"; then
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
8845 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
8850 macro_version='2.2.6b'
8851 macro_revision='1.3018'
8865 ltmain="$ac_aux_dir/ltmain.sh"
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8868 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
8869 if ${ac_cv_path_SED+:} false; then :
8870 $as_echo_n "(cached) " >&6
8872 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
8873 for ac_i in 1 2 3 4 5 6 7; do
8874 ac_script="$ac_script$as_nl$ac_script"
8876 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
8877 { ac_script=; unset ac_script;}
8878 if test -z "$SED"; then
8879 ac_path_SED_found=false
8880 # Loop through the user's path and test for each of PROGNAME-LIST
8881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8885 test -z "$as_dir" && as_dir=.
8886 for ac_prog in sed gsed; do
8887 for ac_exec_ext in '' $ac_executable_extensions; do
8888 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
8889 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
8890 # Check for GNU ac_path_SED and select it if it is found.
8891 # Check for GNU $ac_path_SED
8892 case `"$ac_path_SED" --version 2>&1` in
8894 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
8897 $as_echo_n 0123456789 >"conftest.in"
8900 cat "conftest.in" "conftest.in" >"conftest.tmp"
8901 mv "conftest.tmp" "conftest.in"
8902 cp "conftest.in" "conftest.nl"
8903 $as_echo '' >> "conftest.nl"
8904 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
8905 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8906 as_fn_arith $ac_count + 1 && ac_count=$as_val
8907 if test $ac_count -gt ${ac_path_SED_max-0}; then
8908 # Best one so far, save it but keep looking for a better one
8909 ac_cv_path_SED="$ac_path_SED"
8910 ac_path_SED_max=$ac_count
8912 # 10*(2^10) chars as input seems more than enough
8913 test $ac_count -gt 10 && break
8915 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8918 $ac_path_SED_found && break 3
8923 if test -z "$ac_cv_path_SED"; then
8924 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8932 $as_echo "$ac_cv_path_SED" >&6; }
8933 SED="$ac_cv_path_SED"
8936 test -z "$SED" && SED=sed
8937 Xsed="$SED -e 1s/^X//"
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8950 $as_echo_n "checking for fgrep... " >&6; }
8951 if ${ac_cv_path_FGREP+:} false; then :
8952 $as_echo_n "(cached) " >&6
8954 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
8955 then ac_cv_path_FGREP="$GREP -F"
8957 if test -z "$FGREP"; then
8958 ac_path_FGREP_found=false
8959 # Loop through the user's path and test for each of PROGNAME-LIST
8960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8961 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8964 test -z "$as_dir" && as_dir=.
8965 for ac_prog in fgrep; do
8966 for ac_exec_ext in '' $ac_executable_extensions; do
8967 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
8968 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
8969 # Check for GNU ac_path_FGREP and select it if it is found.
8970 # Check for GNU $ac_path_FGREP
8971 case `"$ac_path_FGREP" --version 2>&1` in
8973 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
8976 $as_echo_n 0123456789 >"conftest.in"
8979 cat "conftest.in" "conftest.in" >"conftest.tmp"
8980 mv "conftest.tmp" "conftest.in"
8981 cp "conftest.in" "conftest.nl"
8982 $as_echo 'FGREP' >> "conftest.nl"
8983 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
8984 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8985 as_fn_arith $ac_count + 1 && ac_count=$as_val
8986 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8987 # Best one so far, save it but keep looking for a better one
8988 ac_cv_path_FGREP="$ac_path_FGREP"
8989 ac_path_FGREP_max=$ac_count
8991 # 10*(2^10) chars as input seems more than enough
8992 test $ac_count -gt 10 && break
8994 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8997 $ac_path_FGREP_found && break 3
9002 if test -z "$ac_cv_path_FGREP"; then
9003 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
9006 ac_cv_path_FGREP=$FGREP
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
9012 $as_echo "$ac_cv_path_FGREP" >&6; }
9013 FGREP="$ac_cv_path_FGREP"
9016 test -z "$GREP" && GREP=grep
9036 # Check whether --with-gnu-ld was given.
9037 if test "${with_gnu_ld+set}" = set; then :
9038 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9044 if test "$GCC" = yes; then
9045 # Check if gcc -print-prog-name=ld gives a path.
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
9047 $as_echo_n "checking for ld used by $CC... " >&6; }
9050 # gcc leaves a trailing carriage return which upsets mingw
9051 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9053 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9056 # Accept absolute paths.
9058 re_direlt='/[^/][^/]*/\.\./'
9059 # Canonicalize the pathname of ld
9060 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
9061 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
9062 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
9064 test -z "$LD" && LD="$ac_prog"
9067 # If it fails, then pretend we aren't using GCC.
9071 # If it is relative, then search for the first ld in PATH.
9075 elif test "$with_gnu_ld" = yes; then
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
9077 $as_echo_n "checking for GNU ld... " >&6; }
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
9080 $as_echo_n "checking for non-GNU ld... " >&6; }
9082 if ${lt_cv_path_LD+:} false; then :
9083 $as_echo_n "(cached) " >&6
9085 if test -z "$LD"; then
9086 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9087 for ac_dir in $PATH; do
9089 test -z "$ac_dir" && ac_dir=.
9090 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9091 lt_cv_path_LD="$ac_dir/$ac_prog"
9092 # Check to see if the program is GNU ld. I'd rather use --version,
9093 # but apparently some variants of GNU ld only accept -v.
9094 # Break only if it was the GNU/non-GNU ld that we prefer.
9095 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9096 *GNU* | *'with BFD'*)
9097 test "$with_gnu_ld" != no && break
9100 test "$with_gnu_ld" != yes && break
9107 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9112 if test -n "$LD"; then
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
9114 $as_echo "$LD" >&6; }
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9117 $as_echo "no" >&6; }
9119 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
9121 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
9122 if ${lt_cv_prog_gnu_ld+:} false; then :
9123 $as_echo_n "(cached) " >&6
9125 # I'd rather use --version here, but apparently some GNU lds only accept -v.
9126 case `$LD -v 2>&1 </dev/null` in
9127 *GNU* | *'with BFD'*)
9128 lt_cv_prog_gnu_ld=yes
9131 lt_cv_prog_gnu_ld=no
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
9136 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
9137 with_gnu_ld=$lt_cv_prog_gnu_ld
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
9148 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
9149 if ${lt_cv_path_NM+:} false; then :
9150 $as_echo_n "(cached) " >&6
9152 if test -n "$NM"; then
9153 # Let the user override the test.
9156 lt_nm_to_check="${ac_tool_prefix}nm"
9157 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
9158 lt_nm_to_check="$lt_nm_to_check nm"
9160 for lt_tmp_nm in $lt_nm_to_check; do
9161 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9162 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
9164 test -z "$ac_dir" && ac_dir=.
9165 tmp_nm="$ac_dir/$lt_tmp_nm"
9166 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
9167 # Check to see if the nm accepts a BSD-compat flag.
9168 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
9169 # nm: unknown option "B" ignored
9170 # Tru64's nm complains that /dev/null is an invalid object file
9171 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
9172 */dev/null* | *'Invalid file or object type'*)
9173 lt_cv_path_NM="$tmp_nm -B"
9177 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
9179 lt_cv_path_NM="$tmp_nm -p"
9183 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
9184 continue # so that we can try to find one that supports BSD flags
9193 : ${lt_cv_path_NM=no}
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
9197 $as_echo "$lt_cv_path_NM" >&6; }
9198 if test "$lt_cv_path_NM" != "no"; then
9201 # Didn't find any BSD compatible name lister, look for dumpbin.
9202 if test -n "$ac_tool_prefix"; then
9203 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
9205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9206 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9208 $as_echo_n "checking for $ac_word... " >&6; }
9209 if ${ac_cv_prog_DUMPBIN+:} false; then :
9210 $as_echo_n "(cached) " >&6
9212 if test -n "$DUMPBIN"; then
9213 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
9215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9219 test -z "$as_dir" && as_dir=.
9220 for ac_exec_ext in '' $ac_executable_extensions; do
9221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9222 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
9223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9232 DUMPBIN=$ac_cv_prog_DUMPBIN
9233 if test -n "$DUMPBIN"; then
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
9235 $as_echo "$DUMPBIN" >&6; }
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9238 $as_echo "no" >&6; }
9242 test -n "$DUMPBIN" && break
9245 if test -z "$DUMPBIN"; then
9246 ac_ct_DUMPBIN=$DUMPBIN
9247 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
9249 # Extract the first word of "$ac_prog", so it can be a program name with args.
9250 set dummy $ac_prog; ac_word=$2
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9252 $as_echo_n "checking for $ac_word... " >&6; }
9253 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
9254 $as_echo_n "(cached) " >&6
9256 if test -n "$ac_ct_DUMPBIN"; then
9257 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
9259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9263 test -z "$as_dir" && as_dir=.
9264 for ac_exec_ext in '' $ac_executable_extensions; do
9265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9266 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
9267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9276 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
9277 if test -n "$ac_ct_DUMPBIN"; then
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
9279 $as_echo "$ac_ct_DUMPBIN" >&6; }
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9282 $as_echo "no" >&6; }
9286 test -n "$ac_ct_DUMPBIN" && break
9289 if test "x$ac_ct_DUMPBIN" = x; then
9292 case $cross_compiling:$ac_tool_warned in
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9296 ac_tool_warned=yes ;;
9298 DUMPBIN=$ac_ct_DUMPBIN
9303 if test "$DUMPBIN" != ":"; then
9307 test -z "$NM" && NM=nm
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
9315 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
9316 if ${lt_cv_nm_interface+:} false; then :
9317 $as_echo_n "(cached) " >&6
9319 lt_cv_nm_interface="BSD nm"
9320 echo "int some_variable = 0;" > conftest.$ac_ext
9321 (eval echo "\"\$as_me:9321: $ac_compile\"" >&5)
9322 (eval "$ac_compile" 2>conftest.err)
9323 cat conftest.err >&5
9324 (eval echo "\"\$as_me:9324: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
9325 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
9326 cat conftest.err >&5
9327 (eval echo "\"\$as_me:9327: output\"" >&5)
9328 cat conftest.out >&5
9329 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
9330 lt_cv_nm_interface="MS dumpbin"
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
9335 $as_echo "$lt_cv_nm_interface" >&6; }
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
9338 $as_echo_n "checking whether ln -s works... " >&6; }
9340 if test "$LN_S" = "ln -s"; then
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9342 $as_echo "yes" >&6; }
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
9345 $as_echo "no, using $LN_S" >&6; }
9348 # find the maximum length of command line arguments
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
9350 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
9351 if ${lt_cv_sys_max_cmd_len+:} false; then :
9352 $as_echo_n "(cached) " >&6
9359 # On DJGPP, this test can blow up pretty badly due to problems in libc
9360 # (any single argument exceeding 2000 bytes causes a buffer overrun
9361 # during glob expansion). Even if it were fixed, the result of this
9362 # check would be larger than it should be.
9363 lt_cv_sys_max_cmd_len=12288; # 12K is about right
9367 # Under GNU Hurd, this test is not required because there is
9368 # no limit to the length of command line arguments.
9369 # Libtool will interpret -1 as no limit whatsoever
9370 lt_cv_sys_max_cmd_len=-1;
9373 cygwin* | mingw* | cegcc*)
9374 # On Win9x/ME, this test blows up -- it succeeds, but takes
9375 # about 5 minutes as the teststring grows exponentially.
9376 # Worse, since 9x/ME are not pre-emptively multitasking,
9377 # you end up with a "frozen" computer, even though with patience
9378 # the test eventually succeeds (with a max line length of 256k).
9379 # Instead, let's just punt: use the minimum linelength reported by
9380 # all of the supported platforms: 8192 (on NT/2K/XP).
9381 lt_cv_sys_max_cmd_len=8192;
9385 # On AmigaOS with pdksh, this test takes hours, literally.
9386 # So we just punt and use a minimum line length of 8192.
9387 lt_cv_sys_max_cmd_len=8192;
9390 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
9391 # This has been around since 386BSD, at least. Likely further.
9392 if test -x /sbin/sysctl; then
9393 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
9394 elif test -x /usr/sbin/sysctl; then
9395 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
9397 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
9399 # And add a safety zone
9400 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9401 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9405 # We know the value 262144 and hardcode it with a safety zone (like BSD)
9406 lt_cv_sys_max_cmd_len=196608
9410 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
9411 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
9412 # nice to cause kernel panics so lets avoid the loop below.
9413 # First set a reasonable default.
9414 lt_cv_sys_max_cmd_len=16384
9416 if test -x /sbin/sysconfig; then
9417 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9418 *1*) lt_cv_sys_max_cmd_len=-1 ;;
9423 lt_cv_sys_max_cmd_len=102400
9425 sysv5* | sco5v6* | sysv4.2uw2*)
9426 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
9427 if test -n "$kargmax"; then
9428 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
9430 lt_cv_sys_max_cmd_len=32768
9434 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
9435 if test -n "$lt_cv_sys_max_cmd_len"; then
9436 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9437 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9439 # Make teststring a little bigger before we do anything with it.
9440 # a 1K string should be a reasonable start.
9441 for i in 1 2 3 4 5 6 7 8 ; do
9442 teststring=$teststring$teststring
9444 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
9445 # If test is not a shell built-in, we'll probably end up computing a
9446 # maximum length that is only half of the actual maximum length, but
9448 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
9449 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
9450 test $i != 17 # 1/2 MB should be enough
9453 teststring=$teststring$teststring
9455 # Only check the string length outside the loop.
9456 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
9458 # Add a significant safety factor because C++ compilers can tack on
9459 # massive amounts of additional arguments before passing them to the
9460 # linker. It appears as though 1/2 is a usable value.
9461 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9468 if test -n $lt_cv_sys_max_cmd_len ; then
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
9470 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
9473 $as_echo "none" >&6; }
9475 max_cmd_len=$lt_cv_sys_max_cmd_len
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
9487 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
9488 # Try some XSI features
9491 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
9493 && eval 'test $(( 1 + 1 )) -eq 2 \
9494 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
9497 $as_echo "$xsi_shell" >&6; }
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
9501 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
9503 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
9505 && lt_shell_append=yes
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
9507 $as_echo "$lt_shell_append" >&6; }
9510 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9520 # test EBCDIC or ASCII
9521 case `echo X|tr X '\101'` in
9522 A) # ASCII based system
9523 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
9524 lt_SP2NL='tr \040 \012'
9525 lt_NL2SP='tr \015\012 \040\040'
9527 *) # EBCDIC based system
9528 lt_SP2NL='tr \100 \n'
9529 lt_NL2SP='tr \r\n \100\100'
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
9542 $as_echo_n "checking for $LD option to reload object files... " >&6; }
9543 if ${lt_cv_ld_reload_flag+:} false; then :
9544 $as_echo_n "(cached) " >&6
9546 lt_cv_ld_reload_flag='-r'
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
9549 $as_echo "$lt_cv_ld_reload_flag" >&6; }
9550 reload_flag=$lt_cv_ld_reload_flag
9551 case $reload_flag in
9553 *) reload_flag=" $reload_flag" ;;
9555 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9558 if test "$GCC" = yes; then
9559 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
9561 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9574 if test -n "$ac_tool_prefix"; then
9575 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9576 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9578 $as_echo_n "checking for $ac_word... " >&6; }
9579 if ${ac_cv_prog_OBJDUMP+:} false; then :
9580 $as_echo_n "(cached) " >&6
9582 if test -n "$OBJDUMP"; then
9583 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9589 test -z "$as_dir" && as_dir=.
9590 for ac_exec_ext in '' $ac_executable_extensions; do
9591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9592 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9602 OBJDUMP=$ac_cv_prog_OBJDUMP
9603 if test -n "$OBJDUMP"; then
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9605 $as_echo "$OBJDUMP" >&6; }
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9608 $as_echo "no" >&6; }
9613 if test -z "$ac_cv_prog_OBJDUMP"; then
9614 ac_ct_OBJDUMP=$OBJDUMP
9615 # Extract the first word of "objdump", so it can be a program name with args.
9616 set dummy objdump; ac_word=$2
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9618 $as_echo_n "checking for $ac_word... " >&6; }
9619 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9620 $as_echo_n "(cached) " >&6
9622 if test -n "$ac_ct_OBJDUMP"; then
9623 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9629 test -z "$as_dir" && as_dir=.
9630 for ac_exec_ext in '' $ac_executable_extensions; do
9631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9632 ac_cv_prog_ac_ct_OBJDUMP="objdump"
9633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9642 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9643 if test -n "$ac_ct_OBJDUMP"; then
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9645 $as_echo "$ac_ct_OBJDUMP" >&6; }
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9648 $as_echo "no" >&6; }
9651 if test "x$ac_ct_OBJDUMP" = x; then
9654 case $cross_compiling:$ac_tool_warned in
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9658 ac_tool_warned=yes ;;
9660 OBJDUMP=$ac_ct_OBJDUMP
9663 OBJDUMP="$ac_cv_prog_OBJDUMP"
9666 test -z "$OBJDUMP" && OBJDUMP=objdump
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
9677 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
9678 if ${lt_cv_deplibs_check_method+:} false; then :
9679 $as_echo_n "(cached) " >&6
9681 lt_cv_file_magic_cmd='$MAGIC_CMD'
9682 lt_cv_file_magic_test_file=
9683 lt_cv_deplibs_check_method='unknown'
9684 # Need to set the preceding variable on all platforms that support
9685 # interlibrary dependencies.
9686 # 'none' -- dependencies not supported.
9687 # `unknown' -- same as none, but documents that we really don't know.
9688 # 'pass_all' -- all dependencies passed with no checks.
9689 # 'test_compile' -- check by making test program.
9690 # 'file_magic [[regex]]' -- check by looking for files in library path
9691 # which responds to the $file_magic_cmd with a given extended regex.
9692 # If you have `file' or equivalent on your system and you're not sure
9693 # whether `pass_all' will *always* work, you probably want this one.
9697 lt_cv_deplibs_check_method=pass_all
9701 lt_cv_deplibs_check_method=pass_all
9705 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9706 lt_cv_file_magic_cmd='/usr/bin/file -L'
9707 lt_cv_file_magic_test_file=/shlib/libc.so
9711 # func_win32_libid is a shell function defined in ltmain.sh
9712 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9713 lt_cv_file_magic_cmd='func_win32_libid'
9717 # Base MSYS/MinGW do not provide the 'file' command needed by
9718 # func_win32_libid shell function, so use a weaker test based on 'objdump',
9719 # unless we find 'file', for example because we are cross-compiling.
9720 if ( file / ) >/dev/null 2>&1; then
9721 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9722 lt_cv_file_magic_cmd='func_win32_libid'
9724 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
9725 lt_cv_file_magic_cmd='$OBJDUMP -f'
9730 # use the weaker test based on 'objdump'. See mingw*.
9731 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9732 lt_cv_file_magic_cmd='$OBJDUMP -f'
9735 darwin* | rhapsody*)
9736 lt_cv_deplibs_check_method=pass_all
9739 freebsd* | dragonfly*)
9740 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9743 # Not sure whether the presence of OpenBSD here was a mistake.
9744 # Let's accept both of them until this is cleared up.
9745 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
9746 lt_cv_file_magic_cmd=/usr/bin/file
9747 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
9751 lt_cv_deplibs_check_method=pass_all
9756 lt_cv_deplibs_check_method=pass_all
9759 hpux10.20* | hpux11*)
9760 lt_cv_file_magic_cmd=/usr/bin/file
9763 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9764 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
9767 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
9768 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
9771 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
9772 lt_cv_file_magic_test_file=/usr/lib/libc.sl
9778 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
9779 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
9782 irix5* | irix6* | nonstopux*)
9784 *-32|*"-32 ") libmagic=32-bit;;
9785 *-n32|*"-n32 ") libmagic=N32;;
9786 *-64|*"-64 ") libmagic=64-bit;;
9787 *) libmagic=never-match;;
9789 lt_cv_deplibs_check_method=pass_all
9792 # This must be Linux ELF.
9793 linux* | k*bsd*-gnu)
9794 lt_cv_deplibs_check_method=pass_all
9798 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9799 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9801 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
9806 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9807 lt_cv_file_magic_cmd=/usr/bin/file
9808 lt_cv_file_magic_test_file=/usr/lib/libnls.so
9812 lt_cv_deplibs_check_method=pass_all
9816 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9817 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9819 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9823 osf3* | osf4* | osf5*)
9824 lt_cv_deplibs_check_method=pass_all
9828 lt_cv_deplibs_check_method=pass_all
9832 lt_cv_deplibs_check_method=pass_all
9835 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9836 lt_cv_deplibs_check_method=pass_all
9840 case $host_vendor in
9842 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]'
9843 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
9846 lt_cv_deplibs_check_method=pass_all
9849 lt_cv_file_magic_cmd='/bin/file'
9850 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9853 lt_cv_file_magic_cmd='/bin/file'
9854 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
9855 lt_cv_file_magic_test_file=/lib/libc.so
9858 lt_cv_deplibs_check_method=pass_all
9861 lt_cv_deplibs_check_method=pass_all
9867 lt_cv_deplibs_check_method=pass_all
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
9873 $as_echo "$lt_cv_deplibs_check_method" >&6; }
9874 file_magic_cmd=$lt_cv_file_magic_cmd
9875 deplibs_check_method=$lt_cv_deplibs_check_method
9876 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9889 if test -n "$ac_tool_prefix"; then
9890 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9891 set dummy ${ac_tool_prefix}ar; ac_word=$2
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9893 $as_echo_n "checking for $ac_word... " >&6; }
9894 if ${ac_cv_prog_AR+:} false; then :
9895 $as_echo_n "(cached) " >&6
9897 if test -n "$AR"; then
9898 ac_cv_prog_AR="$AR" # Let the user override the test.
9900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9904 test -z "$as_dir" && as_dir=.
9905 for ac_exec_ext in '' $ac_executable_extensions; do
9906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9907 ac_cv_prog_AR="${ac_tool_prefix}ar"
9908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9918 if test -n "$AR"; then
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9920 $as_echo "$AR" >&6; }
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9923 $as_echo "no" >&6; }
9928 if test -z "$ac_cv_prog_AR"; then
9930 # Extract the first word of "ar", so it can be a program name with args.
9931 set dummy ar; ac_word=$2
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9933 $as_echo_n "checking for $ac_word... " >&6; }
9934 if ${ac_cv_prog_ac_ct_AR+:} false; then :
9935 $as_echo_n "(cached) " >&6
9937 if test -n "$ac_ct_AR"; then
9938 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9944 test -z "$as_dir" && as_dir=.
9945 for ac_exec_ext in '' $ac_executable_extensions; do
9946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9947 ac_cv_prog_ac_ct_AR="ar"
9948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9957 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9958 if test -n "$ac_ct_AR"; then
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9960 $as_echo "$ac_ct_AR" >&6; }
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9963 $as_echo "no" >&6; }
9966 if test "x$ac_ct_AR" = x; then
9969 case $cross_compiling:$ac_tool_warned in
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9973 ac_tool_warned=yes ;;
9981 test -z "$AR" && AR=ar
9982 test -z "$AR_FLAGS" && AR_FLAGS=cru
9994 if test -n "$ac_tool_prefix"; then
9995 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9996 set dummy ${ac_tool_prefix}strip; ac_word=$2
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9998 $as_echo_n "checking for $ac_word... " >&6; }
9999 if ${ac_cv_prog_STRIP+:} false; then :
10000 $as_echo_n "(cached) " >&6
10002 if test -n "$STRIP"; then
10003 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10006 for as_dir in $PATH
10009 test -z "$as_dir" && as_dir=.
10010 for ac_exec_ext in '' $ac_executable_extensions; do
10011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10012 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
10013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10022 STRIP=$ac_cv_prog_STRIP
10023 if test -n "$STRIP"; then
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
10025 $as_echo "$STRIP" >&6; }
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10028 $as_echo "no" >&6; }
10033 if test -z "$ac_cv_prog_STRIP"; then
10035 # Extract the first word of "strip", so it can be a program name with args.
10036 set dummy strip; ac_word=$2
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10038 $as_echo_n "checking for $ac_word... " >&6; }
10039 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
10040 $as_echo_n "(cached) " >&6
10042 if test -n "$ac_ct_STRIP"; then
10043 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10046 for as_dir in $PATH
10049 test -z "$as_dir" && as_dir=.
10050 for ac_exec_ext in '' $ac_executable_extensions; do
10051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10052 ac_cv_prog_ac_ct_STRIP="strip"
10053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10062 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10063 if test -n "$ac_ct_STRIP"; then
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
10065 $as_echo "$ac_ct_STRIP" >&6; }
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10068 $as_echo "no" >&6; }
10071 if test "x$ac_ct_STRIP" = x; then
10074 case $cross_compiling:$ac_tool_warned in
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10078 ac_tool_warned=yes ;;
10083 STRIP="$ac_cv_prog_STRIP"
10086 test -z "$STRIP" && STRIP=:
10093 if test -n "$ac_tool_prefix"; then
10094 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10095 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10097 $as_echo_n "checking for $ac_word... " >&6; }
10098 if ${ac_cv_prog_RANLIB+:} false; then :
10099 $as_echo_n "(cached) " >&6
10101 if test -n "$RANLIB"; then
10102 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10105 for as_dir in $PATH
10108 test -z "$as_dir" && as_dir=.
10109 for ac_exec_ext in '' $ac_executable_extensions; do
10110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10111 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
10112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10121 RANLIB=$ac_cv_prog_RANLIB
10122 if test -n "$RANLIB"; then
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
10124 $as_echo "$RANLIB" >&6; }
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10127 $as_echo "no" >&6; }
10132 if test -z "$ac_cv_prog_RANLIB"; then
10133 ac_ct_RANLIB=$RANLIB
10134 # Extract the first word of "ranlib", so it can be a program name with args.
10135 set dummy ranlib; ac_word=$2
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10137 $as_echo_n "checking for $ac_word... " >&6; }
10138 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
10139 $as_echo_n "(cached) " >&6
10141 if test -n "$ac_ct_RANLIB"; then
10142 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10145 for as_dir in $PATH
10148 test -z "$as_dir" && as_dir=.
10149 for ac_exec_ext in '' $ac_executable_extensions; do
10150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10151 ac_cv_prog_ac_ct_RANLIB="ranlib"
10152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10161 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
10162 if test -n "$ac_ct_RANLIB"; then
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
10164 $as_echo "$ac_ct_RANLIB" >&6; }
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10167 $as_echo "no" >&6; }
10170 if test "x$ac_ct_RANLIB" = x; then
10173 case $cross_compiling:$ac_tool_warned in
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10177 ac_tool_warned=yes ;;
10179 RANLIB=$ac_ct_RANLIB
10182 RANLIB="$ac_cv_prog_RANLIB"
10185 test -z "$RANLIB" && RANLIB=:
10192 # Determine commands to create old-style static archives.
10193 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
10194 old_postinstall_cmds='chmod 644 $oldlib'
10195 old_postuninstall_cmds=
10197 if test -n "$RANLIB"; then
10200 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
10203 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
10206 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
10242 # If no C compiler was specified, use CC.
10245 # If no C compiler flags were specified, use CFLAGS.
10246 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10248 # Allow CC to be a program name with arguments.
10252 # Check for command to grab the raw symbol name followed by C symbol from nm.
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
10254 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
10255 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
10256 $as_echo_n "(cached) " >&6
10259 # These are sane defaults that work on at least a few old systems.
10260 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
10262 # Character class describing NM global symbol codes.
10263 symcode='[BCDEGRST]'
10265 # Regexp to match symbols that can be accessed directly from C.
10266 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10268 # Define system-specific variables.
10273 cygwin* | mingw* | pw32* | cegcc*)
10274 symcode='[ABCDGISTW]'
10277 if test "$host_cpu" = ia64; then
10278 symcode='[ABCDEGRST]'
10281 irix* | nonstopux*)
10282 symcode='[BCDEGRST]'
10285 symcode='[BCDEGQRST]'
10296 sysv5* | sco5v6* | unixware* | OpenUNIX*)
10304 # If we're using GNU nm, then use its standard symbol codes.
10305 case `$NM -V 2>&1` in
10306 *GNU* | *'with BFD'*)
10307 symcode='[ABCDGIRSTW]' ;;
10310 # Transform an extracted symbol line into a proper C declaration.
10311 # Some systems (esp. on ia64) link data and code symbols differently,
10312 # so use this general approach.
10313 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10315 # Transform an extracted symbol line into symbol name and symbol address
10316 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
10317 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'"
10319 # Handle CRLF in mingw tool chain
10323 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10327 # Try without a prefix underscore, then with it.
10328 for ac_symprfx in "" "_"; do
10330 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
10331 symxfrm="\\1 $ac_symprfx\\2 \\2"
10333 # Write the raw and C identifiers.
10334 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10335 # Fake it for dumpbin and say T for any non-static function
10336 # and D for any global variable.
10337 # Also find C++ and __fastcall symbols from MSVC++,
10338 # which start with @ or ?.
10339 lt_cv_sys_global_symbol_pipe="$AWK '"\
10340 " {last_section=section; section=\$ 3};"\
10341 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
10342 " \$ 0!~/External *\|/{next};"\
10343 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
10344 " {if(hide[section]) next};"\
10345 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
10346 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
10347 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
10348 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
10349 " ' prfx=^$ac_symprfx"
10351 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
10354 # Check to see that the pipe works correctly.
10358 cat > conftest.$ac_ext <<_LT_EOF
10363 void nm_test_func(void);
10364 void nm_test_func(void){}
10368 int main(){nm_test_var='a';nm_test_func();return(0);}
10371 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10372 (eval $ac_compile) 2>&5
10374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10375 test $ac_status = 0; }; then
10376 # Now try to grab the symbols.
10378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
10379 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
10381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10382 test $ac_status = 0; } && test -s "$nlist"; then
10383 # Try sorting and uniquifying the output.
10384 if sort "$nlist" | uniq > "$nlist"T; then
10385 mv -f "$nlist"T "$nlist"
10390 # Make sure that we snagged all the symbols we need.
10391 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
10392 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
10393 cat <<_LT_EOF > conftest.$ac_ext
10399 # Now generate the symbol file.
10400 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
10402 cat <<_LT_EOF >> conftest.$ac_ext
10404 /* The mapping between symbol names and symbols. */
10409 lt__PROGRAM__LTX_preloaded_symbols[] =
10411 { "@PROGRAM@", (void *) 0 },
10413 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
10414 cat <<\_LT_EOF >> conftest.$ac_ext
10418 /* This works around a problem in FreeBSD linker */
10419 #ifdef FREEBSD_WORKAROUND
10420 static const void *lt_preloaded_setup() {
10421 return lt__PROGRAM__LTX_preloaded_symbols;
10429 # Now try linking the two files.
10430 mv conftest.$ac_objext conftstm.$ac_objext
10431 lt_save_LIBS="$LIBS"
10432 lt_save_CFLAGS="$CFLAGS"
10433 LIBS="conftstm.$ac_objext"
10434 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10435 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10436 (eval $ac_link) 2>&5
10438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10439 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
10442 LIBS="$lt_save_LIBS"
10443 CFLAGS="$lt_save_CFLAGS"
10445 echo "cannot find nm_test_func in $nlist" >&5
10448 echo "cannot find nm_test_var in $nlist" >&5
10451 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
10454 echo "$progname: failed program was:" >&5
10455 cat conftest.$ac_ext >&5
10457 rm -rf conftest* conftst*
10459 # Do not use the global_symbol_pipe unless it works.
10460 if test "$pipe_works" = yes; then
10463 lt_cv_sys_global_symbol_pipe=
10469 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10470 lt_cv_sys_global_symbol_to_cdecl=
10472 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
10474 $as_echo "failed" >&6; }
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
10477 $as_echo "ok" >&6; }
10501 # Check whether --enable-libtool-lock was given.
10502 if test "${enable_libtool_lock+set}" = set; then :
10503 enableval=$enable_libtool_lock;
10506 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10508 # Some flags need to be propagated to the compiler or linker for good
10512 # Find out which ABI we are using.
10513 echo 'int i;' > conftest.$ac_ext
10514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10515 (eval $ac_compile) 2>&5
10517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10518 test $ac_status = 0; }; then
10519 case `/usr/bin/file conftest.$ac_objext` in
10521 HPUX_IA64_MODE="32"
10524 HPUX_IA64_MODE="64"
10531 # Find out which ABI we are using.
10532 echo '#line 10532 "configure"' > conftest.$ac_ext
10533 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10534 (eval $ac_compile) 2>&5
10536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10537 test $ac_status = 0; }; then
10538 if test "$lt_cv_prog_gnu_ld" = yes; then
10539 case `/usr/bin/file conftest.$ac_objext` in
10541 LD="${LD-ld} -melf32bsmip"
10544 LD="${LD-ld} -melf32bmipn32"
10547 LD="${LD-ld} -melf64bmip"
10551 case `/usr/bin/file conftest.$ac_objext` in
10567 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
10568 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
10569 # Find out which ABI we are using.
10570 echo 'int i;' > conftest.$ac_ext
10571 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10572 (eval $ac_compile) 2>&5
10574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10575 test $ac_status = 0; }; then
10576 case `/usr/bin/file conftest.o` in
10579 x86_64-*kfreebsd*-gnu)
10580 LD="${LD-ld} -m elf_i386_fbsd"
10583 LD="${LD-ld} -m elf_i386"
10585 ppc64-*linux*|powerpc64-*linux*)
10586 LD="${LD-ld} -m elf32ppclinux"
10589 LD="${LD-ld} -m elf_s390"
10592 LD="${LD-ld} -m elf32_sparc"
10598 x86_64-*kfreebsd*-gnu)
10599 LD="${LD-ld} -m elf_x86_64_fbsd"
10602 LD="${LD-ld} -m elf_x86_64"
10604 ppc*-*linux*|powerpc*-*linux*)
10605 LD="${LD-ld} -m elf64ppc"
10607 s390*-*linux*|s390*-*tpf*)
10608 LD="${LD-ld} -m elf64_s390"
10611 LD="${LD-ld} -m elf64_sparc"
10621 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10622 SAVE_CFLAGS="$CFLAGS"
10623 CFLAGS="$CFLAGS -belf"
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
10625 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
10626 if ${lt_cv_cc_needs_belf+:} false; then :
10627 $as_echo_n "(cached) " >&6
10630 ac_cpp='$CPP $CPPFLAGS'
10631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10646 if ac_fn_c_try_link "$LINENO"; then :
10647 lt_cv_cc_needs_belf=yes
10649 lt_cv_cc_needs_belf=no
10651 rm -f core conftest.err conftest.$ac_objext \
10652 conftest$ac_exeext conftest.$ac_ext
10654 ac_cpp='$CPP $CPPFLAGS'
10655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
10661 $as_echo "$lt_cv_cc_needs_belf" >&6; }
10662 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10663 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10664 CFLAGS="$SAVE_CFLAGS"
10668 # Find out which ABI we are using.
10669 echo 'int i;' > conftest.$ac_ext
10670 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10671 (eval $ac_compile) 2>&5
10673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10674 test $ac_status = 0; }; then
10675 case `/usr/bin/file conftest.o` in
10677 case $lt_cv_prog_gnu_ld in
10678 yes*) LD="${LD-ld} -m elf64_sparc" ;;
10680 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
10692 need_locks="$enable_libtool_lock"
10696 rhapsody* | darwin*)
10697 if test -n "$ac_tool_prefix"; then
10698 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10699 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10701 $as_echo_n "checking for $ac_word... " >&6; }
10702 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10703 $as_echo_n "(cached) " >&6
10705 if test -n "$DSYMUTIL"; then
10706 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10709 for as_dir in $PATH
10712 test -z "$as_dir" && as_dir=.
10713 for ac_exec_ext in '' $ac_executable_extensions; do
10714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10715 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10725 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10726 if test -n "$DSYMUTIL"; then
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10728 $as_echo "$DSYMUTIL" >&6; }
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10731 $as_echo "no" >&6; }
10736 if test -z "$ac_cv_prog_DSYMUTIL"; then
10737 ac_ct_DSYMUTIL=$DSYMUTIL
10738 # Extract the first word of "dsymutil", so it can be a program name with args.
10739 set dummy dsymutil; ac_word=$2
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10741 $as_echo_n "checking for $ac_word... " >&6; }
10742 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10743 $as_echo_n "(cached) " >&6
10745 if test -n "$ac_ct_DSYMUTIL"; then
10746 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10749 for as_dir in $PATH
10752 test -z "$as_dir" && as_dir=.
10753 for ac_exec_ext in '' $ac_executable_extensions; do
10754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10755 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10765 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10766 if test -n "$ac_ct_DSYMUTIL"; then
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10768 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10771 $as_echo "no" >&6; }
10774 if test "x$ac_ct_DSYMUTIL" = x; then
10777 case $cross_compiling:$ac_tool_warned in
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10781 ac_tool_warned=yes ;;
10783 DSYMUTIL=$ac_ct_DSYMUTIL
10786 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10789 if test -n "$ac_tool_prefix"; then
10790 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10791 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10793 $as_echo_n "checking for $ac_word... " >&6; }
10794 if ${ac_cv_prog_NMEDIT+:} false; then :
10795 $as_echo_n "(cached) " >&6
10797 if test -n "$NMEDIT"; then
10798 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10801 for as_dir in $PATH
10804 test -z "$as_dir" && as_dir=.
10805 for ac_exec_ext in '' $ac_executable_extensions; do
10806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10807 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10817 NMEDIT=$ac_cv_prog_NMEDIT
10818 if test -n "$NMEDIT"; then
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10820 $as_echo "$NMEDIT" >&6; }
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10823 $as_echo "no" >&6; }
10828 if test -z "$ac_cv_prog_NMEDIT"; then
10829 ac_ct_NMEDIT=$NMEDIT
10830 # Extract the first word of "nmedit", so it can be a program name with args.
10831 set dummy nmedit; ac_word=$2
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10833 $as_echo_n "checking for $ac_word... " >&6; }
10834 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10835 $as_echo_n "(cached) " >&6
10837 if test -n "$ac_ct_NMEDIT"; then
10838 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10841 for as_dir in $PATH
10844 test -z "$as_dir" && as_dir=.
10845 for ac_exec_ext in '' $ac_executable_extensions; do
10846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10847 ac_cv_prog_ac_ct_NMEDIT="nmedit"
10848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10857 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10858 if test -n "$ac_ct_NMEDIT"; then
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10860 $as_echo "$ac_ct_NMEDIT" >&6; }
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10863 $as_echo "no" >&6; }
10866 if test "x$ac_ct_NMEDIT" = x; then
10869 case $cross_compiling:$ac_tool_warned in
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10873 ac_tool_warned=yes ;;
10875 NMEDIT=$ac_ct_NMEDIT
10878 NMEDIT="$ac_cv_prog_NMEDIT"
10881 if test -n "$ac_tool_prefix"; then
10882 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10883 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10885 $as_echo_n "checking for $ac_word... " >&6; }
10886 if ${ac_cv_prog_LIPO+:} false; then :
10887 $as_echo_n "(cached) " >&6
10889 if test -n "$LIPO"; then
10890 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10893 for as_dir in $PATH
10896 test -z "$as_dir" && as_dir=.
10897 for ac_exec_ext in '' $ac_executable_extensions; do
10898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10899 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10909 LIPO=$ac_cv_prog_LIPO
10910 if test -n "$LIPO"; then
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10912 $as_echo "$LIPO" >&6; }
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10915 $as_echo "no" >&6; }
10920 if test -z "$ac_cv_prog_LIPO"; then
10922 # Extract the first word of "lipo", so it can be a program name with args.
10923 set dummy lipo; ac_word=$2
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10925 $as_echo_n "checking for $ac_word... " >&6; }
10926 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10927 $as_echo_n "(cached) " >&6
10929 if test -n "$ac_ct_LIPO"; then
10930 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10933 for as_dir in $PATH
10936 test -z "$as_dir" && as_dir=.
10937 for ac_exec_ext in '' $ac_executable_extensions; do
10938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10939 ac_cv_prog_ac_ct_LIPO="lipo"
10940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10949 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10950 if test -n "$ac_ct_LIPO"; then
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10952 $as_echo "$ac_ct_LIPO" >&6; }
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10955 $as_echo "no" >&6; }
10958 if test "x$ac_ct_LIPO" = x; then
10961 case $cross_compiling:$ac_tool_warned in
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10965 ac_tool_warned=yes ;;
10970 LIPO="$ac_cv_prog_LIPO"
10973 if test -n "$ac_tool_prefix"; then
10974 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10975 set dummy ${ac_tool_prefix}otool; ac_word=$2
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10977 $as_echo_n "checking for $ac_word... " >&6; }
10978 if ${ac_cv_prog_OTOOL+:} false; then :
10979 $as_echo_n "(cached) " >&6
10981 if test -n "$OTOOL"; then
10982 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10985 for as_dir in $PATH
10988 test -z "$as_dir" && as_dir=.
10989 for ac_exec_ext in '' $ac_executable_extensions; do
10990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10991 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11001 OTOOL=$ac_cv_prog_OTOOL
11002 if test -n "$OTOOL"; then
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
11004 $as_echo "$OTOOL" >&6; }
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11007 $as_echo "no" >&6; }
11012 if test -z "$ac_cv_prog_OTOOL"; then
11014 # Extract the first word of "otool", so it can be a program name with args.
11015 set dummy otool; ac_word=$2
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11017 $as_echo_n "checking for $ac_word... " >&6; }
11018 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
11019 $as_echo_n "(cached) " >&6
11021 if test -n "$ac_ct_OTOOL"; then
11022 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
11024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11025 for as_dir in $PATH
11028 test -z "$as_dir" && as_dir=.
11029 for ac_exec_ext in '' $ac_executable_extensions; do
11030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11031 ac_cv_prog_ac_ct_OTOOL="otool"
11032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11041 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
11042 if test -n "$ac_ct_OTOOL"; then
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
11044 $as_echo "$ac_ct_OTOOL" >&6; }
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11047 $as_echo "no" >&6; }
11050 if test "x$ac_ct_OTOOL" = x; then
11053 case $cross_compiling:$ac_tool_warned in
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11057 ac_tool_warned=yes ;;
11062 OTOOL="$ac_cv_prog_OTOOL"
11065 if test -n "$ac_tool_prefix"; then
11066 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
11067 set dummy ${ac_tool_prefix}otool64; ac_word=$2
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11069 $as_echo_n "checking for $ac_word... " >&6; }
11070 if ${ac_cv_prog_OTOOL64+:} false; then :
11071 $as_echo_n "(cached) " >&6
11073 if test -n "$OTOOL64"; then
11074 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
11076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11077 for as_dir in $PATH
11080 test -z "$as_dir" && as_dir=.
11081 for ac_exec_ext in '' $ac_executable_extensions; do
11082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11083 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
11084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11093 OTOOL64=$ac_cv_prog_OTOOL64
11094 if test -n "$OTOOL64"; then
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
11096 $as_echo "$OTOOL64" >&6; }
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11099 $as_echo "no" >&6; }
11104 if test -z "$ac_cv_prog_OTOOL64"; then
11105 ac_ct_OTOOL64=$OTOOL64
11106 # Extract the first word of "otool64", so it can be a program name with args.
11107 set dummy otool64; ac_word=$2
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11109 $as_echo_n "checking for $ac_word... " >&6; }
11110 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
11111 $as_echo_n "(cached) " >&6
11113 if test -n "$ac_ct_OTOOL64"; then
11114 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
11116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11117 for as_dir in $PATH
11120 test -z "$as_dir" && as_dir=.
11121 for ac_exec_ext in '' $ac_executable_extensions; do
11122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11123 ac_cv_prog_ac_ct_OTOOL64="otool64"
11124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11133 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
11134 if test -n "$ac_ct_OTOOL64"; then
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
11136 $as_echo "$ac_ct_OTOOL64" >&6; }
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11139 $as_echo "no" >&6; }
11142 if test "x$ac_ct_OTOOL64" = x; then
11145 case $cross_compiling:$ac_tool_warned in
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11149 ac_tool_warned=yes ;;
11151 OTOOL64=$ac_ct_OTOOL64
11154 OTOOL64="$ac_cv_prog_OTOOL64"
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
11184 $as_echo_n "checking for -single_module linker flag... " >&6; }
11185 if ${lt_cv_apple_cc_single_mod+:} false; then :
11186 $as_echo_n "(cached) " >&6
11188 lt_cv_apple_cc_single_mod=no
11189 if test -z "${LT_MULTI_MODULE}"; then
11190 # By default we will add the -single_module flag. You can override
11191 # by either setting the environment variable LT_MULTI_MODULE
11192 # non-empty at configure time, or by adding -multi_module to the
11194 rm -rf libconftest.dylib*
11195 echo "int foo(void){return 1;}" > conftest.c
11196 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11197 -dynamiclib -Wl,-single_module conftest.c" >&5
11198 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11199 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
11201 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
11202 lt_cv_apple_cc_single_mod=yes
11204 cat conftest.err >&5
11206 rm -rf libconftest.dylib*
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
11211 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
11213 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
11214 if ${lt_cv_ld_exported_symbols_list+:} false; then :
11215 $as_echo_n "(cached) " >&6
11217 lt_cv_ld_exported_symbols_list=no
11218 save_LDFLAGS=$LDFLAGS
11219 echo "_main" > conftest.sym
11220 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11232 if ac_fn_c_try_link "$LINENO"; then :
11233 lt_cv_ld_exported_symbols_list=yes
11235 lt_cv_ld_exported_symbols_list=no
11237 rm -f core conftest.err conftest.$ac_objext \
11238 conftest$ac_exeext conftest.$ac_ext
11239 LDFLAGS="$save_LDFLAGS"
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
11243 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
11245 rhapsody* | darwin1.[012])
11246 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
11248 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
11249 darwin*) # darwin 5.x on
11250 # if running on 10.5 or later, the deployment target defaults
11251 # to the OS version, if on x86, and 10.4, the deployment
11252 # target defaults to 10.4. Don't you love it?
11253 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
11254 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
11255 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
11257 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
11259 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
11263 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
11264 _lt_dar_single_mod='$single_module'
11266 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
11267 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
11269 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
11271 if test "$DSYMUTIL" != ":"; then
11272 _lt_dsymutil='~$DSYMUTIL $lib || :'
11279 for ac_header in dlfcn.h
11281 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11283 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
11284 cat >>confdefs.h <<_ACEOF
11285 #define HAVE_DLFCN_H 1
11295 ac_cpp='$CXXCPP $CPPFLAGS'
11296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11299 if test -z "$CXX"; then
11300 if test -n "$CCC"; then
11303 if test -n "$ac_tool_prefix"; then
11304 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11306 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11307 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11309 $as_echo_n "checking for $ac_word... " >&6; }
11310 if ${ac_cv_prog_CXX+:} false; then :
11311 $as_echo_n "(cached) " >&6
11313 if test -n "$CXX"; then
11314 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11317 for as_dir in $PATH
11320 test -z "$as_dir" && as_dir=.
11321 for ac_exec_ext in '' $ac_executable_extensions; do
11322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11323 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11333 CXX=$ac_cv_prog_CXX
11334 if test -n "$CXX"; then
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11336 $as_echo "$CXX" >&6; }
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11339 $as_echo "no" >&6; }
11343 test -n "$CXX" && break
11346 if test -z "$CXX"; then
11348 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11350 # Extract the first word of "$ac_prog", so it can be a program name with args.
11351 set dummy $ac_prog; ac_word=$2
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11353 $as_echo_n "checking for $ac_word... " >&6; }
11354 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
11355 $as_echo_n "(cached) " >&6
11357 if test -n "$ac_ct_CXX"; then
11358 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11361 for as_dir in $PATH
11364 test -z "$as_dir" && as_dir=.
11365 for ac_exec_ext in '' $ac_executable_extensions; do
11366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11367 ac_cv_prog_ac_ct_CXX="$ac_prog"
11368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11377 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11378 if test -n "$ac_ct_CXX"; then
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11380 $as_echo "$ac_ct_CXX" >&6; }
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11383 $as_echo "no" >&6; }
11387 test -n "$ac_ct_CXX" && break
11390 if test "x$ac_ct_CXX" = x; then
11393 case $cross_compiling:$ac_tool_warned in
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11397 ac_tool_warned=yes ;;
11405 # Provide some information about the compiler.
11406 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11409 for ac_option in --version -v -V -qversion; do
11410 { { ac_try="$ac_compiler $ac_option >&5"
11411 case "(($ac_try" in
11412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11413 *) ac_try_echo=$ac_try;;
11415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11416 $as_echo "$ac_try_echo"; } >&5
11417 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11419 if test -s conftest.err; then
11421 ... rest of stderr output deleted ...
11422 10q' conftest.err >conftest.er1
11423 cat conftest.er1 >&5
11425 rm -f conftest.er1 conftest.err
11426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11427 test $ac_status = 0; }
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11431 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11432 if ${ac_cv_cxx_compiler_gnu+:} false; then :
11433 $as_echo_n "(cached) " >&6
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11449 if ac_fn_cxx_try_compile "$LINENO"; then :
11450 ac_compiler_gnu=yes
11454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11455 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11459 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11460 if test $ac_compiler_gnu = yes; then
11465 ac_test_CXXFLAGS=${CXXFLAGS+set}
11466 ac_save_CXXFLAGS=$CXXFLAGS
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11468 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11469 if ${ac_cv_prog_cxx_g+:} false; then :
11470 $as_echo_n "(cached) " >&6
11472 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11473 ac_cxx_werror_flag=yes
11474 ac_cv_prog_cxx_g=no
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11487 if ac_fn_cxx_try_compile "$LINENO"; then :
11488 ac_cv_prog_cxx_g=yes
11491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h. */
11502 if ac_fn_cxx_try_compile "$LINENO"; then :
11505 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11518 if ac_fn_cxx_try_compile "$LINENO"; then :
11519 ac_cv_prog_cxx_g=yes
11521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11526 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11529 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11530 if test "$ac_test_CXXFLAGS" = set; then
11531 CXXFLAGS=$ac_save_CXXFLAGS
11532 elif test $ac_cv_prog_cxx_g = yes; then
11533 if test "$GXX" = yes; then
11539 if test "$GXX" = yes; then
11546 ac_cpp='$CPP $CPPFLAGS'
11547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11551 depcc="$CXX" am_compiler_list=
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11554 $as_echo_n "checking dependency style of $depcc... " >&6; }
11555 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
11556 $as_echo_n "(cached) " >&6
11558 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11559 # We make a subdir and do the tests there. Otherwise we can end up
11560 # making bogus files that we don't know about and never remove. For
11561 # instance it was reported that on HP-UX the gcc test will end up
11562 # making a dummy file named `D' -- because `-MD' means `put the output
11565 # Copy depcomp to subdir because otherwise we won't find it if we're
11566 # using a relative directory.
11567 cp "$am_depcomp" conftest.dir
11569 # We will build objects and dependencies in a subdirectory because
11570 # it helps to detect inapplicable dependency modes. For instance
11571 # both Tru64's cc and ICC support -MD to output dependencies as a
11572 # side effect of compilation, but ICC will put the dependencies in
11573 # the current directory while Tru64 will put them in the object
11577 am_cv_CXX_dependencies_compiler_type=none
11578 if test "$am_compiler_list" = ""; then
11579 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11581 am__universal=false
11582 case " $depcc " in #(
11583 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11586 for depmode in $am_compiler_list; do
11587 # Setup a source with many dependencies, because some compilers
11588 # like to wrap large dependency lists on column 80 (with \), and
11589 # we should not choose a depcomp mode which is confused by this.
11591 # We need to recreate these files for each test, as the compiler may
11592 # overwrite some of them when testing with obscure command lines.
11593 # This happens at least with the AIX C compiler.
11595 for i in 1 2 3 4 5 6; do
11596 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11597 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11598 # Solaris 8's {/usr,}/bin/sh.
11599 touch sub/conftst$i.h
11601 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11603 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11604 # mode. It turns out that the SunPro C++ compiler does not properly
11605 # handle `-M -o', and we need to detect this. Also, some Intel
11606 # versions had trouble with output in subdirs
11607 am__obj=sub/conftest.${OBJEXT-o}
11608 am__minus_obj="-o $am__obj"
11611 # This depmode causes a compiler race in universal mode.
11612 test "$am__universal" = false || continue
11615 # after this tag, mechanisms are not by side-effect, so they'll
11616 # only be used when explicitly requested
11617 if test "x$enable_dependency_tracking" = xyes; then
11623 msvisualcpp | msvcmsys)
11624 # This compiler won't grok `-c -o', but also, the minuso test has
11625 # not run yet. These depmodes are late enough in the game, and
11626 # so weak that their functioning should not be impacted.
11627 am__obj=conftest.${OBJEXT-o}
11632 if depmode=$depmode \
11633 source=sub/conftest.c object=$am__obj \
11634 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11635 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11636 >/dev/null 2>conftest.err &&
11637 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11638 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11639 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11640 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11641 # icc doesn't choke on unknown options, it will just issue warnings
11642 # or remarks (even with -Werror). So we grep stderr for any message
11643 # that says an option was ignored or not supported.
11644 # When given -MP, icc 7.0 and 7.1 complain thusly:
11645 # icc: Command line warning: ignoring option '-M'; no argument required
11646 # The diagnosis changed in icc 8.0:
11647 # icc: Command line remark: option '-MP' not supported
11648 if (grep 'ignoring option' conftest.err ||
11649 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11650 am_cv_CXX_dependencies_compiler_type=$depmode
11657 rm -rf conftest.dir
11659 am_cv_CXX_dependencies_compiler_type=none
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11664 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11665 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11668 test "x$enable_dependency_tracking" != xno \
11669 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11670 am__fastdepCXX_TRUE=
11671 am__fastdepCXX_FALSE='#'
11673 am__fastdepCXX_TRUE='#'
11674 am__fastdepCXX_FALSE=
11678 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11679 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11680 (test "X$CXX" != "Xg++"))) ; then
11682 ac_cpp='$CXXCPP $CPPFLAGS'
11683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11687 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11688 if test -z "$CXXCPP"; then
11689 if ${ac_cv_prog_CXXCPP+:} false; then :
11690 $as_echo_n "(cached) " >&6
11692 # Double quotes because CXXCPP needs to be expanded
11693 for CXXCPP in "$CXX -E" "/lib/cpp"
11695 ac_preproc_ok=false
11696 for ac_cxx_preproc_warn_flag in '' yes
11698 # Use a header file that comes with gcc, so configuring glibc
11699 # with a fresh cross-compiler works.
11700 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11701 # <limits.h> exists even on freestanding compilers.
11702 # On the NeXT, cc -E runs the code through the compiler's parser,
11703 # not just through cpp. "Syntax error" is here to catch this case.
11704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11705 /* end confdefs.h. */
11707 # include <limits.h>
11709 # include <assert.h>
11713 if ac_fn_cxx_try_cpp "$LINENO"; then :
11716 # Broken: fails on valid input.
11719 rm -f conftest.err conftest.i conftest.$ac_ext
11721 # OK, works on sane cases. Now check whether nonexistent headers
11722 # can be detected and how.
11723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11724 /* end confdefs.h. */
11725 #include <ac_nonexistent.h>
11727 if ac_fn_cxx_try_cpp "$LINENO"; then :
11728 # Broken: success on invalid input.
11731 # Passes both tests.
11735 rm -f conftest.err conftest.i conftest.$ac_ext
11738 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11739 rm -f conftest.i conftest.err conftest.$ac_ext
11740 if $ac_preproc_ok; then :
11745 ac_cv_prog_CXXCPP=$CXXCPP
11748 CXXCPP=$ac_cv_prog_CXXCPP
11750 ac_cv_prog_CXXCPP=$CXXCPP
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11753 $as_echo "$CXXCPP" >&6; }
11754 ac_preproc_ok=false
11755 for ac_cxx_preproc_warn_flag in '' yes
11757 # Use a header file that comes with gcc, so configuring glibc
11758 # with a fresh cross-compiler works.
11759 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11760 # <limits.h> exists even on freestanding compilers.
11761 # On the NeXT, cc -E runs the code through the compiler's parser,
11762 # not just through cpp. "Syntax error" is here to catch this case.
11763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11764 /* end confdefs.h. */
11766 # include <limits.h>
11768 # include <assert.h>
11772 if ac_fn_cxx_try_cpp "$LINENO"; then :
11775 # Broken: fails on valid input.
11778 rm -f conftest.err conftest.i conftest.$ac_ext
11780 # OK, works on sane cases. Now check whether nonexistent headers
11781 # can be detected and how.
11782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11783 /* end confdefs.h. */
11784 #include <ac_nonexistent.h>
11786 if ac_fn_cxx_try_cpp "$LINENO"; then :
11787 # Broken: success on invalid input.
11790 # Passes both tests.
11794 rm -f conftest.err conftest.i conftest.$ac_ext
11797 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11798 rm -f conftest.i conftest.err conftest.$ac_ext
11799 if $ac_preproc_ok; then :
11802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11804 _lt_caught_CXX_error=yes; }
11808 ac_cpp='$CPP $CPPFLAGS'
11809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11814 _lt_caught_CXX_error=yes
11828 enable_win32_dll=no
11834 # Check whether --with-pic was given.
11835 if test "${with_pic+set}" = set; then :
11836 withval=$with_pic; pic_mode="$withval"
11842 test -z "$pic_mode" && pic_mode=default
11850 # Check whether --enable-fast-install was given.
11851 if test "${enable_fast_install+set}" = set; then :
11852 enableval=$enable_fast_install; p=${PACKAGE-default}
11854 yes) enable_fast_install=yes ;;
11855 no) enable_fast_install=no ;;
11857 enable_fast_install=no
11858 # Look at the argument we got. We use all the common list separators.
11859 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11860 for pkg in $enableval; do
11862 if test "X$pkg" = "X$p"; then
11863 enable_fast_install=yes
11870 enable_fast_install=yes
11883 # This can be used to rebuild libtool when needed
11884 LIBTOOL_DEPS="$ltmain"
11886 # Always use our own libtool.
11887 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11913 test -z "$LN_S" && LN_S="ln -s"
11928 if test -n "${ZSH_VERSION+set}" ; then
11929 setopt NO_GLOB_SUBST
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11933 $as_echo_n "checking for objdir... " >&6; }
11934 if ${lt_cv_objdir+:} false; then :
11935 $as_echo_n "(cached) " >&6
11937 rm -f .libs 2>/dev/null
11938 mkdir .libs 2>/dev/null
11939 if test -d .libs; then
11942 # MS-DOS does not allow filenames that begin with a dot.
11945 rmdir .libs 2>/dev/null
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11948 $as_echo "$lt_cv_objdir" >&6; }
11949 objdir=$lt_cv_objdir
11955 cat >>confdefs.h <<_ACEOF
11956 #define LT_OBJDIR "$lt_cv_objdir/"
11977 # AIX sometimes has problems with the GCC collect2 program. For some
11978 # reason, if we set the COLLECT_NAMES environment variable, the problems
11979 # vanish in a puff of smoke.
11980 if test "X${COLLECT_NAMES+set}" != Xset; then
11982 export COLLECT_NAMES
11987 # Sed substitution that helps us do robust quoting. It backslashifies
11988 # metacharacters that are still active within double-quoted strings.
11989 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
11991 # Same as above, but do not quote variable references.
11992 double_quote_subst='s/\(["`\\]\)/\\\1/g'
11994 # Sed substitution to delay expansion of an escaped shell variable in a
11995 # double_quote_subst'ed string.
11996 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
11998 # Sed substitution to delay expansion of an escaped single quote.
11999 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
12001 # Sed substitution to avoid accidental globbing in evaled expressions
12002 no_glob_subst='s/\*/\\\*/g'
12004 # Global variables:
12006 can_build_shared=yes
12008 # All known linkers require a `.a' archive for static linking (except MSVC,
12009 # which needs '.lib').
12012 with_gnu_ld="$lt_cv_prog_gnu_ld"
12015 old_CFLAGS="$CFLAGS"
12017 # Set sane defaults for various variables
12018 test -z "$CC" && CC=cc
12019 test -z "$LTCC" && LTCC=$CC
12020 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
12021 test -z "$LD" && LD=ld
12022 test -z "$ac_objext" && ac_objext=o
12024 for cc_temp in $compiler""; do
12026 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12027 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12032 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12035 # Only perform the check for file, if the check method requires it
12036 test -z "$MAGIC_CMD" && MAGIC_CMD=file
12037 case $deplibs_check_method in
12039 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
12041 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
12042 if ${lt_cv_path_MAGIC_CMD+:} false; then :
12043 $as_echo_n "(cached) " >&6
12047 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12050 lt_save_MAGIC_CMD="$MAGIC_CMD"
12051 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12052 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12053 for ac_dir in $ac_dummy; do
12055 test -z "$ac_dir" && ac_dir=.
12056 if test -f $ac_dir/${ac_tool_prefix}file; then
12057 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
12058 if test -n "$file_magic_test_file"; then
12059 case $deplibs_check_method in
12061 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
12062 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12063 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12064 $EGREP "$file_magic_regex" > /dev/null; then
12069 *** Warning: the command libtool uses to detect shared libraries,
12070 *** $file_magic_cmd, produces output that libtool cannot recognize.
12071 *** The result is that libtool may fail to recognize shared libraries
12072 *** as such. This will affect the creation of libtool libraries that
12073 *** depend on shared libraries, but programs linked with such libtool
12074 *** libraries will work regardless of this problem. Nevertheless, you
12075 *** may want to report the problem to your system manager and/or to
12076 *** bug-libtool@gnu.org
12086 MAGIC_CMD="$lt_save_MAGIC_CMD"
12091 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12092 if test -n "$MAGIC_CMD"; then
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12094 $as_echo "$MAGIC_CMD" >&6; }
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12097 $as_echo "no" >&6; }
12104 if test -z "$lt_cv_path_MAGIC_CMD"; then
12105 if test -n "$ac_tool_prefix"; then
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
12107 $as_echo_n "checking for file... " >&6; }
12108 if ${lt_cv_path_MAGIC_CMD+:} false; then :
12109 $as_echo_n "(cached) " >&6
12113 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
12116 lt_save_MAGIC_CMD="$MAGIC_CMD"
12117 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12118 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
12119 for ac_dir in $ac_dummy; do
12121 test -z "$ac_dir" && ac_dir=.
12122 if test -f $ac_dir/file; then
12123 lt_cv_path_MAGIC_CMD="$ac_dir/file"
12124 if test -n "$file_magic_test_file"; then
12125 case $deplibs_check_method in
12127 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
12128 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12129 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
12130 $EGREP "$file_magic_regex" > /dev/null; then
12135 *** Warning: the command libtool uses to detect shared libraries,
12136 *** $file_magic_cmd, produces output that libtool cannot recognize.
12137 *** The result is that libtool may fail to recognize shared libraries
12138 *** as such. This will affect the creation of libtool libraries that
12139 *** depend on shared libraries, but programs linked with such libtool
12140 *** libraries will work regardless of this problem. Nevertheless, you
12141 *** may want to report the problem to your system manager and/or to
12142 *** bug-libtool@gnu.org
12152 MAGIC_CMD="$lt_save_MAGIC_CMD"
12157 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
12158 if test -n "$MAGIC_CMD"; then
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12160 $as_echo "$MAGIC_CMD" >&6; }
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12163 $as_echo "no" >&6; }
12176 # Use C for the default configuration in the libtool script
12180 ac_cpp='$CPP $CPPFLAGS'
12181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12186 # Source file extension for C test sources.
12189 # Object file extension for compiled C test sources.
12193 # Code to be used in simple compile tests
12194 lt_simple_compile_test_code="int some_variable = 0;"
12196 # Code to be used in simple link tests
12197 lt_simple_link_test_code='int main(){return(0);}'
12205 # If no C compiler was specified, use CC.
12208 # If no C compiler flags were specified, use CFLAGS.
12209 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12211 # Allow CC to be a program name with arguments.
12214 # Save the default compiler, since it gets overwritten when the other
12215 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
12216 compiler_DEFAULT=$CC
12218 # save warnings/boilerplate of simple test code
12219 ac_outfile=conftest.$ac_objext
12220 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12221 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12222 _lt_compiler_boilerplate=`cat conftest.err`
12225 ac_outfile=conftest.$ac_objext
12226 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12227 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12228 _lt_linker_boilerplate=`cat conftest.err`
12233 ## There is no encapsulation within the following macros, do not change
12234 ## the running order or otherwise move them around unless you know exactly
12235 ## what you are doing...
12236 if test -n "$compiler"; then
12238 lt_prog_compiler_no_builtin_flag=
12240 if test "$GCC" = yes; then
12241 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12244 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
12245 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
12246 $as_echo_n "(cached) " >&6
12248 lt_cv_prog_compiler_rtti_exceptions=no
12249 ac_outfile=conftest.$ac_objext
12250 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12251 lt_compiler_flag="-fno-rtti -fno-exceptions"
12252 # Insert the option either (1) after the last *FLAGS variable, or
12253 # (2) before a word containing "conftest.", or (3) at the end.
12254 # Note that $ac_compile itself does not contain backslashes and begins
12255 # with a dollar sign (not a hyphen), so the echo should work correctly.
12256 # The option is referenced via a variable to avoid confusing sed.
12257 lt_compile=`echo "$ac_compile" | $SED \
12258 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12260 -e 's:$: $lt_compiler_flag:'`
12261 (eval echo "\"\$as_me:12261: $lt_compile\"" >&5)
12262 (eval "$lt_compile" 2>conftest.err)
12264 cat conftest.err >&5
12265 echo "$as_me:12265: \$? = $ac_status" >&5
12266 if (exit $ac_status) && test -s "$ac_outfile"; then
12267 # The compiler can only warn and ignore the option if not recognized
12268 # So say no if there are warnings other than the usual output.
12269 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12270 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12271 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12272 lt_cv_prog_compiler_rtti_exceptions=yes
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12279 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12281 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
12282 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
12294 lt_prog_compiler_wl=
12295 lt_prog_compiler_pic=
12296 lt_prog_compiler_static=
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12299 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12301 if test "$GCC" = yes; then
12302 lt_prog_compiler_wl='-Wl,'
12303 lt_prog_compiler_static='-static'
12307 # All AIX code is PIC.
12308 if test "$host_cpu" = ia64; then
12309 # AIX 5 now supports IA64 processor
12310 lt_prog_compiler_static='-Bstatic'
12317 # see comment about AmigaOS4 .so support
12318 lt_prog_compiler_pic='-fPIC'
12321 # FIXME: we need at least 68020 code to build shared libraries, but
12322 # adding the `-m68020' flag to GCC prevents building anything better,
12324 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
12329 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12330 # PIC is the default for these OSes.
12333 mingw* | cygwin* | pw32* | os2* | cegcc*)
12334 # This hack is so that the source file can tell whether it is being
12335 # built for inclusion in a dll (and should export symbols for example).
12336 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12337 # (--disable-auto-import) libraries
12338 lt_prog_compiler_pic='-DDLL_EXPORT'
12341 darwin* | rhapsody*)
12342 # PIC is the default on this platform
12343 # Common symbols not allowed in MH_DYLIB files
12344 lt_prog_compiler_pic='-fno-common'
12348 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12349 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12350 # sets the default TLS model and affects inlining.
12356 lt_prog_compiler_pic='-fPIC'
12362 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12363 # Instead, we relocate shared libraries at runtime.
12367 # Just because we use GCC doesn't mean we suddenly get shared libraries
12368 # on systems that don't support them.
12369 lt_prog_compiler_can_build_shared=no
12374 # QNX uses GNU C++, but need to define -shared option too, otherwise
12375 # it will coredump.
12376 lt_prog_compiler_pic='-fPIC -shared'
12380 if test -d /usr/nec; then
12381 lt_prog_compiler_pic=-Kconform_pic
12386 lt_prog_compiler_pic='-fPIC'
12390 # PORTME Check for flag to pass linker flags through the system compiler.
12393 lt_prog_compiler_wl='-Wl,'
12394 if test "$host_cpu" = ia64; then
12395 # AIX 5 now supports IA64 processor
12396 lt_prog_compiler_static='-Bstatic'
12398 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12402 mingw* | cygwin* | pw32* | os2* | cegcc*)
12403 # This hack is so that the source file can tell whether it is being
12404 # built for inclusion in a dll (and should export symbols for example).
12405 lt_prog_compiler_pic='-DDLL_EXPORT'
12408 hpux9* | hpux10* | hpux11*)
12409 lt_prog_compiler_wl='-Wl,'
12410 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12411 # not for PA HP-UX.
12417 lt_prog_compiler_pic='+Z'
12420 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12421 lt_prog_compiler_static='${wl}-a ${wl}archive'
12424 irix5* | irix6* | nonstopux*)
12425 lt_prog_compiler_wl='-Wl,'
12426 # PIC (with -KPIC) is the default.
12427 lt_prog_compiler_static='-non_shared'
12430 linux* | k*bsd*-gnu)
12431 case $cc_basename in
12432 # old Intel for x86_64 which still supported -KPIC.
12434 lt_prog_compiler_wl='-Wl,'
12435 lt_prog_compiler_pic='-KPIC'
12436 lt_prog_compiler_static='-static'
12438 # icc used to be incompatible with GCC.
12439 # ICC 10 doesn't accept -KPIC any more.
12441 lt_prog_compiler_wl='-Wl,'
12442 lt_prog_compiler_pic='-fPIC'
12443 lt_prog_compiler_static='-static'
12445 # Lahey Fortran 8.1.
12447 lt_prog_compiler_wl='-Wl,'
12448 lt_prog_compiler_pic='--shared'
12449 lt_prog_compiler_static='--static'
12451 pgcc* | pgf77* | pgf90* | pgf95*)
12452 # Portland Group compilers (*not* the Pentium gcc compiler,
12453 # which looks to be a dead project)
12454 lt_prog_compiler_wl='-Wl,'
12455 lt_prog_compiler_pic='-fpic'
12456 lt_prog_compiler_static='-Bstatic'
12459 lt_prog_compiler_wl='-Wl,'
12460 # All Alpha code is PIC.
12461 lt_prog_compiler_static='-non_shared'
12464 # IBM XL C 8.0/Fortran 10.1 on PPC
12465 lt_prog_compiler_wl='-Wl,'
12466 lt_prog_compiler_pic='-qpic'
12467 lt_prog_compiler_static='-qstaticlink'
12470 case `$CC -V 2>&1 | sed 5q` in
12473 lt_prog_compiler_pic='-KPIC'
12474 lt_prog_compiler_static='-Bstatic'
12475 lt_prog_compiler_wl='-Wl,'
12478 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12479 lt_prog_compiler_pic='-KPIC'
12480 lt_prog_compiler_static='-Bstatic'
12481 lt_prog_compiler_wl=''
12489 lt_prog_compiler_pic='-KPIC'
12490 lt_prog_compiler_static='-Bstatic'
12494 # QNX uses GNU C++, but need to define -shared option too, otherwise
12495 # it will coredump.
12496 lt_prog_compiler_pic='-fPIC -shared'
12499 osf3* | osf4* | osf5*)
12500 lt_prog_compiler_wl='-Wl,'
12501 # All OSF/1 code is PIC.
12502 lt_prog_compiler_static='-non_shared'
12506 lt_prog_compiler_static='-non_shared'
12510 lt_prog_compiler_pic='-KPIC'
12511 lt_prog_compiler_static='-Bstatic'
12512 case $cc_basename in
12513 f77* | f90* | f95*)
12514 lt_prog_compiler_wl='-Qoption ld ';;
12516 lt_prog_compiler_wl='-Wl,';;
12521 lt_prog_compiler_wl='-Qoption ld '
12522 lt_prog_compiler_pic='-PIC'
12523 lt_prog_compiler_static='-Bstatic'
12526 sysv4 | sysv4.2uw2* | sysv4.3*)
12527 lt_prog_compiler_wl='-Wl,'
12528 lt_prog_compiler_pic='-KPIC'
12529 lt_prog_compiler_static='-Bstatic'
12533 if test -d /usr/nec ;then
12534 lt_prog_compiler_pic='-Kconform_pic'
12535 lt_prog_compiler_static='-Bstatic'
12539 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12540 lt_prog_compiler_wl='-Wl,'
12541 lt_prog_compiler_pic='-KPIC'
12542 lt_prog_compiler_static='-Bstatic'
12546 lt_prog_compiler_wl='-Wl,'
12547 lt_prog_compiler_can_build_shared=no
12551 lt_prog_compiler_pic='-pic'
12552 lt_prog_compiler_static='-Bstatic'
12556 lt_prog_compiler_can_build_shared=no
12562 # For platforms which do not support PIC, -DPIC is meaningless:
12564 lt_prog_compiler_pic=
12567 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
12571 $as_echo "$lt_prog_compiler_pic" >&6; }
12579 # Check to make sure the PIC flag actually works.
12581 if test -n "$lt_prog_compiler_pic"; then
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12583 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
12584 if ${lt_cv_prog_compiler_pic_works+:} false; then :
12585 $as_echo_n "(cached) " >&6
12587 lt_cv_prog_compiler_pic_works=no
12588 ac_outfile=conftest.$ac_objext
12589 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12590 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
12591 # Insert the option either (1) after the last *FLAGS variable, or
12592 # (2) before a word containing "conftest.", or (3) at the end.
12593 # Note that $ac_compile itself does not contain backslashes and begins
12594 # with a dollar sign (not a hyphen), so the echo should work correctly.
12595 # The option is referenced via a variable to avoid confusing sed.
12596 lt_compile=`echo "$ac_compile" | $SED \
12597 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12598 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12599 -e 's:$: $lt_compiler_flag:'`
12600 (eval echo "\"\$as_me:12600: $lt_compile\"" >&5)
12601 (eval "$lt_compile" 2>conftest.err)
12603 cat conftest.err >&5
12604 echo "$as_me:12604: \$? = $ac_status" >&5
12605 if (exit $ac_status) && test -s "$ac_outfile"; then
12606 # The compiler can only warn and ignore the option if not recognized
12607 # So say no if there are warnings other than the usual output.
12608 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12609 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12610 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12611 lt_cv_prog_compiler_pic_works=yes
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
12618 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
12620 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
12621 case $lt_prog_compiler_pic in
12623 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
12626 lt_prog_compiler_pic=
12627 lt_prog_compiler_can_build_shared=no
12638 # Check to make sure the static flag actually works.
12640 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12642 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12643 if ${lt_cv_prog_compiler_static_works+:} false; then :
12644 $as_echo_n "(cached) " >&6
12646 lt_cv_prog_compiler_static_works=no
12647 save_LDFLAGS="$LDFLAGS"
12648 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12649 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12650 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12651 # The linker can only warn and ignore the option if not recognized
12652 # So say no if there are warnings
12653 if test -s conftest.err; then
12654 # Append any errors to the config.log.
12655 cat conftest.err 1>&5
12656 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12657 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12658 if diff conftest.exp conftest.er2 >/dev/null; then
12659 lt_cv_prog_compiler_static_works=yes
12662 lt_cv_prog_compiler_static_works=yes
12666 LDFLAGS="$save_LDFLAGS"
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
12670 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
12672 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
12675 lt_prog_compiler_static=
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12685 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12686 if ${lt_cv_prog_compiler_c_o+:} false; then :
12687 $as_echo_n "(cached) " >&6
12689 lt_cv_prog_compiler_c_o=no
12690 $RM -r conftest 2>/dev/null
12694 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12696 lt_compiler_flag="-o out/conftest2.$ac_objext"
12697 # Insert the option either (1) after the last *FLAGS variable, or
12698 # (2) before a word containing "conftest.", or (3) at the end.
12699 # Note that $ac_compile itself does not contain backslashes and begins
12700 # with a dollar sign (not a hyphen), so the echo should work correctly.
12701 lt_compile=`echo "$ac_compile" | $SED \
12702 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12703 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12704 -e 's:$: $lt_compiler_flag:'`
12705 (eval echo "\"\$as_me:12705: $lt_compile\"" >&5)
12706 (eval "$lt_compile" 2>out/conftest.err)
12708 cat out/conftest.err >&5
12709 echo "$as_me:12709: \$? = $ac_status" >&5
12710 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12712 # The compiler can only warn and ignore the option if not recognized
12713 # So say no if there are warnings
12714 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12715 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12716 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12717 lt_cv_prog_compiler_c_o=yes
12722 # SGI C++ compiler will create directory out/ii_files/ for
12723 # template instantiation
12724 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12725 $RM out/* && rmdir out
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12732 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12740 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12741 if ${lt_cv_prog_compiler_c_o+:} false; then :
12742 $as_echo_n "(cached) " >&6
12744 lt_cv_prog_compiler_c_o=no
12745 $RM -r conftest 2>/dev/null
12749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12751 lt_compiler_flag="-o out/conftest2.$ac_objext"
12752 # Insert the option either (1) after the last *FLAGS variable, or
12753 # (2) before a word containing "conftest.", or (3) at the end.
12754 # Note that $ac_compile itself does not contain backslashes and begins
12755 # with a dollar sign (not a hyphen), so the echo should work correctly.
12756 lt_compile=`echo "$ac_compile" | $SED \
12757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12759 -e 's:$: $lt_compiler_flag:'`
12760 (eval echo "\"\$as_me:12760: $lt_compile\"" >&5)
12761 (eval "$lt_compile" 2>out/conftest.err)
12763 cat out/conftest.err >&5
12764 echo "$as_me:12764: \$? = $ac_status" >&5
12765 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12767 # The compiler can only warn and ignore the option if not recognized
12768 # So say no if there are warnings
12769 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12770 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12771 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12772 lt_cv_prog_compiler_c_o=yes
12777 # SGI C++ compiler will create directory out/ii_files/ for
12778 # template instantiation
12779 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12780 $RM out/* && rmdir out
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12787 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
12792 hard_links="nottested"
12793 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
12794 # do not overwrite the value of need_locks provided by the user
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12796 $as_echo_n "checking if we can lock with hard links... " >&6; }
12799 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12801 ln conftest.a conftest.b 2>&5 || hard_links=no
12802 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12804 $as_echo "$hard_links" >&6; }
12805 if test "$hard_links" = no; then
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12807 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12820 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12823 allow_undefined_flag=
12824 always_export_symbols=no
12826 archive_expsym_cmds=
12827 compiler_needs_object=no
12828 enable_shared_with_static_runtimes=no
12829 export_dynamic_flag_spec=
12830 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12831 hardcode_automatic=no
12833 hardcode_direct_absolute=no
12834 hardcode_libdir_flag_spec=
12835 hardcode_libdir_flag_spec_ld=
12836 hardcode_libdir_separator=
12837 hardcode_minus_L=no
12838 hardcode_shlibpath_var=unsupported
12840 link_all_deplibs=unknown
12842 module_expsym_cmds=
12843 old_archive_from_new_cmds=
12844 old_archive_from_expsyms_cmds=
12845 thread_safe_flag_spec=
12846 whole_archive_flag_spec=
12847 # include_expsyms should be a list of space-separated symbols to be *always*
12848 # included in the symbol list
12850 # exclude_expsyms can be an extended regexp of symbols to exclude
12851 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12852 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12853 # as well as any symbol that contains `d'.
12854 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12855 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12856 # platforms (ab)use it in PIC code, but their linkers get confused if
12857 # the symbol is explicitly referenced. Since portable code cannot
12858 # rely on this symbol name, it's probably fine to never include it in
12859 # preloaded symbol tables.
12860 # Exclude shared library initialization/finalization symbols.
12861 extract_expsyms_cmds=
12864 cygwin* | mingw* | pw32* | cegcc*)
12865 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12866 # When not using gcc, we currently assume that we are using
12867 # Microsoft Visual C++.
12868 if test "$GCC" != yes; then
12873 # we just hope/assume this is gcc and not c89 (= MSVC++)
12882 if test "$with_gnu_ld" = yes; then
12883 # If archive_cmds runs LD, not CC, wlarc should be empty
12886 # Set some defaults for GNU ld with shared library support. These
12887 # are reset later if shared libraries are not supported. Putting them
12888 # here allows them to be overridden if necessary.
12889 runpath_var=LD_RUN_PATH
12890 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12891 export_dynamic_flag_spec='${wl}--export-dynamic'
12892 # ancient GNU ld didn't support --whole-archive et. al.
12893 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12894 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12896 whole_archive_flag_spec=
12898 supports_anon_versioning=no
12899 case `$LD -v 2>&1` in
12900 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12901 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12902 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12903 *\ 2.11.*) ;; # other 2.11 versions
12904 *) supports_anon_versioning=yes ;;
12907 # See if GNU ld supports shared libraries.
12910 # On AIX/PPC, the GNU linker is very broken
12911 if test "$host_cpu" != ia64; then
12915 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12916 *** to be unable to reliably create shared libraries on AIX.
12917 *** Therefore, libtool is disabling shared libraries support. If you
12918 *** really care for shared libraries, you may want to modify your PATH
12919 *** so that a non-GNU linker is found, and then restart.
12928 # see comment about AmigaOS4 .so support
12929 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12930 archive_expsym_cmds=''
12933 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)'
12934 hardcode_libdir_flag_spec='-L$libdir'
12935 hardcode_minus_L=yes
12941 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12942 allow_undefined_flag=unsupported
12943 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12944 # support --undefined. This deserves some investigation. FIXME
12945 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12951 cygwin* | mingw* | pw32* | cegcc*)
12952 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12953 # as there is no search path for DLLs.
12954 hardcode_libdir_flag_spec='-L$libdir'
12955 allow_undefined_flag=unsupported
12956 always_export_symbols=no
12957 enable_shared_with_static_runtimes=yes
12958 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12960 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12961 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12962 # If the export-symbols file already is a .def file (1st line
12963 # is EXPORTS), use it as is; otherwise, prepend...
12964 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12965 cp $export_symbols $output_objdir/$soname.def;
12967 echo EXPORTS > $output_objdir/$soname.def;
12968 cat $export_symbols >> $output_objdir/$soname.def;
12970 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12978 hardcode_shlibpath_var=no
12979 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12980 export_dynamic_flag_spec='${wl}-E'
12981 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12982 # Instead, shared libraries are loaded at an image base (0x10000000 by
12983 # default) and relocated if they conflict, which is a slow very memory
12984 # consuming and fragmenting process. To avoid this, we pick a random,
12985 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12986 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12987 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12988 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'
12991 gnu* | linux* | tpf* | k*bsd*-gnu)
12993 if test "$host_os" = linux-dietlibc; then
12994 case $cc_basename in
12995 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12998 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12999 && test "$tmp_diet" = no
13002 tmp_sharedflag='-shared'
13003 case $cc_basename,$host_cpu in
13004 pgcc*) # Portland Group C compiler
13005 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13006 tmp_addflag=' $pic_flag'
13008 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
13009 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13010 tmp_addflag=' $pic_flag -Mnomain' ;;
13011 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13012 tmp_addflag=' -i_dynamic' ;;
13013 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13014 tmp_addflag=' -i_dynamic -nofor_main' ;;
13015 ifc* | ifort*) # Intel Fortran compiler
13016 tmp_addflag=' -nofor_main' ;;
13017 lf95*) # Lahey Fortran 8.1
13018 whole_archive_flag_spec=
13019 tmp_sharedflag='--shared' ;;
13020 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13021 tmp_sharedflag='-qmkshrobj'
13024 case `$CC -V 2>&1 | sed 5q` in
13025 *Sun\ C*) # Sun C 5.9
13026 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13027 compiler_needs_object=yes
13028 tmp_sharedflag='-G' ;;
13029 *Sun\ F*) # Sun Fortran 8.3
13030 tmp_sharedflag='-G' ;;
13032 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13034 if test "x$supports_anon_versioning" = xyes; then
13035 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
13036 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13037 echo "local: *; };" >> $output_objdir/$libname.ver~
13038 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13041 case $cc_basename in
13043 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13044 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
13045 hardcode_libdir_flag_spec=
13046 hardcode_libdir_flag_spec_ld='-rpath $libdir'
13047 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13048 if test "x$supports_anon_versioning" = xyes; then
13049 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
13050 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13051 echo "local: *; };" >> $output_objdir/$libname.ver~
13052 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13062 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13063 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13066 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13067 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13072 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13076 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13077 *** create shared libraries on Solaris systems. Therefore, libtool
13078 *** is disabling shared libraries support. We urge you to upgrade GNU
13079 *** binutils to release 2.9.1 or newer. Another option is to modify
13080 *** your PATH or compiler configuration so that the native linker is
13081 *** used, and then restart.
13084 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13085 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13086 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13092 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13093 case `$LD -v 2>&1` in
13094 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13098 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13099 *** reliably create shared libraries on SCO systems. Therefore, libtool
13100 *** is disabling shared libraries support. We urge you to upgrade GNU
13101 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13102 *** your PATH or compiler configuration so that the native linker is
13103 *** used, and then restart.
13108 # For security reasons, it is highly recommended that you always
13109 # use absolute paths for naming shared libraries, and exclude the
13110 # DT_RUNPATH tag from executables and libraries. But doing so
13111 # requires that you compile everything twice, which is a pain.
13112 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13113 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13114 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13115 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13124 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13126 hardcode_direct=yes
13127 hardcode_shlibpath_var=no
13131 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13132 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13133 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13140 if test "$ld_shlibs" = no; then
13142 hardcode_libdir_flag_spec=
13143 export_dynamic_flag_spec=
13144 whole_archive_flag_spec=
13147 # PORTME fill in a description of your system's linker (not GNU ld)
13150 allow_undefined_flag=unsupported
13151 always_export_symbols=yes
13152 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'
13153 # Note: this linker hardcodes the directories in LIBPATH if there
13154 # are no directories specified by -L.
13155 hardcode_minus_L=yes
13156 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13157 # Neither direct hardcoding nor static linking is supported with a
13159 hardcode_direct=unsupported
13164 if test "$host_cpu" = ia64; then
13165 # On IA64, the linker does run time linking by default, so we don't
13166 # have to do anything special.
13167 aix_use_runtimelinking=no
13168 exp_sym_flag='-Bexport'
13171 # If we're using GNU nm, then we don't want the "-C" option.
13172 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13173 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13174 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13176 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'
13178 aix_use_runtimelinking=no
13180 # Test if we are trying to use run time linking or normal
13181 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13182 # need to do runtime linking.
13183 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13184 for ld_flag in $LDFLAGS; do
13185 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13186 aix_use_runtimelinking=yes
13193 exp_sym_flag='-bexport'
13194 no_entry_flag='-bnoentry'
13197 # When large executables or shared objects are built, AIX ld can
13198 # have problems creating the table of contents. If linking a library
13199 # or program results in "error TOC overflow" add -mminimal-toc to
13200 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13201 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13204 hardcode_direct=yes
13205 hardcode_direct_absolute=yes
13206 hardcode_libdir_separator=':'
13207 link_all_deplibs=yes
13208 file_list_spec='${wl}-f,'
13210 if test "$GCC" = yes; then
13211 case $host_os in aix4.[012]|aix4.[012].*)
13212 # We only want to do this on AIX 4.2 and lower, the check
13213 # below for broken collect2 doesn't work under 4.3+
13214 collect2name=`${CC} -print-prog-name=collect2`
13215 if test -f "$collect2name" &&
13216 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13218 # We have reworked collect2
13221 # We have old collect2
13222 hardcode_direct=unsupported
13223 # It fails to find uninstalled libraries when the uninstalled
13224 # path is not listed in the libpath. Setting hardcode_minus_L
13225 # to unsupported forces relinking
13226 hardcode_minus_L=yes
13227 hardcode_libdir_flag_spec='-L$libdir'
13228 hardcode_libdir_separator=
13232 shared_flag='-shared'
13233 if test "$aix_use_runtimelinking" = yes; then
13234 shared_flag="$shared_flag "'${wl}-G'
13238 if test "$host_cpu" = ia64; then
13239 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13240 # chokes on -Wl,-G. The following line is correct:
13243 if test "$aix_use_runtimelinking" = yes; then
13244 shared_flag='${wl}-G'
13246 shared_flag='${wl}-bM:SRE'
13251 export_dynamic_flag_spec='${wl}-bexpall'
13252 # It seems that -bexpall does not export symbols beginning with
13253 # underscore (_), so it is better to generate a list of symbols to export.
13254 always_export_symbols=yes
13255 if test "$aix_use_runtimelinking" = yes; then
13256 # Warning - without using the other runtime loading flags (-brtl),
13257 # -berok will link without error, but may produce a broken library.
13258 allow_undefined_flag='-berok'
13259 # Determine the default libpath from the value encoded in an
13260 # empty executable.
13261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13262 /* end confdefs.h. */
13272 if ac_fn_c_try_link "$LINENO"; then :
13274 lt_aix_libpath_sed='
13275 /Import File Strings/,/^$/ {
13281 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13282 # Check for a 64-bit object if we didn't find anything.
13283 if test -z "$aix_libpath"; then
13284 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13287 rm -f core conftest.err conftest.$ac_objext \
13288 conftest$ac_exeext conftest.$ac_ext
13289 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13291 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13292 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13294 if test "$host_cpu" = ia64; then
13295 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
13296 allow_undefined_flag="-z nodefs"
13297 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"
13299 # Determine the default libpath from the value encoded in an
13300 # empty executable.
13301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13312 if ac_fn_c_try_link "$LINENO"; then :
13314 lt_aix_libpath_sed='
13315 /Import File Strings/,/^$/ {
13321 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13322 # Check for a 64-bit object if we didn't find anything.
13323 if test -z "$aix_libpath"; then
13324 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13327 rm -f core conftest.err conftest.$ac_objext \
13328 conftest$ac_exeext conftest.$ac_ext
13329 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13331 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13332 # Warning - without using the other run time loading flags,
13333 # -berok will link without error, but may produce a broken library.
13334 no_undefined_flag=' ${wl}-bernotok'
13335 allow_undefined_flag=' ${wl}-berok'
13336 # Exported symbols can be pulled into shared objects from archives
13337 whole_archive_flag_spec='$convenience'
13338 archive_cmds_need_lc=yes
13339 # This is similar to how AIX traditionally builds its shared libraries.
13340 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'
13348 # see comment about AmigaOS4 .so support
13349 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13350 archive_expsym_cmds=''
13353 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)'
13354 hardcode_libdir_flag_spec='-L$libdir'
13355 hardcode_minus_L=yes
13361 export_dynamic_flag_spec=-rdynamic
13364 cygwin* | mingw* | pw32* | cegcc*)
13365 # When not using gcc, we currently assume that we are using
13366 # Microsoft Visual C++.
13367 # hardcode_libdir_flag_spec is actually meaningless, as there is
13368 # no search path for DLLs.
13369 hardcode_libdir_flag_spec=' '
13370 allow_undefined_flag=unsupported
13371 # Tell ltmain to make .lib files, not .a files.
13373 # Tell ltmain to make .dll files, not .so files.
13375 # FIXME: Setting linknames here is a bad hack.
13376 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
13377 # The linker will automatically build a .lib file if we build a DLL.
13378 old_archive_from_new_cmds='true'
13379 # FIXME: Should let the user specify the lib program.
13380 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
13381 fix_srcfile_path='`cygpath -w "$srcfile"`'
13382 enable_shared_with_static_runtimes=yes
13385 darwin* | rhapsody*)
13388 archive_cmds_need_lc=no
13390 hardcode_automatic=yes
13391 hardcode_shlibpath_var=unsupported
13392 whole_archive_flag_spec=''
13393 link_all_deplibs=yes
13394 allow_undefined_flag="$_lt_dar_allow_undefined"
13395 case $cc_basename in
13396 ifort*) _lt_dar_can_shared=yes ;;
13397 *) _lt_dar_can_shared=$GCC ;;
13399 if test "$_lt_dar_can_shared" = "yes"; then
13400 output_verbose_link_cmd=echo
13401 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13402 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13403 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}"
13404 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}"
13413 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13414 hardcode_libdir_flag_spec='-L$libdir'
13415 hardcode_shlibpath_var=no
13422 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13423 # support. Future versions do this automatically, but an explicit c++rt0.o
13424 # does not break anything, and helps significantly (at the cost of a little
13427 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13428 hardcode_libdir_flag_spec='-R$libdir'
13429 hardcode_direct=yes
13430 hardcode_shlibpath_var=no
13433 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13435 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13436 hardcode_direct=yes
13437 hardcode_minus_L=yes
13438 hardcode_shlibpath_var=no
13441 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13442 freebsd* | dragonfly*)
13443 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13444 hardcode_libdir_flag_spec='-R$libdir'
13445 hardcode_direct=yes
13446 hardcode_shlibpath_var=no
13450 if test "$GCC" = yes; then
13451 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13453 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'
13455 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13456 hardcode_libdir_separator=:
13457 hardcode_direct=yes
13459 # hardcode_minus_L: Not really in the search PATH,
13460 # but as the default location of the library.
13461 hardcode_minus_L=yes
13462 export_dynamic_flag_spec='${wl}-E'
13466 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13467 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13469 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13471 if test "$with_gnu_ld" = no; then
13472 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13473 hardcode_libdir_flag_spec_ld='+b $libdir'
13474 hardcode_libdir_separator=:
13475 hardcode_direct=yes
13476 hardcode_direct_absolute=yes
13477 export_dynamic_flag_spec='${wl}-E'
13478 # hardcode_minus_L: Not really in the search PATH,
13479 # but as the default location of the library.
13480 hardcode_minus_L=yes
13485 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13488 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13491 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13494 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13500 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13503 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13506 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13510 if test "$with_gnu_ld" = no; then
13511 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13512 hardcode_libdir_separator=:
13517 hardcode_shlibpath_var=no
13520 hardcode_direct=yes
13521 hardcode_direct_absolute=yes
13522 export_dynamic_flag_spec='${wl}-E'
13524 # hardcode_minus_L: Not really in the search PATH,
13525 # but as the default location of the library.
13526 hardcode_minus_L=yes
13532 irix5* | irix6* | nonstopux*)
13533 if test "$GCC" = yes; then
13534 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13535 # Try to use the -exported_symbol ld option, if it does not
13536 # work, assume that -exports_file does not work either and
13537 # implicitly export all symbols.
13538 save_LDFLAGS="$LDFLAGS"
13539 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13541 /* end confdefs.h. */
13542 int foo (void) { return 0; }
13544 if ac_fn_c_try_link "$LINENO"; then :
13546 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
13549 rm -f core conftest.err conftest.$ac_objext \
13550 conftest$ac_exeext conftest.$ac_ext
13551 LDFLAGS="$save_LDFLAGS"
13553 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13554 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
13556 archive_cmds_need_lc='no'
13557 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13558 hardcode_libdir_separator=:
13560 link_all_deplibs=yes
13564 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13565 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13567 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13569 hardcode_libdir_flag_spec='-R$libdir'
13570 hardcode_direct=yes
13571 hardcode_shlibpath_var=no
13575 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13576 hardcode_direct=yes
13577 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13578 hardcode_libdir_separator=:
13579 hardcode_shlibpath_var=no
13586 if test -f /usr/libexec/ld.so; then
13587 hardcode_direct=yes
13588 hardcode_shlibpath_var=no
13589 hardcode_direct_absolute=yes
13590 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13591 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13592 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13593 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13594 export_dynamic_flag_spec='${wl}-E'
13597 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13598 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13599 hardcode_libdir_flag_spec='-R$libdir'
13602 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13603 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13613 hardcode_libdir_flag_spec='-L$libdir'
13614 hardcode_minus_L=yes
13615 allow_undefined_flag=unsupported
13616 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'
13617 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13621 if test "$GCC" = yes; then
13622 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13623 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13625 allow_undefined_flag=' -expect_unresolved \*'
13626 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13628 archive_cmds_need_lc='no'
13629 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13630 hardcode_libdir_separator=:
13633 osf4* | osf5*) # as osf3* with the addition of -msym flag
13634 if test "$GCC" = yes; then
13635 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13636 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13637 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13639 allow_undefined_flag=' -expect_unresolved \*'
13640 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13641 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~
13642 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
13644 # Both c and cxx compiler support -rpath directly
13645 hardcode_libdir_flag_spec='-rpath $libdir'
13647 archive_cmds_need_lc='no'
13648 hardcode_libdir_separator=:
13652 no_undefined_flag=' -z defs'
13653 if test "$GCC" = yes; then
13655 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13656 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13657 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13659 case `$CC -V 2>&1` in
13662 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13663 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13664 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13668 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13669 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13670 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13674 hardcode_libdir_flag_spec='-R$libdir'
13675 hardcode_shlibpath_var=no
13677 solaris2.[0-5] | solaris2.[0-5].*) ;;
13679 # The compiler driver will combine and reorder linker options,
13680 # but understands `-z linker_flag'. GCC discards it without `$wl',
13681 # but is careful enough not to reorder.
13682 # Supported since Solaris 2.6 (maybe 2.5.1?)
13683 if test "$GCC" = yes; then
13684 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13686 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13690 link_all_deplibs=yes
13694 if test "x$host_vendor" = xsequent; then
13695 # Use $CC to link under sequent, because it throws in some extra .o
13696 # files that make .init and .fini sections work.
13697 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13699 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13701 hardcode_libdir_flag_spec='-L$libdir'
13702 hardcode_direct=yes
13703 hardcode_minus_L=yes
13704 hardcode_shlibpath_var=no
13708 case $host_vendor in
13710 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13711 hardcode_direct=yes # is this really true???
13714 ## LD is ld it makes a PLAMLIB
13715 ## CC just makes a GrossModule.
13716 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13717 reload_cmds='$CC -r -o $output$reload_objs'
13721 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13722 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13725 runpath_var='LD_RUN_PATH'
13726 hardcode_shlibpath_var=no
13730 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13731 hardcode_shlibpath_var=no
13732 export_dynamic_flag_spec='-Bexport'
13736 if test -d /usr/nec; then
13737 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13738 hardcode_shlibpath_var=no
13739 runpath_var=LD_RUN_PATH
13740 hardcode_runpath_var=yes
13745 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13746 no_undefined_flag='${wl}-z,text'
13747 archive_cmds_need_lc=no
13748 hardcode_shlibpath_var=no
13749 runpath_var='LD_RUN_PATH'
13751 if test "$GCC" = yes; then
13752 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13753 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13755 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13756 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13760 sysv5* | sco3.2v5* | sco5v6*)
13761 # Note: We can NOT use -z defs as we might desire, because we do not
13762 # link with -lc, and that would cause any symbols used from libc to
13763 # always be unresolved, which means just about no library would
13764 # ever link correctly. If we're not using GNU ld we use -z text
13765 # though, which does catch some bad symbols but isn't as heavy-handed
13767 no_undefined_flag='${wl}-z,text'
13768 allow_undefined_flag='${wl}-z,nodefs'
13769 archive_cmds_need_lc=no
13770 hardcode_shlibpath_var=no
13771 hardcode_libdir_flag_spec='${wl}-R,$libdir'
13772 hardcode_libdir_separator=':'
13773 link_all_deplibs=yes
13774 export_dynamic_flag_spec='${wl}-Bexport'
13775 runpath_var='LD_RUN_PATH'
13777 if test "$GCC" = yes; then
13778 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13779 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13781 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13782 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13787 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13788 hardcode_libdir_flag_spec='-L$libdir'
13789 hardcode_shlibpath_var=no
13797 if test x$host_vendor = xsni; then
13799 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13800 export_dynamic_flag_spec='${wl}-Blargedynsym'
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13807 $as_echo "$ld_shlibs" >&6; }
13808 test "$ld_shlibs" = no && can_build_shared=no
13810 with_gnu_ld=$with_gnu_ld
13827 # Do we need to explicitly link libc?
13829 case "x$archive_cmds_need_lc" in
13831 # Assume -lc should be added
13832 archive_cmds_need_lc=yes
13834 if test "$enable_shared" = yes && test "$GCC" = yes; then
13835 case $archive_cmds in
13837 # FIXME: we may have to deal with multi-command sequences.
13840 # Test whether the compiler implicitly links with -lc since on some
13841 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13842 # to ld, don't add -lc before -lgcc.
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13844 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13849 (eval $ac_compile) 2>&5
13851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13852 test $ac_status = 0; } 2>conftest.err; then
13855 libobjs=conftest.$ac_objext
13857 wl=$lt_prog_compiler_wl
13858 pic_flag=$lt_prog_compiler_pic
13864 lt_save_allow_undefined_flag=$allow_undefined_flag
13865 allow_undefined_flag=
13866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13867 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13870 test $ac_status = 0; }
13872 archive_cmds_need_lc=no
13874 archive_cmds_need_lc=yes
13876 allow_undefined_flag=$lt_save_allow_undefined_flag
13878 cat conftest.err 1>&5
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
13882 $as_echo "$archive_cmds_need_lc" >&6; }
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14046 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14048 if test "$GCC" = yes; then
14050 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
14051 *) lt_awk_arg="/^libraries:/" ;;
14053 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14054 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
14055 # if the path contains ";" then we assume it to be the separator
14056 # otherwise default to the standard path separator (i.e. ":") - it is
14057 # assumed that no part of a normal pathname contains ";" but that should
14058 # okay in the real world where ";" in dirpaths is itself problematic.
14059 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
14061 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14063 # Ok, now we have the path, separated by spaces, we can step through it
14064 # and add multilib dir if necessary.
14065 lt_tmp_lt_search_path_spec=
14066 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
14067 for lt_sys_path in $lt_search_path_spec; do
14068 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
14069 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
14071 test -d "$lt_sys_path" && \
14072 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
14075 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
14076 BEGIN {RS=" "; FS="/|\n";} {
14079 for (lt_i = NF; lt_i > 0; lt_i--) {
14080 if ($lt_i != "" && $lt_i != ".") {
14081 if ($lt_i == "..") {
14084 if (lt_count == 0) {
14085 lt_foo="/" $lt_i lt_foo;
14092 if (lt_foo != "") { lt_freq[lt_foo]++; }
14093 if (lt_freq[lt_foo] == 1) { print lt_foo; }
14095 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
14097 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14099 library_names_spec=
14100 libname_spec='lib$name'
14104 postuninstall_cmds=
14108 shlibpath_overrides_runpath=unknown
14110 dynamic_linker="$host_os ld.so"
14111 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14112 need_lib_prefix=unknown
14113 hardcode_into_libs=no
14115 # when you set need_version to no, make sure it does not cause -set_version
14116 # flags to be left without arguments
14117 need_version=unknown
14122 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14123 shlibpath_var=LIBPATH
14125 # AIX 3 has no versioning support, so we append a major version to the name.
14126 soname_spec='${libname}${release}${shared_ext}$major'
14133 hardcode_into_libs=yes
14134 if test "$host_cpu" = ia64; then
14135 # AIX 5 supports IA64
14136 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14137 shlibpath_var=LD_LIBRARY_PATH
14139 # With GCC up to 2.95.x, collect2 would create an import file
14140 # for dependence libraries. The import file would start with
14141 # the line `#! .'. This would cause the generated library to
14142 # depend on `.', always an invalid library. This was fixed in
14143 # development snapshots of GCC prior to 3.0.
14145 aix4 | aix4.[01] | aix4.[01].*)
14146 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14148 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14151 can_build_shared=no
14155 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14156 # soname into executable. Probably we can add versioning support to
14157 # collect2, so additional links can be useful in future.
14158 if test "$aix_use_runtimelinking" = yes; then
14159 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14160 # instead of lib<name>.a to let people know that these are not
14161 # typical AIX shared libraries.
14162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14164 # We preserve .a as extension for shared libraries through AIX4.2
14165 # and later when we are not doing run time linking.
14166 library_names_spec='${libname}${release}.a $libname.a'
14167 soname_spec='${libname}${release}${shared_ext}$major'
14169 shlibpath_var=LIBPATH
14176 # Since July 2007 AmigaOS4 officially supports .so libraries.
14177 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14181 library_names_spec='$libname.ixlibrary $libname.a'
14182 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14183 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14189 library_names_spec='${libname}${shared_ext}'
14190 dynamic_linker="$host_os ld.so"
14191 shlibpath_var=LIBRARY_PATH
14197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14198 soname_spec='${libname}${release}${shared_ext}$major'
14199 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14200 shlibpath_var=LD_LIBRARY_PATH
14201 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14202 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14203 # the default ld.so.conf also contains /usr/contrib/lib and
14204 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14205 # libtool to hard-code these into programs
14208 cygwin* | mingw* | pw32* | cegcc*)
14209 version_type=windows
14214 case $GCC,$host_os in
14215 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14216 library_names_spec='$libname.dll.a'
14217 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14218 postinstall_cmds='base_file=`basename \${file}`~
14219 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14220 dldir=$destdir/`dirname \$dlpath`~
14221 test -d \$dldir || mkdir -p \$dldir~
14222 $install_prog $dir/$dlname \$dldir/$dlname~
14223 chmod a+x \$dldir/$dlname~
14224 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14225 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14227 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14228 dlpath=$dir/\$dldll~
14230 shlibpath_overrides_runpath=yes
14234 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14235 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14236 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14239 # MinGW DLLs use traditional 'lib' prefix
14240 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14241 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14242 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14243 # It is most probably a Windows format PATH printed by
14244 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14245 # path with ; separators, and with drive letters. We can handle the
14246 # drive letters (cygwin fileutils understands them), so leave them,
14247 # especially as we might pass files found there to a mingw objdump,
14248 # which wouldn't understand a cygwinified path. Ahh.
14249 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14251 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14255 # pw32 DLLs use 'pw' prefix rather than 'lib'
14256 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14262 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14265 dynamic_linker='Win32 ld.exe'
14266 # FIXME: first we should search . and the directory the executable is in
14270 darwin* | rhapsody*)
14271 dynamic_linker="$host_os dyld"
14272 version_type=darwin
14275 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14276 soname_spec='${libname}${release}${major}$shared_ext'
14277 shlibpath_overrides_runpath=yes
14278 shlibpath_var=DYLD_LIBRARY_PATH
14279 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14281 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
14282 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14291 shlibpath_var=LD_LIBRARY_PATH
14298 freebsd* | dragonfly*)
14299 # DragonFly does not have aout. When/if they implement a new
14300 # versioning mechanism, adjust this.
14301 if test -x /usr/bin/objformat; then
14302 objformat=`/usr/bin/objformat`
14305 freebsd[123]*) objformat=aout ;;
14306 *) objformat=elf ;;
14309 version_type=freebsd-$objformat
14310 case $version_type in
14312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14317 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14321 shlibpath_var=LD_LIBRARY_PATH
14324 shlibpath_overrides_runpath=yes
14326 freebsd3.[01]* | freebsdelf3.[01]*)
14327 shlibpath_overrides_runpath=yes
14328 hardcode_into_libs=yes
14330 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14331 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14332 shlibpath_overrides_runpath=no
14333 hardcode_into_libs=yes
14335 *) # from 4.6 on, and DragonFly
14336 shlibpath_overrides_runpath=yes
14337 hardcode_into_libs=yes
14346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14347 soname_spec='${libname}${release}${shared_ext}$major'
14348 shlibpath_var=LD_LIBRARY_PATH
14349 hardcode_into_libs=yes
14352 hpux9* | hpux10* | hpux11*)
14353 # Give a soname corresponding to the major version so that dld.sl refuses to
14354 # link against other versions.
14361 hardcode_into_libs=yes
14362 dynamic_linker="$host_os dld.so"
14363 shlibpath_var=LD_LIBRARY_PATH
14364 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14366 soname_spec='${libname}${release}${shared_ext}$major'
14367 if test "X$HPUX_IA64_MODE" = X32; then
14368 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14370 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14372 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14376 hardcode_into_libs=yes
14377 dynamic_linker="$host_os dld.sl"
14378 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14379 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14381 soname_spec='${libname}${release}${shared_ext}$major'
14382 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14383 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14387 dynamic_linker="$host_os dld.sl"
14388 shlibpath_var=SHLIB_PATH
14389 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14391 soname_spec='${libname}${release}${shared_ext}$major'
14394 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14395 postinstall_cmds='chmod 555 $lib'
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14404 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14405 shlibpath_var=LD_LIBRARY_PATH
14406 shlibpath_overrides_runpath=no
14407 hardcode_into_libs=yes
14410 irix5* | irix6* | nonstopux*)
14412 nonstopux*) version_type=nonstopux ;;
14414 if test "$lt_cv_prog_gnu_ld" = yes; then
14422 soname_spec='${libname}${release}${shared_ext}$major'
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14425 irix5* | nonstopux*)
14426 libsuff= shlibsuff=
14429 case $LD in # libtool.m4 will add one of these switches to LD
14430 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14431 libsuff= shlibsuff= libmagic=32-bit;;
14432 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14433 libsuff=32 shlibsuff=N32 libmagic=N32;;
14434 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14435 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14436 *) libsuff= shlibsuff= libmagic=never-match;;
14440 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14441 shlibpath_overrides_runpath=no
14442 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14443 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14444 hardcode_into_libs=yes
14447 # No shared lib support for Linux oldld, aout, or coff.
14448 linux*oldld* | linux*aout* | linux*coff*)
14452 # This must be Linux ELF.
14453 linux* | k*bsd*-gnu)
14457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14458 soname_spec='${libname}${release}${shared_ext}$major'
14459 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14460 shlibpath_var=LD_LIBRARY_PATH
14461 shlibpath_overrides_runpath=no
14462 # Some binutils ld are patched to set DT_RUNPATH
14463 save_LDFLAGS=$LDFLAGS
14464 save_libdir=$libdir
14465 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
14466 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
14467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14468 /* end confdefs.h. */
14478 if ac_fn_c_try_link "$LINENO"; then :
14479 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14480 shlibpath_overrides_runpath=yes
14483 rm -f core conftest.err conftest.$ac_objext \
14484 conftest$ac_exeext conftest.$ac_ext
14485 LDFLAGS=$save_LDFLAGS
14486 libdir=$save_libdir
14488 # This implies no fast_install, which is unacceptable.
14489 # Some rework will be needed to allow for fast_install
14490 # before this can be enabled.
14491 hardcode_into_libs=yes
14493 # Append ld.so.conf contents to the search path
14494 if test -f /etc/ld.so.conf; then
14495 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14496 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14499 # We used to test for /lib/ld.so.1 and disable shared libraries on
14500 # powerpc, because MkLinux only supported shared libraries with the
14501 # GNU dynamic linker. Since this was broken with cross compilers,
14502 # most powerpc-linux boxes support dynamic linking these days and
14503 # people can always --disable-shared, the test was removed, and we
14504 # assume the GNU/Linux dynamic linker is in use.
14505 dynamic_linker='GNU/Linux ld.so'
14512 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14514 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14515 dynamic_linker='NetBSD (a.out) ld.so'
14517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14518 soname_spec='${libname}${release}${shared_ext}$major'
14519 dynamic_linker='NetBSD ld.elf_so'
14521 shlibpath_var=LD_LIBRARY_PATH
14522 shlibpath_overrides_runpath=yes
14523 hardcode_into_libs=yes
14528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14529 shlibpath_var=LD_LIBRARY_PATH
14530 shlibpath_overrides_runpath=yes
14537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14538 soname_spec='${libname}${release}${shared_ext}$major'
14539 shlibpath_var=LD_LIBRARY_PATH
14540 shlibpath_overrides_runpath=no
14541 hardcode_into_libs=yes
14542 dynamic_linker='ldqnx.so'
14547 sys_lib_dlsearch_path_spec="/usr/lib"
14549 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14551 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14552 *) need_version=no ;;
14554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14555 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14556 shlibpath_var=LD_LIBRARY_PATH
14557 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14559 openbsd2.[89] | openbsd2.[89].*)
14560 shlibpath_overrides_runpath=no
14563 shlibpath_overrides_runpath=yes
14567 shlibpath_overrides_runpath=yes
14572 libname_spec='$name'
14575 library_names_spec='$libname${shared_ext} $libname.a'
14576 dynamic_linker='OS/2 ld.exe'
14577 shlibpath_var=LIBPATH
14580 osf3* | osf4* | osf5*)
14584 soname_spec='${libname}${release}${shared_ext}$major'
14585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14586 shlibpath_var=LD_LIBRARY_PATH
14587 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14588 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14600 soname_spec='${libname}${release}${shared_ext}$major'
14601 shlibpath_var=LD_LIBRARY_PATH
14602 shlibpath_overrides_runpath=yes
14603 hardcode_into_libs=yes
14604 # ldd complains unless libraries are executable
14605 postinstall_cmds='chmod +x $lib'
14610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14611 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14612 shlibpath_var=LD_LIBRARY_PATH
14613 shlibpath_overrides_runpath=yes
14614 if test "$with_gnu_ld" = yes; then
14622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14623 soname_spec='${libname}${release}${shared_ext}$major'
14624 shlibpath_var=LD_LIBRARY_PATH
14625 case $host_vendor in
14627 shlibpath_overrides_runpath=no
14629 runpath_var=LD_RUN_PATH
14637 shlibpath_overrides_runpath=no
14638 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14644 if test -d /usr/nec ;then
14646 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14647 soname_spec='$libname${shared_ext}.$major'
14648 shlibpath_var=LD_LIBRARY_PATH
14652 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14653 version_type=freebsd-elf
14656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14657 soname_spec='${libname}${release}${shared_ext}$major'
14658 shlibpath_var=LD_LIBRARY_PATH
14659 shlibpath_overrides_runpath=yes
14660 hardcode_into_libs=yes
14661 if test "$with_gnu_ld" = yes; then
14662 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14664 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14667 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14671 sys_lib_dlsearch_path_spec='/usr/lib'
14675 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14680 shlibpath_var=LD_LIBRARY_PATH
14681 shlibpath_overrides_runpath=no
14682 hardcode_into_libs=yes
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14688 soname_spec='${libname}${release}${shared_ext}$major'
14689 shlibpath_var=LD_LIBRARY_PATH
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14697 $as_echo "$dynamic_linker" >&6; }
14698 test "$dynamic_linker" = no && can_build_shared=no
14700 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14701 if test "$GCC" = yes; then
14702 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14705 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14706 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14708 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14709 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14799 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14801 if test -n "$hardcode_libdir_flag_spec" ||
14802 test -n "$runpath_var" ||
14803 test "X$hardcode_automatic" = "Xyes" ; then
14805 # We can hardcode non-existent directories.
14806 if test "$hardcode_direct" != no &&
14807 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14808 # have to relink, otherwise we might link with an installed library
14809 # when we should be linking with a yet-to-be-installed one
14810 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
14811 test "$hardcode_minus_L" != no; then
14812 # Linking always hardcodes the temporary library directory.
14813 hardcode_action=relink
14815 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14816 hardcode_action=immediate
14819 # We cannot hardcode anything, or else we can only hardcode existing
14821 hardcode_action=unsupported
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14824 $as_echo "$hardcode_action" >&6; }
14826 if test "$hardcode_action" = relink ||
14827 test "$inherit_rpath" = yes; then
14828 # Fast installation is not supported
14829 enable_fast_install=no
14830 elif test "$shlibpath_overrides_runpath" = yes ||
14831 test "$enable_shared" = no; then
14832 # Fast installation is not necessary
14833 enable_fast_install=needless
14841 if test "x$enable_dlopen" != xyes; then
14842 enable_dlopen=unknown
14843 enable_dlopen_self=unknown
14844 enable_dlopen_self_static=unknown
14851 lt_cv_dlopen="load_add_on"
14853 lt_cv_dlopen_self=yes
14856 mingw* | pw32* | cegcc*)
14857 lt_cv_dlopen="LoadLibrary"
14862 lt_cv_dlopen="dlopen"
14867 # if libdl is installed we need to link against it
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14869 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14870 if ${ac_cv_lib_dl_dlopen+:} false; then :
14871 $as_echo_n "(cached) " >&6
14873 ac_check_lib_save_LIBS=$LIBS
14875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14878 /* Override any GCC internal prototype to avoid an error.
14879 Use char because int might match the return type of a GCC
14880 builtin and then its argument prototype would still apply. */
14893 if ac_fn_c_try_link "$LINENO"; then :
14894 ac_cv_lib_dl_dlopen=yes
14896 ac_cv_lib_dl_dlopen=no
14898 rm -f core conftest.err conftest.$ac_objext \
14899 conftest$ac_exeext conftest.$ac_ext
14900 LIBS=$ac_check_lib_save_LIBS
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14903 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14904 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14905 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14908 lt_cv_dlopen="dyld"
14910 lt_cv_dlopen_self=yes
14917 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14918 if test "x$ac_cv_func_shl_load" = xyes; then :
14919 lt_cv_dlopen="shl_load"
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14922 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14923 if ${ac_cv_lib_dld_shl_load+:} false; then :
14924 $as_echo_n "(cached) " >&6
14926 ac_check_lib_save_LIBS=$LIBS
14928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14931 /* Override any GCC internal prototype to avoid an error.
14932 Use char because int might match the return type of a GCC
14933 builtin and then its argument prototype would still apply. */
14941 return shl_load ();
14946 if ac_fn_c_try_link "$LINENO"; then :
14947 ac_cv_lib_dld_shl_load=yes
14949 ac_cv_lib_dld_shl_load=no
14951 rm -f core conftest.err conftest.$ac_objext \
14952 conftest$ac_exeext conftest.$ac_ext
14953 LIBS=$ac_check_lib_save_LIBS
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14956 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14957 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14958 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
14960 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14961 if test "x$ac_cv_func_dlopen" = xyes; then :
14962 lt_cv_dlopen="dlopen"
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14965 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14966 if ${ac_cv_lib_dl_dlopen+:} false; then :
14967 $as_echo_n "(cached) " >&6
14969 ac_check_lib_save_LIBS=$LIBS
14971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h. */
14974 /* Override any GCC internal prototype to avoid an error.
14975 Use char because int might match the return type of a GCC
14976 builtin and then its argument prototype would still apply. */
14989 if ac_fn_c_try_link "$LINENO"; then :
14990 ac_cv_lib_dl_dlopen=yes
14992 ac_cv_lib_dl_dlopen=no
14994 rm -f core conftest.err conftest.$ac_objext \
14995 conftest$ac_exeext conftest.$ac_ext
14996 LIBS=$ac_check_lib_save_LIBS
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14999 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15000 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15001 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
15004 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
15005 if ${ac_cv_lib_svld_dlopen+:} false; then :
15006 $as_echo_n "(cached) " >&6
15008 ac_check_lib_save_LIBS=$LIBS
15009 LIBS="-lsvld $LIBS"
15010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15013 /* Override any GCC internal prototype to avoid an error.
15014 Use char because int might match the return type of a GCC
15015 builtin and then its argument prototype would still apply. */
15028 if ac_fn_c_try_link "$LINENO"; then :
15029 ac_cv_lib_svld_dlopen=yes
15031 ac_cv_lib_svld_dlopen=no
15033 rm -f core conftest.err conftest.$ac_objext \
15034 conftest$ac_exeext conftest.$ac_ext
15035 LIBS=$ac_check_lib_save_LIBS
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
15038 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
15039 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
15040 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
15043 $as_echo_n "checking for dld_link in -ldld... " >&6; }
15044 if ${ac_cv_lib_dld_dld_link+:} false; then :
15045 $as_echo_n "(cached) " >&6
15047 ac_check_lib_save_LIBS=$LIBS
15049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15050 /* end confdefs.h. */
15052 /* Override any GCC internal prototype to avoid an error.
15053 Use char because int might match the return type of a GCC
15054 builtin and then its argument prototype would still apply. */
15062 return dld_link ();
15067 if ac_fn_c_try_link "$LINENO"; then :
15068 ac_cv_lib_dld_dld_link=yes
15070 ac_cv_lib_dld_dld_link=no
15072 rm -f core conftest.err conftest.$ac_objext \
15073 conftest$ac_exeext conftest.$ac_ext
15074 LIBS=$ac_check_lib_save_LIBS
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
15077 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
15078 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
15079 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
15100 if test "x$lt_cv_dlopen" != xno; then
15106 case $lt_cv_dlopen in
15108 save_CPPFLAGS="$CPPFLAGS"
15109 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15111 save_LDFLAGS="$LDFLAGS"
15112 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15115 LIBS="$lt_cv_dlopen_libs $LIBS"
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
15118 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
15119 if ${lt_cv_dlopen_self+:} false; then :
15120 $as_echo_n "(cached) " >&6
15122 if test "$cross_compiling" = yes; then :
15123 lt_cv_dlopen_self=cross
15125 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15126 lt_status=$lt_dlunknown
15127 cat > conftest.$ac_ext <<_LT_EOF
15128 #line 15128 "configure"
15129 #include "confdefs.h"
15138 # define LT_DLGLOBAL RTLD_GLOBAL
15141 # define LT_DLGLOBAL DL_GLOBAL
15143 # define LT_DLGLOBAL 0
15147 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15148 find out it does not work in some platform. */
15149 #ifndef LT_DLLAZY_OR_NOW
15151 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15154 # define LT_DLLAZY_OR_NOW DL_LAZY
15157 # define LT_DLLAZY_OR_NOW RTLD_NOW
15160 # define LT_DLLAZY_OR_NOW DL_NOW
15162 # define LT_DLLAZY_OR_NOW 0
15169 void fnord() { int i=42;}
15172 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15173 int status = $lt_dlunknown;
15177 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15178 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15179 /* dlclose (self); */
15187 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15188 (eval $ac_link) 2>&5
15190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15191 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
15192 (./conftest; exit; ) >&5 2>/dev/null
15194 case x$lt_status in
15195 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15196 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15197 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
15200 # compilation failed
15201 lt_cv_dlopen_self=no
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
15209 $as_echo "$lt_cv_dlopen_self" >&6; }
15211 if test "x$lt_cv_dlopen_self" = xyes; then
15212 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
15214 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
15215 if ${lt_cv_dlopen_self_static+:} false; then :
15216 $as_echo_n "(cached) " >&6
15218 if test "$cross_compiling" = yes; then :
15219 lt_cv_dlopen_self_static=cross
15221 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15222 lt_status=$lt_dlunknown
15223 cat > conftest.$ac_ext <<_LT_EOF
15224 #line 15224 "configure"
15225 #include "confdefs.h"
15234 # define LT_DLGLOBAL RTLD_GLOBAL
15237 # define LT_DLGLOBAL DL_GLOBAL
15239 # define LT_DLGLOBAL 0
15243 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15244 find out it does not work in some platform. */
15245 #ifndef LT_DLLAZY_OR_NOW
15247 # define LT_DLLAZY_OR_NOW RTLD_LAZY
15250 # define LT_DLLAZY_OR_NOW DL_LAZY
15253 # define LT_DLLAZY_OR_NOW RTLD_NOW
15256 # define LT_DLLAZY_OR_NOW DL_NOW
15258 # define LT_DLLAZY_OR_NOW 0
15265 void fnord() { int i=42;}
15268 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15269 int status = $lt_dlunknown;
15273 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15274 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15275 /* dlclose (self); */
15283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15284 (eval $ac_link) 2>&5
15286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15287 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
15288 (./conftest; exit; ) >&5 2>/dev/null
15290 case x$lt_status in
15291 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15292 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15293 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
15296 # compilation failed
15297 lt_cv_dlopen_self_static=no
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
15305 $as_echo "$lt_cv_dlopen_self_static" >&6; }
15308 CPPFLAGS="$save_CPPFLAGS"
15309 LDFLAGS="$save_LDFLAGS"
15314 case $lt_cv_dlopen_self in
15315 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15316 *) enable_dlopen_self=unknown ;;
15319 case $lt_cv_dlopen_self_static in
15320 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15321 *) enable_dlopen_self_static=unknown ;;
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
15344 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
15345 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
15346 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15347 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15349 $as_echo "yes" >&6; }
15351 # FIXME - insert some real tests, host_os isn't really good enough
15354 if test -n "$STRIP" ; then
15355 striplib="$STRIP -x"
15356 old_striplib="$STRIP -S"
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15358 $as_echo "yes" >&6; }
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15361 $as_echo "no" >&6; }
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15366 $as_echo "no" >&6; }
15382 # Report which library types will actually be built
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15384 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15386 $as_echo "$can_build_shared" >&6; }
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15389 $as_echo_n "checking whether to build shared libraries... " >&6; }
15390 test "$can_build_shared" = "no" && enable_shared=no
15392 # On AIX, shared libraries and static libraries use the same namespace, and
15393 # are all built from PIC.
15396 test "$enable_shared" = yes && enable_static=no
15397 if test -n "$RANLIB"; then
15398 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15399 postinstall_cmds='$RANLIB $lib'
15404 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15405 test "$enable_shared" = yes && enable_static=no
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15410 $as_echo "$enable_shared" >&6; }
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15413 $as_echo_n "checking whether to build static libraries... " >&6; }
15414 # Make sure either enable_shared or enable_static is yes.
15415 test "$enable_shared" = yes || enable_static=yes
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15417 $as_echo "$enable_static" >&6; }
15424 ac_cpp='$CPP $CPPFLAGS'
15425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15433 ac_cpp='$CXXCPP $CPPFLAGS'
15434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15438 archive_cmds_need_lc_CXX=no
15439 allow_undefined_flag_CXX=
15440 always_export_symbols_CXX=no
15441 archive_expsym_cmds_CXX=
15442 compiler_needs_object_CXX=no
15443 export_dynamic_flag_spec_CXX=
15444 hardcode_direct_CXX=no
15445 hardcode_direct_absolute_CXX=no
15446 hardcode_libdir_flag_spec_CXX=
15447 hardcode_libdir_flag_spec_ld_CXX=
15448 hardcode_libdir_separator_CXX=
15449 hardcode_minus_L_CXX=no
15450 hardcode_shlibpath_var_CXX=unsupported
15451 hardcode_automatic_CXX=no
15452 inherit_rpath_CXX=no
15454 module_expsym_cmds_CXX=
15455 link_all_deplibs_CXX=unknown
15456 old_archive_cmds_CXX=$old_archive_cmds
15457 no_undefined_flag_CXX=
15458 whole_archive_flag_spec_CXX=
15459 enable_shared_with_static_runtimes_CXX=no
15461 # Source file extension for C++ test sources.
15464 # Object file extension for compiled C++ test sources.
15468 # No sense in running all these tests if we already determined that
15469 # the CXX compiler isn't working. Some variables (like enable_shared)
15470 # are currently assumed to apply to all compilers on this platform,
15471 # and will be corrupted by setting them based on a non-working compiler.
15472 if test "$_lt_caught_CXX_error" != yes; then
15473 # Code to be used in simple compile tests
15474 lt_simple_compile_test_code="int some_variable = 0;"
15476 # Code to be used in simple link tests
15477 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15479 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15486 # If no C compiler was specified, use CC.
15489 # If no C compiler flags were specified, use CFLAGS.
15490 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15492 # Allow CC to be a program name with arguments.
15496 # save warnings/boilerplate of simple test code
15497 ac_outfile=conftest.$ac_objext
15498 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15499 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15500 _lt_compiler_boilerplate=`cat conftest.err`
15503 ac_outfile=conftest.$ac_objext
15504 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15505 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15506 _lt_linker_boilerplate=`cat conftest.err`
15510 # Allow CC to be a program name with arguments.
15515 lt_save_with_gnu_ld=$with_gnu_ld
15516 lt_save_path_LD=$lt_cv_path_LD
15517 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15518 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15520 $as_unset lt_cv_prog_gnu_ld
15522 if test -n "${lt_cv_path_LDCXX+set}"; then
15523 lt_cv_path_LD=$lt_cv_path_LDCXX
15525 $as_unset lt_cv_path_LD
15527 test -z "${LDCXX+set}" || LD=$LDCXX
15531 for cc_temp in $compiler""; do
15533 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15534 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15539 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15542 if test -n "$compiler"; then
15543 # We don't want -fno-exception when compiling C++ code, so set the
15544 # no_builtin_flag separately
15545 if test "$GXX" = yes; then
15546 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15548 lt_prog_compiler_no_builtin_flag_CXX=
15551 if test "$GXX" = yes; then
15552 # Set up default GNU C++ configuration
15556 # Check whether --with-gnu-ld was given.
15557 if test "${with_gnu_ld+set}" = set; then :
15558 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15564 if test "$GCC" = yes; then
15565 # Check if gcc -print-prog-name=ld gives a path.
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15567 $as_echo_n "checking for ld used by $CC... " >&6; }
15570 # gcc leaves a trailing carriage return which upsets mingw
15571 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15573 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15576 # Accept absolute paths.
15578 re_direlt='/[^/][^/]*/\.\./'
15579 # Canonicalize the pathname of ld
15580 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15581 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15582 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15584 test -z "$LD" && LD="$ac_prog"
15587 # If it fails, then pretend we aren't using GCC.
15591 # If it is relative, then search for the first ld in PATH.
15592 with_gnu_ld=unknown
15595 elif test "$with_gnu_ld" = yes; then
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15597 $as_echo_n "checking for GNU ld... " >&6; }
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15600 $as_echo_n "checking for non-GNU ld... " >&6; }
15602 if ${lt_cv_path_LD+:} false; then :
15603 $as_echo_n "(cached) " >&6
15605 if test -z "$LD"; then
15606 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15607 for ac_dir in $PATH; do
15609 test -z "$ac_dir" && ac_dir=.
15610 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15611 lt_cv_path_LD="$ac_dir/$ac_prog"
15612 # Check to see if the program is GNU ld. I'd rather use --version,
15613 # but apparently some variants of GNU ld only accept -v.
15614 # Break only if it was the GNU/non-GNU ld that we prefer.
15615 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15616 *GNU* | *'with BFD'*)
15617 test "$with_gnu_ld" != no && break
15620 test "$with_gnu_ld" != yes && break
15627 lt_cv_path_LD="$LD" # Let the user override the test with a path.
15631 LD="$lt_cv_path_LD"
15632 if test -n "$LD"; then
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15634 $as_echo "$LD" >&6; }
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15637 $as_echo "no" >&6; }
15639 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15641 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15642 if ${lt_cv_prog_gnu_ld+:} false; then :
15643 $as_echo_n "(cached) " >&6
15645 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15646 case `$LD -v 2>&1 </dev/null` in
15647 *GNU* | *'with BFD'*)
15648 lt_cv_prog_gnu_ld=yes
15651 lt_cv_prog_gnu_ld=no
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15656 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15657 with_gnu_ld=$lt_cv_prog_gnu_ld
15665 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15666 # archiving commands below assume that GNU ld is being used.
15667 if test "$with_gnu_ld" = yes; then
15668 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15669 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15671 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15672 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15674 # If archive_cmds runs LD, not CC, wlarc should be empty
15675 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15676 # investigate it a little bit more. (MM)
15679 # ancient GNU ld didn't support --whole-archive et. al.
15680 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15681 $GREP 'no-whole-archive' > /dev/null; then
15682 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15684 whole_archive_flag_spec_CXX=
15690 # A generic and very simple default shared library creation
15691 # command for GNU C++ for the case where it uses the native
15692 # linker, instead of GNU ld. If possible, this setting should
15693 # overridden to take advantage of the native linker features on
15694 # the platform it is being used on.
15695 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15698 # Commands to make compiler produce verbose output that lists
15699 # what "hidden" libraries, object files and flags are used when
15700 # linking a shared library.
15701 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15709 # PORTME: fill in a description of your system's C++ link characteristics
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15711 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15715 # FIXME: insert proper C++ library support
15719 if test "$host_cpu" = ia64; then
15720 # On IA64, the linker does run time linking by default, so we don't
15721 # have to do anything special.
15722 aix_use_runtimelinking=no
15723 exp_sym_flag='-Bexport'
15726 aix_use_runtimelinking=no
15728 # Test if we are trying to use run time linking or normal
15729 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15730 # need to do runtime linking.
15731 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15732 for ld_flag in $LDFLAGS; do
15735 aix_use_runtimelinking=yes
15743 exp_sym_flag='-bexport'
15744 no_entry_flag='-bnoentry'
15747 # When large executables or shared objects are built, AIX ld can
15748 # have problems creating the table of contents. If linking a library
15749 # or program results in "error TOC overflow" add -mminimal-toc to
15750 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15751 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15753 archive_cmds_CXX=''
15754 hardcode_direct_CXX=yes
15755 hardcode_direct_absolute_CXX=yes
15756 hardcode_libdir_separator_CXX=':'
15757 link_all_deplibs_CXX=yes
15758 file_list_spec_CXX='${wl}-f,'
15760 if test "$GXX" = yes; then
15761 case $host_os in aix4.[012]|aix4.[012].*)
15762 # We only want to do this on AIX 4.2 and lower, the check
15763 # below for broken collect2 doesn't work under 4.3+
15764 collect2name=`${CC} -print-prog-name=collect2`
15765 if test -f "$collect2name" &&
15766 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15768 # We have reworked collect2
15771 # We have old collect2
15772 hardcode_direct_CXX=unsupported
15773 # It fails to find uninstalled libraries when the uninstalled
15774 # path is not listed in the libpath. Setting hardcode_minus_L
15775 # to unsupported forces relinking
15776 hardcode_minus_L_CXX=yes
15777 hardcode_libdir_flag_spec_CXX='-L$libdir'
15778 hardcode_libdir_separator_CXX=
15781 shared_flag='-shared'
15782 if test "$aix_use_runtimelinking" = yes; then
15783 shared_flag="$shared_flag "'${wl}-G'
15787 if test "$host_cpu" = ia64; then
15788 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15789 # chokes on -Wl,-G. The following line is correct:
15792 if test "$aix_use_runtimelinking" = yes; then
15793 shared_flag='${wl}-G'
15795 shared_flag='${wl}-bM:SRE'
15800 export_dynamic_flag_spec_CXX='${wl}-bexpall'
15801 # It seems that -bexpall does not export symbols beginning with
15802 # underscore (_), so it is better to generate a list of symbols to
15804 always_export_symbols_CXX=yes
15805 if test "$aix_use_runtimelinking" = yes; then
15806 # Warning - without using the other runtime loading flags (-brtl),
15807 # -berok will link without error, but may produce a broken library.
15808 allow_undefined_flag_CXX='-berok'
15809 # Determine the default libpath from the value encoded in an empty
15811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15812 /* end confdefs.h. */
15822 if ac_fn_cxx_try_link "$LINENO"; then :
15824 lt_aix_libpath_sed='
15825 /Import File Strings/,/^$/ {
15831 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15832 # Check for a 64-bit object if we didn't find anything.
15833 if test -z "$aix_libpath"; then
15834 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15837 rm -f core conftest.err conftest.$ac_objext \
15838 conftest$ac_exeext conftest.$ac_ext
15839 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15841 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15843 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15845 if test "$host_cpu" = ia64; then
15846 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15847 allow_undefined_flag_CXX="-z nodefs"
15848 archive_expsym_cmds_CXX="\$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"
15850 # Determine the default libpath from the value encoded in an
15851 # empty executable.
15852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15853 /* end confdefs.h. */
15863 if ac_fn_cxx_try_link "$LINENO"; then :
15865 lt_aix_libpath_sed='
15866 /Import File Strings/,/^$/ {
15872 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15873 # Check for a 64-bit object if we didn't find anything.
15874 if test -z "$aix_libpath"; then
15875 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15878 rm -f core conftest.err conftest.$ac_objext \
15879 conftest$ac_exeext conftest.$ac_ext
15880 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15882 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15883 # Warning - without using the other run time loading flags,
15884 # -berok will link without error, but may produce a broken library.
15885 no_undefined_flag_CXX=' ${wl}-bernotok'
15886 allow_undefined_flag_CXX=' ${wl}-berok'
15887 # Exported symbols can be pulled into shared objects from archives
15888 whole_archive_flag_spec_CXX='$convenience'
15889 archive_cmds_need_lc_CXX=yes
15890 # This is similar to how AIX traditionally builds its shared
15892 archive_expsym_cmds_CXX="\$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'
15898 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15899 allow_undefined_flag_CXX=unsupported
15900 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15901 # support --undefined. This deserves some investigation. FIXME
15902 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15909 case $cc_basename in
15911 # FIXME: insert proper C++ library support
15917 cygwin* | mingw* | pw32* | cegcc*)
15918 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15919 # as there is no search path for DLLs.
15920 hardcode_libdir_flag_spec_CXX='-L$libdir'
15921 allow_undefined_flag_CXX=unsupported
15922 always_export_symbols_CXX=no
15923 enable_shared_with_static_runtimes_CXX=yes
15925 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15926 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15927 # If the export-symbols file already is a .def file (1st line
15928 # is EXPORTS), use it as is; otherwise, prepend...
15929 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15930 cp $export_symbols $output_objdir/$soname.def;
15932 echo EXPORTS > $output_objdir/$soname.def;
15933 cat $export_symbols >> $output_objdir/$soname.def;
15935 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15940 darwin* | rhapsody*)
15943 archive_cmds_need_lc_CXX=no
15944 hardcode_direct_CXX=no
15945 hardcode_automatic_CXX=yes
15946 hardcode_shlibpath_var_CXX=unsupported
15947 whole_archive_flag_spec_CXX=''
15948 link_all_deplibs_CXX=yes
15949 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15950 case $cc_basename in
15951 ifort*) _lt_dar_can_shared=yes ;;
15952 *) _lt_dar_can_shared=$GCC ;;
15954 if test "$_lt_dar_can_shared" = "yes"; then
15955 output_verbose_link_cmd=echo
15956 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15957 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15958 archive_expsym_cmds_CXX="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}"
15959 module_expsym_cmds_CXX="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}"
15960 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15961 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
15962 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
15972 case $cc_basename in
15974 # FIXME: insert proper C++ library support
15978 # Green Hills C++ Compiler
15979 # FIXME: insert proper C++ library support
15983 # FIXME: insert proper C++ library support
15990 # C++ shared libraries reported to be fairly broken before
15996 archive_cmds_need_lc_CXX=no
15999 freebsd* | dragonfly*)
16000 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16009 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16010 hardcode_libdir_separator_CXX=:
16011 export_dynamic_flag_spec_CXX='${wl}-E'
16012 hardcode_direct_CXX=yes
16013 hardcode_minus_L_CXX=yes # Not in the search PATH,
16014 # but as the default
16015 # location of the library.
16017 case $cc_basename in
16019 # FIXME: insert proper C++ library support
16023 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16024 # Commands to make compiler produce verbose output that lists
16025 # what "hidden" libraries, object files and flags are used when
16026 # linking a shared library.
16028 # There doesn't appear to be a way to prevent this compiler from
16029 # explicitly linking system object files so we need to strip them
16030 # from the output so that they don't get included in the library
16032 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16035 if test "$GXX" = yes; then
16036 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16038 # FIXME: insert proper C++ library support
16046 if test $with_gnu_ld = no; then
16047 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16048 hardcode_libdir_separator_CXX=:
16054 export_dynamic_flag_spec_CXX='${wl}-E'
16060 hardcode_direct_CXX=no
16061 hardcode_shlibpath_var_CXX=no
16064 hardcode_direct_CXX=yes
16065 hardcode_direct_absolute_CXX=yes
16066 hardcode_minus_L_CXX=yes # Not in the search PATH,
16067 # but as the default
16068 # location of the library.
16072 case $cc_basename in
16074 # FIXME: insert proper C++ library support
16080 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16083 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16086 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16089 # Commands to make compiler produce verbose output that lists
16090 # what "hidden" libraries, object files and flags are used when
16091 # linking a shared library.
16093 # There doesn't appear to be a way to prevent this compiler from
16094 # explicitly linking system object files so we need to strip them
16095 # from the output so that they don't get included in the library
16097 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16100 if test "$GXX" = yes; then
16101 if test $with_gnu_ld = no; then
16104 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16107 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16110 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16115 # FIXME: insert proper C++ library support
16123 hardcode_direct_CXX=no
16124 hardcode_shlibpath_var_CXX=no
16125 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16126 export_dynamic_flag_spec_CXX='${wl}-E'
16127 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16128 # Instead, shared libraries are loaded at an image base (0x10000000 by
16129 # default) and relocated if they conflict, which is a slow very memory
16130 # consuming and fragmenting process. To avoid this, we pick a random,
16131 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16132 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16133 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16134 archive_expsym_cmds_CXX='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'
16137 case $cc_basename in
16140 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16142 # Archives containing C++ object files must be created using
16143 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16144 # necessary to make sure instantiated templates are included
16146 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
16149 if test "$GXX" = yes; then
16150 if test "$with_gnu_ld" = no; then
16151 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16153 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
16156 link_all_deplibs_CXX=yes
16159 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16160 hardcode_libdir_separator_CXX=:
16161 inherit_rpath_CXX=yes
16164 linux* | k*bsd*-gnu)
16165 case $cc_basename in
16167 # Kuck and Associates, Inc. (KAI) C++ Compiler
16169 # KCC will only create a shared library if the output file
16170 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16171 # to its proper name (with version) after linking.
16172 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16173 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
16174 # Commands to make compiler produce verbose output that lists
16175 # what "hidden" libraries, object files and flags are used when
16176 # linking a shared library.
16178 # There doesn't appear to be a way to prevent this compiler from
16179 # explicitly linking system object files so we need to strip them
16180 # from the output so that they don't get included in the library
16182 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16184 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16185 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16187 # Archives containing C++ object files must be created using
16188 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16189 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16194 # version 8.0 and above of icpc choke on multiply defined symbols
16195 # if we add $predep_objects and $postdep_objects, however 7.1 and
16196 # earlier do not add the objects themselves.
16197 case `$CC -V 2>&1` in
16199 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16200 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16202 *) # Version 8.0 or newer
16205 ia64*) tmp_idyn=' -i_dynamic';;
16207 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16208 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16211 archive_cmds_need_lc_CXX=no
16212 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16213 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16214 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
16217 # Portland Group C++ compiler
16219 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
16220 prelink_cmds_CXX='tpldir=Template.dir~
16222 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
16223 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
16224 old_archive_cmds_CXX='tpldir=Template.dir~
16226 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
16227 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
16229 archive_cmds_CXX='tpldir=Template.dir~
16231 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16232 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
16233 archive_expsym_cmds_CXX='tpldir=Template.dir~
16235 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16236 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
16238 *) # Version 6 will use weak symbols
16239 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
16240 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
16244 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
16245 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16246 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
16250 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16251 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
16253 runpath_var=LD_RUN_PATH
16254 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16255 hardcode_libdir_separator_CXX=:
16257 # Commands to make compiler produce verbose output that lists
16258 # what "hidden" libraries, object files and flags are used when
16259 # linking a shared library.
16261 # There doesn't appear to be a way to prevent this compiler from
16262 # explicitly linking system object files so we need to strip them
16263 # from the output so that they don't get included in the library
16265 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16268 # IBM XL 8.0 on PPC, with GNU ld
16269 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16270 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16271 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16272 if test "x$supports_anon_versioning" = xyes; then
16273 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
16274 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16275 echo "local: *; };" >> $output_objdir/$libname.ver~
16276 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16280 case `$CC -V 2>&1 | sed 5q` in
16283 no_undefined_flag_CXX=' -zdefs'
16284 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16285 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
16286 hardcode_libdir_flag_spec_CXX='-R$libdir'
16287 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
16288 compiler_needs_object_CXX=yes
16290 # Not sure whether something based on
16291 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16293 output_verbose_link_cmd='echo'
16295 # Archives containing C++ object files must be created using
16296 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16297 # necessary to make sure instantiated templates are included
16299 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16307 # FIXME: insert proper C++ library support
16312 # FIXME: insert proper C++ library support
16317 case $cc_basename in
16319 # FIXME: insert proper C++ library support
16323 # FIXME: insert proper C++ library support
16330 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16331 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16333 hardcode_libdir_flag_spec_CXX='-R$libdir'
16334 hardcode_direct_CXX=yes
16335 hardcode_shlibpath_var_CXX=no
16337 # Workaround some broken pre-1.5 toolchains
16338 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16346 # C++ shared libraries are fairly broken
16351 if test -f /usr/libexec/ld.so; then
16352 hardcode_direct_CXX=yes
16353 hardcode_shlibpath_var_CXX=no
16354 hardcode_direct_absolute_CXX=yes
16355 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16356 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16357 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16358 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16359 export_dynamic_flag_spec_CXX='${wl}-E'
16360 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16362 output_verbose_link_cmd=echo
16368 osf3* | osf4* | osf5*)
16369 case $cc_basename in
16371 # Kuck and Associates, Inc. (KAI) C++ Compiler
16373 # KCC will only create a shared library if the output file
16374 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16375 # to its proper name (with version) after linking.
16376 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16378 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16379 hardcode_libdir_separator_CXX=:
16381 # Archives containing C++ object files must be created using
16382 # the KAI C++ compiler.
16384 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16385 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16389 # Rational C++ 2.4.1
16390 # FIXME: insert proper C++ library support
16396 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16397 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16398 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16401 allow_undefined_flag_CXX=' -expect_unresolved \*'
16402 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16403 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16404 echo "-hidden">> $lib.exp~
16405 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
16407 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16411 hardcode_libdir_separator_CXX=:
16413 # Commands to make compiler produce verbose output that lists
16414 # what "hidden" libraries, object files and flags are used when
16415 # linking a shared library.
16417 # There doesn't appear to be a way to prevent this compiler from
16418 # explicitly linking system object files so we need to strip them
16419 # from the output so that they don't get included in the library
16421 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16424 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16425 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16428 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16431 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16435 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16436 hardcode_libdir_separator_CXX=:
16438 # Commands to make compiler produce verbose output that lists
16439 # what "hidden" libraries, object files and flags are used when
16440 # linking a shared library.
16441 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
16444 # FIXME: insert proper C++ library support
16452 # FIXME: insert proper C++ library support
16457 case $cc_basename in
16460 # FIXME: insert proper C++ library support
16465 # FIXME: insert proper C++ library support
16469 # FIXME: insert proper C++ library support
16476 case $cc_basename in
16478 # Sun C++ 4.2, 5.x and Centerline C++
16479 archive_cmds_need_lc_CXX=yes
16480 no_undefined_flag_CXX=' -zdefs'
16481 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16482 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16483 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16485 hardcode_libdir_flag_spec_CXX='-R$libdir'
16486 hardcode_shlibpath_var_CXX=no
16488 solaris2.[0-5] | solaris2.[0-5].*) ;;
16490 # The compiler driver will combine and reorder linker options,
16491 # but understands `-z linker_flag'.
16492 # Supported since Solaris 2.6 (maybe 2.5.1?)
16493 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16496 link_all_deplibs_CXX=yes
16498 output_verbose_link_cmd='echo'
16500 # Archives containing C++ object files must be created using
16501 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16502 # necessary to make sure instantiated templates are included
16504 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16507 # Green Hills C++ Compiler
16508 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16510 # The C++ compiler must be used to create the archive.
16511 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16514 # GNU C++ compiler with Solaris linker
16515 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16516 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
16517 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16518 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16519 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16520 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16522 # Commands to make compiler produce verbose output that lists
16523 # what "hidden" libraries, object files and flags are used when
16524 # linking a shared library.
16525 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
16527 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16529 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16530 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16531 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16533 # Commands to make compiler produce verbose output that lists
16534 # what "hidden" libraries, object files and flags are used when
16535 # linking a shared library.
16536 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
16539 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
16541 solaris2.[0-5] | solaris2.[0-5].*) ;;
16543 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16551 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16552 no_undefined_flag_CXX='${wl}-z,text'
16553 archive_cmds_need_lc_CXX=no
16554 hardcode_shlibpath_var_CXX=no
16555 runpath_var='LD_RUN_PATH'
16557 case $cc_basename in
16559 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16560 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16563 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16564 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16569 sysv5* | sco3.2v5* | sco5v6*)
16570 # Note: We can NOT use -z defs as we might desire, because we do not
16571 # link with -lc, and that would cause any symbols used from libc to
16572 # always be unresolved, which means just about no library would
16573 # ever link correctly. If we're not using GNU ld we use -z text
16574 # though, which does catch some bad symbols but isn't as heavy-handed
16576 no_undefined_flag_CXX='${wl}-z,text'
16577 allow_undefined_flag_CXX='${wl}-z,nodefs'
16578 archive_cmds_need_lc_CXX=no
16579 hardcode_shlibpath_var_CXX=no
16580 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
16581 hardcode_libdir_separator_CXX=':'
16582 link_all_deplibs_CXX=yes
16583 export_dynamic_flag_spec_CXX='${wl}-Bexport'
16584 runpath_var='LD_RUN_PATH'
16586 case $cc_basename in
16588 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16589 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16592 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16593 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16599 case $cc_basename in
16601 # NonStop-UX NCC 3.20
16602 # FIXME: insert proper C++ library support
16606 # FIXME: insert proper C++ library support
16613 # FIXME: insert proper C++ library support
16618 # FIXME: insert proper C++ library support
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16624 $as_echo "$ld_shlibs_CXX" >&6; }
16625 test "$ld_shlibs_CXX" = no && can_build_shared=no
16631 ## There is no encapsulation within the following macros, do not change
16632 ## the running order or otherwise move them around unless you know exactly
16633 ## what you are doing...
16634 # Dependencies to place before and after the object being linked:
16635 predep_objects_CXX=
16636 postdep_objects_CXX=
16639 compiler_lib_search_path_CXX=
16641 cat > conftest.$ac_ext <<_LT_EOF
16645 Foo (void) { a = 0; }
16651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16652 (eval $ac_compile) 2>&5
16654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16655 test $ac_status = 0; }; then
16656 # Parse the compiler output and extract the necessary
16657 # objects, libraries and library flags.
16659 # Sentinel used to keep track of whether or not we are before
16660 # the conftest object file.
16661 pre_test_object_deps_done=no
16663 for p in `eval "$output_verbose_link_cmd"`; do
16667 # Some compilers place space between "-{L,R}" and the path.
16668 # Remove the space.
16669 if test $p = "-L" ||
16670 test $p = "-R"; then
16677 if test "$pre_test_object_deps_done" = no; then
16680 # Internal compiler library paths should come after those
16681 # provided the user. The postdeps already come after the
16682 # user supplied libs so there is no need to process them.
16683 if test -z "$compiler_lib_search_path_CXX"; then
16684 compiler_lib_search_path_CXX="${prev}${p}"
16686 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16689 # The "-l" case would never come before the object being
16690 # linked, so don't bother handling this case.
16693 if test -z "$postdeps_CXX"; then
16694 postdeps_CXX="${prev}${p}"
16696 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16702 # This assumes that the test object file only shows up
16703 # once in the compiler output.
16704 if test "$p" = "conftest.$objext"; then
16705 pre_test_object_deps_done=yes
16709 if test "$pre_test_object_deps_done" = no; then
16710 if test -z "$predep_objects_CXX"; then
16711 predep_objects_CXX="$p"
16713 predep_objects_CXX="$predep_objects_CXX $p"
16716 if test -z "$postdep_objects_CXX"; then
16717 postdep_objects_CXX="$p"
16719 postdep_objects_CXX="$postdep_objects_CXX $p"
16724 *) ;; # Ignore the rest.
16732 echo "libtool.m4: error: problem compiling CXX test program"
16735 $RM -f confest.$objext
16737 # PORTME: override above test on systems where it is broken
16740 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16741 # hack all around it, let's just trust "g++" to DTRT.
16742 predep_objects_CXX=
16743 postdep_objects_CXX=
16748 case `$CC -V 2>&1 | sed 5q` in
16752 # The more standards-conforming stlport4 library is
16753 # incompatible with the Cstd library. Avoid specifying
16754 # it if it's in CXXFLAGS. Ignore libCrun as
16755 # -library=stlport4 depends on it.
16756 case " $CXX $CXXFLAGS " in
16757 *" -library=stlport4 "*)
16758 solaris_use_stlport4=yes
16762 if test "$solaris_use_stlport4" != yes; then
16763 postdeps_CXX='-library=Cstd -library=Crun'
16770 case $cc_basename in
16772 # The more standards-conforming stlport4 library is
16773 # incompatible with the Cstd library. Avoid specifying
16774 # it if it's in CXXFLAGS. Ignore libCrun as
16775 # -library=stlport4 depends on it.
16776 case " $CXX $CXXFLAGS " in
16777 *" -library=stlport4 "*)
16778 solaris_use_stlport4=yes
16782 # Adding this requires a known-good setup of shared libraries for
16783 # Sun compiler versions before 5.6, else PIC objects from an old
16784 # archive will be linked into the output, leading to subtle bugs.
16785 if test "$solaris_use_stlport4" != yes; then
16786 postdeps_CXX='-library=Cstd -library=Crun'
16794 case " $postdeps_CXX " in
16795 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16797 compiler_lib_search_dirs_CXX=
16798 if test -n "${compiler_lib_search_path_CXX}"; then
16799 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16832 lt_prog_compiler_wl_CXX=
16833 lt_prog_compiler_pic_CXX=
16834 lt_prog_compiler_static_CXX=
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16837 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16839 # C++ specific cases for pic, static, wl, etc.
16840 if test "$GXX" = yes; then
16841 lt_prog_compiler_wl_CXX='-Wl,'
16842 lt_prog_compiler_static_CXX='-static'
16846 # All AIX code is PIC.
16847 if test "$host_cpu" = ia64; then
16848 # AIX 5 now supports IA64 processor
16849 lt_prog_compiler_static_CXX='-Bstatic'
16856 # see comment about AmigaOS4 .so support
16857 lt_prog_compiler_pic_CXX='-fPIC'
16860 # FIXME: we need at least 68020 code to build shared libraries, but
16861 # adding the `-m68020' flag to GCC prevents building anything better,
16863 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16868 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16869 # PIC is the default for these OSes.
16871 mingw* | cygwin* | os2* | pw32* | cegcc*)
16872 # This hack is so that the source file can tell whether it is being
16873 # built for inclusion in a dll (and should export symbols for example).
16874 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16875 # (--disable-auto-import) libraries
16876 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16878 darwin* | rhapsody*)
16879 # PIC is the default on this platform
16880 # Common symbols not allowed in MH_DYLIB files
16881 lt_prog_compiler_pic_CXX='-fno-common'
16884 # DJGPP does not support shared libraries at all
16885 lt_prog_compiler_pic_CXX=
16888 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16889 # Instead, we relocate shared libraries at runtime.
16892 if test -d /usr/nec; then
16893 lt_prog_compiler_pic_CXX=-Kconform_pic
16897 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16898 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16899 # sets the default TLS model and affects inlining.
16904 lt_prog_compiler_pic_CXX='-fPIC'
16909 # QNX uses GNU C++, but need to define -shared option too, otherwise
16910 # it will coredump.
16911 lt_prog_compiler_pic_CXX='-fPIC -shared'
16914 lt_prog_compiler_pic_CXX='-fPIC'
16920 # All AIX code is PIC.
16921 if test "$host_cpu" = ia64; then
16922 # AIX 5 now supports IA64 processor
16923 lt_prog_compiler_static_CXX='-Bstatic'
16925 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16929 case $cc_basename in
16931 # Green Hills C++ Compiler
16932 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16937 case $cc_basename in
16939 lt_prog_compiler_pic_CXX='-KPIC'
16942 # Green Hills C++ Compiler
16943 lt_prog_compiler_pic_CXX='-pic'
16949 freebsd* | dragonfly*)
16950 # FreeBSD uses GNU C++
16952 hpux9* | hpux10* | hpux11*)
16953 case $cc_basename in
16955 lt_prog_compiler_wl_CXX='-Wl,'
16956 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16957 if test "$host_cpu" != ia64; then
16958 lt_prog_compiler_pic_CXX='+Z'
16962 lt_prog_compiler_wl_CXX='-Wl,'
16963 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16969 lt_prog_compiler_pic_CXX='+Z'
16978 # This is c89, which is MS Visual C++ (no shared libs)
16979 # Anyone wants to do a port?
16981 irix5* | irix6* | nonstopux*)
16982 case $cc_basename in
16984 lt_prog_compiler_wl_CXX='-Wl,'
16985 lt_prog_compiler_static_CXX='-non_shared'
16986 # CC pic flag -KPIC is the default.
16992 linux* | k*bsd*-gnu)
16993 case $cc_basename in
16996 lt_prog_compiler_wl_CXX='--backend -Wl,'
16997 lt_prog_compiler_pic_CXX='-fPIC'
17000 # old Intel C++ for x86_64 which still supported -KPIC.
17001 lt_prog_compiler_wl_CXX='-Wl,'
17002 lt_prog_compiler_pic_CXX='-KPIC'
17003 lt_prog_compiler_static_CXX='-static'
17006 # Intel C++, used to be incompatible with GCC.
17007 # ICC 10 doesn't accept -KPIC any more.
17008 lt_prog_compiler_wl_CXX='-Wl,'
17009 lt_prog_compiler_pic_CXX='-fPIC'
17010 lt_prog_compiler_static_CXX='-static'
17013 # Portland Group C++ compiler
17014 lt_prog_compiler_wl_CXX='-Wl,'
17015 lt_prog_compiler_pic_CXX='-fpic'
17016 lt_prog_compiler_static_CXX='-Bstatic'
17020 # Make sure the PIC flag is empty. It appears that all Alpha
17021 # Linux and Compaq Tru64 Unix objects are PIC.
17022 lt_prog_compiler_pic_CXX=
17023 lt_prog_compiler_static_CXX='-non_shared'
17026 # IBM XL 8.0 on PPC
17027 lt_prog_compiler_wl_CXX='-Wl,'
17028 lt_prog_compiler_pic_CXX='-qpic'
17029 lt_prog_compiler_static_CXX='-qstaticlink'
17032 case `$CC -V 2>&1 | sed 5q` in
17035 lt_prog_compiler_pic_CXX='-KPIC'
17036 lt_prog_compiler_static_CXX='-Bstatic'
17037 lt_prog_compiler_wl_CXX='-Qoption ld '
17048 case $cc_basename in
17050 lt_prog_compiler_pic_CXX='-W c,exportall'
17059 # QNX uses GNU C++, but need to define -shared option too, otherwise
17060 # it will coredump.
17061 lt_prog_compiler_pic_CXX='-fPIC -shared'
17063 osf3* | osf4* | osf5*)
17064 case $cc_basename in
17066 lt_prog_compiler_wl_CXX='--backend -Wl,'
17069 # Rational C++ 2.4.1
17070 lt_prog_compiler_pic_CXX='-pic'
17073 # Digital/Compaq C++
17074 lt_prog_compiler_wl_CXX='-Wl,'
17075 # Make sure the PIC flag is empty. It appears that all Alpha
17076 # Linux and Compaq Tru64 Unix objects are PIC.
17077 lt_prog_compiler_pic_CXX=
17078 lt_prog_compiler_static_CXX='-non_shared'
17087 case $cc_basename in
17089 # Sun C++ 4.2, 5.x and Centerline C++
17090 lt_prog_compiler_pic_CXX='-KPIC'
17091 lt_prog_compiler_static_CXX='-Bstatic'
17092 lt_prog_compiler_wl_CXX='-Qoption ld '
17095 # Green Hills C++ Compiler
17096 lt_prog_compiler_pic_CXX='-PIC'
17103 case $cc_basename in
17106 lt_prog_compiler_pic_CXX='-pic'
17107 lt_prog_compiler_static_CXX='-Bstatic'
17111 lt_prog_compiler_pic_CXX='-pic'
17117 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17118 case $cc_basename in
17120 lt_prog_compiler_wl_CXX='-Wl,'
17121 lt_prog_compiler_pic_CXX='-KPIC'
17122 lt_prog_compiler_static_CXX='-Bstatic'
17127 case $cc_basename in
17129 # NonStop-UX NCC 3.20
17130 lt_prog_compiler_pic_CXX='-KPIC'
17139 lt_prog_compiler_can_build_shared_CXX=no
17145 # For platforms which do not support PIC, -DPIC is meaningless:
17147 lt_prog_compiler_pic_CXX=
17150 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
17154 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
17159 # Check to make sure the PIC flag actually works.
17161 if test -n "$lt_prog_compiler_pic_CXX"; then
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17163 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
17164 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
17165 $as_echo_n "(cached) " >&6
17167 lt_cv_prog_compiler_pic_works_CXX=no
17168 ac_outfile=conftest.$ac_objext
17169 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17170 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
17171 # Insert the option either (1) after the last *FLAGS variable, or
17172 # (2) before a word containing "conftest.", or (3) at the end.
17173 # Note that $ac_compile itself does not contain backslashes and begins
17174 # with a dollar sign (not a hyphen), so the echo should work correctly.
17175 # The option is referenced via a variable to avoid confusing sed.
17176 lt_compile=`echo "$ac_compile" | $SED \
17177 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17178 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17179 -e 's:$: $lt_compiler_flag:'`
17180 (eval echo "\"\$as_me:17180: $lt_compile\"" >&5)
17181 (eval "$lt_compile" 2>conftest.err)
17183 cat conftest.err >&5
17184 echo "$as_me:17184: \$? = $ac_status" >&5
17185 if (exit $ac_status) && test -s "$ac_outfile"; then
17186 # The compiler can only warn and ignore the option if not recognized
17187 # So say no if there are warnings other than the usual output.
17188 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17189 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17190 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17191 lt_cv_prog_compiler_pic_works_CXX=yes
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
17198 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
17200 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
17201 case $lt_prog_compiler_pic_CXX in
17203 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17206 lt_prog_compiler_pic_CXX=
17207 lt_prog_compiler_can_build_shared_CXX=no
17215 # Check to make sure the static flag actually works.
17217 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17219 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17220 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
17221 $as_echo_n "(cached) " >&6
17223 lt_cv_prog_compiler_static_works_CXX=no
17224 save_LDFLAGS="$LDFLAGS"
17225 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17226 echo "$lt_simple_link_test_code" > conftest.$ac_ext
17227 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17228 # The linker can only warn and ignore the option if not recognized
17229 # So say no if there are warnings
17230 if test -s conftest.err; then
17231 # Append any errors to the config.log.
17232 cat conftest.err 1>&5
17233 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17234 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17235 if diff conftest.exp conftest.er2 >/dev/null; then
17236 lt_cv_prog_compiler_static_works_CXX=yes
17239 lt_cv_prog_compiler_static_works_CXX=yes
17243 LDFLAGS="$save_LDFLAGS"
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
17247 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
17249 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
17252 lt_prog_compiler_static_CXX=
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17259 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17260 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17261 $as_echo_n "(cached) " >&6
17263 lt_cv_prog_compiler_c_o_CXX=no
17264 $RM -r conftest 2>/dev/null
17268 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17270 lt_compiler_flag="-o out/conftest2.$ac_objext"
17271 # Insert the option either (1) after the last *FLAGS variable, or
17272 # (2) before a word containing "conftest.", or (3) at the end.
17273 # Note that $ac_compile itself does not contain backslashes and begins
17274 # with a dollar sign (not a hyphen), so the echo should work correctly.
17275 lt_compile=`echo "$ac_compile" | $SED \
17276 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17277 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17278 -e 's:$: $lt_compiler_flag:'`
17279 (eval echo "\"\$as_me:17279: $lt_compile\"" >&5)
17280 (eval "$lt_compile" 2>out/conftest.err)
17282 cat out/conftest.err >&5
17283 echo "$as_me:17283: \$? = $ac_status" >&5
17284 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17286 # The compiler can only warn and ignore the option if not recognized
17287 # So say no if there are warnings
17288 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17289 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17290 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17291 lt_cv_prog_compiler_c_o_CXX=yes
17296 # SGI C++ compiler will create directory out/ii_files/ for
17297 # template instantiation
17298 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17299 $RM out/* && rmdir out
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17306 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17311 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17312 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17313 $as_echo_n "(cached) " >&6
17315 lt_cv_prog_compiler_c_o_CXX=no
17316 $RM -r conftest 2>/dev/null
17320 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17322 lt_compiler_flag="-o out/conftest2.$ac_objext"
17323 # Insert the option either (1) after the last *FLAGS variable, or
17324 # (2) before a word containing "conftest.", or (3) at the end.
17325 # Note that $ac_compile itself does not contain backslashes and begins
17326 # with a dollar sign (not a hyphen), so the echo should work correctly.
17327 lt_compile=`echo "$ac_compile" | $SED \
17328 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17330 -e 's:$: $lt_compiler_flag:'`
17331 (eval echo "\"\$as_me:17331: $lt_compile\"" >&5)
17332 (eval "$lt_compile" 2>out/conftest.err)
17334 cat out/conftest.err >&5
17335 echo "$as_me:17335: \$? = $ac_status" >&5
17336 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17338 # The compiler can only warn and ignore the option if not recognized
17339 # So say no if there are warnings
17340 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17341 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17342 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17343 lt_cv_prog_compiler_c_o_CXX=yes
17348 # SGI C++ compiler will create directory out/ii_files/ for
17349 # template instantiation
17350 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17351 $RM out/* && rmdir out
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17358 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17363 hard_links="nottested"
17364 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17365 # do not overwrite the value of need_locks provided by the user
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17367 $as_echo_n "checking if we can lock with hard links... " >&6; }
17370 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17372 ln conftest.a conftest.b 2>&5 || hard_links=no
17373 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17375 $as_echo "$hard_links" >&6; }
17376 if test "$hard_links" = no; then
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17378 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17388 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17390 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17393 # If we're using GNU nm, then we don't want the "-C" option.
17394 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17395 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17396 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17398 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17402 export_symbols_cmds_CXX="$ltdll_cmds"
17404 cygwin* | mingw* | cegcc*)
17405 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
17408 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17411 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17414 $as_echo "$ld_shlibs_CXX" >&6; }
17415 test "$ld_shlibs_CXX" = no && can_build_shared=no
17417 with_gnu_ld_CXX=$with_gnu_ld
17425 # Do we need to explicitly link libc?
17427 case "x$archive_cmds_need_lc_CXX" in
17429 # Assume -lc should be added
17430 archive_cmds_need_lc_CXX=yes
17432 if test "$enable_shared" = yes && test "$GCC" = yes; then
17433 case $archive_cmds_CXX in
17435 # FIXME: we may have to deal with multi-command sequences.
17438 # Test whether the compiler implicitly links with -lc since on some
17439 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17440 # to ld, don't add -lc before -lgcc.
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17442 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17444 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17447 (eval $ac_compile) 2>&5
17449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17450 test $ac_status = 0; } 2>conftest.err; then
17453 libobjs=conftest.$ac_objext
17455 wl=$lt_prog_compiler_wl_CXX
17456 pic_flag=$lt_prog_compiler_pic_CXX
17462 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17463 allow_undefined_flag_CXX=
17464 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17465 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17468 test $ac_status = 0; }
17470 archive_cmds_need_lc_CXX=no
17472 archive_cmds_need_lc_CXX=yes
17474 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17476 cat conftest.err 1>&5
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
17480 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17551 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17553 library_names_spec=
17554 libname_spec='lib$name'
17558 postuninstall_cmds=
17562 shlibpath_overrides_runpath=unknown
17564 dynamic_linker="$host_os ld.so"
17565 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17566 need_lib_prefix=unknown
17567 hardcode_into_libs=no
17569 # when you set need_version to no, make sure it does not cause -set_version
17570 # flags to be left without arguments
17571 need_version=unknown
17576 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17577 shlibpath_var=LIBPATH
17579 # AIX 3 has no versioning support, so we append a major version to the name.
17580 soname_spec='${libname}${release}${shared_ext}$major'
17587 hardcode_into_libs=yes
17588 if test "$host_cpu" = ia64; then
17589 # AIX 5 supports IA64
17590 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17591 shlibpath_var=LD_LIBRARY_PATH
17593 # With GCC up to 2.95.x, collect2 would create an import file
17594 # for dependence libraries. The import file would start with
17595 # the line `#! .'. This would cause the generated library to
17596 # depend on `.', always an invalid library. This was fixed in
17597 # development snapshots of GCC prior to 3.0.
17599 aix4 | aix4.[01] | aix4.[01].*)
17600 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17602 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17605 can_build_shared=no
17609 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17610 # soname into executable. Probably we can add versioning support to
17611 # collect2, so additional links can be useful in future.
17612 if test "$aix_use_runtimelinking" = yes; then
17613 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17614 # instead of lib<name>.a to let people know that these are not
17615 # typical AIX shared libraries.
17616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17618 # We preserve .a as extension for shared libraries through AIX4.2
17619 # and later when we are not doing run time linking.
17620 library_names_spec='${libname}${release}.a $libname.a'
17621 soname_spec='${libname}${release}${shared_ext}$major'
17623 shlibpath_var=LIBPATH
17630 # Since July 2007 AmigaOS4 officially supports .so libraries.
17631 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17635 library_names_spec='$libname.ixlibrary $libname.a'
17636 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17637 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17643 library_names_spec='${libname}${shared_ext}'
17644 dynamic_linker="$host_os ld.so"
17645 shlibpath_var=LIBRARY_PATH
17651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17652 soname_spec='${libname}${release}${shared_ext}$major'
17653 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17654 shlibpath_var=LD_LIBRARY_PATH
17655 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17656 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17657 # the default ld.so.conf also contains /usr/contrib/lib and
17658 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17659 # libtool to hard-code these into programs
17662 cygwin* | mingw* | pw32* | cegcc*)
17663 version_type=windows
17668 case $GCC,$host_os in
17669 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
17670 library_names_spec='$libname.dll.a'
17671 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17672 postinstall_cmds='base_file=`basename \${file}`~
17673 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17674 dldir=$destdir/`dirname \$dlpath`~
17675 test -d \$dldir || mkdir -p \$dldir~
17676 $install_prog $dir/$dlname \$dldir/$dlname~
17677 chmod a+x \$dldir/$dlname~
17678 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17679 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17681 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17682 dlpath=$dir/\$dldll~
17684 shlibpath_overrides_runpath=yes
17688 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17689 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17690 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17693 # MinGW DLLs use traditional 'lib' prefix
17694 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17695 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17696 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17697 # It is most probably a Windows format PATH printed by
17698 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17699 # path with ; separators, and with drive letters. We can handle the
17700 # drive letters (cygwin fileutils understands them), so leave them,
17701 # especially as we might pass files found there to a mingw objdump,
17702 # which wouldn't understand a cygwinified path. Ahh.
17703 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17705 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17709 # pw32 DLLs use 'pw' prefix rather than 'lib'
17710 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17716 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17719 dynamic_linker='Win32 ld.exe'
17720 # FIXME: first we should search . and the directory the executable is in
17724 darwin* | rhapsody*)
17725 dynamic_linker="$host_os dyld"
17726 version_type=darwin
17729 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17730 soname_spec='${libname}${release}${major}$shared_ext'
17731 shlibpath_overrides_runpath=yes
17732 shlibpath_var=DYLD_LIBRARY_PATH
17733 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17735 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17743 soname_spec='${libname}${release}${shared_ext}$major'
17744 shlibpath_var=LD_LIBRARY_PATH
17751 freebsd* | dragonfly*)
17752 # DragonFly does not have aout. When/if they implement a new
17753 # versioning mechanism, adjust this.
17754 if test -x /usr/bin/objformat; then
17755 objformat=`/usr/bin/objformat`
17758 freebsd[123]*) objformat=aout ;;
17759 *) objformat=elf ;;
17762 version_type=freebsd-$objformat
17763 case $version_type in
17765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17770 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17774 shlibpath_var=LD_LIBRARY_PATH
17777 shlibpath_overrides_runpath=yes
17779 freebsd3.[01]* | freebsdelf3.[01]*)
17780 shlibpath_overrides_runpath=yes
17781 hardcode_into_libs=yes
17783 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17784 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17785 shlibpath_overrides_runpath=no
17786 hardcode_into_libs=yes
17788 *) # from 4.6 on, and DragonFly
17789 shlibpath_overrides_runpath=yes
17790 hardcode_into_libs=yes
17799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17800 soname_spec='${libname}${release}${shared_ext}$major'
17801 shlibpath_var=LD_LIBRARY_PATH
17802 hardcode_into_libs=yes
17805 hpux9* | hpux10* | hpux11*)
17806 # Give a soname corresponding to the major version so that dld.sl refuses to
17807 # link against other versions.
17814 hardcode_into_libs=yes
17815 dynamic_linker="$host_os dld.so"
17816 shlibpath_var=LD_LIBRARY_PATH
17817 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17819 soname_spec='${libname}${release}${shared_ext}$major'
17820 if test "X$HPUX_IA64_MODE" = X32; then
17821 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17823 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17825 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17829 hardcode_into_libs=yes
17830 dynamic_linker="$host_os dld.sl"
17831 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17832 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17834 soname_spec='${libname}${release}${shared_ext}$major'
17835 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17836 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17840 dynamic_linker="$host_os dld.sl"
17841 shlibpath_var=SHLIB_PATH
17842 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17844 soname_spec='${libname}${release}${shared_ext}$major'
17847 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17848 postinstall_cmds='chmod 555 $lib'
17855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17856 soname_spec='${libname}${release}${shared_ext}$major'
17857 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17858 shlibpath_var=LD_LIBRARY_PATH
17859 shlibpath_overrides_runpath=no
17860 hardcode_into_libs=yes
17863 irix5* | irix6* | nonstopux*)
17865 nonstopux*) version_type=nonstopux ;;
17867 if test "$lt_cv_prog_gnu_ld" = yes; then
17875 soname_spec='${libname}${release}${shared_ext}$major'
17876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17878 irix5* | nonstopux*)
17879 libsuff= shlibsuff=
17882 case $LD in # libtool.m4 will add one of these switches to LD
17883 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17884 libsuff= shlibsuff= libmagic=32-bit;;
17885 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17886 libsuff=32 shlibsuff=N32 libmagic=N32;;
17887 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17888 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17889 *) libsuff= shlibsuff= libmagic=never-match;;
17893 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17894 shlibpath_overrides_runpath=no
17895 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17896 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17897 hardcode_into_libs=yes
17900 # No shared lib support for Linux oldld, aout, or coff.
17901 linux*oldld* | linux*aout* | linux*coff*)
17905 # This must be Linux ELF.
17906 linux* | k*bsd*-gnu)
17910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17911 soname_spec='${libname}${release}${shared_ext}$major'
17912 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17913 shlibpath_var=LD_LIBRARY_PATH
17914 shlibpath_overrides_runpath=no
17915 # Some binutils ld are patched to set DT_RUNPATH
17916 save_LDFLAGS=$LDFLAGS
17917 save_libdir=$libdir
17918 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17919 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17921 /* end confdefs.h. */
17931 if ac_fn_cxx_try_link "$LINENO"; then :
17932 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17933 shlibpath_overrides_runpath=yes
17936 rm -f core conftest.err conftest.$ac_objext \
17937 conftest$ac_exeext conftest.$ac_ext
17938 LDFLAGS=$save_LDFLAGS
17939 libdir=$save_libdir
17941 # This implies no fast_install, which is unacceptable.
17942 # Some rework will be needed to allow for fast_install
17943 # before this can be enabled.
17944 hardcode_into_libs=yes
17946 # Append ld.so.conf contents to the search path
17947 if test -f /etc/ld.so.conf; then
17948 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17949 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17952 # We used to test for /lib/ld.so.1 and disable shared libraries on
17953 # powerpc, because MkLinux only supported shared libraries with the
17954 # GNU dynamic linker. Since this was broken with cross compilers,
17955 # most powerpc-linux boxes support dynamic linking these days and
17956 # people can always --disable-shared, the test was removed, and we
17957 # assume the GNU/Linux dynamic linker is in use.
17958 dynamic_linker='GNU/Linux ld.so'
17965 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17967 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17968 dynamic_linker='NetBSD (a.out) ld.so'
17970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17971 soname_spec='${libname}${release}${shared_ext}$major'
17972 dynamic_linker='NetBSD ld.elf_so'
17974 shlibpath_var=LD_LIBRARY_PATH
17975 shlibpath_overrides_runpath=yes
17976 hardcode_into_libs=yes
17981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17982 shlibpath_var=LD_LIBRARY_PATH
17983 shlibpath_overrides_runpath=yes
17990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17991 soname_spec='${libname}${release}${shared_ext}$major'
17992 shlibpath_var=LD_LIBRARY_PATH
17993 shlibpath_overrides_runpath=no
17994 hardcode_into_libs=yes
17995 dynamic_linker='ldqnx.so'
18000 sys_lib_dlsearch_path_spec="/usr/lib"
18002 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18004 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18005 *) need_version=no ;;
18007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18008 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18009 shlibpath_var=LD_LIBRARY_PATH
18010 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18012 openbsd2.[89] | openbsd2.[89].*)
18013 shlibpath_overrides_runpath=no
18016 shlibpath_overrides_runpath=yes
18020 shlibpath_overrides_runpath=yes
18025 libname_spec='$name'
18028 library_names_spec='$libname${shared_ext} $libname.a'
18029 dynamic_linker='OS/2 ld.exe'
18030 shlibpath_var=LIBPATH
18033 osf3* | osf4* | osf5*)
18037 soname_spec='${libname}${release}${shared_ext}$major'
18038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18039 shlibpath_var=LD_LIBRARY_PATH
18040 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18041 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18053 soname_spec='${libname}${release}${shared_ext}$major'
18054 shlibpath_var=LD_LIBRARY_PATH
18055 shlibpath_overrides_runpath=yes
18056 hardcode_into_libs=yes
18057 # ldd complains unless libraries are executable
18058 postinstall_cmds='chmod +x $lib'
18063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18064 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18065 shlibpath_var=LD_LIBRARY_PATH
18066 shlibpath_overrides_runpath=yes
18067 if test "$with_gnu_ld" = yes; then
18075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18076 soname_spec='${libname}${release}${shared_ext}$major'
18077 shlibpath_var=LD_LIBRARY_PATH
18078 case $host_vendor in
18080 shlibpath_overrides_runpath=no
18082 runpath_var=LD_RUN_PATH
18090 shlibpath_overrides_runpath=no
18091 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18097 if test -d /usr/nec ;then
18099 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18100 soname_spec='$libname${shared_ext}.$major'
18101 shlibpath_var=LD_LIBRARY_PATH
18105 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18106 version_type=freebsd-elf
18109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18110 soname_spec='${libname}${release}${shared_ext}$major'
18111 shlibpath_var=LD_LIBRARY_PATH
18112 shlibpath_overrides_runpath=yes
18113 hardcode_into_libs=yes
18114 if test "$with_gnu_ld" = yes; then
18115 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18117 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18120 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18124 sys_lib_dlsearch_path_spec='/usr/lib'
18128 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18133 shlibpath_var=LD_LIBRARY_PATH
18134 shlibpath_overrides_runpath=no
18135 hardcode_into_libs=yes
18140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18141 soname_spec='${libname}${release}${shared_ext}$major'
18142 shlibpath_var=LD_LIBRARY_PATH
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18150 $as_echo "$dynamic_linker" >&6; }
18151 test "$dynamic_linker" = no && can_build_shared=no
18153 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18154 if test "$GCC" = yes; then
18155 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18158 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18159 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18161 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18162 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18201 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18202 hardcode_action_CXX=
18203 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18204 test -n "$runpath_var_CXX" ||
18205 test "X$hardcode_automatic_CXX" = "Xyes" ; then
18207 # We can hardcode non-existent directories.
18208 if test "$hardcode_direct_CXX" != no &&
18209 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18210 # have to relink, otherwise we might link with an installed library
18211 # when we should be linking with a yet-to-be-installed one
18212 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
18213 test "$hardcode_minus_L_CXX" != no; then
18214 # Linking always hardcodes the temporary library directory.
18215 hardcode_action_CXX=relink
18217 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18218 hardcode_action_CXX=immediate
18221 # We cannot hardcode anything, or else we can only hardcode existing
18223 hardcode_action_CXX=unsupported
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18226 $as_echo "$hardcode_action_CXX" >&6; }
18228 if test "$hardcode_action_CXX" = relink ||
18229 test "$inherit_rpath_CXX" = yes; then
18230 # Fast installation is not supported
18231 enable_fast_install=no
18232 elif test "$shlibpath_overrides_runpath" = yes ||
18233 test "$enable_shared" = no; then
18234 # Fast installation is not necessary
18235 enable_fast_install=needless
18244 fi # test -n "$compiler"
18250 with_gnu_ld=$lt_save_with_gnu_ld
18251 lt_cv_path_LDCXX=$lt_cv_path_LD
18252 lt_cv_path_LD=$lt_save_path_LD
18253 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18254 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18255 fi # test "$_lt_caught_CXX_error" != yes
18258 ac_cpp='$CPP $CPPFLAGS'
18259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18275 ac_config_commands="$ac_config_commands libtool"
18280 # Only expand once:
18285 if test "x$glib" = "xyes"; then
18287 EVENT_GLIB_FALSE='#'
18289 EVENT_GLIB_TRUE='#'
18293 if test "x$glib" = "xno"; then
18295 SUPPORT_GLIB_FALSE='#'
18297 SUPPORT_GLIB_TRUE='#'
18298 SUPPORT_GLIB_FALSE=
18301 if test "x$glib" = "xno"; then
18302 SUPPORT_EZXML_TRUE=
18303 SUPPORT_EZXML_FALSE='#'
18305 SUPPORT_EZXML_TRUE='#'
18306 SUPPORT_EZXML_FALSE=
18310 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18311 if test "x$ac_cv_header_sys_time_h" = xyes; then :
18313 $as_echo "#define HAVE_SYS_TIME_H 1" >>confdefs.h
18320 if test "x${ZLIB_CFLAGS}" = "x" -a "x${ZLIB_LIBS}" = "x"; then
18321 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
18322 if test "x$ac_cv_header_zlib_h" = xyes; then :
18324 $as_echo "#define HAVE_ZLIB /**/" >>confdefs.h
18329 ZLIB_CFLAGS="-I\$(top_srcdir)/navit/support/zlib"
18330 ZLIB_LIBS="-L\$(top_builddir)/navit/support/zlib -lsupport_zlib"
18339 if test "x$zlib" = "xno"; then
18341 SUPPORT_ZLIB_FALSE='#'
18343 SUPPORT_ZLIB_TRUE='#'
18344 SUPPORT_ZLIB_FALSE=
18350 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
18351 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
18353 $as_echo "#define HAVE_SOCKET /**/" >>confdefs.h
18358 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
18359 if test "x$ac_cv_header_winsock2_h" = xyes; then :
18361 $as_echo "#define HAVE_WINSOCK /**/" >>confdefs.h
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
18371 $as_echo_n "checking for GTK2... " >&6; }
18373 if test -n "$GTK2_CFLAGS"; then
18374 pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
18375 elif test -n "$PKG_CONFIG"; then
18376 if test -n "$PKG_CONFIG" && \
18377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
18378 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
18380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18381 test $ac_status = 0; }; then
18382 pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
18389 if test -n "$GTK2_LIBS"; then
18390 pkg_cv_GTK2_LIBS="$GTK2_LIBS"
18391 elif test -n "$PKG_CONFIG"; then
18392 if test -n "$PKG_CONFIG" && \
18393 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5
18394 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
18396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18397 test $ac_status = 0; }; then
18398 pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
18408 if test $pkg_failed = yes; then
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18410 $as_echo "no" >&6; }
18412 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18413 _pkg_short_errors_supported=yes
18415 _pkg_short_errors_supported=no
18417 if test $_pkg_short_errors_supported = yes; then
18418 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0" 2>&1`
18420 GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0" 2>&1`
18422 # Put the nasty error message in config.log where it belongs
18423 echo "$GTK2_PKG_ERRORS" >&5
18426 elif test $pkg_failed = untried; then
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18428 $as_echo "no" >&6; }
18431 GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
18432 GTK2_LIBS=$pkg_cv_GTK2_LIBS
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18434 $as_echo "yes" >&6; }
18437 if test "x$gtk2_pkgconfig" = "xyes"; then
18439 $as_echo "#define HAVE_GTK2 1" >>confdefs.h
18441 graphics_gtk_drawing_area=yes; graphics_gtk_drawing_area_reason="gtk+-2.0 present"
18442 gui_gtk=yes; gui_gtk_reason="gtk+-2.0 present"
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fsync" >&5
18447 $as_echo_n "checking for fsync... " >&6; }
18448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18449 /* end confdefs.h. */
18450 #include <unistd.h>
18459 if ac_fn_c_try_link "$LINENO"; then :
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18461 $as_echo "yes" >&6; };
18462 $as_echo "#define HAVE_FSYNC 1" >>confdefs.h
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18466 $as_echo "no" >&6; }
18468 rm -f core conftest.err conftest.$ac_objext \
18469 conftest$ac_exeext conftest.$ac_ext
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for system" >&5
18473 $as_echo_n "checking for system... " >&6; }
18474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18475 /* end confdefs.h. */
18476 #include <stdlib.h>
18480 system("/bin/true");
18485 if ac_fn_c_try_link "$LINENO"; then :
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18487 $as_echo "yes" >&6; };
18488 $as_echo "#define HAVE_SYSTEM 1" >>confdefs.h
18491 speech_cmdline=no; speech_cmdline_reason="not supported without system()"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18492 $as_echo "no" >&6; }
18494 rm -f core conftest.err conftest.$ac_objext \
18495 conftest$ac_exeext conftest.$ac_ext
18497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CreateProcess" >&5
18498 $as_echo_n "checking for CreateProcess... " >&6; }
18499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18500 /* end confdefs.h. */
18501 #include <windows.h>
18505 CreateProcess(NULL,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL);
18510 if ac_fn_c_try_link "$LINENO"; then :
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18512 $as_echo "yes" >&6; };
18513 $as_echo "#define HAVE_CREATEPROCESS 1" >>confdefs.h
18514 speech_cmdline=yes; speech_cmdline_reason="CreateProcess exists"
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18517 $as_echo "no" >&6; }
18519 rm -f core conftest.err conftest.$ac_objext \
18520 conftest$ac_exeext conftest.$ac_ext
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sbrk" >&5
18524 $as_echo_n "checking for sbrk... " >&6; }
18525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18526 /* end confdefs.h. */
18527 #include <unistd.h>
18536 if ac_fn_c_try_link "$LINENO"; then :
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18538 $as_echo "yes" >&6; };
18539 $as_echo "#define HAVE_SBRK 1" >>confdefs.h
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18543 $as_echo "no" >&6; }
18545 rm -f core conftest.err conftest.$ac_objext \
18546 conftest$ac_exeext conftest.$ac_ext
18549 # Check whether --enable-graphics-sdl was given.
18550 if test "${enable_graphics_sdl+set}" = set; then :
18551 enableval=$enable_graphics_sdl; graphics_sdl=$enableval;graphics_sdl_reason="configure parameter"
18555 if test "x${graphics_sdl}" = "xyes" ; then
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
18559 $as_echo_n "checking for SDL... " >&6; }
18561 if test -n "$SDL_CFLAGS"; then
18562 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
18563 elif test -n "$PKG_CONFIG"; then
18564 if test -n "$PKG_CONFIG" && \
18565 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
18566 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
18568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18569 test $ac_status = 0; }; then
18570 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
18577 if test -n "$SDL_LIBS"; then
18578 pkg_cv_SDL_LIBS="$SDL_LIBS"
18579 elif test -n "$PKG_CONFIG"; then
18580 if test -n "$PKG_CONFIG" && \
18581 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl\""; } >&5
18582 ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
18584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18585 test $ac_status = 0; }; then
18586 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
18596 if test $pkg_failed = yes; then
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18598 $as_echo "no" >&6; }
18600 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18601 _pkg_short_errors_supported=yes
18603 _pkg_short_errors_supported=no
18605 if test $_pkg_short_errors_supported = yes; then
18606 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl" 2>&1`
18608 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl" 2>&1`
18610 # Put the nasty error message in config.log where it belongs
18611 echo "$SDL_PKG_ERRORS" >&5
18614 graphics_sdl_reason="sdl not available"
18616 elif test $pkg_failed = untried; then
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18618 $as_echo "no" >&6; }
18620 graphics_sdl_reason="sdl not available"
18623 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
18624 SDL_LIBS=$pkg_cv_SDL_LIBS
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18626 $as_echo "yes" >&6; }
18628 graphics_sdl_reason="sdl present"
18633 if test "x${graphics_sdl}" = "xyes" ; then
18634 save_CPPFLAGS=$CPPFLAGS
18635 CPPFLAGS="$SDL_CFLAGS $CPPFLAGS"
18636 ac_fn_c_check_header_mongrel "$LINENO" "SDL_image.h" "ac_cv_header_SDL_image_h" "$ac_includes_default"
18637 if test "x$ac_cv_header_SDL_image_h" = xyes; then :
18638 SDL_IMAGE_LIBS=-lSDL_image
18640 graphics_sdl="no";graphics_sdl_reason="SDL_image.h missing"
18645 CPPFLAGS=$save_CPPFLAGS
18647 if test "x${graphics_sdl}" = "xyes" ; then
18649 $as_echo "#define GRAPHICS_SDL 1" >>confdefs.h
18652 if test "x${graphics_sdl}" = "xyes"; then
18654 GRAPHICS_SDL_FALSE='#'
18656 GRAPHICS_SDL_TRUE='#'
18657 GRAPHICS_SDL_FALSE=
18661 # Check whether --enable-postgresql was given.
18662 if test "${enable_postgresql+set}" = set; then :
18663 enableval=$enable_postgresql; postgresql=$enableval;postgresql_reason="configure parameter"
18666 if test "x${postgresql}" = "xyes" ; then
18667 if test -z "$PG_CONFIG"; then
18668 # Extract the first word of "pg_config", so it can be a program name with args.
18669 set dummy pg_config; ac_word=$2
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18671 $as_echo_n "checking for $ac_word... " >&6; }
18672 if ${ac_cv_path_PG_CONFIG+:} false; then :
18673 $as_echo_n "(cached) " >&6
18677 ac_cv_path_PG_CONFIG="$PG_CONFIG" # Let the user override the test with a path.
18680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18681 for as_dir in $PATH
18684 test -z "$as_dir" && as_dir=.
18685 for ac_exec_ext in '' $ac_executable_extensions; do
18686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18687 ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18698 PG_CONFIG=$ac_cv_path_PG_CONFIG
18699 if test -n "$PG_CONFIG"; then
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5
18701 $as_echo "$PG_CONFIG" >&6; }
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18704 $as_echo "no" >&6; }
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PostgreSQL libraries with $PG_CONFIG" >&5
18710 $as_echo_n "checking for PostgreSQL libraries with $PG_CONFIG... " >&6; }
18711 if test ! -x "$PG_CONFIG"; then
18712 if test "x${PG_CONFIG}" = "x" ; then
18713 postgresql_reason="$PG_CONFIG not executable"
18715 postgresql_reason="pg_config missing"
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18719 $as_echo "no" >&6; }
18721 POSTGRESQL_CFLAGS="-I`$PG_CONFIG --includedir`"
18722 POSTGRESQL_LIBS="-L`$PG_CONFIG --libdir` -lpq"
18724 $as_echo "#define HAVE_POSTGRESQL 1" >>confdefs.h
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18729 $as_echo "yes" >&6; }
18732 if test "x${postgresql}" = "xyes"; then
18733 HAVE_POSTGRESQL_TRUE=
18734 HAVE_POSTGRESQL_FALSE='#'
18736 HAVE_POSTGRESQL_TRUE='#'
18737 HAVE_POSTGRESQL_FALSE=
18742 # Check whether --enable-font-freetype was given.
18743 if test "${enable_font_freetype+set}" = set; then :
18744 enableval=$enable_font_freetype; font_freetype=$enableval;font_freetype_reason="configure parameter"
18747 if test "x${font_freetype}" = "xyes" -a "x${FREETYPE2_CFLAGS}" = "x" -a "x${FREETYPE2_LIBS}" = "x"; then
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE2" >&5
18751 $as_echo_n "checking for FREETYPE2... " >&6; }
18753 if test -n "$FREETYPE2_CFLAGS"; then
18754 pkg_cv_FREETYPE2_CFLAGS="$FREETYPE2_CFLAGS"
18755 elif test -n "$PKG_CONFIG"; then
18756 if test -n "$PKG_CONFIG" && \
18757 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
18758 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
18760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18761 test $ac_status = 0; }; then
18762 pkg_cv_FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
18769 if test -n "$FREETYPE2_LIBS"; then
18770 pkg_cv_FREETYPE2_LIBS="$FREETYPE2_LIBS"
18771 elif test -n "$PKG_CONFIG"; then
18772 if test -n "$PKG_CONFIG" && \
18773 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
18774 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
18776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18777 test $ac_status = 0; }; then
18778 pkg_cv_FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
18788 if test $pkg_failed = yes; then
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18790 $as_echo "no" >&6; }
18792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18793 _pkg_short_errors_supported=yes
18795 _pkg_short_errors_supported=no
18797 if test $_pkg_short_errors_supported = yes; then
18798 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2" 2>&1`
18800 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2" 2>&1`
18802 # Put the nasty error message in config.log where it belongs
18803 echo "$FREETYPE2_PKG_ERRORS" >&5
18805 font_freetype=no;font_freetype_reason="Package freetype2 missing"
18806 elif test $pkg_failed = untried; then
18807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18808 $as_echo "no" >&6; }
18809 font_freetype=no;font_freetype_reason="Package freetype2 missing"
18811 FREETYPE2_CFLAGS=$pkg_cv_FREETYPE2_CFLAGS
18812 FREETYPE2_LIBS=$pkg_cv_FREETYPE2_LIBS
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18814 $as_echo "yes" >&6; }
18822 if test "x${font_freetype}" = "xyes"; then
18823 FONT_FREETYPE_TRUE=
18824 FONT_FREETYPE_FALSE='#'
18826 FONT_FREETYPE_TRUE='#'
18827 FONT_FREETYPE_FALSE=
18831 # Check whether --with-freetype-fonts was given.
18832 if test "${with_freetype_fonts+set}" = set; then :
18833 withval=$with_freetype_fonts;
18834 cat >>confdefs.h <<_ACEOF
18835 #define FREETYPE_FONTS ${withval}
18841 # Check whether --enable-fontconfig was given.
18842 if test "${enable_fontconfig+set}" = set; then :
18843 enableval=$enable_fontconfig; fontconfig=$enableval;fontconfig_reason="configure parameter"
18846 if test "x${fontconfig}" = "xyes"; then
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
18850 $as_echo_n "checking for FONTCONFIG... " >&6; }
18852 if test -n "$FONTCONFIG_CFLAGS"; then
18853 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
18854 elif test -n "$PKG_CONFIG"; then
18855 if test -n "$PKG_CONFIG" && \
18856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
18857 ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
18859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18860 test $ac_status = 0; }; then
18861 pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig" 2>/dev/null`
18868 if test -n "$FONTCONFIG_LIBS"; then
18869 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
18870 elif test -n "$PKG_CONFIG"; then
18871 if test -n "$PKG_CONFIG" && \
18872 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
18873 ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
18875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18876 test $ac_status = 0; }; then
18877 pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null`
18887 if test $pkg_failed = yes; then
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18889 $as_echo "no" >&6; }
18891 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18892 _pkg_short_errors_supported=yes
18894 _pkg_short_errors_supported=no
18896 if test $_pkg_short_errors_supported = yes; then
18897 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig" 2>&1`
18899 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig" 2>&1`
18901 # Put the nasty error message in config.log where it belongs
18902 echo "$FONTCONFIG_PKG_ERRORS" >&5
18905 elif test $pkg_failed = untried; then
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18907 $as_echo "no" >&6; }
18910 FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
18911 FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18913 $as_echo "yes" >&6; }
18917 if test "x$fontconfig" = "xyes"; then
18919 $as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
18925 if test "x${font_freetype}" = "xyes" -a "x$fontconfig" != "xyes"; then
18935 # Check whether --enable-fribidi was given.
18936 if test "${enable_fribidi+set}" = set; then :
18937 enableval=$enable_fribidi; fribidi=$enableval;fribidi_reason="configure parameter"
18942 if test x"${fribidi}" = "xyes"; then
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI2" >&5
18946 $as_echo_n "checking for FRIBIDI2... " >&6; }
18948 if test -n "$FRIBIDI2_CFLAGS"; then
18949 pkg_cv_FRIBIDI2_CFLAGS="$FRIBIDI2_CFLAGS"
18950 elif test -n "$PKG_CONFIG"; then
18951 if test -n "$PKG_CONFIG" && \
18952 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.0\""; } >&5
18953 ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.0") 2>&5
18955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18956 test $ac_status = 0; }; then
18957 pkg_cv_FRIBIDI2_CFLAGS=`$PKG_CONFIG --cflags "fribidi >= 0.19.0" 2>/dev/null`
18964 if test -n "$FRIBIDI2_LIBS"; then
18965 pkg_cv_FRIBIDI2_LIBS="$FRIBIDI2_LIBS"
18966 elif test -n "$PKG_CONFIG"; then
18967 if test -n "$PKG_CONFIG" && \
18968 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.0\""; } >&5
18969 ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.0") 2>&5
18971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18972 test $ac_status = 0; }; then
18973 pkg_cv_FRIBIDI2_LIBS=`$PKG_CONFIG --libs "fribidi >= 0.19.0" 2>/dev/null`
18983 if test $pkg_failed = yes; then
18984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18985 $as_echo "no" >&6; }
18987 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18988 _pkg_short_errors_supported=yes
18990 _pkg_short_errors_supported=no
18992 if test $_pkg_short_errors_supported = yes; then
18993 FRIBIDI2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fribidi >= 0.19.0" 2>&1`
18995 FRIBIDI2_PKG_ERRORS=`$PKG_CONFIG --print-errors "fribidi >= 0.19.0" 2>&1`
18997 # Put the nasty error message in config.log where it belongs
18998 echo "$FRIBIDI2_PKG_ERRORS" >&5
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5
19003 $as_echo_n "checking for FRIBIDI... " >&6; }
19005 if test -n "$FRIBIDI_CFLAGS"; then
19006 pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS"
19007 elif test -n "$PKG_CONFIG"; then
19008 if test -n "$PKG_CONFIG" && \
19009 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi\""; } >&5
19010 ($PKG_CONFIG --exists --print-errors "fribidi") 2>&5
19012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19013 test $ac_status = 0; }; then
19014 pkg_cv_FRIBIDI_CFLAGS=`$PKG_CONFIG --cflags "fribidi" 2>/dev/null`
19021 if test -n "$FRIBIDI_LIBS"; then
19022 pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS"
19023 elif test -n "$PKG_CONFIG"; then
19024 if test -n "$PKG_CONFIG" && \
19025 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi\""; } >&5
19026 ($PKG_CONFIG --exists --print-errors "fribidi") 2>&5
19028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19029 test $ac_status = 0; }; then
19030 pkg_cv_FRIBIDI_LIBS=`$PKG_CONFIG --libs "fribidi" 2>/dev/null`
19040 if test $pkg_failed = yes; then
19041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19042 $as_echo "no" >&6; }
19044 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19045 _pkg_short_errors_supported=yes
19047 _pkg_short_errors_supported=no
19049 if test $_pkg_short_errors_supported = yes; then
19050 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fribidi" 2>&1`
19052 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --print-errors "fribidi" 2>&1`
19054 # Put the nasty error message in config.log where it belongs
19055 echo "$FRIBIDI_PKG_ERRORS" >&5
19057 fribidi=no;fribidi_reason="FriBidi library not found"
19058 elif test $pkg_failed = untried; then
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19060 $as_echo "no" >&6; }
19061 fribidi=no;fribidi_reason="FriBidi library not found"
19063 FRIBIDI_CFLAGS=$pkg_cv_FRIBIDI_CFLAGS
19064 FRIBIDI_LIBS=$pkg_cv_FRIBIDI_LIBS
19065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19066 $as_echo "yes" >&6; }
19067 fribidi=yes;oldfribidi=yes;fribid_reason="using old version"
19070 elif test $pkg_failed = untried; then
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19072 $as_echo "no" >&6; }
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5
19076 $as_echo_n "checking for FRIBIDI... " >&6; }
19078 if test -n "$FRIBIDI_CFLAGS"; then
19079 pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS"
19080 elif test -n "$PKG_CONFIG"; then
19081 if test -n "$PKG_CONFIG" && \
19082 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi\""; } >&5
19083 ($PKG_CONFIG --exists --print-errors "fribidi") 2>&5
19085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19086 test $ac_status = 0; }; then
19087 pkg_cv_FRIBIDI_CFLAGS=`$PKG_CONFIG --cflags "fribidi" 2>/dev/null`
19094 if test -n "$FRIBIDI_LIBS"; then
19095 pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS"
19096 elif test -n "$PKG_CONFIG"; then
19097 if test -n "$PKG_CONFIG" && \
19098 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi\""; } >&5
19099 ($PKG_CONFIG --exists --print-errors "fribidi") 2>&5
19101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19102 test $ac_status = 0; }; then
19103 pkg_cv_FRIBIDI_LIBS=`$PKG_CONFIG --libs "fribidi" 2>/dev/null`
19113 if test $pkg_failed = yes; then
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19115 $as_echo "no" >&6; }
19117 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19118 _pkg_short_errors_supported=yes
19120 _pkg_short_errors_supported=no
19122 if test $_pkg_short_errors_supported = yes; then
19123 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fribidi" 2>&1`
19125 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --print-errors "fribidi" 2>&1`
19127 # Put the nasty error message in config.log where it belongs
19128 echo "$FRIBIDI_PKG_ERRORS" >&5
19130 fribidi=no;fribidi_reason="FriBidi library not found"
19131 elif test $pkg_failed = untried; then
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19133 $as_echo "no" >&6; }
19134 fribidi=no;fribidi_reason="FriBidi library not found"
19136 FRIBIDI_CFLAGS=$pkg_cv_FRIBIDI_CFLAGS
19137 FRIBIDI_LIBS=$pkg_cv_FRIBIDI_LIBS
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19139 $as_echo "yes" >&6; }
19140 fribidi=yes;oldfribidi=yes;fribid_reason="using old version"
19144 FRIBIDI2_CFLAGS=$pkg_cv_FRIBIDI2_CFLAGS
19145 FRIBIDI2_LIBS=$pkg_cv_FRIBIDI2_LIBS
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19147 $as_echo "yes" >&6; }
19148 fribidi=yes;oldfribidi=no
19151 if test x"${fribidi}" = "xyes"; then
19153 $as_echo "#define USE_FRIBIDI 1" >>confdefs.h
19156 if test x"${oldfribidi}" = "xyes"; then
19158 $as_echo "#define FRIBIDIOLD 1" >>confdefs.h
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMLIB2" >&5
19170 $as_echo_n "checking for IMLIB2... " >&6; }
19172 if test -n "$IMLIB2_CFLAGS"; then
19173 pkg_cv_IMLIB2_CFLAGS="$IMLIB2_CFLAGS"
19174 elif test -n "$PKG_CONFIG"; then
19175 if test -n "$PKG_CONFIG" && \
19176 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"imlib2\""; } >&5
19177 ($PKG_CONFIG --exists --print-errors "imlib2") 2>&5
19179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19180 test $ac_status = 0; }; then
19181 pkg_cv_IMLIB2_CFLAGS=`$PKG_CONFIG --cflags "imlib2" 2>/dev/null`
19188 if test -n "$IMLIB2_LIBS"; then
19189 pkg_cv_IMLIB2_LIBS="$IMLIB2_LIBS"
19190 elif test -n "$PKG_CONFIG"; then
19191 if test -n "$PKG_CONFIG" && \
19192 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"imlib2\""; } >&5
19193 ($PKG_CONFIG --exists --print-errors "imlib2") 2>&5
19195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19196 test $ac_status = 0; }; then
19197 pkg_cv_IMLIB2_LIBS=`$PKG_CONFIG --libs "imlib2" 2>/dev/null`
19207 if test $pkg_failed = yes; then
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19209 $as_echo "no" >&6; }
19211 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19212 _pkg_short_errors_supported=yes
19214 _pkg_short_errors_supported=no
19216 if test $_pkg_short_errors_supported = yes; then
19217 IMLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "imlib2" 2>&1`
19219 IMLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors "imlib2" 2>&1`
19221 # Put the nasty error message in config.log where it belongs
19222 echo "$IMLIB2_PKG_ERRORS" >&5
19224 imlib2_pkgconfig=no
19225 elif test $pkg_failed = untried; then
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19227 $as_echo "no" >&6; }
19228 imlib2_pkgconfig=no
19230 IMLIB2_CFLAGS=$pkg_cv_IMLIB2_CFLAGS
19231 IMLIB2_LIBS=$pkg_cv_IMLIB2_LIBS
19232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19233 $as_echo "yes" >&6; }
19234 imlib2_pkgconfig=yes
19236 if test "x$imlib2_pkgconfig" = "xyes"; then
19238 $as_echo "#define HAVE_IMLIB2 1" >>confdefs.h
19244 # Check whether --enable-graphics-opengl was given.
19245 if test "${enable_graphics_opengl+set}" = set; then :
19246 enableval=$enable_graphics_opengl; graphics_opengl=$enableval;graphics_opengl_reason="configure parameter"
19249 if test "x${graphics_opengl}" = "xyes" ; then
19251 ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
19252 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
19254 $as_echo "#define HAVE_OPENGL /**/" >>confdefs.h
19256 OPENGL_LIBS="$X_LIBS -lGL -lglut -lfreeimage"
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** no GL/gl.h -- opengl graphics support disabled;graphics_opengl=no;graphics_opengl_reason=\"GL/gl.h header missing\"" >&5
19260 $as_echo "$as_me: WARNING: *** no GL/gl.h -- opengl graphics support disabled;graphics_opengl=no;graphics_opengl_reason=\"GL/gl.h header missing\"" >&2;}
19266 ac_fn_c_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default"
19267 if test "x$ac_cv_header_GL_glut_h" = xyes; then :
19269 $as_echo "#define HAVE_GLUT /**/" >>confdefs.h
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** no GL/glut.h -- opengl graphics support disabled" >&5
19274 $as_echo "$as_me: WARNING: *** no GL/glut.h -- opengl graphics support disabled" >&2;};graphics_opengl=no;graphics_opengl_reason="GL/glut.h header missing"
19280 ac_fn_c_check_header_mongrel "$LINENO" "GL/freeglut.h" "ac_cv_header_GL_freeglut_h" "$ac_includes_default"
19281 if test "x$ac_cv_header_GL_freeglut_h" = xyes; then :
19283 $as_echo "#define HAVE_FREEGLUT /**/" >>confdefs.h
19287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** no GL/freeglut.h -- opengl support disabled" >&5
19288 $as_echo "$as_me: WARNING: *** no GL/freeglut.h -- opengl support disabled" >&2;};graphics_opengl=no;graphics_opengl_reason="Headers missing"
19297 ac_fn_c_check_header_mongrel "$LINENO" "GL/glc.h" "ac_cv_header_GL_glc_h" "$ac_includes_default"
19298 if test "x$ac_cv_header_GL_glc_h" = xyes; then :
19300 $as_echo "#define HAVE_GLC /**/" >>confdefs.h
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** no GL/glc.h -- opengl graphics support disabled" >&5
19306 $as_echo "$as_me: WARNING: *** no GL/glc.h -- opengl graphics support disabled" >&2;};graphics_opengl=no;graphics_opengl_reason="GL/glc.h header missing"
19311 ac_fn_c_check_header_mongrel "$LINENO" "FreeImage.h" "ac_cv_header_FreeImage_h" "$ac_includes_default"
19312 if test "x$ac_cv_header_FreeImage_h" = xyes; then :
19314 $as_echo "#define HAVE_FREEIMAGE /**/" >>confdefs.h
19316 FREEIMAGE_LIBS="-lfreeimage"
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** no FreeImage.h -- opengl support disabled" >&5
19320 $as_echo "$as_me: WARNING: *** no FreeImage.h -- opengl support disabled" >&2;};graphics_opengl=no;graphics_opengl_reason="Headers missing"
19330 if test "x$glut" = "xyes" -a "x$freeglut" = "xyes" -a "x$opengl" = "xyes" -a "x$freeimage" = "xyes" -a "x$glc" = "xyes" ; then
19331 GRAPHICS_OPENGL_TRUE=
19332 GRAPHICS_OPENGL_FALSE='#'
19334 GRAPHICS_OPENGL_TRUE='#'
19335 GRAPHICS_OPENGL_FALSE=
19340 system_shapefile=no
19341 if test x"${map_shapefile}" = xyes
19343 for ac_header in shapefil.h libshp/shapefil.h
19345 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19346 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19347 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19348 cat >>confdefs.h <<_ACEOF
19349 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19352 $as_echo "#define HAVE_SYS_SHAPEFILELIB 1" >>confdefs.h
19355 SHAPEFILE_CFLAGS="-I\$(top_srcdir)/navit/support/shapefile"
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBFDeleteField in -lshp" >&5
19363 $as_echo_n "checking for DBFDeleteField in -lshp... " >&6; }
19364 if ${ac_cv_lib_shp_DBFDeleteField+:} false; then :
19365 $as_echo_n "(cached) " >&6
19367 ac_check_lib_save_LIBS=$LIBS
19369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19370 /* end confdefs.h. */
19372 /* Override any GCC internal prototype to avoid an error.
19373 Use char because int might match the return type of a GCC
19374 builtin and then its argument prototype would still apply. */
19378 char DBFDeleteField ();
19382 return DBFDeleteField ();
19387 if ac_fn_c_try_link "$LINENO"; then :
19388 ac_cv_lib_shp_DBFDeleteField=yes
19390 ac_cv_lib_shp_DBFDeleteField=no
19392 rm -f core conftest.err conftest.$ac_objext \
19393 conftest$ac_exeext conftest.$ac_ext
19394 LIBS=$ac_check_lib_save_LIBS
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shp_DBFDeleteField" >&5
19397 $as_echo "$ac_cv_lib_shp_DBFDeleteField" >&6; }
19398 if test "x$ac_cv_lib_shp_DBFDeleteField" = xyes; then :
19399 SHAPEFILE_LIBS="-lshp"
19400 system_shapefile=yes
19402 SHAPEFILE_LIBS="-L\$(top_builddir)/navit/support/shapefile -lsupport_shapefile"
19403 system_shapefile=no
19408 if test x"${system_shapefile}" = xno
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** The shapefile library(libshp) from the system is to old or not found! -- using included copy" >&5
19411 $as_echo "$as_me: WARNING: *** The shapefile library(libshp) from the system is to old or not found! -- using included copy" >&2;}
19417 if test "x$system_shapefile" = "xyes" ; then
19418 HAVE_SYSTEM_SHAPEFILELIB_TRUE=
19419 HAVE_SYSTEM_SHAPEFILELIB_FALSE='#'
19421 HAVE_SYSTEM_SHAPEFILELIB_TRUE='#'
19422 HAVE_SYSTEM_SHAPEFILELIB_FALSE=
19426 if test x"${USE_GARMIN}" = xyes
19428 # check for libgarmin
19431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGARMIN" >&5
19432 $as_echo_n "checking for LIBGARMIN... " >&6; }
19434 if test -n "$LIBGARMIN_CFLAGS"; then
19435 pkg_cv_LIBGARMIN_CFLAGS="$LIBGARMIN_CFLAGS"
19436 elif test -n "$PKG_CONFIG"; then
19437 if test -n "$PKG_CONFIG" && \
19438 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgarmin\""; } >&5
19439 ($PKG_CONFIG --exists --print-errors "libgarmin") 2>&5
19441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19442 test $ac_status = 0; }; then
19443 pkg_cv_LIBGARMIN_CFLAGS=`$PKG_CONFIG --cflags "libgarmin" 2>/dev/null`
19450 if test -n "$LIBGARMIN_LIBS"; then
19451 pkg_cv_LIBGARMIN_LIBS="$LIBGARMIN_LIBS"
19452 elif test -n "$PKG_CONFIG"; then
19453 if test -n "$PKG_CONFIG" && \
19454 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgarmin\""; } >&5
19455 ($PKG_CONFIG --exists --print-errors "libgarmin") 2>&5
19457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19458 test $ac_status = 0; }; then
19459 pkg_cv_LIBGARMIN_LIBS=`$PKG_CONFIG --libs "libgarmin" 2>/dev/null`
19469 if test $pkg_failed = yes; then
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19471 $as_echo "no" >&6; }
19473 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19474 _pkg_short_errors_supported=yes
19476 _pkg_short_errors_supported=no
19478 if test $_pkg_short_errors_supported = yes; then
19479 LIBGARMIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgarmin" 2>&1`
19481 LIBGARMIN_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgarmin" 2>&1`
19483 # Put the nasty error message in config.log where it belongs
19484 echo "$LIBGARMIN_PKG_ERRORS" >&5
19487 elif test $pkg_failed = untried; then
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19489 $as_echo "no" >&6; }
19492 LIBGARMIN_CFLAGS=$pkg_cv_LIBGARMIN_CFLAGS
19493 LIBGARMIN_LIBS=$pkg_cv_LIBGARMIN_LIBS
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19495 $as_echo "yes" >&6; }
19501 if test "x$use_libgarmin" = "xyes"; then
19502 HAVELIBGARMIN_TRUE=
19503 HAVELIBGARMIN_FALSE='#'
19505 HAVELIBGARMIN_TRUE='#'
19506 HAVELIBGARMIN_FALSE=
19512 # Check whether --enable-binding-python was given.
19513 if test "${enable_binding_python+set}" = set; then :
19514 enableval=$enable_binding_python; binding_python=$enableval;binding_python_reason="configure parameter"
19517 if test "x${binding_python}" = "xyes"; then
19518 # Extract the first word of "python", so it can be a program name with args.
19519 set dummy python; ac_word=$2
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19521 $as_echo_n "checking for $ac_word... " >&6; }
19522 if ${ac_cv_path__PATH_PYTHON+:} false; then :
19523 $as_echo_n "(cached) " >&6
19525 case $_PATH_PYTHON in
19527 ac_cv_path__PATH_PYTHON="$_PATH_PYTHON" # Let the user override the test with a path.
19530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19531 for as_dir in $PATH
19534 test -z "$as_dir" && as_dir=.
19535 for ac_exec_ext in '' $ac_executable_extensions; do
19536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19537 ac_cv_path__PATH_PYTHON="$as_dir/$ac_word$ac_exec_ext"
19538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19548 _PATH_PYTHON=$ac_cv_path__PATH_PYTHON
19549 if test -n "$_PATH_PYTHON"; then
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_PATH_PYTHON" >&5
19551 $as_echo "$_PATH_PYTHON" >&6; }
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19554 $as_echo "no" >&6; }
19558 if test "x${_PATH_PYTHON}" != "x" ; then
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python linkage" >&5
19560 $as_echo_n "checking for Python linkage... " >&6; }
19561 # Extract the first word of "python-config", so it can be a program name with args.
19562 set dummy python-config; ac_word=$2
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19564 $as_echo_n "checking for $ac_word... " >&6; }
19565 if ${ac_cv_path_PYTHONCONFIG+:} false; then :
19566 $as_echo_n "(cached) " >&6
19568 case $PYTHONCONFIG in
19570 ac_cv_path_PYTHONCONFIG="$PYTHONCONFIG" # Let the user override the test with a path.
19573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19574 for as_dir in $PATH
19577 test -z "$as_dir" && as_dir=.
19578 for ac_exec_ext in '' $ac_executable_extensions; do
19579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19580 ac_cv_path_PYTHONCONFIG="$as_dir/$ac_word$ac_exec_ext"
19581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19591 PYTHONCONFIG=$ac_cv_path_PYTHONCONFIG
19592 if test -n "$PYTHONCONFIG"; then
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONCONFIG" >&5
19594 $as_echo "$PYTHONCONFIG" >&6; }
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19597 $as_echo "no" >&6; }
19601 if test "x${PYTHONCONFIG}" = "x" ; then
19602 py_prefix=`$_PATH_PYTHON -c 'import sys; print sys.prefix'`
19603 py_ver=`$_PATH_PYTHON -c 'import sys; print sys.version[:3]'`
19604 py_lib=`$_PATH_PYTHON -c 'import sys; print sys.lib'`
19605 py_libdir="${py_prefix}/${py_lib}/python${py_ver}"
19606 PYTHON_CFLAGS="-I${py_prefix}/include/python${py_ver}"
19607 if test -f $py_libdir/config/Makefile -a -f $py_prefix/include/python${py_ver}/Python.h; then
19608 py_libs=`grep '^LIBS=' $py_libdir/config/Makefile | sed -e 's/^.*=//'`
19609 py_libc=`grep '^LIBC=' $py_libdir/config/Makefile | sed -e 's/^.*=//'`
19610 py_libm=`grep '^LIBM=' $py_libdir/config/Makefile | sed -e 's/^.*=//'`
19611 py_liblocalmod=`grep '^LOCALMODLIBS=' $py_libdir/config/Makefile | sed -e 's/^.*=//'`
19612 py_libbasemod=`grep '^BASEMODLIBS=' $py_libdir/config/Makefile | sed -e 's/^.*=//'`
19613 PYTHON_LIBS="-L$py_libdir/config $py_libs $py_libc $py_libm -lpython$py_ver $py_liblocalmod $py_libbasemod"
19614 PYTHON_LIBS=`echo $PYTHON_LIBS | sed -e 's/ \\t*/ /g'`
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $py_libdir" >&5
19616 $as_echo "$py_libdir" >&6; }
19618 binding_python="no"
19619 binding_python_reason="$py_libdir/config/Makefile or $py_prefix/include/python${py_ver}/Python.h missing"
19623 PYTHON_CFLAGS="`${PYTHONCONFIG} --cflags`"
19624 PYTHON_LIBS="`${PYTHONCONFIG} --ldflags`"
19627 binding_python="no"
19628 binding_python_reason="python executable missing"
19631 if test "x${binding_python}" = xyes ; then
19633 $as_echo "#define USE_BINDING_PYTHON 1" >>confdefs.h
19638 if test "x${binding_python}" = "xyes"; then
19639 BINDING_PYTHON_TRUE=
19640 BINDING_PYTHON_FALSE='#'
19642 BINDING_PYTHON_TRUE='#'
19643 BINDING_PYTHON_FALSE=
19648 # Check whether --enable-binding-dbus was given.
19649 if test "${enable_binding_dbus+set}" = set; then :
19650 enableval=$enable_binding_dbus; binding_dbus=$enableval;binding_dbus_reason="configure parameter"
19653 # Check whether --enable-binding-dbus-use-system-bus was given.
19654 if test "${enable_binding_dbus_use_system_bus+set}" = set; then :
19655 enableval=$enable_binding_dbus_use_system_bus; binding_dbus_use_system_bus=$enableval
19658 if test "x${binding_dbus}" = "xyes" ; then
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
19662 $as_echo_n "checking for DBUS... " >&6; }
19664 if test -n "$DBUS_CFLAGS"; then
19665 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
19666 elif test -n "$PKG_CONFIG"; then
19667 if test -n "$PKG_CONFIG" && \
19668 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1\""; } >&5
19669 ($PKG_CONFIG --exists --print-errors "dbus-glib-1") 2>&5
19671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19672 test $ac_status = 0; }; then
19673 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1" 2>/dev/null`
19680 if test -n "$DBUS_LIBS"; then
19681 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
19682 elif test -n "$PKG_CONFIG"; then
19683 if test -n "$PKG_CONFIG" && \
19684 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1\""; } >&5
19685 ($PKG_CONFIG --exists --print-errors "dbus-glib-1") 2>&5
19687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19688 test $ac_status = 0; }; then
19689 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1" 2>/dev/null`
19699 if test $pkg_failed = yes; then
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19701 $as_echo "no" >&6; }
19703 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19704 _pkg_short_errors_supported=yes
19706 _pkg_short_errors_supported=no
19708 if test $_pkg_short_errors_supported = yes; then
19709 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1" 2>&1`
19711 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-glib-1" 2>&1`
19713 # Put the nasty error message in config.log where it belongs
19714 echo "$DBUS_PKG_ERRORS" >&5
19717 elif test $pkg_failed = untried; then
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19719 $as_echo "no" >&6; }
19722 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
19723 DBUS_LIBS=$pkg_cv_DBUS_LIBS
19724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19725 $as_echo "yes" >&6; }
19729 if test "x${binding_dbus}" = "xyes" ; then
19731 $as_echo "#define USE_BINDING_DBUS 1" >>confdefs.h
19733 vehicle_gpsd_dbus="yes"
19734 vehicle_gpsd_dbus_reason="dbus binding present"
19736 speech_dbus_reason="dbus binding present"
19738 if test "x${binding_dbus_use_system_bus}" = "xyes" ; then
19740 $as_echo "#define DBUS_USE_SYSTEM_BUS 1" >>confdefs.h
19745 if test "x${binding_dbus}" = "xyes"; then
19747 BINDING_DBUS_FALSE='#'
19749 BINDING_DBUS_TRUE='#'
19750 BINDING_DBUS_FALSE=
19753 if test "x${vehicle_gpsd_dbus}" = "xyes"; then
19754 VEHICLE_GPSD_DBUS_TRUE=
19755 VEHICLE_GPSD_DBUS_FALSE='#'
19757 VEHICLE_GPSD_DBUS_TRUE='#'
19758 VEHICLE_GPSD_DBUS_FALSE=
19761 if test "x${speech_dbus}" = "xyes"; then
19763 SPEECH_DBUS_FALSE='#'
19765 SPEECH_DBUS_TRUE='#'
19770 # Check whether --with-dbus-service-dir was given.
19771 if test "${with_dbus_service_dir+set}" = set; then :
19772 withval=$with_dbus_service_dir; DBUS_SERVICE_DIR=$withval
19774 DBUS_SERVICE_DIR="$datarootdir/dbus-1/services"
19780 # Check whether --enable-binding-win32 was given.
19781 if test "${enable_binding_win32+set}" = set; then :
19782 enableval=$enable_binding_win32; binding_win32=$enableval;binding_win32_reason="configure parameter"
19785 if test "x${binding_win32}" = "xyes" ; then
19787 $as_echo "#define USE_BINDING_WIN32 1" >>confdefs.h
19790 if test "x${binding_win32}" = "xyes"; then
19791 BINDING_WIN32_TRUE=
19792 BINDING_WIN32_FALSE='#'
19794 BINDING_WIN32_TRUE='#'
19795 BINDING_WIN32_FALSE=
19800 # Check whether --enable-svg was given.
19801 if test "${enable_svg+set}" = set; then :
19802 enableval=$enable_svg; enable_svg=$enableval
19807 # Check whether --enable-svg2png was given.
19808 if test "${enable_svg2png+set}" = set; then :
19809 enableval=$enable_svg2png; enable_svg2png=$enableval
19814 # Check whether --enable-svg2png-scaling was given.
19815 if test "${enable_svg2png_scaling+set}" = set; then :
19816 enableval=$enable_svg2png_scaling; SVG2PNG_SCALES=$enableval
19818 SVG2PNG_SCALES="8 16 32 48 96"
19821 # Check whether --enable-svg2png-scaling-flag was given.
19822 if test "${enable_svg2png_scaling_flag+set}" = set; then :
19823 enableval=$enable_svg2png_scaling_flag; SVG2PNG_SCALES_FLAG=$enableval
19825 SVG2PNG_SCALES_FLAG="8 16 32 48 96"
19828 # Check whether --enable-svg2png-scaling-nav was given.
19829 if test "${enable_svg2png_scaling_nav+set}" = set; then :
19830 enableval=$enable_svg2png_scaling_nav; SVG2PNG_SCALES_NAV=$enableval
19832 SVG2PNG_SCALES_NAV="8 16 32 48 96"
19836 # Check whether --with-svg2png-use-convert was given.
19837 if test "${with_svg2png_use_convert+set}" = set; then :
19838 withval=$with_svg2png_use_convert; SVG2PNG_CONVERTER="convert"
19842 # Check whether --with-svg2png-use-rsvg-convert was given.
19843 if test "${with_svg2png_use_rsvg_convert+set}" = set; then :
19844 withval=$with_svg2png_use_rsvg_convert; SVG2PNG_CONVERTER="rsvg-convert"
19848 # Check whether --with-svg2png-use-inkscape was given.
19849 if test "${with_svg2png_use_inkscape+set}" = set; then :
19850 withval=$with_svg2png_use_inkscape; SVG2PNG_CONVERTER="inkscape"
19854 # Check whether --with-svg2png-use-ksvgtopng4 was given.
19855 if test "${with_svg2png_use_ksvgtopng4+set}" = set; then :
19856 withval=$with_svg2png_use_ksvgtopng4; SVG2PNG_CONVERTER="ksvgtopng4"
19860 # Check whether --with-svg2png-use-ksvgtopng was given.
19861 if test "${with_svg2png_use_ksvgtopng+set}" = set; then :
19862 withval=$with_svg2png_use_ksvgtopng; SVG2PNG_CONVERTER="ksvgtopng"
19865 if test "x${enable_svg2png}" = "xyes" ; then
19866 if test "x${SVG2PNG_CONVERTER}" = "x"; then
19867 SVG2PNG_CONVERTER="rsvg-convert ksvgtopng ksvgtopng4 inkscape convert"
19869 for ac_prog in ${SVG2PNG_CONVERTER}
19871 # Extract the first word of "$ac_prog", so it can be a program name with args.
19872 set dummy $ac_prog; ac_word=$2
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19874 $as_echo_n "checking for $ac_word... " >&6; }
19875 if ${ac_cv_path_SVG2PNG+:} false; then :
19876 $as_echo_n "(cached) " >&6
19880 ac_cv_path_SVG2PNG="$SVG2PNG" # Let the user override the test with a path.
19883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19884 for as_dir in $PATH
19887 test -z "$as_dir" && as_dir=.
19888 for ac_exec_ext in '' $ac_executable_extensions; do
19889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19890 ac_cv_path_SVG2PNG="$as_dir/$ac_word$ac_exec_ext"
19891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19901 SVG2PNG=$ac_cv_path_SVG2PNG
19902 if test -n "$SVG2PNG"; then
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVG2PNG" >&5
19904 $as_echo "$SVG2PNG" >&6; }
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19907 $as_echo "no" >&6; }
19911 test -n "$SVG2PNG" && break
19913 test -n "$SVG2PNG" || SVG2PNG="none"
19915 if test "x${SVG2PNG}" = "xnone"; then
19916 enable_svg2png="no"
19923 if test "x${SVG2PNG_SCALES}" != "xyes" -a "x${SVG2PNG_SCALES}" != "x"; then
19924 USE_SVG2PNG_SCALES_TRUE=
19925 USE_SVG2PNG_SCALES_FALSE='#'
19927 USE_SVG2PNG_SCALES_TRUE='#'
19928 USE_SVG2PNG_SCALES_FALSE=
19931 if test "x${SVG2PNG_SCALES_FLAG}" != "xyes" -a "x${SVG2PNG_SCALES_FLAG}" != "x"; then
19932 USE_SVG2PNG_SCALES_FLAG_TRUE=
19933 USE_SVG2PNG_SCALES_FLAG_FALSE='#'
19935 USE_SVG2PNG_SCALES_FLAG_TRUE='#'
19936 USE_SVG2PNG_SCALES_FLAG_FALSE=
19939 if test "x${SVG2PNG_SCALES_NAV}" != "xyes" -a "x${SVG2PNG_SCALES_NAV}" != "x"; then
19940 USE_SVG2PNG_SCALES_NAV_TRUE=
19941 USE_SVG2PNG_SCALES_NAV_FALSE='#'
19943 USE_SVG2PNG_SCALES_NAV_TRUE='#'
19944 USE_SVG2PNG_SCALES_NAV_FALSE=
19947 if test "x${enable_svg2png}" = "xyes"; then
19949 USE_SVG2PNG_FALSE='#'
19951 USE_SVG2PNG_TRUE='#'
19955 if test "x${enable_svg}" = "xyes"; then
19966 # Check whether --with-xslts was given.
19967 if test "${with_xslts+set}" = set; then :
19968 withval=$with_xslts; XSLTS=$withval
19975 # Check whether --with-saxon was given.
19976 if test "${with_saxon+set}" = set; then :
19977 withval=$with_saxon; SAXON=$withval
19984 # Android Permissions
19986 # Check whether --with-android-permissions was given.
19987 if test "${with_android_permissions+set}" = set; then :
19988 withval=$with_android_permissions; ANDROID_PERMISSIONS=$withval
19990 ANDROID_PERMISSIONS=""
19996 # Check whether --with-android-project was given.
19997 if test "${with_android_project+set}" = set; then :
19998 withval=$with_android_project; ANDROID_PROJECT=$withval
20000 ANDROID_PROJECT="3"
20007 # Check whether --enable-nls was given.
20008 if test "${enable_nls+set}" = set; then :
20009 enableval=$enable_nls; enable_nls=$enableval
20023 if test "x$enable_nls" = "xyes"; then
20025 ac_fn_c_check_func "$LINENO" "gettext" "ac_cv_func_gettext"
20026 if test "x$ac_cv_func_gettext" = xyes; then :
20029 INTLIBS="-lintl" HAVEGETTEXT="yes"
20032 # Extract the first word of "xgettext", so it can be a program name with args.
20033 set dummy xgettext; ac_word=$2
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20035 $as_echo_n "checking for $ac_word... " >&6; }
20036 if ${ac_cv_prog_XGETTEXT+:} false; then :
20037 $as_echo_n "(cached) " >&6
20039 if test -n "$XGETTEXT"; then
20040 ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test.
20042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20043 for as_dir in $PATH
20046 test -z "$as_dir" && as_dir=.
20047 for ac_exec_ext in '' $ac_executable_extensions; do
20048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20049 ac_cv_prog_XGETTEXT="xgettext"
20050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20059 XGETTEXT=$ac_cv_prog_XGETTEXT
20060 if test -n "$XGETTEXT"; then
20061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
20062 $as_echo "$XGETTEXT" >&6; }
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20065 $as_echo "no" >&6; }
20069 # Extract the first word of "msgmerge", so it can be a program name with args.
20070 set dummy msgmerge; ac_word=$2
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20072 $as_echo_n "checking for $ac_word... " >&6; }
20073 if ${ac_cv_prog_MSGMERGE+:} false; then :
20074 $as_echo_n "(cached) " >&6
20076 if test -n "$MSGMERGE"; then
20077 ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test.
20079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20080 for as_dir in $PATH
20083 test -z "$as_dir" && as_dir=.
20084 for ac_exec_ext in '' $ac_executable_extensions; do
20085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20086 ac_cv_prog_MSGMERGE="msgmerge"
20087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20096 MSGMERGE=$ac_cv_prog_MSGMERGE
20097 if test -n "$MSGMERGE"; then
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
20099 $as_echo "$MSGMERGE" >&6; }
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20102 $as_echo "no" >&6; }
20106 # Extract the first word of "msgfmt", so it can be a program name with args.
20107 set dummy msgfmt; ac_word=$2
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20109 $as_echo_n "checking for $ac_word... " >&6; }
20110 if ${ac_cv_prog_MSGFMT+:} false; then :
20111 $as_echo_n "(cached) " >&6
20113 if test -n "$MSGFMT"; then
20114 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
20116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20117 for as_dir in $PATH
20120 test -z "$as_dir" && as_dir=.
20121 for ac_exec_ext in '' $ac_executable_extensions; do
20122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20123 ac_cv_prog_MSGFMT="msgfmt"
20124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20133 MSGFMT=$ac_cv_prog_MSGFMT
20134 if test -n "$MSGFMT"; then
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
20136 $as_echo "$MSGFMT" >&6; }
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20139 $as_echo "no" >&6; }
20144 if test "$XGETTEXT" != ""; then
20145 if $XGETTEXT --help 2>&1 | grep illegal >/dev/null ; then
20146 echo "xgettext isn't GNU version"
20149 if echo '<test/>' | $XGETTEXT -L Glade - ; then
20155 if test "$XGETTEXT" != "" ; then
20157 if test "$LINGUAS" = ""; then
20158 ling=` (cd $srcdir/po; /bin/ls *.po.in) `
20160 lcode=`basename $l .po.in`
20161 LINGUAS="$LINGUAS$lcode "
20165 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
20167 echo "xgettext and gettext() exist; will build i18n support for $LINGUAS"
20171 echo "xgettext doesn't exist; will not build i18n support"
20174 for lang in $LINGUAS; do
20175 MOFILES="$MOFILES $lang.mo"
20177 for lang in $LINGUAS; do
20178 POFILES="$POFILES $lang.po"
20180 for lang in $LINGUAS; do
20181 POIFILES="$POIFILES $lang.po.in"
20191 if test -n "$ac_aux_dir"; then
20192 case "$ac_aux_dir" in
20193 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
20194 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
20197 if test -z "$MKINSTALLDIRS"; then
20198 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
20204 $as_echo_n "checking whether NLS is requested... " >&6; }
20205 # Check whether --enable-nls was given.
20206 if test "${enable_nls+set}" = set; then :
20207 enableval=$enable_nls; USE_NLS=$enableval
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
20213 $as_echo "$USE_NLS" >&6; }
20220 # Prepare PATH_SEPARATOR.
20221 # The user is always right.
20222 if test "${PATH_SEPARATOR+set}" != set; then
20223 echo "#! /bin/sh" >conf$$.sh
20224 echo "exit 0" >>conf$$.sh
20226 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20234 # Find out how to test for executable files. Don't use a zero-byte file,
20235 # as systems may use methods other than mode bits to determine executability.
20236 cat >conf$$.file <<_ASEOF
20240 chmod +x conf$$.file
20241 if test -x conf$$.file >/dev/null 2>&1; then
20242 ac_executable_p="test -x"
20244 ac_executable_p="test -f"
20248 # Extract the first word of "msgfmt", so it can be a program name with args.
20249 set dummy msgfmt; ac_word=$2
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20251 $as_echo_n "checking for $ac_word... " >&6; }
20252 if ${ac_cv_path_MSGFMT+:} false; then :
20253 $as_echo_n "(cached) " >&6
20257 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
20260 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
20261 for ac_dir in $PATH; do
20263 test -z "$ac_dir" && ac_dir=.
20264 for ac_exec_ext in '' $ac_executable_extensions; do
20265 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
20266 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
20267 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
20268 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
20275 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
20279 MSGFMT="$ac_cv_path_MSGFMT"
20280 if test "$MSGFMT" != ":"; then
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
20282 $as_echo "$MSGFMT" >&6; }
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20285 $as_echo "no" >&6; }
20288 # Extract the first word of "gmsgfmt", so it can be a program name with args.
20289 set dummy gmsgfmt; ac_word=$2
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20291 $as_echo_n "checking for $ac_word... " >&6; }
20292 if ${ac_cv_path_GMSGFMT+:} false; then :
20293 $as_echo_n "(cached) " >&6
20297 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
20300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20301 for as_dir in $PATH
20304 test -z "$as_dir" && as_dir=.
20305 for ac_exec_ext in '' $ac_executable_extensions; do
20306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20307 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20315 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20319 GMSGFMT=$ac_cv_path_GMSGFMT
20320 if test -n "$GMSGFMT"; then
20321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
20322 $as_echo "$GMSGFMT" >&6; }
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20325 $as_echo "no" >&6; }
20331 # Prepare PATH_SEPARATOR.
20332 # The user is always right.
20333 if test "${PATH_SEPARATOR+set}" != set; then
20334 echo "#! /bin/sh" >conf$$.sh
20335 echo "exit 0" >>conf$$.sh
20337 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20345 # Find out how to test for executable files. Don't use a zero-byte file,
20346 # as systems may use methods other than mode bits to determine executability.
20347 cat >conf$$.file <<_ASEOF
20351 chmod +x conf$$.file
20352 if test -x conf$$.file >/dev/null 2>&1; then
20353 ac_executable_p="test -x"
20355 ac_executable_p="test -f"
20359 # Extract the first word of "xgettext", so it can be a program name with args.
20360 set dummy xgettext; ac_word=$2
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20362 $as_echo_n "checking for $ac_word... " >&6; }
20363 if ${ac_cv_path_XGETTEXT+:} false; then :
20364 $as_echo_n "(cached) " >&6
20366 case "$XGETTEXT" in
20368 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
20371 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
20372 for ac_dir in $PATH; do
20374 test -z "$ac_dir" && ac_dir=.
20375 for ac_exec_ext in '' $ac_executable_extensions; do
20376 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
20377 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
20378 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
20379 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
20386 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
20390 XGETTEXT="$ac_cv_path_XGETTEXT"
20391 if test "$XGETTEXT" != ":"; then
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
20393 $as_echo "$XGETTEXT" >&6; }
20395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20396 $as_echo "no" >&6; }
20402 # Prepare PATH_SEPARATOR.
20403 # The user is always right.
20404 if test "${PATH_SEPARATOR+set}" != set; then
20405 echo "#! /bin/sh" >conf$$.sh
20406 echo "exit 0" >>conf$$.sh
20408 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20416 # Find out how to test for executable files. Don't use a zero-byte file,
20417 # as systems may use methods other than mode bits to determine executability.
20418 cat >conf$$.file <<_ASEOF
20422 chmod +x conf$$.file
20423 if test -x conf$$.file >/dev/null 2>&1; then
20424 ac_executable_p="test -x"
20426 ac_executable_p="test -f"
20430 # Extract the first word of "msgmerge", so it can be a program name with args.
20431 set dummy msgmerge; ac_word=$2
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20433 $as_echo_n "checking for $ac_word... " >&6; }
20434 if ${ac_cv_path_MSGMERGE+:} false; then :
20435 $as_echo_n "(cached) " >&6
20437 case "$MSGMERGE" in
20439 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
20442 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
20443 for ac_dir in $PATH; do
20445 test -z "$ac_dir" && ac_dir=.
20446 for ac_exec_ext in '' $ac_executable_extensions; do
20447 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
20448 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
20449 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
20456 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
20460 MSGMERGE="$ac_cv_path_MSGMERGE"
20461 if test "$MSGMERGE" != ":"; then
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
20463 $as_echo "$MSGMERGE" >&6; }
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20466 $as_echo "no" >&6; }
20470 if test "$GMSGFMT" != ":"; then
20471 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
20472 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
20475 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
20476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
20477 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
20482 if test "$XGETTEXT" != ":"; then
20483 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
20484 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
20488 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
20494 ac_config_commands="$ac_config_commands default-1"
20497 if test -n "$ac_tool_prefix"; then
20498 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
20499 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20501 $as_echo_n "checking for $ac_word... " >&6; }
20502 if ${ac_cv_prog_RANLIB+:} false; then :
20503 $as_echo_n "(cached) " >&6
20505 if test -n "$RANLIB"; then
20506 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
20508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20509 for as_dir in $PATH
20512 test -z "$as_dir" && as_dir=.
20513 for ac_exec_ext in '' $ac_executable_extensions; do
20514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20515 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
20516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20525 RANLIB=$ac_cv_prog_RANLIB
20526 if test -n "$RANLIB"; then
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
20528 $as_echo "$RANLIB" >&6; }
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20531 $as_echo "no" >&6; }
20536 if test -z "$ac_cv_prog_RANLIB"; then
20537 ac_ct_RANLIB=$RANLIB
20538 # Extract the first word of "ranlib", so it can be a program name with args.
20539 set dummy ranlib; ac_word=$2
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20541 $as_echo_n "checking for $ac_word... " >&6; }
20542 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
20543 $as_echo_n "(cached) " >&6
20545 if test -n "$ac_ct_RANLIB"; then
20546 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
20548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20549 for as_dir in $PATH
20552 test -z "$as_dir" && as_dir=.
20553 for ac_exec_ext in '' $ac_executable_extensions; do
20554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20555 ac_cv_prog_ac_ct_RANLIB="ranlib"
20556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20565 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
20566 if test -n "$ac_ct_RANLIB"; then
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
20568 $as_echo "$ac_ct_RANLIB" >&6; }
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20571 $as_echo "no" >&6; }
20574 if test "x$ac_ct_RANLIB" = x; then
20577 case $cross_compiling:$ac_tool_warned in
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20581 ac_tool_warned=yes ;;
20583 RANLIB=$ac_ct_RANLIB
20586 RANLIB="$ac_cv_prog_RANLIB"
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
20591 $as_echo_n "checking for strerror in -lcposix... " >&6; }
20592 if ${ac_cv_lib_cposix_strerror+:} false; then :
20593 $as_echo_n "(cached) " >&6
20595 ac_check_lib_save_LIBS=$LIBS
20596 LIBS="-lcposix $LIBS"
20597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20598 /* end confdefs.h. */
20600 /* Override any GCC internal prototype to avoid an error.
20601 Use char because int might match the return type of a GCC
20602 builtin and then its argument prototype would still apply. */
20610 return strerror ();
20615 if ac_fn_c_try_link "$LINENO"; then :
20616 ac_cv_lib_cposix_strerror=yes
20618 ac_cv_lib_cposix_strerror=no
20620 rm -f core conftest.err conftest.$ac_objext \
20621 conftest$ac_exeext conftest.$ac_ext
20622 LIBS=$ac_check_lib_save_LIBS
20624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
20625 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
20626 if test "x$ac_cv_lib_cposix_strerror" = xyes; then :
20627 LIBS="$LIBS -lcposix"
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20633 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20634 if ${ac_cv_c_const+:} false; then :
20635 $as_echo_n "(cached) " >&6
20637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20638 /* end confdefs.h. */
20643 /* FIXME: Include the comments suggested by Paul. */
20644 #ifndef __cplusplus
20645 /* Ultrix mips cc rejects this. */
20646 typedef int charset[2];
20648 /* SunOS 4.1.1 cc rejects this. */
20649 char const *const *pcpcc;
20651 /* NEC SVR4.0.2 mips cc rejects this. */
20652 struct point {int x, y;};
20653 static struct point const zero = {0,0};
20654 /* AIX XL C 1.02.0.0 rejects this.
20655 It does not let you subtract one const X* pointer from another in
20656 an arm of an if-expression whose if-part is not a constant
20658 const char *g = "string";
20659 pcpcc = &g + (g ? g-g : 0);
20660 /* HPUX 7.0 cc rejects these. */
20662 ppc = (char**) pcpcc;
20663 pcpcc = (char const *const *) ppc;
20664 { /* SCO 3.2v4 cc rejects this. */
20666 char const *s = 0 ? (char *) 0 : (char const *) 0;
20671 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20672 int x[] = {25, 17};
20673 const int *foo = &x[0];
20676 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20677 typedef const int *iptr;
20681 { /* AIX XL C 1.02.0.0 rejects this saying
20682 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20683 struct s { int j; const int *ap[3]; };
20684 struct s *b; b->j = 5;
20686 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20687 const int foo = 10;
20688 if (!foo) return 0;
20690 return !cs[0] && !zero.x;
20697 if ac_fn_c_try_compile "$LINENO"; then :
20702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20705 $as_echo "$ac_cv_c_const" >&6; }
20706 if test $ac_cv_c_const = no; then
20708 $as_echo "#define const /**/" >>confdefs.h
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed" >&5
20714 $as_echo_n "checking for signed... " >&6; }
20715 if ${bh_cv_c_signed+:} false; then :
20716 $as_echo_n "(cached) " >&6
20718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20719 /* end confdefs.h. */
20729 if ac_fn_c_try_compile "$LINENO"; then :
20734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bh_cv_c_signed" >&5
20737 $as_echo "$bh_cv_c_signed" >&6; }
20738 if test $bh_cv_c_signed = no; then
20740 $as_echo "#define signed /**/" >>confdefs.h
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20745 $as_echo_n "checking for inline... " >&6; }
20746 if ${ac_cv_c_inline+:} false; then :
20747 $as_echo_n "(cached) " >&6
20750 for ac_kw in inline __inline__ __inline; do
20751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20752 /* end confdefs.h. */
20753 #ifndef __cplusplus
20755 static $ac_kw foo_t static_foo () {return 0; }
20756 $ac_kw foo_t foo () {return 0; }
20760 if ac_fn_c_try_compile "$LINENO"; then :
20761 ac_cv_c_inline=$ac_kw
20763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764 test "$ac_cv_c_inline" != no && break
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20769 $as_echo "$ac_cv_c_inline" >&6; }
20771 case $ac_cv_c_inline in
20774 case $ac_cv_c_inline in
20776 *) ac_val=$ac_cv_c_inline;;
20778 cat >>confdefs.h <<_ACEOF
20779 #ifndef __cplusplus
20780 #define inline $ac_val
20786 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
20787 if test "x$ac_cv_type_off_t" = xyes; then :
20791 cat >>confdefs.h <<_ACEOF
20792 #define off_t long int
20797 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20798 if test "x$ac_cv_type_size_t" = xyes; then :
20802 cat >>confdefs.h <<_ACEOF
20803 #define size_t unsigned int
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long" >&5
20810 $as_echo_n "checking for long long... " >&6; }
20811 if ${ac_cv_type_long_long+:} false; then :
20812 $as_echo_n "(cached) " >&6
20814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20815 /* end confdefs.h. */
20816 long long ll = 1LL; int i = 63;
20820 long long llmax = (long long) -1;
20821 return ll << i | ll >> i | llmax / ll | llmax % ll;
20826 if ac_fn_c_try_link "$LINENO"; then :
20827 ac_cv_type_long_long=yes
20829 ac_cv_type_long_long=no
20831 rm -f core conftest.err conftest.$ac_objext \
20832 conftest$ac_exeext conftest.$ac_ext
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long" >&5
20835 $as_echo "$ac_cv_type_long_long" >&6; }
20836 if test $ac_cv_type_long_long = yes; then
20838 $as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
20844 $as_echo_n "checking for long double... " >&6; }
20845 if ${gt_cv_c_long_double+:} false; then :
20846 $as_echo_n "(cached) " >&6
20848 if test "$GCC" = yes; then
20849 gt_cv_c_long_double=yes
20851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20852 /* end confdefs.h. */
20854 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
20855 long double foo = 0.0;
20856 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
20857 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
20867 if ac_fn_c_try_compile "$LINENO"; then :
20868 gt_cv_c_long_double=yes
20870 gt_cv_c_long_double=no
20872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_long_double" >&5
20876 $as_echo "$gt_cv_c_long_double" >&6; }
20877 if test $gt_cv_c_long_double = yes; then
20879 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
20884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
20885 $as_echo_n "checking for wchar_t... " >&6; }
20886 if ${gt_cv_c_wchar_t+:} false; then :
20887 $as_echo_n "(cached) " >&6
20889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20890 /* end confdefs.h. */
20891 #include <stddef.h>
20892 wchar_t foo = (wchar_t)'\0';
20901 if ac_fn_c_try_compile "$LINENO"; then :
20902 gt_cv_c_wchar_t=yes
20906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
20909 $as_echo "$gt_cv_c_wchar_t" >&6; }
20910 if test $gt_cv_c_wchar_t = yes; then
20912 $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
20917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
20918 $as_echo_n "checking for wint_t... " >&6; }
20919 if ${gt_cv_c_wint_t+:} false; then :
20920 $as_echo_n "(cached) " >&6
20922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h. */
20925 wint_t foo = (wchar_t)'\0';
20934 if ac_fn_c_try_compile "$LINENO"; then :
20939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
20942 $as_echo "$gt_cv_c_wint_t" >&6; }
20943 if test $gt_cv_c_wint_t = yes; then
20945 $as_echo "#define HAVE_WINT_T 1" >>confdefs.h
20950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
20951 $as_echo_n "checking for inttypes.h... " >&6; }
20952 if ${jm_ac_cv_header_inttypes_h+:} false; then :
20953 $as_echo_n "(cached) " >&6
20955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20956 /* end confdefs.h. */
20957 #include <sys/types.h>
20958 #include <inttypes.h>
20962 uintmax_t i = (uintmax_t) -1;
20967 if ac_fn_c_try_compile "$LINENO"; then :
20968 jm_ac_cv_header_inttypes_h=yes
20970 jm_ac_cv_header_inttypes_h=no
20972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
20975 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
20976 if test $jm_ac_cv_header_inttypes_h = yes; then
20978 cat >>confdefs.h <<_ACEOF
20979 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
20985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
20986 $as_echo_n "checking for stdint.h... " >&6; }
20987 if ${jm_ac_cv_header_stdint_h+:} false; then :
20988 $as_echo_n "(cached) " >&6
20990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20991 /* end confdefs.h. */
20992 #include <sys/types.h>
20993 #include <stdint.h>
20997 uintmax_t i = (uintmax_t) -1;
21002 if ac_fn_c_try_compile "$LINENO"; then :
21003 jm_ac_cv_header_stdint_h=yes
21005 jm_ac_cv_header_stdint_h=no
21007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
21010 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
21011 if test $jm_ac_cv_header_stdint_h = yes; then
21013 cat >>confdefs.h <<_ACEOF
21014 #define HAVE_STDINT_H_WITH_UINTMAX 1
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
21023 $as_echo_n "checking for intmax_t... " >&6; }
21024 if ${gt_cv_c_intmax_t+:} false; then :
21025 $as_echo_n "(cached) " >&6
21027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21028 /* end confdefs.h. */
21030 #include <stddef.h>
21031 #include <stdlib.h>
21032 #if HAVE_STDINT_H_WITH_UINTMAX
21033 #include <stdint.h>
21035 #if HAVE_INTTYPES_H_WITH_UINTMAX
21036 #include <inttypes.h>
21047 if ac_fn_c_try_compile "$LINENO"; then :
21048 gt_cv_c_intmax_t=yes
21050 gt_cv_c_intmax_t=no
21052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
21055 $as_echo "$gt_cv_c_intmax_t" >&6; }
21056 if test $gt_cv_c_intmax_t = yes; then
21058 $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
21065 $as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
21066 if ${gt_cv_func_printf_posix+:} false; then :
21067 $as_echo_n "(cached) " >&6
21070 if test "$cross_compiling" = yes; then :
21072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21073 /* end confdefs.h. */
21075 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
21080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21081 $EGREP "notposix" >/dev/null 2>&1; then :
21082 gt_cv_func_printf_posix="guessing no"
21084 gt_cv_func_printf_posix="guessing yes"
21090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21091 /* end confdefs.h. */
21094 #include <string.h>
21095 /* The string "%2$d %1$d", with dollar characters protected from the shell's
21096 dollar expansion (possibly an autoconf bug). */
21097 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
21098 static char buf[100];
21101 sprintf (buf, format, 33, 55);
21102 return (strcmp (buf, "55 33") != 0);
21105 if ac_fn_c_try_run "$LINENO"; then :
21106 gt_cv_func_printf_posix=yes
21108 gt_cv_func_printf_posix=no
21110 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21111 conftest.$ac_objext conftest.beam conftest.$ac_ext
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5
21117 $as_echo "$gt_cv_func_printf_posix" >&6; }
21118 case $gt_cv_func_printf_posix in
21121 $as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h
21126 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21127 # for constant arguments. Useless!
21128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
21129 $as_echo_n "checking for working alloca.h... " >&6; }
21130 if ${ac_cv_working_alloca_h+:} false; then :
21131 $as_echo_n "(cached) " >&6
21133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21134 /* end confdefs.h. */
21135 #include <alloca.h>
21139 char *p = (char *) alloca (2 * sizeof (int));
21145 if ac_fn_c_try_link "$LINENO"; then :
21146 ac_cv_working_alloca_h=yes
21148 ac_cv_working_alloca_h=no
21150 rm -f core conftest.err conftest.$ac_objext \
21151 conftest$ac_exeext conftest.$ac_ext
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
21154 $as_echo "$ac_cv_working_alloca_h" >&6; }
21155 if test $ac_cv_working_alloca_h = yes; then
21157 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
21161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
21162 $as_echo_n "checking for alloca... " >&6; }
21163 if ${ac_cv_func_alloca_works+:} false; then :
21164 $as_echo_n "(cached) " >&6
21166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21167 /* end confdefs.h. */
21169 # define alloca __builtin_alloca
21172 # include <malloc.h>
21173 # define alloca _alloca
21175 # ifdef HAVE_ALLOCA_H
21176 # include <alloca.h>
21181 # ifndef alloca /* predefined by HP cc +Olibcalls */
21182 void *alloca (size_t);
21192 char *p = (char *) alloca (1);
21198 if ac_fn_c_try_link "$LINENO"; then :
21199 ac_cv_func_alloca_works=yes
21201 ac_cv_func_alloca_works=no
21203 rm -f core conftest.err conftest.$ac_objext \
21204 conftest$ac_exeext conftest.$ac_ext
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
21207 $as_echo "$ac_cv_func_alloca_works" >&6; }
21209 if test $ac_cv_func_alloca_works = yes; then
21211 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
21214 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21215 # that cause trouble. Some versions do not even contain alloca or
21216 # contain a buggy version. If you still want to use their alloca,
21217 # use ar to extract alloca.o from them instead of compiling alloca.c.
21219 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
21221 $as_echo "#define C_ALLOCA 1" >>confdefs.h
21224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
21225 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
21226 if ${ac_cv_os_cray+:} false; then :
21227 $as_echo_n "(cached) " >&6
21229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21230 /* end confdefs.h. */
21231 #if defined CRAY && ! defined CRAY2
21238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21239 $EGREP "webecray" >/dev/null 2>&1; then :
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
21248 $as_echo "$ac_cv_os_cray" >&6; }
21249 if test $ac_cv_os_cray = yes; then
21250 for ac_func in _getb67 GETB67 getb67; do
21251 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21252 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21253 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
21255 cat >>confdefs.h <<_ACEOF
21256 #define CRAY_STACKSEG_END $ac_func
21265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
21266 $as_echo_n "checking stack direction for C alloca... " >&6; }
21267 if ${ac_cv_c_stack_direction+:} false; then :
21268 $as_echo_n "(cached) " >&6
21270 if test "$cross_compiling" = yes; then :
21271 ac_cv_c_stack_direction=0
21273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21274 /* end confdefs.h. */
21275 $ac_includes_default
21277 find_stack_direction ()
21279 static char *addr = 0;
21284 return find_stack_direction ();
21287 return (&dummy > addr) ? 1 : -1;
21293 return find_stack_direction () < 0;
21296 if ac_fn_c_try_run "$LINENO"; then :
21297 ac_cv_c_stack_direction=1
21299 ac_cv_c_stack_direction=-1
21301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21302 conftest.$ac_objext conftest.beam conftest.$ac_ext
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
21307 $as_echo "$ac_cv_c_stack_direction" >&6; }
21308 cat >>confdefs.h <<_ACEOF
21309 #define STACK_DIRECTION $ac_cv_c_stack_direction
21318 for ac_header in $ac_header_list
21320 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21321 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
21323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21324 cat >>confdefs.h <<_ACEOF
21325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21339 for ac_func in getpagesize
21341 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
21342 if test "x$ac_cv_func_getpagesize" = xyes; then :
21343 cat >>confdefs.h <<_ACEOF
21344 #define HAVE_GETPAGESIZE 1
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
21351 $as_echo_n "checking for working mmap... " >&6; }
21352 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
21353 $as_echo_n "(cached) " >&6
21355 if test "$cross_compiling" = yes; then :
21356 ac_cv_func_mmap_fixed_mapped=no
21358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21359 /* end confdefs.h. */
21360 $ac_includes_default
21361 /* malloc might have been renamed as rpl_malloc. */
21364 /* Thanks to Mike Haertel and Jim Avera for this test.
21365 Here is a matrix of mmap possibilities:
21366 mmap private not fixed
21367 mmap private fixed at somewhere currently unmapped
21368 mmap private fixed at somewhere already mapped
21369 mmap shared not fixed
21370 mmap shared fixed at somewhere currently unmapped
21371 mmap shared fixed at somewhere already mapped
21372 For private mappings, we should verify that changes cannot be read()
21373 back from the file, nor mmap's back from the file at a different
21374 address. (There have been systems where private was not correctly
21375 implemented like the infamous i386 svr4.0, and systems where the
21376 VM page cache was not coherent with the file system buffer cache
21377 like early versions of FreeBSD and possibly contemporary NetBSD.)
21378 For shared mappings, we should conversely verify that changes get
21379 propagated back to all the places they're supposed to be.
21381 Grep wants private fixed already mapped.
21382 The main things grep needs to know about mmap are:
21383 * does it exist and is it safe to write into the mmap'd area
21384 * how to use it (BSD variants) */
21387 #include <sys/mman.h>
21389 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
21393 /* This mess was copied from the GNU getpagesize.h. */
21394 #ifndef HAVE_GETPAGESIZE
21395 # ifdef _SC_PAGESIZE
21396 # define getpagesize() sysconf(_SC_PAGESIZE)
21397 # else /* no _SC_PAGESIZE */
21398 # ifdef HAVE_SYS_PARAM_H
21399 # include <sys/param.h>
21400 # ifdef EXEC_PAGESIZE
21401 # define getpagesize() EXEC_PAGESIZE
21402 # else /* no EXEC_PAGESIZE */
21404 # define getpagesize() NBPG * CLSIZE
21407 # endif /* no CLSIZE */
21408 # else /* no NBPG */
21410 # define getpagesize() NBPC
21411 # else /* no NBPC */
21413 # define getpagesize() PAGESIZE
21414 # endif /* PAGESIZE */
21415 # endif /* no NBPC */
21416 # endif /* no NBPG */
21417 # endif /* no EXEC_PAGESIZE */
21418 # else /* no HAVE_SYS_PARAM_H */
21419 # define getpagesize() 8192 /* punt totally */
21420 # endif /* no HAVE_SYS_PARAM_H */
21421 # endif /* no _SC_PAGESIZE */
21423 #endif /* no HAVE_GETPAGESIZE */
21428 char *data, *data2, *data3;
21429 const char *cdata2;
21433 pagesize = getpagesize ();
21435 /* First, make a file with some known garbage in it. */
21436 data = (char *) malloc (pagesize);
21439 for (i = 0; i < pagesize; ++i)
21440 *(data + i) = rand ();
21442 fd = creat ("conftest.mmap", 0600);
21445 if (write (fd, data, pagesize) != pagesize)
21449 /* Next, check that the tail of a page is zero-filled. File must have
21450 non-zero length, otherwise we risk SIGBUS for entire page. */
21451 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
21455 if (write (fd2, cdata2, 1) != 1)
21457 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
21458 if (data2 == MAP_FAILED)
21460 for (i = 0; i < pagesize; ++i)
21464 if (munmap (data2, pagesize))
21467 /* Next, try to mmap the file at a fixed address which already has
21468 something else allocated at it. If we can, also make sure that
21469 we see the same garbage. */
21470 fd = open ("conftest.mmap", O_RDWR);
21473 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
21474 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21476 for (i = 0; i < pagesize; ++i)
21477 if (*(data + i) != *(data2 + i))
21480 /* Finally, make sure that changes to the mapped area do not
21481 percolate back to the file as seen by read(). (This is a bug on
21482 some variants of i386 svr4.0.) */
21483 for (i = 0; i < pagesize; ++i)
21484 *(data2 + i) = *(data2 + i) + 1;
21485 data3 = (char *) malloc (pagesize);
21488 if (read (fd, data3, pagesize) != pagesize)
21490 for (i = 0; i < pagesize; ++i)
21491 if (*(data + i) != *(data3 + i))
21497 if ac_fn_c_try_run "$LINENO"; then :
21498 ac_cv_func_mmap_fixed_mapped=yes
21500 ac_cv_func_mmap_fixed_mapped=no
21502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21503 conftest.$ac_objext conftest.beam conftest.$ac_ext
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
21508 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
21509 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21511 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
21514 rm -f conftest.mmap conftest.txt
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
21518 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
21519 if ${ac_cv_gnu_library_2_1+:} false; then :
21520 $as_echo_n "(cached) " >&6
21522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21523 /* end confdefs.h. */
21525 #include <features.h>
21526 #ifdef __GNU_LIBRARY__
21527 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
21533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21534 $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
21535 ac_cv_gnu_library_2_1=yes
21537 ac_cv_gnu_library_2_1=no
21544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
21545 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
21547 GLIBC21="$ac_cv_gnu_library_2_1"
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
21553 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
21554 if ${gt_cv_int_divbyzero_sigfpe+:} false; then :
21555 $as_echo_n "(cached) " >&6
21558 if test "$cross_compiling" = yes; then :
21560 # Guess based on the CPU.
21561 case "$host_cpu" in
21562 alpha* | i3456786 | m68k | s390*)
21563 gt_cv_int_divbyzero_sigfpe="guessing yes";;
21565 gt_cv_int_divbyzero_sigfpe="guessing no";;
21569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21570 /* end confdefs.h. */
21572 #include <stdlib.h>
21573 #include <signal.h>
21577 sigfpe_handler (int sig)
21579 sigfpe_handler (sig) int sig;
21582 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
21583 exit (sig != SIGFPE);
21593 signal (SIGFPE, sigfpe_handler);
21594 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
21595 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
21596 signal (SIGTRAP, sigfpe_handler);
21598 /* Linux/SPARC yields signal SIGILL. */
21599 #if defined (__sparc__) && defined (__linux__)
21600 signal (SIGILL, sigfpe_handler);
21609 if ac_fn_c_try_run "$LINENO"; then :
21610 gt_cv_int_divbyzero_sigfpe=yes
21612 gt_cv_int_divbyzero_sigfpe=no
21614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21615 conftest.$ac_objext conftest.beam conftest.$ac_ext
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
21621 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
21622 case "$gt_cv_int_divbyzero_sigfpe" in
21627 cat >>confdefs.h <<_ACEOF
21628 #define INTDIV0_RAISES_SIGFPE $value
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
21634 $as_echo_n "checking for unsigned long long... " >&6; }
21635 if ${ac_cv_type_unsigned_long_long+:} false; then :
21636 $as_echo_n "(cached) " >&6
21638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21639 /* end confdefs.h. */
21640 unsigned long long ull = 1ULL; int i = 63;
21644 unsigned long long ullmax = (unsigned long long) -1;
21645 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
21650 if ac_fn_c_try_link "$LINENO"; then :
21651 ac_cv_type_unsigned_long_long=yes
21653 ac_cv_type_unsigned_long_long=no
21655 rm -f core conftest.err conftest.$ac_objext \
21656 conftest$ac_exeext conftest.$ac_ext
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
21659 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
21660 if test $ac_cv_type_unsigned_long_long = yes; then
21662 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
21669 if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
21671 test $ac_cv_type_unsigned_long_long = yes \
21672 && ac_type='unsigned long long' \
21673 || ac_type='unsigned long'
21675 cat >>confdefs.h <<_ACEOF
21676 #define uintmax_t $ac_type
21681 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
21686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
21687 $as_echo_n "checking for inttypes.h... " >&6; }
21688 if ${gt_cv_header_inttypes_h+:} false; then :
21689 $as_echo_n "(cached) " >&6
21692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21693 /* end confdefs.h. */
21694 #include <sys/types.h>
21695 #include <inttypes.h>
21704 if ac_fn_c_try_compile "$LINENO"; then :
21705 gt_cv_header_inttypes_h=yes
21707 gt_cv_header_inttypes_h=no
21709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
21713 $as_echo "$gt_cv_header_inttypes_h" >&6; }
21714 if test $gt_cv_header_inttypes_h = yes; then
21716 cat >>confdefs.h <<_ACEOF
21717 #define HAVE_INTTYPES_H 1
21724 if test $gt_cv_header_inttypes_h = yes; then
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
21726 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
21727 if ${gt_cv_inttypes_pri_broken+:} false; then :
21728 $as_echo_n "(cached) " >&6
21731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21732 /* end confdefs.h. */
21733 #include <inttypes.h>
21746 if ac_fn_c_try_compile "$LINENO"; then :
21747 gt_cv_inttypes_pri_broken=no
21749 gt_cv_inttypes_pri_broken=yes
21751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
21755 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
21757 if test "$gt_cv_inttypes_pri_broken" = yes; then
21759 cat >>confdefs.h <<_ACEOF
21760 #define PRI_MACROS_BROKEN 1
21766 for ac_header in stdint.h
21768 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
21769 if test "x$ac_cv_header_stdint_h" = xyes; then :
21770 cat >>confdefs.h <<_ACEOF
21771 #define HAVE_STDINT_H 1
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
21779 $as_echo_n "checking for SIZE_MAX... " >&6; }
21781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21782 /* end confdefs.h. */
21784 #include <limits.h>
21786 #include <stdint.h>
21793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21794 $EGREP "Found it" >/dev/null 2>&1; then :
21799 if test -z "$result"; then
21800 if ac_fn_c_compute_int "$LINENO" "~(size_t)0 / 10" "res_hi" "#include <stddef.h>"; then :
21807 if ac_fn_c_compute_int "$LINENO" "~(size_t)0 % 10" "res_lo" "#include <stddef.h>"; then :
21814 if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include <stddef.h>"; then :
21821 if test "$fits_in_uint" = 1; then
21822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21823 /* end confdefs.h. */
21824 #include <stddef.h>
21826 extern unsigned long foo;
21836 if ac_fn_c_try_compile "$LINENO"; then :
21839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21841 if test -z "$result"; then
21842 if test "$fits_in_uint" = 1; then
21843 result="$res_hi$res_lo"U
21845 result="$res_hi$res_lo"UL
21848 result='~(size_t)0'
21851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
21852 $as_echo "$result" >&6; }
21853 if test "$result" != yes; then
21855 cat >>confdefs.h <<_ACEOF
21856 #define SIZE_MAX $result
21863 for ac_header in stdint.h
21865 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
21866 if test "x$ac_cv_header_stdint_h" = xyes; then :
21867 cat >>confdefs.h <<_ACEOF
21868 #define HAVE_STDINT_H 1
21877 if test "X$prefix" = "XNONE"; then
21878 acl_final_prefix="$ac_default_prefix"
21880 acl_final_prefix="$prefix"
21882 if test "X$exec_prefix" = "XNONE"; then
21883 acl_final_exec_prefix='${prefix}'
21885 acl_final_exec_prefix="$exec_prefix"
21887 acl_save_prefix="$prefix"
21888 prefix="$acl_final_prefix"
21889 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
21890 prefix="$acl_save_prefix"
21893 # Check whether --with-gnu-ld was given.
21894 if test "${with_gnu_ld+set}" = set; then :
21895 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21900 # Prepare PATH_SEPARATOR.
21901 # The user is always right.
21902 if test "${PATH_SEPARATOR+set}" != set; then
21903 echo "#! /bin/sh" >conf$$.sh
21904 echo "exit 0" >>conf$$.sh
21906 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21914 if test "$GCC" = yes; then
21915 # Check if gcc -print-prog-name=ld gives a path.
21916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
21917 $as_echo_n "checking for ld used by GCC... " >&6; }
21920 # gcc leaves a trailing carriage return which upsets mingw
21921 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21923 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21926 # Accept absolute paths.
21927 [\\/]* | [A-Za-z]:[\\/]*)
21928 re_direlt='/[^/][^/]*/\.\./'
21929 # Canonicalize the path of ld
21930 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
21931 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
21932 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
21934 test -z "$LD" && LD="$ac_prog"
21937 # If it fails, then pretend we aren't using GCC.
21941 # If it is relative, then search for the first ld in PATH.
21942 with_gnu_ld=unknown
21945 elif test "$with_gnu_ld" = yes; then
21946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21947 $as_echo_n "checking for GNU ld... " >&6; }
21949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21950 $as_echo_n "checking for non-GNU ld... " >&6; }
21952 if ${acl_cv_path_LD+:} false; then :
21953 $as_echo_n "(cached) " >&6
21955 if test -z "$LD"; then
21956 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21957 for ac_dir in $PATH; do
21958 test -z "$ac_dir" && ac_dir=.
21959 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21960 acl_cv_path_LD="$ac_dir/$ac_prog"
21961 # Check to see if the program is GNU ld. I'd rather use --version,
21962 # but apparently some GNU ld's only accept -v.
21963 # Break only if it was the GNU/non-GNU ld that we prefer.
21964 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
21965 *GNU* | *'with BFD'*)
21966 test "$with_gnu_ld" != no && break ;;
21968 test "$with_gnu_ld" != yes && break ;;
21974 acl_cv_path_LD="$LD" # Let the user override the test with a path.
21978 LD="$acl_cv_path_LD"
21979 if test -n "$LD"; then
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21981 $as_echo "$LD" >&6; }
21983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21984 $as_echo "no" >&6; }
21986 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
21987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21988 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21989 if ${acl_cv_prog_gnu_ld+:} false; then :
21990 $as_echo_n "(cached) " >&6
21992 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21993 case `$LD -v 2>&1 </dev/null` in
21994 *GNU* | *'with BFD'*)
21995 acl_cv_prog_gnu_ld=yes ;;
21997 acl_cv_prog_gnu_ld=no ;;
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
22001 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
22002 with_gnu_ld=$acl_cv_prog_gnu_ld
22006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
22007 $as_echo_n "checking for shared library run path origin... " >&6; }
22008 if ${acl_cv_rpath+:} false; then :
22009 $as_echo_n "(cached) " >&6
22012 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
22013 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
22015 rm -f ./conftest.sh
22019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
22020 $as_echo "$acl_cv_rpath" >&6; }
22022 libext="$acl_cv_libext"
22023 shlibext="$acl_cv_shlibext"
22024 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
22025 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
22026 hardcode_direct="$acl_cv_hardcode_direct"
22027 hardcode_minus_L="$acl_cv_hardcode_minus_L"
22028 # Check whether --enable-rpath was given.
22029 if test "${enable_rpath+set}" = set; then :
22030 enableval=$enable_rpath; :
22044 acl_save_prefix="$prefix"
22045 prefix="$acl_final_prefix"
22046 acl_save_exec_prefix="$exec_prefix"
22047 exec_prefix="$acl_final_exec_prefix"
22049 eval additional_includedir=\"$includedir\"
22050 eval additional_libdir=\"$libdir\"
22052 exec_prefix="$acl_save_exec_prefix"
22053 prefix="$acl_save_prefix"
22056 # Check whether --with-libiconv-prefix was given.
22057 if test "${with_libiconv_prefix+set}" = set; then :
22058 withval=$with_libiconv_prefix;
22059 if test "X$withval" = "Xno"; then
22062 if test "X$withval" = "X"; then
22064 acl_save_prefix="$prefix"
22065 prefix="$acl_final_prefix"
22066 acl_save_exec_prefix="$exec_prefix"
22067 exec_prefix="$acl_final_exec_prefix"
22069 eval additional_includedir=\"$includedir\"
22070 eval additional_libdir=\"$libdir\"
22072 exec_prefix="$acl_save_exec_prefix"
22073 prefix="$acl_save_prefix"
22076 additional_includedir="$withval/include"
22077 additional_libdir="$withval/lib"
22088 names_already_handled=
22089 names_next_round='iconv '
22090 while test -n "$names_next_round"; do
22091 names_this_round="$names_next_round"
22093 for name in $names_this_round; do
22095 for n in $names_already_handled; do
22096 if test "$n" = "$name"; then
22097 already_handled=yes
22101 if test -z "$already_handled"; then
22102 names_already_handled="$names_already_handled $name"
22103 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
22104 eval value=\"\$HAVE_LIB$uppername\"
22105 if test -n "$value"; then
22106 if test "$value" = yes; then
22107 eval value=\"\$LIB$uppername\"
22108 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
22109 eval value=\"\$LTLIB$uppername\"
22110 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
22119 if test $use_additional = yes; then
22120 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
22121 found_dir="$additional_libdir"
22122 found_so="$additional_libdir/lib$name.$shlibext"
22123 if test -f "$additional_libdir/lib$name.la"; then
22124 found_la="$additional_libdir/lib$name.la"
22127 if test -f "$additional_libdir/lib$name.$libext"; then
22128 found_dir="$additional_libdir"
22129 found_a="$additional_libdir/lib$name.$libext"
22130 if test -f "$additional_libdir/lib$name.la"; then
22131 found_la="$additional_libdir/lib$name.la"
22136 if test "X$found_dir" = "X"; then
22137 for x in $LDFLAGS $LTLIBICONV; do
22139 acl_save_prefix="$prefix"
22140 prefix="$acl_final_prefix"
22141 acl_save_exec_prefix="$exec_prefix"
22142 exec_prefix="$acl_final_exec_prefix"
22144 exec_prefix="$acl_save_exec_prefix"
22145 prefix="$acl_save_prefix"
22149 dir=`echo "X$x" | sed -e 's/^X-L//'`
22150 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
22152 found_so="$dir/lib$name.$shlibext"
22153 if test -f "$dir/lib$name.la"; then
22154 found_la="$dir/lib$name.la"
22157 if test -f "$dir/lib$name.$libext"; then
22159 found_a="$dir/lib$name.$libext"
22160 if test -f "$dir/lib$name.la"; then
22161 found_la="$dir/lib$name.la"
22167 if test "X$found_dir" != "X"; then
22172 if test "X$found_dir" != "X"; then
22173 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
22174 if test "X$found_so" != "X"; then
22175 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
22176 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
22179 for x in $ltrpathdirs; do
22180 if test "X$x" = "X$found_dir"; then
22185 if test -z "$haveit"; then
22186 ltrpathdirs="$ltrpathdirs $found_dir"
22188 if test "$hardcode_direct" = yes; then
22189 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
22191 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
22192 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
22194 for x in $rpathdirs; do
22195 if test "X$x" = "X$found_dir"; then
22200 if test -z "$haveit"; then
22201 rpathdirs="$rpathdirs $found_dir"
22205 for x in $LDFLAGS $LIBICONV; do
22207 acl_save_prefix="$prefix"
22208 prefix="$acl_final_prefix"
22209 acl_save_exec_prefix="$exec_prefix"
22210 exec_prefix="$acl_final_exec_prefix"
22212 exec_prefix="$acl_save_exec_prefix"
22213 prefix="$acl_save_prefix"
22215 if test "X$x" = "X-L$found_dir"; then
22220 if test -z "$haveit"; then
22221 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
22223 if test "$hardcode_minus_L" != no; then
22224 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
22226 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
22232 if test "X$found_a" != "X"; then
22233 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
22235 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
22238 additional_includedir=
22239 case "$found_dir" in
22241 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
22242 additional_includedir="$basedir/include"
22245 if test "X$additional_includedir" != "X"; then
22246 if test "X$additional_includedir" != "X/usr/include"; then
22248 if test "X$additional_includedir" = "X/usr/local/include"; then
22249 if test -n "$GCC"; then
22251 linux*) haveit=yes;;
22255 if test -z "$haveit"; then
22256 for x in $CPPFLAGS $INCICONV; do
22258 acl_save_prefix="$prefix"
22259 prefix="$acl_final_prefix"
22260 acl_save_exec_prefix="$exec_prefix"
22261 exec_prefix="$acl_final_exec_prefix"
22263 exec_prefix="$acl_save_exec_prefix"
22264 prefix="$acl_save_prefix"
22266 if test "X$x" = "X-I$additional_includedir"; then
22271 if test -z "$haveit"; then
22272 if test -d "$additional_includedir"; then
22273 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
22279 if test -n "$found_la"; then
22280 save_libdir="$libdir"
22281 case "$found_la" in
22282 */* | *\\*) . "$found_la" ;;
22283 *) . "./$found_la" ;;
22285 libdir="$save_libdir"
22286 for dep in $dependency_libs; do
22289 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
22290 if test "X$additional_libdir" != "X/usr/lib"; then
22292 if test "X$additional_libdir" = "X/usr/local/lib"; then
22293 if test -n "$GCC"; then
22295 linux*) haveit=yes;;
22299 if test -z "$haveit"; then
22301 for x in $LDFLAGS $LIBICONV; do
22303 acl_save_prefix="$prefix"
22304 prefix="$acl_final_prefix"
22305 acl_save_exec_prefix="$exec_prefix"
22306 exec_prefix="$acl_final_exec_prefix"
22308 exec_prefix="$acl_save_exec_prefix"
22309 prefix="$acl_save_prefix"
22311 if test "X$x" = "X-L$additional_libdir"; then
22316 if test -z "$haveit"; then
22317 if test -d "$additional_libdir"; then
22318 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
22322 for x in $LDFLAGS $LTLIBICONV; do
22324 acl_save_prefix="$prefix"
22325 prefix="$acl_final_prefix"
22326 acl_save_exec_prefix="$exec_prefix"
22327 exec_prefix="$acl_final_exec_prefix"
22329 exec_prefix="$acl_save_exec_prefix"
22330 prefix="$acl_save_prefix"
22332 if test "X$x" = "X-L$additional_libdir"; then
22337 if test -z "$haveit"; then
22338 if test -d "$additional_libdir"; then
22339 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
22346 dir=`echo "X$dep" | sed -e 's/^X-R//'`
22347 if test "$enable_rpath" != no; then
22349 for x in $rpathdirs; do
22350 if test "X$x" = "X$dir"; then
22355 if test -z "$haveit"; then
22356 rpathdirs="$rpathdirs $dir"
22359 for x in $ltrpathdirs; do
22360 if test "X$x" = "X$dir"; then
22365 if test -z "$haveit"; then
22366 ltrpathdirs="$ltrpathdirs $dir"
22371 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
22374 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
22377 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
22378 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
22384 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
22385 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
22391 if test "X$rpathdirs" != "X"; then
22392 if test -n "$hardcode_libdir_separator"; then
22394 for found_dir in $rpathdirs; do
22395 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
22397 acl_save_libdir="$libdir"
22399 eval flag=\"$hardcode_libdir_flag_spec\"
22400 libdir="$acl_save_libdir"
22401 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
22403 for found_dir in $rpathdirs; do
22404 acl_save_libdir="$libdir"
22405 libdir="$found_dir"
22406 eval flag=\"$hardcode_libdir_flag_spec\"
22407 libdir="$acl_save_libdir"
22408 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
22412 if test "X$ltrpathdirs" != "X"; then
22413 for found_dir in $ltrpathdirs; do
22414 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
22425 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
22426 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
22430 $as_echo "#define ptrdiff_t long" >>confdefs.h
22435 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
22436 stdlib.h string.h unistd.h sys/param.h
22438 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22439 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22440 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22441 cat >>confdefs.h <<_ACEOF
22442 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22449 for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \
22450 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
22451 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
22454 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22455 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22456 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22457 cat >>confdefs.h <<_ACEOF
22458 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declared" >&5
22467 $as_echo_n "checking whether _snprintf is declared... " >&6; }
22468 if ${ac_cv_have_decl__snprintf+:} false; then :
22469 $as_echo_n "(cached) " >&6
22471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22472 /* end confdefs.h. */
22479 char *p = (char *) _snprintf;
22486 if ac_fn_c_try_compile "$LINENO"; then :
22487 ac_cv_have_decl__snprintf=yes
22489 ac_cv_have_decl__snprintf=no
22491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snprintf" >&5
22494 $as_echo "$ac_cv_have_decl__snprintf" >&6; }
22495 if test $ac_cv_have_decl__snprintf = yes; then
22501 cat >>confdefs.h <<_ACEOF
22502 #define HAVE_DECL__SNPRINTF $gt_value
22507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declared" >&5
22508 $as_echo_n "checking whether _snwprintf is declared... " >&6; }
22509 if ${ac_cv_have_decl__snwprintf+:} false; then :
22510 $as_echo_n "(cached) " >&6
22512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22513 /* end confdefs.h. */
22520 char *p = (char *) _snwprintf;
22527 if ac_fn_c_try_compile "$LINENO"; then :
22528 ac_cv_have_decl__snwprintf=yes
22530 ac_cv_have_decl__snwprintf=no
22532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snwprintf" >&5
22535 $as_echo "$ac_cv_have_decl__snwprintf" >&6; }
22536 if test $ac_cv_have_decl__snwprintf = yes; then
22542 cat >>confdefs.h <<_ACEOF
22543 #define HAVE_DECL__SNWPRINTF $gt_value
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is declared" >&5
22550 $as_echo_n "checking whether feof_unlocked is declared... " >&6; }
22551 if ${ac_cv_have_decl_feof_unlocked+:} false; then :
22552 $as_echo_n "(cached) " >&6
22554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22555 /* end confdefs.h. */
22561 #ifndef feof_unlocked
22562 char *p = (char *) feof_unlocked;
22569 if ac_fn_c_try_compile "$LINENO"; then :
22570 ac_cv_have_decl_feof_unlocked=yes
22572 ac_cv_have_decl_feof_unlocked=no
22574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_feof_unlocked" >&5
22577 $as_echo "$ac_cv_have_decl_feof_unlocked" >&6; }
22578 if test $ac_cv_have_decl_feof_unlocked = yes; then
22584 cat >>confdefs.h <<_ACEOF
22585 #define HAVE_DECL_FEOF_UNLOCKED $gt_value
22590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is declared" >&5
22591 $as_echo_n "checking whether fgets_unlocked is declared... " >&6; }
22592 if ${ac_cv_have_decl_fgets_unlocked+:} false; then :
22593 $as_echo_n "(cached) " >&6
22595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22596 /* end confdefs.h. */
22602 #ifndef fgets_unlocked
22603 char *p = (char *) fgets_unlocked;
22610 if ac_fn_c_try_compile "$LINENO"; then :
22611 ac_cv_have_decl_fgets_unlocked=yes
22613 ac_cv_have_decl_fgets_unlocked=no
22615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_fgets_unlocked" >&5
22618 $as_echo "$ac_cv_have_decl_fgets_unlocked" >&6; }
22619 if test $ac_cv_have_decl_fgets_unlocked = yes; then
22625 cat >>confdefs.h <<_ACEOF
22626 #define HAVE_DECL_FGETS_UNLOCKED $gt_value
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is declared" >&5
22632 $as_echo_n "checking whether getc_unlocked is declared... " >&6; }
22633 if ${ac_cv_have_decl_getc_unlocked+:} false; then :
22634 $as_echo_n "(cached) " >&6
22636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22637 /* end confdefs.h. */
22643 #ifndef getc_unlocked
22644 char *p = (char *) getc_unlocked;
22651 if ac_fn_c_try_compile "$LINENO"; then :
22652 ac_cv_have_decl_getc_unlocked=yes
22654 ac_cv_have_decl_getc_unlocked=no
22656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_getc_unlocked" >&5
22659 $as_echo "$ac_cv_have_decl_getc_unlocked" >&6; }
22660 if test $ac_cv_have_decl_getc_unlocked = yes; then
22666 cat >>confdefs.h <<_ACEOF
22667 #define HAVE_DECL_GETC_UNLOCKED $gt_value
22672 case $gt_cv_func_printf_posix in
22673 *yes) HAVE_POSIX_PRINTF=1 ;;
22674 *) HAVE_POSIX_PRINTF=0 ;;
22677 if test "$ac_cv_func_asprintf" = yes; then
22683 if test "$ac_cv_func_snprintf" = yes; then
22689 if test "$ac_cv_func_wprintf" = yes; then
22701 am_save_CPPFLAGS="$CPPFLAGS"
22703 for element in $INCICONV; do
22705 for x in $CPPFLAGS; do
22707 acl_save_prefix="$prefix"
22708 prefix="$acl_final_prefix"
22709 acl_save_exec_prefix="$exec_prefix"
22710 exec_prefix="$acl_final_exec_prefix"
22712 exec_prefix="$acl_save_exec_prefix"
22713 prefix="$acl_save_prefix"
22715 if test "X$x" = "X$element"; then
22720 if test -z "$haveit"; then
22721 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
22726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
22727 $as_echo_n "checking for iconv... " >&6; }
22728 if ${am_cv_func_iconv+:} false; then :
22729 $as_echo_n "(cached) " >&6
22732 am_cv_func_iconv="no, consider installing GNU libiconv"
22734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22735 /* end confdefs.h. */
22736 #include <stdlib.h>
22741 iconv_t cd = iconv_open("","");
22742 iconv(cd,NULL,NULL,NULL,NULL);
22748 if ac_fn_c_try_link "$LINENO"; then :
22749 am_cv_func_iconv=yes
22751 rm -f core conftest.err conftest.$ac_objext \
22752 conftest$ac_exeext conftest.$ac_ext
22753 if test "$am_cv_func_iconv" != yes; then
22754 am_save_LIBS="$LIBS"
22755 LIBS="$LIBS $LIBICONV"
22756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22757 /* end confdefs.h. */
22758 #include <stdlib.h>
22763 iconv_t cd = iconv_open("","");
22764 iconv(cd,NULL,NULL,NULL,NULL);
22770 if ac_fn_c_try_link "$LINENO"; then :
22771 am_cv_lib_iconv=yes
22772 am_cv_func_iconv=yes
22774 rm -f core conftest.err conftest.$ac_objext \
22775 conftest$ac_exeext conftest.$ac_ext
22776 LIBS="$am_save_LIBS"
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
22781 $as_echo "$am_cv_func_iconv" >&6; }
22782 if test "$am_cv_func_iconv" = yes; then
22784 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
22787 if test "$am_cv_lib_iconv" = yes; then
22788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
22789 $as_echo_n "checking how to link with libiconv... " >&6; }
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
22791 $as_echo "$LIBICONV" >&6; }
22793 CPPFLAGS="$am_save_CPPFLAGS"
22800 if test "$am_cv_func_iconv" = yes; then
22801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
22802 $as_echo_n "checking for iconv declaration... " >&6; }
22803 if ${am_cv_proto_iconv+:} false; then :
22804 $as_echo_n "(cached) " >&6
22807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22808 /* end confdefs.h. */
22810 #include <stdlib.h>
22816 #if defined(__STDC__) || defined(__cplusplus)
22817 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22830 if ac_fn_c_try_compile "$LINENO"; then :
22831 am_cv_proto_iconv_arg1=""
22833 am_cv_proto_iconv_arg1="const"
22835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22836 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
22839 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
22841 }$am_cv_proto_iconv" >&5
22843 }$am_cv_proto_iconv" >&6; }
22845 cat >>confdefs.h <<_ACEOF
22846 #define ICONV_CONST $am_cv_proto_iconv_arg1
22852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
22853 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
22854 if ${am_cv_langinfo_codeset+:} false; then :
22855 $as_echo_n "(cached) " >&6
22857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22858 /* end confdefs.h. */
22859 #include <langinfo.h>
22863 char* cs = nl_langinfo(CODESET);
22868 if ac_fn_c_try_link "$LINENO"; then :
22869 am_cv_langinfo_codeset=yes
22871 am_cv_langinfo_codeset=no
22873 rm -f core conftest.err conftest.$ac_objext \
22874 conftest$ac_exeext conftest.$ac_ext
22877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
22878 $as_echo "$am_cv_langinfo_codeset" >&6; }
22879 if test $am_cv_langinfo_codeset = yes; then
22881 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
22885 if test $ac_cv_header_locale_h = yes; then
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22888 $as_echo_n "checking for LC_MESSAGES... " >&6; }
22889 if ${am_cv_val_LC_MESSAGES+:} false; then :
22890 $as_echo_n "(cached) " >&6
22892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22893 /* end confdefs.h. */
22894 #include <locale.h>
22903 if ac_fn_c_try_link "$LINENO"; then :
22904 am_cv_val_LC_MESSAGES=yes
22906 am_cv_val_LC_MESSAGES=no
22908 rm -f core conftest.err conftest.$ac_objext \
22909 conftest$ac_exeext conftest.$ac_ext
22911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
22912 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
22913 if test $am_cv_val_LC_MESSAGES = yes; then
22915 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
22921 for ac_prog in bison
22923 # Extract the first word of "$ac_prog", so it can be a program name with args.
22924 set dummy $ac_prog; ac_word=$2
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22926 $as_echo_n "checking for $ac_word... " >&6; }
22927 if ${ac_cv_prog_INTLBISON+:} false; then :
22928 $as_echo_n "(cached) " >&6
22930 if test -n "$INTLBISON"; then
22931 ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
22933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22934 for as_dir in $PATH
22937 test -z "$as_dir" && as_dir=.
22938 for ac_exec_ext in '' $ac_executable_extensions; do
22939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22940 ac_cv_prog_INTLBISON="$ac_prog"
22941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22950 INTLBISON=$ac_cv_prog_INTLBISON
22951 if test -n "$INTLBISON"; then
22952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
22953 $as_echo "$INTLBISON" >&6; }
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22956 $as_echo "no" >&6; }
22960 test -n "$INTLBISON" && break
22963 if test -z "$INTLBISON"; then
22966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
22967 $as_echo_n "checking version of bison... " >&6; }
22968 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
22969 case $ac_prog_version in
22970 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
22971 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
22972 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
22973 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
22975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
22976 $as_echo "$ac_prog_version" >&6; }
22978 if test $ac_verc_fail = yes; then
22997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
22998 $as_echo_n "checking whether NLS is requested... " >&6; }
22999 # Check whether --enable-nls was given.
23000 if test "${enable_nls+set}" = set; then :
23001 enableval=$enable_nls; USE_NLS=$enableval
23006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
23007 $as_echo "$USE_NLS" >&6; }
23012 BUILD_INCLUDED_LIBINTL=no
23013 USE_INCLUDED_LIBINTL=no
23019 if test "$USE_NLS" = "yes"; then
23020 gt_use_preinstalled_gnugettext=no
23022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
23023 $as_echo_n "checking whether included gettext is requested... " >&6; }
23025 # Check whether --with-included-gettext was given.
23026 if test "${with_included_gettext+set}" = set; then :
23027 withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
23029 nls_cv_force_use_gnu_gettext=no
23032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
23033 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
23035 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
23036 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
23043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
23044 $as_echo_n "checking for GNU gettext in libc... " >&6; }
23045 if ${gt_cv_func_gnugettext2_libc+:} false; then :
23046 $as_echo_n "(cached) " >&6
23048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23049 /* end confdefs.h. */
23050 #include <libintl.h>
23051 extern int _nl_msg_cat_cntr;
23052 extern int *_nl_domain_bindings;
23056 bindtextdomain ("", "");
23057 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
23062 if ac_fn_c_try_link "$LINENO"; then :
23063 gt_cv_func_gnugettext2_libc=yes
23065 gt_cv_func_gnugettext2_libc=no
23067 rm -f core conftest.err conftest.$ac_objext \
23068 conftest$ac_exeext conftest.$ac_ext
23070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
23071 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
23073 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
23079 acl_save_prefix="$prefix"
23080 prefix="$acl_final_prefix"
23081 acl_save_exec_prefix="$exec_prefix"
23082 exec_prefix="$acl_final_exec_prefix"
23084 eval additional_includedir=\"$includedir\"
23085 eval additional_libdir=\"$libdir\"
23087 exec_prefix="$acl_save_exec_prefix"
23088 prefix="$acl_save_prefix"
23091 # Check whether --with-libintl-prefix was given.
23092 if test "${with_libintl_prefix+set}" = set; then :
23093 withval=$with_libintl_prefix;
23094 if test "X$withval" = "Xno"; then
23097 if test "X$withval" = "X"; then
23099 acl_save_prefix="$prefix"
23100 prefix="$acl_final_prefix"
23101 acl_save_exec_prefix="$exec_prefix"
23102 exec_prefix="$acl_final_exec_prefix"
23104 eval additional_includedir=\"$includedir\"
23105 eval additional_libdir=\"$libdir\"
23107 exec_prefix="$acl_save_exec_prefix"
23108 prefix="$acl_save_prefix"
23111 additional_includedir="$withval/include"
23112 additional_libdir="$withval/lib"
23123 names_already_handled=
23124 names_next_round='intl '
23125 while test -n "$names_next_round"; do
23126 names_this_round="$names_next_round"
23128 for name in $names_this_round; do
23130 for n in $names_already_handled; do
23131 if test "$n" = "$name"; then
23132 already_handled=yes
23136 if test -z "$already_handled"; then
23137 names_already_handled="$names_already_handled $name"
23138 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
23139 eval value=\"\$HAVE_LIB$uppername\"
23140 if test -n "$value"; then
23141 if test "$value" = yes; then
23142 eval value=\"\$LIB$uppername\"
23143 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
23144 eval value=\"\$LTLIB$uppername\"
23145 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
23154 if test $use_additional = yes; then
23155 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
23156 found_dir="$additional_libdir"
23157 found_so="$additional_libdir/lib$name.$shlibext"
23158 if test -f "$additional_libdir/lib$name.la"; then
23159 found_la="$additional_libdir/lib$name.la"
23162 if test -f "$additional_libdir/lib$name.$libext"; then
23163 found_dir="$additional_libdir"
23164 found_a="$additional_libdir/lib$name.$libext"
23165 if test -f "$additional_libdir/lib$name.la"; then
23166 found_la="$additional_libdir/lib$name.la"
23171 if test "X$found_dir" = "X"; then
23172 for x in $LDFLAGS $LTLIBINTL; do
23174 acl_save_prefix="$prefix"
23175 prefix="$acl_final_prefix"
23176 acl_save_exec_prefix="$exec_prefix"
23177 exec_prefix="$acl_final_exec_prefix"
23179 exec_prefix="$acl_save_exec_prefix"
23180 prefix="$acl_save_prefix"
23184 dir=`echo "X$x" | sed -e 's/^X-L//'`
23185 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
23187 found_so="$dir/lib$name.$shlibext"
23188 if test -f "$dir/lib$name.la"; then
23189 found_la="$dir/lib$name.la"
23192 if test -f "$dir/lib$name.$libext"; then
23194 found_a="$dir/lib$name.$libext"
23195 if test -f "$dir/lib$name.la"; then
23196 found_la="$dir/lib$name.la"
23202 if test "X$found_dir" != "X"; then
23207 if test "X$found_dir" != "X"; then
23208 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
23209 if test "X$found_so" != "X"; then
23210 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
23211 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
23214 for x in $ltrpathdirs; do
23215 if test "X$x" = "X$found_dir"; then
23220 if test -z "$haveit"; then
23221 ltrpathdirs="$ltrpathdirs $found_dir"
23223 if test "$hardcode_direct" = yes; then
23224 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
23226 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
23227 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
23229 for x in $rpathdirs; do
23230 if test "X$x" = "X$found_dir"; then
23235 if test -z "$haveit"; then
23236 rpathdirs="$rpathdirs $found_dir"
23240 for x in $LDFLAGS $LIBINTL; do
23242 acl_save_prefix="$prefix"
23243 prefix="$acl_final_prefix"
23244 acl_save_exec_prefix="$exec_prefix"
23245 exec_prefix="$acl_final_exec_prefix"
23247 exec_prefix="$acl_save_exec_prefix"
23248 prefix="$acl_save_prefix"
23250 if test "X$x" = "X-L$found_dir"; then
23255 if test -z "$haveit"; then
23256 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
23258 if test "$hardcode_minus_L" != no; then
23259 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
23261 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
23267 if test "X$found_a" != "X"; then
23268 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
23270 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
23273 additional_includedir=
23274 case "$found_dir" in
23276 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
23277 additional_includedir="$basedir/include"
23280 if test "X$additional_includedir" != "X"; then
23281 if test "X$additional_includedir" != "X/usr/include"; then
23283 if test "X$additional_includedir" = "X/usr/local/include"; then
23284 if test -n "$GCC"; then
23286 linux*) haveit=yes;;
23290 if test -z "$haveit"; then
23291 for x in $CPPFLAGS $INCINTL; do
23293 acl_save_prefix="$prefix"
23294 prefix="$acl_final_prefix"
23295 acl_save_exec_prefix="$exec_prefix"
23296 exec_prefix="$acl_final_exec_prefix"
23298 exec_prefix="$acl_save_exec_prefix"
23299 prefix="$acl_save_prefix"
23301 if test "X$x" = "X-I$additional_includedir"; then
23306 if test -z "$haveit"; then
23307 if test -d "$additional_includedir"; then
23308 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
23314 if test -n "$found_la"; then
23315 save_libdir="$libdir"
23316 case "$found_la" in
23317 */* | *\\*) . "$found_la" ;;
23318 *) . "./$found_la" ;;
23320 libdir="$save_libdir"
23321 for dep in $dependency_libs; do
23324 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
23325 if test "X$additional_libdir" != "X/usr/lib"; then
23327 if test "X$additional_libdir" = "X/usr/local/lib"; then
23328 if test -n "$GCC"; then
23330 linux*) haveit=yes;;
23334 if test -z "$haveit"; then
23336 for x in $LDFLAGS $LIBINTL; do
23338 acl_save_prefix="$prefix"
23339 prefix="$acl_final_prefix"
23340 acl_save_exec_prefix="$exec_prefix"
23341 exec_prefix="$acl_final_exec_prefix"
23343 exec_prefix="$acl_save_exec_prefix"
23344 prefix="$acl_save_prefix"
23346 if test "X$x" = "X-L$additional_libdir"; then
23351 if test -z "$haveit"; then
23352 if test -d "$additional_libdir"; then
23353 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
23357 for x in $LDFLAGS $LTLIBINTL; do
23359 acl_save_prefix="$prefix"
23360 prefix="$acl_final_prefix"
23361 acl_save_exec_prefix="$exec_prefix"
23362 exec_prefix="$acl_final_exec_prefix"
23364 exec_prefix="$acl_save_exec_prefix"
23365 prefix="$acl_save_prefix"
23367 if test "X$x" = "X-L$additional_libdir"; then
23372 if test -z "$haveit"; then
23373 if test -d "$additional_libdir"; then
23374 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
23381 dir=`echo "X$dep" | sed -e 's/^X-R//'`
23382 if test "$enable_rpath" != no; then
23384 for x in $rpathdirs; do
23385 if test "X$x" = "X$dir"; then
23390 if test -z "$haveit"; then
23391 rpathdirs="$rpathdirs $dir"
23394 for x in $ltrpathdirs; do
23395 if test "X$x" = "X$dir"; then
23400 if test -z "$haveit"; then
23401 ltrpathdirs="$ltrpathdirs $dir"
23406 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
23409 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
23412 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
23413 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
23419 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
23420 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
23426 if test "X$rpathdirs" != "X"; then
23427 if test -n "$hardcode_libdir_separator"; then
23429 for found_dir in $rpathdirs; do
23430 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
23432 acl_save_libdir="$libdir"
23434 eval flag=\"$hardcode_libdir_flag_spec\"
23435 libdir="$acl_save_libdir"
23436 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
23438 for found_dir in $rpathdirs; do
23439 acl_save_libdir="$libdir"
23440 libdir="$found_dir"
23441 eval flag=\"$hardcode_libdir_flag_spec\"
23442 libdir="$acl_save_libdir"
23443 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
23447 if test "X$ltrpathdirs" != "X"; then
23448 for found_dir in $ltrpathdirs; do
23449 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
23453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
23454 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
23455 if ${gt_cv_func_gnugettext2_libintl+:} false; then :
23456 $as_echo_n "(cached) " >&6
23458 gt_save_CPPFLAGS="$CPPFLAGS"
23459 CPPFLAGS="$CPPFLAGS $INCINTL"
23460 gt_save_LIBS="$LIBS"
23461 LIBS="$LIBS $LIBINTL"
23462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23463 /* end confdefs.h. */
23464 #include <libintl.h>
23465 extern int _nl_msg_cat_cntr;
23470 const char *_nl_expand_alias ();
23474 bindtextdomain ("", "");
23475 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
23480 if ac_fn_c_try_link "$LINENO"; then :
23481 gt_cv_func_gnugettext2_libintl=yes
23483 gt_cv_func_gnugettext2_libintl=no
23485 rm -f core conftest.err conftest.$ac_objext \
23486 conftest$ac_exeext conftest.$ac_ext
23487 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
23488 LIBS="$LIBS $LIBICONV"
23489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23490 /* end confdefs.h. */
23491 #include <libintl.h>
23492 extern int _nl_msg_cat_cntr;
23497 const char *_nl_expand_alias ();
23501 bindtextdomain ("", "");
23502 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
23507 if ac_fn_c_try_link "$LINENO"; then :
23508 LIBINTL="$LIBINTL $LIBICONV"
23509 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
23510 gt_cv_func_gnugettext2_libintl=yes
23513 rm -f core conftest.err conftest.$ac_objext \
23514 conftest$ac_exeext conftest.$ac_ext
23516 CPPFLAGS="$gt_save_CPPFLAGS"
23517 LIBS="$gt_save_LIBS"
23519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
23520 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
23523 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
23524 || { test "$gt_cv_func_gnugettext2_libintl" = "yes" \
23525 && test "$PACKAGE" != gettext-runtime \
23526 && test "$PACKAGE" != gettext-tools; }; then
23527 gt_use_preinstalled_gnugettext=yes
23535 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
23536 nls_cv_use_gnu_gettext=yes
23540 if test "$nls_cv_use_gnu_gettext" = "yes"; then
23541 BUILD_INCLUDED_LIBINTL=yes
23542 USE_INCLUDED_LIBINTL=yes
23543 LIBINTL="\$(top_builddir)/intl//libintl.a $LIBICONV"
23544 LTLIBINTL="\$(top_builddir)/intl//libintl.a $LTLIBICONV"
23545 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
23548 if test "$gt_use_preinstalled_gnugettext" = "yes" \
23549 || test "$nls_cv_use_gnu_gettext" = "yes"; then
23554 if test "$gt_use_preinstalled_gnugettext" = "yes" \
23555 || test "$nls_cv_use_gnu_gettext" = "yes"; then
23557 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
23564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
23565 $as_echo_n "checking whether to use NLS... " >&6; }
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
23567 $as_echo "$USE_NLS" >&6; }
23568 if test "$USE_NLS" = "yes"; then
23569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
23570 $as_echo_n "checking where the gettext function comes from... " >&6; }
23571 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
23572 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
23573 gt_source="external libintl"
23578 gt_source="included intl directory"
23580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
23581 $as_echo "$gt_source" >&6; }
23584 if test "$USE_NLS" = "yes"; then
23586 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
23587 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
23588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
23589 $as_echo_n "checking how to link with libintl... " >&6; }
23590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
23591 $as_echo "$LIBINTL" >&6; }
23593 for element in $INCINTL; do
23595 for x in $CPPFLAGS; do
23597 acl_save_prefix="$prefix"
23598 prefix="$acl_final_prefix"
23599 acl_save_exec_prefix="$exec_prefix"
23600 exec_prefix="$acl_final_exec_prefix"
23602 exec_prefix="$acl_save_exec_prefix"
23603 prefix="$acl_save_prefix"
23605 if test "X$x" = "X$element"; then
23610 if test -z "$haveit"; then
23611 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
23618 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
23621 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
23629 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
23630 BUILD_INCLUDED_LIBINTL=yes
23637 nls_cv_header_intl=
23638 nls_cv_header_libgt=
23649 if test "$USE_INCLUDED_LIBINTL" = yes; then
23650 INTLOBJS="\$(GETTOBJS)"
23654 INTL_LIBTOOL_SUFFIX_PREFIX=
23658 INTLLIBS="$LIBINTL"
23665 if test "x${shared_libnavit}" = "xyes" -a "x${win32ce}" = "xyes"; then
23666 INTLLIBS="\$(top_builddir)/intl/libintl.la"
23668 LTLIBINTL=$INTLLIBS
23672 if test x"$LIBINTL" != "x" ;then
23673 CFLAGS="$CFLAGS -I\$(top_builddir)/intl/"
23677 if test "x$enable_nls" = "xyes"; then
23679 ENABLE_NLS_FALSE='#'
23681 ENABLE_NLS_TRUE='#'
23685 if test "x$xgettext_glade" = "xyes"; then
23686 XGETTEXT_GLADE_TRUE=
23687 XGETTEXT_GLADE_FALSE='#'
23689 XGETTEXT_GLADE_TRUE='#'
23690 XGETTEXT_GLADE_FALSE=
23693 ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
23694 if test "x$ac_cv_header_byteswap_h" = xyes; then :
23696 $as_echo "#define HAVE_BYTESWAP_H 1" >>confdefs.h
23703 ac_fn_c_check_header_mongrel "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default"
23704 if test "x$ac_cv_header_sys_endian_h" = xyes; then :
23706 $as_echo "#define USE_SYS_ENDIAN_H 1" >>confdefs.h
23713 cat >>confdefs.h <<_ACEOF
23714 #define PACKAGE "$PACKAGE"
23717 cat >>confdefs.h <<_ACEOF
23718 #define VERSION "$VERSION"
23724 ac_fn_c_check_header_mongrel "$LINENO" "wordexp.h" "ac_cv_header_wordexp_h" "$ac_includes_default"
23725 if test "x$ac_cv_header_wordexp_h" = xyes; then :
23728 wordexp_h=no;NAVIT_CFLAGS="$NAVIT_CFLAGS -I\$(top_srcdir)/navit/support/wordexp";WORDEXP_LIBS="-L\$(top_builddir)/navit/support/wordexp -lsupport_wordexp"
23732 if test "x$wordexp_h" = "xno"; then
23733 SUPPORT_WORDEXP_TRUE=
23734 SUPPORT_WORDEXP_FALSE='#'
23736 SUPPORT_WORDEXP_TRUE='#'
23737 SUPPORT_WORDEXP_FALSE=
23742 # Check whether --enable-support_libc was given.
23743 if test "${enable_support_libc+set}" = set; then :
23744 enableval=$enable_support_libc; support_libc=$enableval
23747 if test "x$support_libc" = "xyes"; then
23749 SUPPORT_LIBC_FALSE='#'
23751 SUPPORT_LIBC_TRUE='#'
23752 SUPPORT_LIBC_FALSE=
23755 if test "x$support_libc" = "xyes"; then
23756 CFLAGS="$CFLAGS -I\$(top_srcdir)/navit/support/libc"
23757 LIBC_LIBS="-L\$(top_builddir)/navit/support/libc -lsupport_libc"
23761 # Check whether --enable-graphics was given.
23762 if test "${enable_graphics+set}" = set; then :
23763 enableval=$enable_graphics; graphics=$enableval;graphics_reason="configure parameter"
23766 if test "x${graphics}" = "xyes"; then
23774 if test "x$graphics" = "xyes"; then
23776 $as_echo "#define USE_GRAPHICS 1" >>confdefs.h
23783 # Check whether --enable-graphics-android was given.
23784 if test "${enable_graphics_android+set}" = set; then :
23785 enableval=$enable_graphics_android; graphics_android=$enableval;graphics_android_reason="configure parameter"
23788 if test "x${graphics_android}" = "xyes"; then
23789 GRAPHICS_ANDROID_TRUE=
23790 GRAPHICS_ANDROID_FALSE='#'
23792 GRAPHICS_ANDROID_TRUE='#'
23793 GRAPHICS_ANDROID_FALSE=
23797 # Check whether --enable-graphics-gd was given.
23798 if test "${enable_graphics_gd+set}" = set; then :
23799 enableval=$enable_graphics_gd; graphics_gd=$enableval;graphics_gd_reason="configure parameter"
23802 if test "x${graphics_gd}" = "xyes" ; then
23803 if test -z "$GDLIB_CONFIG"; then
23804 # Extract the first word of "gdlib-config", so it can be a program name with args.
23805 set dummy gdlib-config; ac_word=$2
23806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23807 $as_echo_n "checking for $ac_word... " >&6; }
23808 if ${ac_cv_path_GDLIB_CONFIG+:} false; then :
23809 $as_echo_n "(cached) " >&6
23811 case $GDLIB_CONFIG in
23813 ac_cv_path_GDLIB_CONFIG="$GDLIB_CONFIG" # Let the user override the test with a path.
23816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23817 for as_dir in $PATH
23820 test -z "$as_dir" && as_dir=.
23821 for ac_exec_ext in '' $ac_executable_extensions; do
23822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23823 ac_cv_path_GDLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23834 GDLIB_CONFIG=$ac_cv_path_GDLIB_CONFIG
23835 if test -n "$GDLIB_CONFIG"; then
23836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG" >&5
23837 $as_echo "$GDLIB_CONFIG" >&6; }
23839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23840 $as_echo "no" >&6; }
23845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib with $GDLIB_CONFIG" >&5
23846 $as_echo_n "checking for gdlib with $GDLIB_CONFIG... " >&6; }
23847 if test ! -x "$GDLIB_CONFIG"; then
23848 if test "x${GDLIB_CONFIG}" = "x" ; then
23849 graphics_gd_reason="$GDLIB_CONFIG not executable"
23851 graphics_gd_reason="gdlib-config missing"
23854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23855 $as_echo "no" >&6; }
23857 if test "x${GD_CFLAGS}" = "x" ; then
23858 GD_CFLAGS="-I`$GDLIB_CONFIG --includedir`"
23860 if test "x${GD_LIBS}" = "x" ; then
23861 GD_LIBS="-L`$GDLIB_CONFIG --libdir` -lgd `$GDLIB_CONFIG --libs`"
23865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23866 $as_echo "yes" >&6; }
23869 if test "x${graphics_gd}" = "xyes"; then
23871 GRAPHICS_GD_FALSE='#'
23873 GRAPHICS_GD_TRUE='#'
23877 ac_fn_c_check_header_mongrel "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
23878 if test "x$ac_cv_header_sys_shm_h" = xyes; then :
23880 $as_echo "#define HAVE_SHMEM /**/" >>confdefs.h
23886 ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default"
23887 if test "x$ac_cv_header_X11_xpm_h" = xyes; then :
23889 $as_echo "#define HAVE_XPM /**/" >>confdefs.h
23895 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
23896 if test "x$ac_cv_header_getopt_h" = xyes; then :
23898 $as_echo "#define HAVE_GETOPT_H /**/" >>confdefs.h
23904 if test "x${graphics_gd}" = "xyes" ; then
23905 save_CPPFLAGS=$CPPFLAGS
23907 LIBS="$GD_LIBS $LIBS"
23908 CPPFLAGS="$GD_CFLAGS $CPPFLAGS"
23909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23910 /* end confdefs.h. */
23915 gdImageCreateFromPng(0);
23920 if ac_fn_c_try_link "$LINENO"; then :
23921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23922 $as_echo "yes" >&6; };
23923 $as_echo "#define HAVE_GRAPHICS_GD_PNG 1" >>confdefs.h
23926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23927 $as_echo "no" >&6; }
23929 rm -f core conftest.err conftest.$ac_objext \
23930 conftest$ac_exeext conftest.$ac_ext
23931 CPPFLAGS=$save_CPPFLAGS
23936 # Check whether --enable-graphics-gtk-drawing-area was given.
23937 if test "${enable_graphics_gtk_drawing_area+set}" = set; then :
23938 enableval=$enable_graphics_gtk_drawing_area; graphics_gtk_drawing_area=$enableval;graphics_gtk_drawing_area_reason="configure parameter"
23941 if test "x${graphics_gtk_drawing_area}" = "xyes"; then
23942 GRAPHICS_GTK_DRAWING_AREA_TRUE=
23943 GRAPHICS_GTK_DRAWING_AREA_FALSE='#'
23945 GRAPHICS_GTK_DRAWING_AREA_TRUE='#'
23946 GRAPHICS_GTK_DRAWING_AREA_FALSE=
23950 # Check whether --enable-graphics-null was given.
23951 if test "${enable_graphics_null+set}" = set; then :
23952 enableval=$enable_graphics_null; graphics_null=$enableval;graphics_null_reason="configure parameter"
23955 if test "x${graphics_null}" = "xyes"; then
23956 GRAPHICS_NULL_TRUE=
23957 GRAPHICS_NULL_FALSE='#'
23959 GRAPHICS_NULL_TRUE='#'
23960 GRAPHICS_NULL_FALSE=
23964 # Check whether --enable-graphics-win32 was given.
23965 if test "${enable_graphics_win32+set}" = set; then :
23966 enableval=$enable_graphics_win32; graphics_win32=$enableval;graphics_win32_reason="configure parameter"
23969 if test "x${graphics_win32}" = "xyes"; then
23970 GRAPHICS_WIN32_TRUE=
23971 GRAPHICS_WIN32_FALSE='#'
23973 GRAPHICS_WIN32_TRUE='#'
23974 GRAPHICS_WIN32_FALSE=
23978 # Check whether --enable-graphics-qt-qpainter was given.
23979 if test "${enable_graphics_qt_qpainter+set}" = set; then :
23980 enableval=$enable_graphics_qt_qpainter; graphics_qt_qpainter=$enableval;graphics_qt_qpainter_reason="configure parameter"
23983 if test "x${graphics_qt_qpainter}" = "xyes" -a "x${QT_GUI_CFLAGS}" = "x" -a "x${QT_GUI_LIBS}" = "x"; then
23986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_GUI" >&5
23987 $as_echo_n "checking for QT_GUI... " >&6; }
23989 if test -n "$QT_GUI_CFLAGS"; then
23990 pkg_cv_QT_GUI_CFLAGS="$QT_GUI_CFLAGS"
23991 elif test -n "$PKG_CONFIG"; then
23992 if test -n "$PKG_CONFIG" && \
23993 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui QtCore\""; } >&5
23994 ($PKG_CONFIG --exists --print-errors "QtGui QtCore") 2>&5
23996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23997 test $ac_status = 0; }; then
23998 pkg_cv_QT_GUI_CFLAGS=`$PKG_CONFIG --cflags "QtGui QtCore" 2>/dev/null`
24005 if test -n "$QT_GUI_LIBS"; then
24006 pkg_cv_QT_GUI_LIBS="$QT_GUI_LIBS"
24007 elif test -n "$PKG_CONFIG"; then
24008 if test -n "$PKG_CONFIG" && \
24009 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui QtCore\""; } >&5
24010 ($PKG_CONFIG --exists --print-errors "QtGui QtCore") 2>&5
24012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24013 test $ac_status = 0; }; then
24014 pkg_cv_QT_GUI_LIBS=`$PKG_CONFIG --libs "QtGui QtCore" 2>/dev/null`
24024 if test $pkg_failed = yes; then
24025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24026 $as_echo "no" >&6; }
24028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24029 _pkg_short_errors_supported=yes
24031 _pkg_short_errors_supported=no
24033 if test $_pkg_short_errors_supported = yes; then
24034 QT_GUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "QtGui QtCore" 2>&1`
24036 QT_GUI_PKG_ERRORS=`$PKG_CONFIG --print-errors "QtGui QtCore" 2>&1`
24038 # Put the nasty error message in config.log where it belongs
24039 echo "$QT_GUI_PKG_ERRORS" >&5
24041 graphics_qt_qpainter=no;graphics_qt_qpainter_reason="Packages QtGui and/or QtCore missing"
24042 elif test $pkg_failed = untried; then
24043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24044 $as_echo "no" >&6; }
24045 graphics_qt_qpainter=no;graphics_qt_qpainter_reason="Packages QtGui and/or QtCore missing"
24047 QT_GUI_CFLAGS=$pkg_cv_QT_GUI_CFLAGS
24048 QT_GUI_LIBS=$pkg_cv_QT_GUI_LIBS
24049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24050 $as_echo "yes" >&6; }
24051 graphics_qt_qpainter=yes
24053 if test "x${graphics_qt_qpainter}" = "xno"; then
24056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_GUI" >&5
24057 $as_echo_n "checking for QT_GUI... " >&6; }
24059 if test -n "$QT_GUI_CFLAGS"; then
24060 pkg_cv_QT_GUI_CFLAGS="$QT_GUI_CFLAGS"
24061 elif test -n "$PKG_CONFIG"; then
24062 if test -n "$PKG_CONFIG" && \
24063 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"qt-mt\""; } >&5
24064 ($PKG_CONFIG --exists --print-errors "qt-mt") 2>&5
24066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24067 test $ac_status = 0; }; then
24068 pkg_cv_QT_GUI_CFLAGS=`$PKG_CONFIG --cflags "qt-mt" 2>/dev/null`
24075 if test -n "$QT_GUI_LIBS"; then
24076 pkg_cv_QT_GUI_LIBS="$QT_GUI_LIBS"
24077 elif test -n "$PKG_CONFIG"; then
24078 if test -n "$PKG_CONFIG" && \
24079 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"qt-mt\""; } >&5
24080 ($PKG_CONFIG --exists --print-errors "qt-mt") 2>&5
24082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24083 test $ac_status = 0; }; then
24084 pkg_cv_QT_GUI_LIBS=`$PKG_CONFIG --libs "qt-mt" 2>/dev/null`
24094 if test $pkg_failed = yes; then
24095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24096 $as_echo "no" >&6; }
24098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24099 _pkg_short_errors_supported=yes
24101 _pkg_short_errors_supported=no
24103 if test $_pkg_short_errors_supported = yes; then
24104 QT_GUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "qt-mt" 2>&1`
24106 QT_GUI_PKG_ERRORS=`$PKG_CONFIG --print-errors "qt-mt" 2>&1`
24108 # Put the nasty error message in config.log where it belongs
24109 echo "$QT_GUI_PKG_ERRORS" >&5
24111 graphics_qt_qpainter=no
24112 elif test $pkg_failed = untried; then
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24114 $as_echo "no" >&6; }
24115 graphics_qt_qpainter=no
24117 QT_GUI_CFLAGS=$pkg_cv_QT_GUI_CFLAGS
24118 QT_GUI_LIBS=$pkg_cv_QT_GUI_LIBS
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24120 $as_echo "yes" >&6; }
24121 graphics_qt_qpainter=yes;graphics_qt_qpainter_reason="Package qt-mt present"
24125 if test "x${graphics_qt_qpainter}" = "xyes" ; then
24128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_SVG" >&5
24129 $as_echo_n "checking for QT_SVG... " >&6; }
24131 if test -n "$QT_SVG_CFLAGS"; then
24132 pkg_cv_QT_SVG_CFLAGS="$QT_SVG_CFLAGS"
24133 elif test -n "$PKG_CONFIG"; then
24134 if test -n "$PKG_CONFIG" && \
24135 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtSvg\""; } >&5
24136 ($PKG_CONFIG --exists --print-errors "QtSvg") 2>&5
24138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24139 test $ac_status = 0; }; then
24140 pkg_cv_QT_SVG_CFLAGS=`$PKG_CONFIG --cflags "QtSvg" 2>/dev/null`
24147 if test -n "$QT_SVG_LIBS"; then
24148 pkg_cv_QT_SVG_LIBS="$QT_SVG_LIBS"
24149 elif test -n "$PKG_CONFIG"; then
24150 if test -n "$PKG_CONFIG" && \
24151 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtSvg\""; } >&5
24152 ($PKG_CONFIG --exists --print-errors "QtSvg") 2>&5
24154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24155 test $ac_status = 0; }; then
24156 pkg_cv_QT_SVG_LIBS=`$PKG_CONFIG --libs "QtSvg" 2>/dev/null`
24166 if test $pkg_failed = yes; then
24167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24168 $as_echo "no" >&6; }
24170 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24171 _pkg_short_errors_supported=yes
24173 _pkg_short_errors_supported=no
24175 if test $_pkg_short_errors_supported = yes; then
24176 QT_SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "QtSvg" 2>&1`
24178 QT_SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "QtSvg" 2>&1`
24180 # Put the nasty error message in config.log where it belongs
24181 echo "$QT_SVG_PKG_ERRORS" >&5
24184 elif test $pkg_failed = untried; then
24185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24186 $as_echo "no" >&6; }
24189 QT_SVG_CFLAGS=$pkg_cv_QT_SVG_CFLAGS
24190 QT_SVG_LIBS=$pkg_cv_QT_SVG_LIBS
24191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24192 $as_echo "yes" >&6; }
24195 if test "x${have_qt_svg}" = "xyes"; then
24197 $as_echo "#define HAVE_QT_SVG /**/" >>confdefs.h
24201 if test "x${graphics_qt_qpainter}" = "xyes" ; then
24203 $as_echo "#define USE_GRAPICS_QT_QPAINTER 1" >>confdefs.h
24210 if test "x${graphics_qt_qpainter}" = "xyes"; then
24211 GRAPHICS_QT_QPAINTER_TRUE=
24212 GRAPHICS_QT_QPAINTER_FALSE='#'
24214 GRAPHICS_QT_QPAINTER_TRUE='#'
24215 GRAPHICS_QT_QPAINTER_FALSE=
24218 MOC=`$PKG_CONFIG QtGui --variable=moc_location`
24219 if test "x${MOC}" = "x"; then
24220 # Extract the first word of "moc", so it can be a program name with args.
24221 set dummy moc; ac_word=$2
24222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24223 $as_echo_n "checking for $ac_word... " >&6; }
24224 if ${ac_cv_prog_MOC+:} false; then :
24225 $as_echo_n "(cached) " >&6
24227 if test -n "$MOC"; then
24228 ac_cv_prog_MOC="$MOC" # Let the user override the test.
24230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24231 for as_dir in $PATH
24234 test -z "$as_dir" && as_dir=.
24235 for ac_exec_ext in '' $ac_executable_extensions; do
24236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24237 ac_cv_prog_MOC="moc"
24238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24247 MOC=$ac_cv_prog_MOC
24248 if test -n "$MOC"; then
24249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
24250 $as_echo "$MOC" >&6; }
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24253 $as_echo "no" >&6; }
24263 # Check whether --enable-map-binfile was given.
24264 if test "${enable_map_binfile+set}" = set; then :
24265 enableval=$enable_map_binfile; map_binfile=$enableval;map_binfile_reason="configure parameter"
24268 if test "x${map_binfile}" = "xyes"; then
24270 MAP_BINFILE_FALSE='#'
24272 MAP_BINFILE_TRUE='#'
24277 # Check whether --enable-map-filter was given.
24278 if test "${enable_map_filter+set}" = set; then :
24279 enableval=$enable_map_filter; map_filter=$enableval;map_filter_reason="configure parameter"
24282 if test "x${map_filter}" = "xyes"; then
24284 MAP_FILTER_FALSE='#'
24286 MAP_FILTER_TRUE='#'
24291 # Check whether --enable-map-mg was given.
24292 if test "${enable_map_mg+set}" = set; then :
24293 enableval=$enable_map_mg; map_mg=$enableval;map_mg_reason="configure parameter"
24296 if test "x${map_mg}" = "xyes"; then
24305 # Check whether --enable-map-shapefile was given.
24306 if test "${enable_map_shapefile+set}" = set; then :
24307 enableval=$enable_map_shapefile; map_shapefile=$enableval;map_shapefile_reason="configure parameter"
24310 if test "x${map_shapefile}" = "xyes"; then
24311 MAP_SHAPEFILE_TRUE=
24312 MAP_SHAPEFILE_FALSE='#'
24314 MAP_SHAPEFILE_TRUE='#'
24315 MAP_SHAPEFILE_FALSE=
24319 # Check whether --enable-map-textfile was given.
24320 if test "${enable_map_textfile+set}" = set; then :
24321 enableval=$enable_map_textfile; map_textfile=$enableval;map_textfile_reason="configure parameter"
24324 if test "x${map_textfile}" = "xyes"; then
24326 MAP_TEXTFILE_FALSE='#'
24328 MAP_TEXTFILE_TRUE='#'
24329 MAP_TEXTFILE_FALSE=
24333 # Check whether --enable-map-csv was given.
24334 if test "${enable_map_csv+set}" = set; then :
24335 enableval=$enable_map_csv; map_csv=$enableval;map_csv_reason="configure parameter"
24338 if test "x${map_csv}" = "xyes"; then
24349 # Check whether --enable-osd-core was given.
24350 if test "${enable_osd_core+set}" = set; then :
24351 enableval=$enable_osd_core; osd_core=$enableval;osd_core_reason="configure parameter"
24354 if test "x${osd_core}" = "xyes"; then
24365 # Check whether --enable-gui-gtk was given.
24366 if test "${enable_gui_gtk+set}" = set; then :
24367 enableval=$enable_gui_gtk; gui_gtk=$enableval
24370 if test "x${gui_gtk}" = "xyes"; then
24379 # Check whether --enable-gui-internal was given.
24380 if test "${enable_gui_internal+set}" = set; then :
24381 enableval=$enable_gui_internal; gui_internal=$enableval;gui_internal_reason="configure parameter"
24384 if test "x${gui_internal}" = "xyes"; then
24386 GUI_INTERNAL_FALSE='#'
24388 GUI_INTERNAL_TRUE='#'
24389 GUI_INTERNAL_FALSE=
24393 # Check whether --enable-gui-win32 was given.
24394 if test "${enable_gui_win32+set}" = set; then :
24395 enableval=$enable_gui_win32; gui_win32=$enableval;gui_win32_reason="configure parameter"
24398 if test "x${gui_win32}" = "xyes"; then
24400 GUI_WIN32_FALSE='#'
24407 # Check whether --enable-gui-qml was given.
24408 if test "${enable_gui_qml+set}" = set; then :
24409 enableval=$enable_gui_qml; gui_qml=$enableval;gui_qml_reason="configure parameter"
24412 if test "x${gui_qml}" = "xyes" -a "x${QT_GUI_CFLAGS}" = "x" -a "x${QT_GUI_LIBS}" = "x"; then
24415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_GUI" >&5
24416 $as_echo_n "checking for QT_GUI... " >&6; }
24418 if test -n "$QT_GUI_CFLAGS"; then
24419 pkg_cv_QT_GUI_CFLAGS="$QT_GUI_CFLAGS"
24420 elif test -n "$PKG_CONFIG"; then
24421 if test -n "$PKG_CONFIG" && \
24422 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui QtCore\""; } >&5
24423 ($PKG_CONFIG --exists --print-errors "QtGui QtCore") 2>&5
24425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24426 test $ac_status = 0; }; then
24427 pkg_cv_QT_GUI_CFLAGS=`$PKG_CONFIG --cflags "QtGui QtCore" 2>/dev/null`
24434 if test -n "$QT_GUI_LIBS"; then
24435 pkg_cv_QT_GUI_LIBS="$QT_GUI_LIBS"
24436 elif test -n "$PKG_CONFIG"; then
24437 if test -n "$PKG_CONFIG" && \
24438 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui QtCore\""; } >&5
24439 ($PKG_CONFIG --exists --print-errors "QtGui QtCore") 2>&5
24441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24442 test $ac_status = 0; }; then
24443 pkg_cv_QT_GUI_LIBS=`$PKG_CONFIG --libs "QtGui QtCore" 2>/dev/null`
24453 if test $pkg_failed = yes; then
24454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24455 $as_echo "no" >&6; }
24457 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24458 _pkg_short_errors_supported=yes
24460 _pkg_short_errors_supported=no
24462 if test $_pkg_short_errors_supported = yes; then
24463 QT_GUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "QtGui QtCore" 2>&1`
24465 QT_GUI_PKG_ERRORS=`$PKG_CONFIG --print-errors "QtGui QtCore" 2>&1`
24467 # Put the nasty error message in config.log where it belongs
24468 echo "$QT_GUI_PKG_ERRORS" >&5
24470 gui_qml=no;gui_qml_reason="Packages QtGui and/or QtCore are missing"
24471 elif test $pkg_failed = untried; then
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24473 $as_echo "no" >&6; }
24474 gui_qml=no;gui_qml_reason="Packages QtGui and/or QtCore are missing"
24476 QT_GUI_CFLAGS=$pkg_cv_QT_GUI_CFLAGS
24477 QT_GUI_LIBS=$pkg_cv_QT_GUI_LIBS
24478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24479 $as_echo "yes" >&6; }
24483 if test "x${gui_qml}" = "xyes" -a "x${QT_XML_CFLAGS}" = "x" -a "x${QT_XML_LIBS}" = "x"; then
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_XML" >&5
24487 $as_echo_n "checking for QT_XML... " >&6; }
24489 if test -n "$QT_XML_CFLAGS"; then
24490 pkg_cv_QT_XML_CFLAGS="$QT_XML_CFLAGS"
24491 elif test -n "$PKG_CONFIG"; then
24492 if test -n "$PKG_CONFIG" && \
24493 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtXml\""; } >&5
24494 ($PKG_CONFIG --exists --print-errors "QtXml") 2>&5
24496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24497 test $ac_status = 0; }; then
24498 pkg_cv_QT_XML_CFLAGS=`$PKG_CONFIG --cflags "QtXml" 2>/dev/null`
24505 if test -n "$QT_XML_LIBS"; then
24506 pkg_cv_QT_XML_LIBS="$QT_XML_LIBS"
24507 elif test -n "$PKG_CONFIG"; then
24508 if test -n "$PKG_CONFIG" && \
24509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtXml\""; } >&5
24510 ($PKG_CONFIG --exists --print-errors "QtXml") 2>&5
24512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24513 test $ac_status = 0; }; then
24514 pkg_cv_QT_XML_LIBS=`$PKG_CONFIG --libs "QtXml" 2>/dev/null`
24524 if test $pkg_failed = yes; then
24525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24526 $as_echo "no" >&6; }
24528 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24529 _pkg_short_errors_supported=yes
24531 _pkg_short_errors_supported=no
24533 if test $_pkg_short_errors_supported = yes; then
24534 QT_XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "QtXml" 2>&1`
24536 QT_XML_PKG_ERRORS=`$PKG_CONFIG --print-errors "QtXml" 2>&1`
24538 # Put the nasty error message in config.log where it belongs
24539 echo "$QT_XML_PKG_ERRORS" >&5
24541 gui_qml=no;gui_qml_reason="Package QtXml is missing"
24542 elif test $pkg_failed = untried; then
24543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24544 $as_echo "no" >&6; }
24545 gui_qml=no;gui_qml_reason="Package QtXml is missing"
24547 QT_XML_CFLAGS=$pkg_cv_QT_XML_CFLAGS
24548 QT_XML_LIBS=$pkg_cv_QT_XML_LIBS
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24550 $as_echo "yes" >&6; }
24554 if test "x${gui_qml}" = "xyes" -a "x${QT_DECLARATIVE_CFLAGS}" = "x" -a "x${QT_DECLARATIVE_LIBS}" = "x"; then
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT_DECLARATIVE" >&5
24558 $as_echo_n "checking for QT_DECLARATIVE... " >&6; }
24560 if test -n "$QT_DECLARATIVE_CFLAGS"; then
24561 pkg_cv_QT_DECLARATIVE_CFLAGS="$QT_DECLARATIVE_CFLAGS"
24562 elif test -n "$PKG_CONFIG"; then
24563 if test -n "$PKG_CONFIG" && \
24564 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtDeclarative >= 4.6.0 \""; } >&5
24565 ($PKG_CONFIG --exists --print-errors "QtDeclarative >= 4.6.0 ") 2>&5
24567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24568 test $ac_status = 0; }; then
24569 pkg_cv_QT_DECLARATIVE_CFLAGS=`$PKG_CONFIG --cflags "QtDeclarative >= 4.6.0 " 2>/dev/null`
24576 if test -n "$QT_DECLARATIVE_LIBS"; then
24577 pkg_cv_QT_DECLARATIVE_LIBS="$QT_DECLARATIVE_LIBS"
24578 elif test -n "$PKG_CONFIG"; then
24579 if test -n "$PKG_CONFIG" && \
24580 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtDeclarative >= 4.6.0 \""; } >&5
24581 ($PKG_CONFIG --exists --print-errors "QtDeclarative >= 4.6.0 ") 2>&5
24583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24584 test $ac_status = 0; }; then
24585 pkg_cv_QT_DECLARATIVE_LIBS=`$PKG_CONFIG --libs "QtDeclarative >= 4.6.0 " 2>/dev/null`
24595 if test $pkg_failed = yes; then
24596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24597 $as_echo "no" >&6; }
24599 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24600 _pkg_short_errors_supported=yes
24602 _pkg_short_errors_supported=no
24604 if test $_pkg_short_errors_supported = yes; then
24605 QT_DECLARATIVE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "QtDeclarative >= 4.6.0 " 2>&1`
24607 QT_DECLARATIVE_PKG_ERRORS=`$PKG_CONFIG --print-errors "QtDeclarative >= 4.6.0 " 2>&1`
24609 # Put the nasty error message in config.log where it belongs
24610 echo "$QT_DECLARATIVE_PKG_ERRORS" >&5
24612 gui_qml=no;gui_qml_reason="Packages QtDeclarative is missing"
24613 elif test $pkg_failed = untried; then
24614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24615 $as_echo "no" >&6; }
24616 gui_qml=no;gui_qml_reason="Packages QtDeclarative is missing"
24618 QT_DECLARATIVE_CFLAGS=$pkg_cv_QT_DECLARATIVE_CFLAGS
24619 QT_DECLARATIVE_LIBS=$pkg_cv_QT_DECLARATIVE_LIBS
24620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24621 $as_echo "yes" >&6; }
24625 if test "x${gui_qml}" = "xyes" ; then
24627 $as_echo "#define USE_GUI_QML 1" >>confdefs.h
24636 if test "x${gui_qml}" = "xyes"; then
24647 # Check whether --enable-plugin-pedestrian was given.
24648 if test "${enable_plugin_pedestrian+set}" = set; then :
24649 enableval=$enable_plugin_pedestrian; plugin_pedestrian=$enableval;plugin_pedestrian_reason="configure parameter"
24652 if test "x${plugin_pedestrian}" = "xyes"; then
24653 PLUGIN_PEDESTRIAN_TRUE=
24654 PLUGIN_PEDESTRIAN_FALSE='#'
24656 PLUGIN_PEDESTRIAN_TRUE='#'
24657 PLUGIN_PEDESTRIAN_FALSE=
24662 # Check whether --enable-routing was given.
24663 if test "${enable_routing+set}" = set; then :
24664 enableval=$enable_routing; routing=$enableval;routing_reason="configure parameter"
24667 if test "x${routing}" = "xyes"; then
24675 if test "x$routing" = "xyes"; then
24677 $as_echo "#define USE_ROUTING 1" >>confdefs.h
24683 # Check whether --enable-speech-android was given.
24684 if test "${enable_speech_android+set}" = set; then :
24685 enableval=$enable_speech_android; speech_android=$enableval;speech_android_reason="configure parameter"
24688 if test "x${speech_android}" = "xyes"; then
24689 SPEECH_ANDROID_TRUE=
24690 SPEECH_ANDROID_FALSE='#'
24692 SPEECH_ANDROID_TRUE='#'
24693 SPEECH_ANDROID_FALSE=
24697 # Check whether --enable-speech-cmdline was given.
24698 if test "${enable_speech_cmdline+set}" = set; then :
24699 enableval=$enable_speech_cmdline; speech_cmdline=$enableval;speech_cmdline_reason="configure parameter"
24702 if test "x${speech_cmdline}" = "xyes"; then
24703 SPEECH_CMDLINE_TRUE=
24704 SPEECH_CMDLINE_FALSE='#'
24706 SPEECH_CMDLINE_TRUE='#'
24707 SPEECH_CMDLINE_FALSE=
24711 # Check whether --enable-speech-espeak was given.
24712 if test "${enable_speech_espeak+set}" = set; then :
24713 enableval=$enable_speech_espeak; speech_espeak=$enableval;speech_espeak_reason="configure parameter"
24716 if test "x${speech_espeak}" = "xyes"; then
24717 SPEECH_ESPEAK_TRUE=
24718 SPEECH_ESPEAK_FALSE='#'
24720 SPEECH_ESPEAK_TRUE='#'
24721 SPEECH_ESPEAK_FALSE=
24724 # speech-dispatcher
24725 # Check whether --enable-speech-speech-dispatcher was given.
24726 if test "${enable_speech_speech_dispatcher+set}" = set; then :
24727 enableval=$enable_speech_speech_dispatcher; speech_speech_dispatcher=$enableval;speech_speech_dispatcher_reason="configure parameter"
24730 if test "x$speech_speech_dispatcher" = "xyes"; then
24731 ac_fn_c_check_header_mongrel "$LINENO" "libspeechd.h" "ac_cv_header_libspeechd_h" "$ac_includes_default"
24732 if test "x$ac_cv_header_libspeechd_h" = xyes; then :
24734 $as_echo "#define HAVE_LIBSPEECHD /**/" >>confdefs.h
24735 SPEECHD_LIBS="-lspeechd"
24737 speech_speech_dispatcher=no; speech_speech_dispatcher_reason="libspeechd.h missing"
24744 if test "x${speech_speech_dispatcher}" = "xyes"; then
24745 SPEECH_SPEECH_DISPATCHER_TRUE=
24746 SPEECH_SPEECH_DISPATCHER_FALSE='#'
24748 SPEECH_SPEECH_DISPATCHER_TRUE='#'
24749 SPEECH_SPEECH_DISPATCHER_FALSE=
24752 if test "x${support_espeak}" = "xyes"; then
24753 SUPPORT_ESPEAK_TRUE=
24754 SUPPORT_ESPEAK_FALSE='#'
24756 SUPPORT_ESPEAK_TRUE='#'
24757 SUPPORT_ESPEAK_FALSE=
24763 # Check whether --enable-vehicle-android was given.
24764 if test "${enable_vehicle_android+set}" = set; then :
24765 enableval=$enable_vehicle_android; vehicle_android=$enableval;vehicle_android_reason="configure parameter"
24768 if test "x${vehicle_android}" = "xyes"; then
24769 VEHICLE_ANDROID_TRUE=
24770 VEHICLE_ANDROID_FALSE='#'
24772 VEHICLE_ANDROID_TRUE='#'
24773 VEHICLE_ANDROID_FALSE=
24777 # Check whether --enable-vehicle-demo was given.
24778 if test "${enable_vehicle_demo+set}" = set; then :
24779 enableval=$enable_vehicle_demo; vehicle_demo=$enableval;vehicle_demo_reason="configure parameter"
24782 if test "x${vehicle_demo}" = "xyes"; then
24784 VEHICLE_DEMO_FALSE='#'
24786 VEHICLE_DEMO_TRUE='#'
24787 VEHICLE_DEMO_FALSE=
24791 # Check whether --enable-vehicle-file was given.
24792 if test "${enable_vehicle_file+set}" = set; then :
24793 enableval=$enable_vehicle_file; vehicle_file=$enableval;vehicle_file_reason="configure parameter"
24796 if test "x${vehicle_file}" = "xyes"; then
24798 VEHICLE_FILE_FALSE='#'
24800 VEHICLE_FILE_TRUE='#'
24801 VEHICLE_FILE_FALSE=
24805 # Check whether --enable-vehicle-gpsd was given.
24806 if test "${enable_vehicle_gpsd+set}" = set; then :
24807 enableval=$enable_vehicle_gpsd; vehicle_gpsd=$enableval;vehicle_gpsd_reason="configure parameter"
24810 if test "x${vehicle_gpsd}" = xyes
24814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPSD" >&5
24815 $as_echo_n "checking for GPSD... " >&6; }
24817 if test -n "$GPSD_CFLAGS"; then
24818 pkg_cv_GPSD_CFLAGS="$GPSD_CFLAGS"
24819 elif test -n "$PKG_CONFIG"; then
24820 if test -n "$PKG_CONFIG" && \
24821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgps\""; } >&5
24822 ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
24824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24825 test $ac_status = 0; }; then
24826 pkg_cv_GPSD_CFLAGS=`$PKG_CONFIG --cflags "libgps" 2>/dev/null`
24833 if test -n "$GPSD_LIBS"; then
24834 pkg_cv_GPSD_LIBS="$GPSD_LIBS"
24835 elif test -n "$PKG_CONFIG"; then
24836 if test -n "$PKG_CONFIG" && \
24837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgps\""; } >&5
24838 ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
24840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24841 test $ac_status = 0; }; then
24842 pkg_cv_GPSD_LIBS=`$PKG_CONFIG --libs "libgps" 2>/dev/null`
24852 if test $pkg_failed = yes; then
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24854 $as_echo "no" >&6; }
24856 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24857 _pkg_short_errors_supported=yes
24859 _pkg_short_errors_supported=no
24861 if test $_pkg_short_errors_supported = yes; then
24862 GPSD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgps" 2>&1`
24864 GPSD_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgps" 2>&1`
24866 # Put the nasty error message in config.log where it belongs
24867 echo "$GPSD_PKG_ERRORS" >&5
24870 elif test $pkg_failed = untried; then
24871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24872 $as_echo "no" >&6; }
24875 GPSD_CFLAGS=$pkg_cv_GPSD_CFLAGS
24876 GPSD_LIBS=$pkg_cv_GPSD_LIBS
24877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24878 $as_echo "yes" >&6; }
24881 if test "x$have_libgps" = "xyes"; then
24883 $as_echo "#define HAVE_LIBGPS /**/" >>confdefs.h
24887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGPS19" >&5
24888 $as_echo_n "checking for LIBGPS19... " >&6; }
24890 if test -n "$LIBGPS19_CFLAGS"; then
24891 pkg_cv_LIBGPS19_CFLAGS="$LIBGPS19_CFLAGS"
24892 elif test -n "$PKG_CONFIG"; then
24893 if test -n "$PKG_CONFIG" && \
24894 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgps >= 2.90\""; } >&5
24895 ($PKG_CONFIG --exists --print-errors "libgps >= 2.90") 2>&5
24897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24898 test $ac_status = 0; }; then
24899 pkg_cv_LIBGPS19_CFLAGS=`$PKG_CONFIG --cflags "libgps >= 2.90" 2>/dev/null`
24906 if test -n "$LIBGPS19_LIBS"; then
24907 pkg_cv_LIBGPS19_LIBS="$LIBGPS19_LIBS"
24908 elif test -n "$PKG_CONFIG"; then
24909 if test -n "$PKG_CONFIG" && \
24910 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgps >= 2.90\""; } >&5
24911 ($PKG_CONFIG --exists --print-errors "libgps >= 2.90") 2>&5
24913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24914 test $ac_status = 0; }; then
24915 pkg_cv_LIBGPS19_LIBS=`$PKG_CONFIG --libs "libgps >= 2.90" 2>/dev/null`
24925 if test $pkg_failed = yes; then
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24927 $as_echo "no" >&6; }
24929 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24930 _pkg_short_errors_supported=yes
24932 _pkg_short_errors_supported=no
24934 if test $_pkg_short_errors_supported = yes; then
24935 LIBGPS19_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgps >= 2.90" 2>&1`
24937 LIBGPS19_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgps >= 2.90" 2>&1`
24939 # Put the nasty error message in config.log where it belongs
24940 echo "$LIBGPS19_PKG_ERRORS" >&5
24943 elif test $pkg_failed = untried; then
24944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24945 $as_echo "no" >&6; }
24948 LIBGPS19_CFLAGS=$pkg_cv_LIBGPS19_CFLAGS
24949 LIBGPS19_LIBS=$pkg_cv_LIBGPS19_LIBS
24950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24951 $as_echo "yes" >&6; }
24952 have_libgps19="yes"
24954 if test "x$have_libgps19" = "xyes"; then
24956 $as_echo "#define HAVE_LIBGPS19 /**/" >>confdefs.h
24960 ac_fn_c_check_header_mongrel "$LINENO" "gps.h" "ac_cv_header_gps_h" "$ac_includes_default"
24961 if test "x$ac_cv_header_gps_h" = xyes; then :
24963 $as_echo "#define HAVE_LIBGPS /**/" >>confdefs.h
24966 vehicle_gpsd=no; vehicle_gpsd_reason="no gps.h and no gpsd pkgconfig"
24974 if test "x${vehicle_gpsd}" = "xyes"; then
24976 VEHICLE_GPSD_FALSE='#'
24978 VEHICLE_GPSD_TRUE='#'
24979 VEHICLE_GPSD_FALSE=
24983 # Check whether --enable-vehicle-gypsy was given.
24984 if test "${enable_vehicle_gypsy+set}" = set; then :
24985 enableval=$enable_vehicle_gypsy; vehicle_gypsy=$enableval;vehicle_gypsy_reason="configure parameter"
24988 if test "x${vehicle_gypsy}" = "xyes"
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GYPSY" >&5
24993 $as_echo_n "checking for GYPSY... " >&6; }
24995 if test -n "$GYPSY_CFLAGS"; then
24996 pkg_cv_GYPSY_CFLAGS="$GYPSY_CFLAGS"
24997 elif test -n "$PKG_CONFIG"; then
24998 if test -n "$PKG_CONFIG" && \
24999 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gypsy\""; } >&5
25000 ($PKG_CONFIG --exists --print-errors "gypsy") 2>&5
25002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25003 test $ac_status = 0; }; then
25004 pkg_cv_GYPSY_CFLAGS=`$PKG_CONFIG --cflags "gypsy" 2>/dev/null`
25011 if test -n "$GYPSY_LIBS"; then
25012 pkg_cv_GYPSY_LIBS="$GYPSY_LIBS"
25013 elif test -n "$PKG_CONFIG"; then
25014 if test -n "$PKG_CONFIG" && \
25015 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gypsy\""; } >&5
25016 ($PKG_CONFIG --exists --print-errors "gypsy") 2>&5
25018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25019 test $ac_status = 0; }; then
25020 pkg_cv_GYPSY_LIBS=`$PKG_CONFIG --libs "gypsy" 2>/dev/null`
25030 if test $pkg_failed = yes; then
25031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25032 $as_echo "no" >&6; }
25034 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25035 _pkg_short_errors_supported=yes
25037 _pkg_short_errors_supported=no
25039 if test $_pkg_short_errors_supported = yes; then
25040 GYPSY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gypsy" 2>&1`
25042 GYPSY_PKG_ERRORS=`$PKG_CONFIG --print-errors "gypsy" 2>&1`
25044 # Put the nasty error message in config.log where it belongs
25045 echo "$GYPSY_PKG_ERRORS" >&5
25047 vehicle_gypsy=no;vehicle_gypsy_reason="package gypsy missing"
25048 elif test $pkg_failed = untried; then
25049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25050 $as_echo "no" >&6; }
25051 vehicle_gypsy=no;vehicle_gypsy_reason="package gypsy missing"
25053 GYPSY_CFLAGS=$pkg_cv_GYPSY_CFLAGS
25054 GYPSY_LIBS=$pkg_cv_GYPSY_LIBS
25055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25056 $as_echo "yes" >&6; }
25062 if test "x${vehicle_gypsy}" = "xyes"; then
25063 VEHICLE_GYPSY_TRUE=
25064 VEHICLE_GYPSY_FALSE='#'
25066 VEHICLE_GYPSY_TRUE='#'
25067 VEHICLE_GYPSY_FALSE=
25071 # Check whether --enable-vehicle-maemo was given.
25072 if test "${enable_vehicle_maemo+set}" = set; then :
25073 enableval=$enable_vehicle_maemo; vehicle_maemo=$enableval;vehicle_maemo_reason="configure parameter"
25076 if test "x${vehicle_maemo}" = "xyes" ; then
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLOCATION" >&5
25080 $as_echo_n "checking for LIBLOCATION... " >&6; }
25082 if test -n "$LIBLOCATION_CFLAGS"; then
25083 pkg_cv_LIBLOCATION_CFLAGS="$LIBLOCATION_CFLAGS"
25084 elif test -n "$PKG_CONFIG"; then
25085 if test -n "$PKG_CONFIG" && \
25086 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblocation\""; } >&5
25087 ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
25089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25090 test $ac_status = 0; }; then
25091 pkg_cv_LIBLOCATION_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`
25098 if test -n "$LIBLOCATION_LIBS"; then
25099 pkg_cv_LIBLOCATION_LIBS="$LIBLOCATION_LIBS"
25100 elif test -n "$PKG_CONFIG"; then
25101 if test -n "$PKG_CONFIG" && \
25102 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblocation\""; } >&5
25103 ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
25105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25106 test $ac_status = 0; }; then
25107 pkg_cv_LIBLOCATION_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`
25117 if test $pkg_failed = yes; then
25118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25119 $as_echo "no" >&6; }
25121 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25122 _pkg_short_errors_supported=yes
25124 _pkg_short_errors_supported=no
25126 if test $_pkg_short_errors_supported = yes; then
25127 LIBLOCATION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "liblocation" 2>&1`
25129 LIBLOCATION_PKG_ERRORS=`$PKG_CONFIG --print-errors "liblocation" 2>&1`
25131 # Put the nasty error message in config.log where it belongs
25132 echo "$LIBLOCATION_PKG_ERRORS" >&5
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25136 $as_echo "no" >&6; }
25138 vehicle_maemo_reason="no maemo location library found"
25140 elif test $pkg_failed = untried; then
25141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25142 $as_echo "no" >&6; }
25144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25145 $as_echo "no" >&6; }
25147 vehicle_maemo_reason="no maemo location library found"
25150 LIBLOCATION_CFLAGS=$pkg_cv_LIBLOCATION_CFLAGS
25151 LIBLOCATION_LIBS=$pkg_cv_LIBLOCATION_LIBS
25152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25153 $as_echo "yes" >&6; }
25160 if test "x${vehicle_maemo}" = "xyes"; then
25161 VEHICLE_MAEMO_TRUE=
25162 VEHICLE_MAEMO_FALSE='#'
25164 VEHICLE_MAEMO_TRUE='#'
25165 VEHICLE_MAEMO_FALSE=
25169 # Check whether --enable-vehicle-null was given.
25170 if test "${enable_vehicle_null+set}" = set; then :
25171 enableval=$enable_vehicle_null; vehicle_null=$enableval;vehicle_null_reason="configure parameter"
25174 if test "x${vehicle_null}" = "xyes"; then
25176 VEHICLE_NULL_FALSE='#'
25178 VEHICLE_NULL_TRUE='#'
25179 VEHICLE_NULL_FALSE=
25183 # Check whether --enable-vehicle-wince was given.
25184 if test "${enable_vehicle_wince+set}" = set; then :
25185 enableval=$enable_vehicle_wince; vehicle_wince=$enableval;vehicle_wince_reason="configure parameter"
25188 if test "x${vehicle_wince}" = "xyes"; then
25189 VEHICLE_WINCE_TRUE=
25190 VEHICLE_WINCE_FALSE='#'
25192 VEHICLE_WINCE_TRUE='#'
25193 VEHICLE_WINCE_FALSE=
25197 # Check whether --enable-vehicle-iphone was given.
25198 if test "${enable_vehicle_iphone+set}" = set; then :
25199 enableval=$enable_vehicle_iphone; vehicle_iphone=$enableval;vehicle_iphone_reason="configure parameter"
25202 if test "x${vehicle_iphone}" = "xyes"; then
25203 VEHICLE_IPHONE_TRUE=
25204 VEHICLE_IPHONE_FALSE='#'
25206 VEHICLE_IPHONE_TRUE='#'
25207 VEHICLE_IPHONE_FALSE=
25210 if test "x${vehicle_iphone}" = "xyes"
25212 IPHONE_LIBS=-Wl,-framework,CoreLocation
25217 # Check whether --enable-vehicle-webos was given.
25218 if test "${enable_vehicle_webos+set}" = set; then :
25219 enableval=$enable_vehicle_webos; vehicle_webos=$enableval;vehicle_webos_reason="configure parameter"
25222 if test "x${vehicle_webos}" = "xyes"; then
25223 VEHICLE_WEBOS_TRUE=
25224 VEHICLE_WEBOS_FALSE='#'
25226 VEHICLE_WEBOS_TRUE='#'
25227 VEHICLE_WEBOS_FALSE=
25230 if test "x${vehicle_webos}" = "xyes"
25233 $as_echo "#define USE_WEBOS /**/" >>confdefs.h
25235 LIBPDL_CFLAGS="$SDL_CFLAGS -I/usr/local/include"
25236 LIBPDL_LIBS="-L/usr/local/lib -lpdl"
25240 NAVIT_CFLAGS="$NAVIT_CFLAGS $GLIB_CFLAGS $GMODULE_CFLAGS"
25241 NAVIT_LIBS="$NAVIT_LIBS $GLIB_LIBS $GMODULE_LIBS $LIBINTL"
25248 ac_config_files="$ac_config_files Makefile navit/Makefile navit/autoload/Makefile navit/autoload/osso/Makefile navit/binding/Makefile navit/binding/python/Makefile navit/binding/dbus/Makefile navit/binding/win32/Makefile navit/map/Makefile navit/map/mg/Makefile navit/map/textfile/Makefile navit/map/csv/Makefile navit/map/shapefile/Makefile navit/map/filter/Makefile navit/map/binfile/Makefile navit/map/garmin/Makefile navit/maptool/Makefile navit/fib-1.1/Makefile navit/font/Makefile navit/font/freetype/Makefile navit/fonts/Makefile navit/graphics/Makefile navit/graphics/android/Makefile navit/graphics/gd/Makefile navit/graphics/gtk_drawing_area/Makefile navit/graphics/opengl/Makefile navit/graphics/null/Makefile navit/graphics/sdl/Makefile navit/graphics/qt_qpainter/Makefile navit/graphics/win32/Makefile navit/gui/Makefile navit/gui/gtk/Makefile navit/gui/internal/Makefile navit/gui/win32/Makefile navit/gui/qml/Makefile navit/gui/qml/skins/Makefile navit/gui/qml/skins/navit/Makefile navit/osd/Makefile navit/osd/core/Makefile navit/plugin/Makefile navit/plugin/pedestrian/Makefile navit/speech/Makefile navit/speech/android/Makefile navit/speech/cmdline/Makefile navit/speech/dbus/Makefile navit/speech/espeak/Makefile navit/speech/speech_dispatcher/Makefile navit/support/Makefile navit/support/espeak/Makefile navit/support/ezxml/Makefile navit/support/glib/Makefile navit/support/libc/Makefile navit/support/libpng/Makefile navit/support/shapefile/Makefile navit/support/win32/Makefile navit/support/wordexp/Makefile navit/support/zlib/Makefile navit/vehicle/Makefile navit/vehicle/android/Makefile navit/vehicle/file/Makefile navit/vehicle/gpsd/Makefile navit/vehicle/gpsd_dbus/Makefile navit/vehicle/gypsy/Makefile navit/vehicle/maemo/Makefile navit/vehicle/null/Makefile navit/vehicle/demo/Makefile navit/vehicle/wince/Makefile navit/vehicle/iphone/Makefile navit/vehicle/webos/Makefile navit/xpm/Makefile navit/maps/Makefile intl/Makefile po/Makefile man/Makefile"
25250 #src/data/garmin_img/Makefile
25252 cat >confcache <<\_ACEOF
25253 # This file is a shell script that caches the results of configure
25254 # tests run on this system so they can be shared between configure
25255 # scripts and configure runs, see configure's option --config-cache.
25256 # It is not useful on other systems. If it contains results you don't
25257 # want to keep, you may remove or edit it.
25259 # config.status only pays attention to the cache file if you give it
25260 # the --recheck option to rerun configure.
25262 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25263 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25264 # following values.
25268 # The following way of writing the cache mishandles newlines in values,
25269 # but we know of no workaround that is simple, portable, and efficient.
25270 # So, we kill variables containing newlines.
25271 # Ultrix sh set writes to stderr and can't be redirected directly,
25272 # and sets the high bit in the cache file unless we assign to the vars.
25274 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25275 eval ac_val=\$$ac_var
25279 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25280 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25283 _ | IFS | as_nl) ;; #(
25284 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25285 *) { eval $ac_var=; unset $ac_var;} ;;
25291 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25292 *${as_nl}ac_space=\ *)
25293 # `set' does not quote correctly, so add quotes: double-quote
25294 # substitution turns \\\\ into \\, and sed turns \\ into \.
25297 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25300 # `set' quotes correctly as required by POSIX, so do not add quotes.
25301 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25310 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25312 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25314 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25315 if test -w "$cache_file"; then
25316 if test "x$cache_file" != "x/dev/null"; then
25317 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25318 $as_echo "$as_me: updating cache $cache_file" >&6;}
25319 if test ! -f "$cache_file" || test -h "$cache_file"; then
25320 cat confcache >"$cache_file"
25322 case $cache_file in #(
25324 mv -f confcache "$cache_file"$$ &&
25325 mv -f "$cache_file"$$ "$cache_file" ;; #(
25327 mv -f confcache "$cache_file" ;;
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25333 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25338 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25339 # Let make expand exec_prefix.
25340 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25342 DEFS=-DHAVE_CONFIG_H
25347 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25348 # 1. Remove the extension, and $U if already installed.
25349 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25350 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25351 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25352 # will be set to the directory where LIBOBJS objects are built.
25353 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25354 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25356 LIBOBJS=$ac_libobjs
25358 LTLIBOBJS=$ac_ltlibobjs
25361 if test -n "$EXEEXT"; then
25363 am__EXEEXT_FALSE='#'
25365 am__EXEEXT_TRUE='#'
25369 if test -z "${SOURCE_MODE_SVN_TRUE}" && test -z "${SOURCE_MODE_SVN_FALSE}"; then
25370 as_fn_error $? "conditional \"SOURCE_MODE_SVN\" was never defined.
25371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25373 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25374 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
25375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25377 if test -z "${SUPPORT_WIN32_TRUE}" && test -z "${SUPPORT_WIN32_FALSE}"; then
25378 as_fn_error $? "conditional \"SUPPORT_WIN32\" was never defined.
25379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25381 if test -z "${SUPPORT_WIN32CE_TRUE}" && test -z "${SUPPORT_WIN32CE_FALSE}"; then
25382 as_fn_error $? "conditional \"SUPPORT_WIN32CE\" was never defined.
25383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25385 if test -z "${SUPPORT_ANDROID_TRUE}" && test -z "${SUPPORT_ANDROID_FALSE}"; then
25386 as_fn_error $? "conditional \"SUPPORT_ANDROID\" was never defined.
25387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25389 if test -z "${SUPPORT_LIBPNG_TRUE}" && test -z "${SUPPORT_LIBPNG_FALSE}"; then
25390 as_fn_error $? "conditional \"SUPPORT_LIBPNG\" was never defined.
25391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25393 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25394 as_fn_error $? "conditional \"AMDEP\" was never defined.
25395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25397 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25398 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
25399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25401 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
25402 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
25403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25405 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25406 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
25407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25409 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
25410 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
25411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25413 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25414 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
25415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25417 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
25418 as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
25419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25422 if test -z "${USE_HILDON_TRUE}" && test -z "${USE_HILDON_FALSE}"; then
25423 as_fn_error $? "conditional \"USE_HILDON\" was never defined.
25424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25426 if test -z "${USE_OSSO_TRUE}" && test -z "${USE_OSSO_FALSE}"; then
25427 as_fn_error $? "conditional \"USE_OSSO\" was never defined.
25428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25430 if test -z "${MAPTOOL_TRUE}" && test -z "${MAPTOOL_FALSE}"; then
25431 as_fn_error $? "conditional \"MAPTOOL\" was never defined.
25432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25434 if test -z "${BUILD_SAMPLEMAP_TRUE}" && test -z "${BUILD_SAMPLEMAP_FALSE}"; then
25435 as_fn_error $? "conditional \"BUILD_SAMPLEMAP\" was never defined.
25436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25438 if test -z "${FASTMATH_TRUE}" && test -z "${FASTMATH_FALSE}"; then
25439 as_fn_error $? "conditional \"FASTMATH\" was never defined.
25440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25442 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
25443 as_fn_error $? "conditional \"PLUGINS\" was never defined.
25444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25446 if test -z "${SHARED_LIBNAVIT_TRUE}" && test -z "${SHARED_LIBNAVIT_FALSE}"; then
25447 as_fn_error $? "conditional \"SHARED_LIBNAVIT\" was never defined.
25448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25450 if test -z "${BIN_NAVIT_TRUE}" && test -z "${BIN_NAVIT_FALSE}"; then
25451 as_fn_error $? "conditional \"BIN_NAVIT\" was never defined.
25452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25454 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25455 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
25456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25458 if test -z "${EVENT_GLIB_TRUE}" && test -z "${EVENT_GLIB_FALSE}"; then
25459 as_fn_error $? "conditional \"EVENT_GLIB\" was never defined.
25460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25462 if test -z "${SUPPORT_GLIB_TRUE}" && test -z "${SUPPORT_GLIB_FALSE}"; then
25463 as_fn_error $? "conditional \"SUPPORT_GLIB\" was never defined.
25464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25466 if test -z "${SUPPORT_EZXML_TRUE}" && test -z "${SUPPORT_EZXML_FALSE}"; then
25467 as_fn_error $? "conditional \"SUPPORT_EZXML\" was never defined.
25468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25470 if test -z "${SUPPORT_ZLIB_TRUE}" && test -z "${SUPPORT_ZLIB_FALSE}"; then
25471 as_fn_error $? "conditional \"SUPPORT_ZLIB\" was never defined.
25472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25474 if test -z "${GRAPHICS_SDL_TRUE}" && test -z "${GRAPHICS_SDL_FALSE}"; then
25475 as_fn_error $? "conditional \"GRAPHICS_SDL\" was never defined.
25476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25478 if test -z "${HAVE_POSTGRESQL_TRUE}" && test -z "${HAVE_POSTGRESQL_FALSE}"; then
25479 as_fn_error $? "conditional \"HAVE_POSTGRESQL\" was never defined.
25480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25482 if test -z "${FONT_FREETYPE_TRUE}" && test -z "${FONT_FREETYPE_FALSE}"; then
25483 as_fn_error $? "conditional \"FONT_FREETYPE\" was never defined.
25484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25486 if test -z "${FONTS_TRUE}" && test -z "${FONTS_FALSE}"; then
25487 as_fn_error $? "conditional \"FONTS\" was never defined.
25488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25490 if test -z "${GRAPHICS_OPENGL_TRUE}" && test -z "${GRAPHICS_OPENGL_FALSE}"; then
25491 as_fn_error $? "conditional \"GRAPHICS_OPENGL\" was never defined.
25492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25494 if test -z "${HAVE_SYSTEM_SHAPEFILELIB_TRUE}" && test -z "${HAVE_SYSTEM_SHAPEFILELIB_FALSE}"; then
25495 as_fn_error $? "conditional \"HAVE_SYSTEM_SHAPEFILELIB\" was never defined.
25496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25498 if test -z "${HAVELIBGARMIN_TRUE}" && test -z "${HAVELIBGARMIN_FALSE}"; then
25499 as_fn_error $? "conditional \"HAVELIBGARMIN\" was never defined.
25500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25502 if test -z "${BINDING_PYTHON_TRUE}" && test -z "${BINDING_PYTHON_FALSE}"; then
25503 as_fn_error $? "conditional \"BINDING_PYTHON\" was never defined.
25504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25506 if test -z "${BINDING_DBUS_TRUE}" && test -z "${BINDING_DBUS_FALSE}"; then
25507 as_fn_error $? "conditional \"BINDING_DBUS\" was never defined.
25508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25510 if test -z "${VEHICLE_GPSD_DBUS_TRUE}" && test -z "${VEHICLE_GPSD_DBUS_FALSE}"; then
25511 as_fn_error $? "conditional \"VEHICLE_GPSD_DBUS\" was never defined.
25512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25514 if test -z "${SPEECH_DBUS_TRUE}" && test -z "${SPEECH_DBUS_FALSE}"; then
25515 as_fn_error $? "conditional \"SPEECH_DBUS\" was never defined.
25516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25518 if test -z "${BINDING_WIN32_TRUE}" && test -z "${BINDING_WIN32_FALSE}"; then
25519 as_fn_error $? "conditional \"BINDING_WIN32\" was never defined.
25520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25522 if test -z "${USE_SVG2PNG_SCALES_TRUE}" && test -z "${USE_SVG2PNG_SCALES_FALSE}"; then
25523 as_fn_error $? "conditional \"USE_SVG2PNG_SCALES\" was never defined.
25524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25526 if test -z "${USE_SVG2PNG_SCALES_FLAG_TRUE}" && test -z "${USE_SVG2PNG_SCALES_FLAG_FALSE}"; then
25527 as_fn_error $? "conditional \"USE_SVG2PNG_SCALES_FLAG\" was never defined.
25528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25530 if test -z "${USE_SVG2PNG_SCALES_NAV_TRUE}" && test -z "${USE_SVG2PNG_SCALES_NAV_FALSE}"; then
25531 as_fn_error $? "conditional \"USE_SVG2PNG_SCALES_NAV\" was never defined.
25532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25534 if test -z "${USE_SVG2PNG_TRUE}" && test -z "${USE_SVG2PNG_FALSE}"; then
25535 as_fn_error $? "conditional \"USE_SVG2PNG\" was never defined.
25536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25538 if test -z "${USE_SVG_TRUE}" && test -z "${USE_SVG_FALSE}"; then
25539 as_fn_error $? "conditional \"USE_SVG\" was never defined.
25540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25542 if test -z "${ENABLE_NLS_TRUE}" && test -z "${ENABLE_NLS_FALSE}"; then
25543 as_fn_error $? "conditional \"ENABLE_NLS\" was never defined.
25544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25546 if test -z "${XGETTEXT_GLADE_TRUE}" && test -z "${XGETTEXT_GLADE_FALSE}"; then
25547 as_fn_error $? "conditional \"XGETTEXT_GLADE\" was never defined.
25548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25550 if test -z "${SUPPORT_WORDEXP_TRUE}" && test -z "${SUPPORT_WORDEXP_FALSE}"; then
25551 as_fn_error $? "conditional \"SUPPORT_WORDEXP\" was never defined.
25552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25554 if test -z "${SUPPORT_LIBC_TRUE}" && test -z "${SUPPORT_LIBC_FALSE}"; then
25555 as_fn_error $? "conditional \"SUPPORT_LIBC\" was never defined.
25556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25558 if test -z "${GRAPHICS_TRUE}" && test -z "${GRAPHICS_FALSE}"; then
25559 as_fn_error $? "conditional \"GRAPHICS\" was never defined.
25560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25562 if test -z "${GRAPHICS_ANDROID_TRUE}" && test -z "${GRAPHICS_ANDROID_FALSE}"; then
25563 as_fn_error $? "conditional \"GRAPHICS_ANDROID\" was never defined.
25564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25566 if test -z "${GRAPHICS_GD_TRUE}" && test -z "${GRAPHICS_GD_FALSE}"; then
25567 as_fn_error $? "conditional \"GRAPHICS_GD\" was never defined.
25568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25570 if test -z "${GRAPHICS_GTK_DRAWING_AREA_TRUE}" && test -z "${GRAPHICS_GTK_DRAWING_AREA_FALSE}"; then
25571 as_fn_error $? "conditional \"GRAPHICS_GTK_DRAWING_AREA\" was never defined.
25572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25574 if test -z "${GRAPHICS_NULL_TRUE}" && test -z "${GRAPHICS_NULL_FALSE}"; then
25575 as_fn_error $? "conditional \"GRAPHICS_NULL\" was never defined.
25576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25578 if test -z "${GRAPHICS_WIN32_TRUE}" && test -z "${GRAPHICS_WIN32_FALSE}"; then
25579 as_fn_error $? "conditional \"GRAPHICS_WIN32\" was never defined.
25580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25582 if test -z "${GRAPHICS_QT_QPAINTER_TRUE}" && test -z "${GRAPHICS_QT_QPAINTER_FALSE}"; then
25583 as_fn_error $? "conditional \"GRAPHICS_QT_QPAINTER\" was never defined.
25584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25586 if test -z "${MAP_BINFILE_TRUE}" && test -z "${MAP_BINFILE_FALSE}"; then
25587 as_fn_error $? "conditional \"MAP_BINFILE\" was never defined.
25588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25590 if test -z "${MAP_FILTER_TRUE}" && test -z "${MAP_FILTER_FALSE}"; then
25591 as_fn_error $? "conditional \"MAP_FILTER\" was never defined.
25592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25594 if test -z "${MAP_MG_TRUE}" && test -z "${MAP_MG_FALSE}"; then
25595 as_fn_error $? "conditional \"MAP_MG\" was never defined.
25596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25598 if test -z "${MAP_SHAPEFILE_TRUE}" && test -z "${MAP_SHAPEFILE_FALSE}"; then
25599 as_fn_error $? "conditional \"MAP_SHAPEFILE\" was never defined.
25600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25602 if test -z "${MAP_TEXTFILE_TRUE}" && test -z "${MAP_TEXTFILE_FALSE}"; then
25603 as_fn_error $? "conditional \"MAP_TEXTFILE\" was never defined.
25604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25606 if test -z "${MAP_CSV_TRUE}" && test -z "${MAP_CSV_FALSE}"; then
25607 as_fn_error $? "conditional \"MAP_CSV\" was never defined.
25608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25610 if test -z "${OSD_CORE_TRUE}" && test -z "${OSD_CORE_FALSE}"; then
25611 as_fn_error $? "conditional \"OSD_CORE\" was never defined.
25612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25614 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
25615 as_fn_error $? "conditional \"GUI_GTK\" was never defined.
25616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25618 if test -z "${GUI_INTERNAL_TRUE}" && test -z "${GUI_INTERNAL_FALSE}"; then
25619 as_fn_error $? "conditional \"GUI_INTERNAL\" was never defined.
25620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25622 if test -z "${GUI_WIN32_TRUE}" && test -z "${GUI_WIN32_FALSE}"; then
25623 as_fn_error $? "conditional \"GUI_WIN32\" was never defined.
25624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25626 if test -z "${GUI_QML_TRUE}" && test -z "${GUI_QML_FALSE}"; then
25627 as_fn_error $? "conditional \"GUI_QML\" was never defined.
25628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25630 if test -z "${PLUGIN_PEDESTRIAN_TRUE}" && test -z "${PLUGIN_PEDESTRIAN_FALSE}"; then
25631 as_fn_error $? "conditional \"PLUGIN_PEDESTRIAN\" was never defined.
25632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25634 if test -z "${ROUTING_TRUE}" && test -z "${ROUTING_FALSE}"; then
25635 as_fn_error $? "conditional \"ROUTING\" was never defined.
25636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25638 if test -z "${SPEECH_ANDROID_TRUE}" && test -z "${SPEECH_ANDROID_FALSE}"; then
25639 as_fn_error $? "conditional \"SPEECH_ANDROID\" was never defined.
25640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25642 if test -z "${SPEECH_CMDLINE_TRUE}" && test -z "${SPEECH_CMDLINE_FALSE}"; then
25643 as_fn_error $? "conditional \"SPEECH_CMDLINE\" was never defined.
25644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25646 if test -z "${SPEECH_ESPEAK_TRUE}" && test -z "${SPEECH_ESPEAK_FALSE}"; then
25647 as_fn_error $? "conditional \"SPEECH_ESPEAK\" was never defined.
25648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25650 if test -z "${SPEECH_SPEECH_DISPATCHER_TRUE}" && test -z "${SPEECH_SPEECH_DISPATCHER_FALSE}"; then
25651 as_fn_error $? "conditional \"SPEECH_SPEECH_DISPATCHER\" was never defined.
25652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25654 if test -z "${SUPPORT_ESPEAK_TRUE}" && test -z "${SUPPORT_ESPEAK_FALSE}"; then
25655 as_fn_error $? "conditional \"SUPPORT_ESPEAK\" was never defined.
25656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25658 if test -z "${VEHICLE_ANDROID_TRUE}" && test -z "${VEHICLE_ANDROID_FALSE}"; then
25659 as_fn_error $? "conditional \"VEHICLE_ANDROID\" was never defined.
25660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25662 if test -z "${VEHICLE_DEMO_TRUE}" && test -z "${VEHICLE_DEMO_FALSE}"; then
25663 as_fn_error $? "conditional \"VEHICLE_DEMO\" was never defined.
25664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25666 if test -z "${VEHICLE_FILE_TRUE}" && test -z "${VEHICLE_FILE_FALSE}"; then
25667 as_fn_error $? "conditional \"VEHICLE_FILE\" was never defined.
25668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25670 if test -z "${VEHICLE_GPSD_TRUE}" && test -z "${VEHICLE_GPSD_FALSE}"; then
25671 as_fn_error $? "conditional \"VEHICLE_GPSD\" was never defined.
25672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25674 if test -z "${VEHICLE_GYPSY_TRUE}" && test -z "${VEHICLE_GYPSY_FALSE}"; then
25675 as_fn_error $? "conditional \"VEHICLE_GYPSY\" was never defined.
25676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25678 if test -z "${VEHICLE_MAEMO_TRUE}" && test -z "${VEHICLE_MAEMO_FALSE}"; then
25679 as_fn_error $? "conditional \"VEHICLE_MAEMO\" was never defined.
25680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25682 if test -z "${VEHICLE_NULL_TRUE}" && test -z "${VEHICLE_NULL_FALSE}"; then
25683 as_fn_error $? "conditional \"VEHICLE_NULL\" was never defined.
25684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25686 if test -z "${VEHICLE_WINCE_TRUE}" && test -z "${VEHICLE_WINCE_FALSE}"; then
25687 as_fn_error $? "conditional \"VEHICLE_WINCE\" was never defined.
25688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25690 if test -z "${VEHICLE_IPHONE_TRUE}" && test -z "${VEHICLE_IPHONE_FALSE}"; then
25691 as_fn_error $? "conditional \"VEHICLE_IPHONE\" was never defined.
25692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25694 if test -z "${VEHICLE_WEBOS_TRUE}" && test -z "${VEHICLE_WEBOS_FALSE}"; then
25695 as_fn_error $? "conditional \"VEHICLE_WEBOS\" was never defined.
25696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25699 : "${CONFIG_STATUS=./config.status}"
25701 ac_clean_files_save=$ac_clean_files
25702 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25703 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25704 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25706 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25708 # Generated by $as_me.
25709 # Run this file to recreate the current configuration.
25710 # Compiler output produced by configure, useful for debugging
25711 # configure, is in config.log if it exists.
25714 ac_cs_recheck=false
25717 SHELL=\${CONFIG_SHELL-$SHELL}
25720 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25721 ## -------------------- ##
25722 ## M4sh Initialization. ##
25723 ## -------------------- ##
25725 # Be more Bourne compatible
25726 DUALCASE=1; export DUALCASE # for MKS sh
25727 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25730 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25731 # is contrary to our usage. Disable this feature.
25732 alias -g '${1+"$@"}'='"$@"'
25733 setopt NO_GLOB_SUBST
25735 case `(set -o) 2>/dev/null` in #(
25747 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25748 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25749 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25750 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25751 # Prefer a ksh shell builtin over an external printf program on Solaris,
25752 # but without wasting forks for bash or zsh.
25753 if test -z "$BASH_VERSION$ZSH_VERSION" \
25754 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25755 as_echo='print -r --'
25756 as_echo_n='print -rn --'
25757 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25758 as_echo='printf %s\n'
25759 as_echo_n='printf %s'
25761 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25762 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25763 as_echo_n='/usr/ucb/echo -n'
25765 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25766 as_echo_n_body='eval
25770 expr "X$arg" : "X\\(.*\\)$as_nl";
25771 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25773 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25775 export as_echo_n_body
25776 as_echo_n='sh -c $as_echo_n_body as_echo'
25778 export as_echo_body
25779 as_echo='sh -c $as_echo_body as_echo'
25782 # The user is always right.
25783 if test "${PATH_SEPARATOR+set}" != set; then
25785 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25786 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25793 # We need space, tab and new line, in precisely that order. Quoting is
25794 # there to prevent editors from complaining about space-tab.
25795 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25796 # splitting by setting IFS to empty value.)
25799 # Find who we are. Look in the path if we contain no directory separator.
25802 *[\\/]* ) as_myself=$0 ;;
25803 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25804 for as_dir in $PATH
25807 test -z "$as_dir" && as_dir=.
25808 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25814 # We did not find ourselves, most probably we were run as `sh COMMAND'
25815 # in which case we are not to be found in the path.
25816 if test "x$as_myself" = x; then
25819 if test ! -f "$as_myself"; then
25820 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25824 # Unset variables that we do not need and which cause bugs (e.g. in
25825 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25826 # suppresses any "Segmentation fault" message there. '((' could
25827 # trigger a bug in pdksh 5.2.14.
25828 for as_var in BASH_ENV ENV MAIL MAILPATH
25829 do eval test x\${$as_var+set} = xset \
25830 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25843 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25846 # as_fn_error STATUS ERROR [LINENO LOG_FD]
25847 # ----------------------------------------
25848 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25849 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25850 # script with STATUS, using 1 if that was 0.
25853 as_status=$1; test $as_status -eq 0 && as_status=1
25855 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25856 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
25858 $as_echo "$as_me: error: $2" >&2
25859 as_fn_exit $as_status
25863 # as_fn_set_status STATUS
25864 # -----------------------
25865 # Set $? to STATUS, without forking.
25866 as_fn_set_status ()
25869 } # as_fn_set_status
25871 # as_fn_exit STATUS
25872 # -----------------
25873 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25877 as_fn_set_status $1
25883 # Portably unset VAR.
25886 { eval $1=; unset $1;}
25888 as_unset=as_fn_unset
25889 # as_fn_append VAR VALUE
25890 # ----------------------
25891 # Append the text in VALUE to the end of the definition contained in VAR. Take
25892 # advantage of any shell optimizations that allow amortized linear growth over
25893 # repeated appends, instead of the typical quadratic growth present in naive
25895 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25896 eval 'as_fn_append ()
25907 # as_fn_arith ARG...
25908 # ------------------
25909 # Perform arithmetic evaluation on the ARGs, and store the result in the
25910 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25911 # must be portable across $(()) and expr.
25912 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25913 eval 'as_fn_arith ()
25920 as_val=`expr "$@" || test $? -eq 1`
25925 if expr a : '\(a\)' >/dev/null 2>&1 &&
25926 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25932 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25933 as_basename=basename
25938 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25944 as_me=`$as_basename -- "$0" ||
25945 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25946 X"$0" : 'X\(//\)$' \| \
25947 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25949 sed '/^.*\/\([^/][^/]*\)\/*$/{
25963 # Avoid depending upon Character Ranges.
25964 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25965 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25966 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25967 as_cr_digits='0123456789'
25968 as_cr_alnum=$as_cr_Letters$as_cr_digits
25970 ECHO_C= ECHO_N= ECHO_T=
25971 case `echo -n x` in #(((((
25973 case `echo 'xy\c'` in
25974 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
25976 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
25983 rm -f conf$$ conf$$.exe conf$$.file
25984 if test -d conf$$.dir; then
25985 rm -f conf$$.dir/conf$$.file
25988 mkdir conf$$.dir 2>/dev/null
25990 if (echo >conf$$.file) 2>/dev/null; then
25991 if ln -s conf$$.file conf$$ 2>/dev/null; then
25993 # ... but there are two gotchas:
25994 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25995 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25996 # In both cases, we have to default to `cp -p'.
25997 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25999 elif ln conf$$.file conf$$ 2>/dev/null; then
26007 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26008 rmdir conf$$.dir 2>/dev/null
26013 # Create "$as_dir" as a directory, including parents if necessary.
26018 -*) as_dir=./$as_dir;;
26020 test -d "$as_dir" || eval $as_mkdir_p || {
26024 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26025 *) as_qdir=$as_dir;;
26027 as_dirs="'$as_qdir' $as_dirs"
26028 as_dir=`$as_dirname -- "$as_dir" ||
26029 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26030 X"$as_dir" : 'X\(//\)[^/]' \| \
26031 X"$as_dir" : 'X\(//\)$' \| \
26032 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26033 $as_echo X"$as_dir" |
26034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26038 /^X\(\/\/\)[^/].*/{
26051 test -d "$as_dir" && break
26053 test -z "$as_dirs" || eval "mkdir $as_dirs"
26054 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
26058 if mkdir -p . 2>/dev/null; then
26059 as_mkdir_p='mkdir -p "$as_dir"'
26061 test -d ./-p && rmdir ./-p
26065 if test -x / >/dev/null 2>&1; then
26066 as_test_x='test -x'
26068 if ls -dL / >/dev/null 2>&1; then
26075 if test -d "$1"; then
26081 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26082 ???[sx]*):;;*)false;;esac;fi
26086 as_executable_p=$as_test_x
26088 # Sed expression to map a string onto a valid CPP name.
26089 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26091 # Sed expression to map a string onto a valid variable name.
26092 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26096 ## ----------------------------------- ##
26097 ## Main body of $CONFIG_STATUS script. ##
26098 ## ----------------------------------- ##
26100 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26103 # Save the log message, to keep $0 and so on meaningful, and to
26104 # report actual input values of CONFIG_FILES etc. instead of their
26105 # values after options handling.
26107 This file was extended by navit $as_me 0.5.0, which was
26108 generated by GNU Autoconf 2.68. Invocation command line was
26110 CONFIG_FILES = $CONFIG_FILES
26111 CONFIG_HEADERS = $CONFIG_HEADERS
26112 CONFIG_LINKS = $CONFIG_LINKS
26113 CONFIG_COMMANDS = $CONFIG_COMMANDS
26116 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26121 case $ac_config_files in *"
26122 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26125 case $ac_config_headers in *"
26126 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26131 # Files that config.status was made for.
26132 config_files="$ac_config_files"
26133 config_headers="$ac_config_headers"
26134 config_commands="$ac_config_commands"
26138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26140 \`$as_me' instantiates files and other configuration actions
26141 from templates according to the current configuration. Unless the files
26142 and actions are specified as TAGs, all are instantiated by default.
26144 Usage: $0 [OPTION]... [TAG]...
26146 -h, --help print this help, then exit
26147 -V, --version print version number and configuration settings, then exit
26148 --config print configuration, then exit
26149 -q, --quiet, --silent
26150 do not print progress messages
26151 -d, --debug don't remove temporary files
26152 --recheck update $as_me by reconfiguring in the same conditions
26153 --file=FILE[:TEMPLATE]
26154 instantiate the configuration file FILE
26155 --header=FILE[:TEMPLATE]
26156 instantiate the configuration header FILE
26158 Configuration files:
26161 Configuration headers:
26164 Configuration commands:
26167 Report bugs to the package provider."
26170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26171 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
26173 navit config.status 0.5.0
26174 configured by $0, generated by GNU Autoconf 2.68,
26175 with options \\"\$ac_cs_config\\"
26177 Copyright (C) 2010 Free Software Foundation, Inc.
26178 This config.status script is free software; the Free Software Foundation
26179 gives unlimited permission to copy, distribute and modify it."
26186 test -n "\$AWK" || AWK=awk
26189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26190 # The default lists apply if the user does not specify any file.
26196 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26197 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26201 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26213 # Handling of the options.
26214 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26216 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26217 $as_echo "$ac_cs_version"; exit ;;
26218 --config | --confi | --conf | --con | --co | --c )
26219 $as_echo "$ac_cs_config"; exit ;;
26220 --debug | --debu | --deb | --de | --d | -d )
26222 --file | --fil | --fi | --f )
26225 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26226 '') as_fn_error $? "missing file argument" ;;
26228 as_fn_append CONFIG_FILES " '$ac_optarg'"
26229 ac_need_defaults=false;;
26230 --header | --heade | --head | --hea )
26233 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26235 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26236 ac_need_defaults=false;;
26238 # Conflict between --help and --header
26239 as_fn_error $? "ambiguous option: \`$1'
26240 Try \`$0 --help' for more information.";;
26241 --help | --hel | -h )
26242 $as_echo "$ac_cs_usage"; exit ;;
26243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26244 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26247 # This is an error.
26248 -*) as_fn_error $? "unrecognized option: \`$1'
26249 Try \`$0 --help' for more information." ;;
26251 *) as_fn_append ac_config_targets " $1"
26252 ac_need_defaults=false ;;
26258 ac_configure_extra_args=
26260 if $ac_cs_silent; then
26262 ac_configure_extra_args="$ac_configure_extra_args --silent"
26266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26267 if \$ac_cs_recheck; then
26268 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26270 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26271 CONFIG_SHELL='$SHELL'
26272 export CONFIG_SHELL
26277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26281 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26282 ## Running $as_me. ##
26288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26292 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26295 # The HP-UX ksh and POSIX shell print the target directory to stdout
26296 # if CDPATH is set.
26297 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26299 sed_quote_subst='$sed_quote_subst'
26300 double_quote_subst='$double_quote_subst'
26301 delay_variable_subst='$delay_variable_subst'
26302 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
26303 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
26304 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
26305 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
26306 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
26307 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
26308 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
26309 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
26310 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
26311 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
26312 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
26313 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
26314 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
26315 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
26316 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
26317 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
26318 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
26319 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
26320 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
26321 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
26322 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
26323 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
26324 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
26325 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
26326 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
26327 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
26328 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
26329 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26330 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
26331 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
26332 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
26333 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
26334 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
26335 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
26336 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
26337 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26338 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26339 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26340 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
26341 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
26342 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
26343 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
26344 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
26345 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
26346 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
26347 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
26348 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
26349 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
26350 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
26351 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
26352 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
26353 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
26354 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
26355 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
26356 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
26357 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
26358 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
26359 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
26360 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
26361 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
26362 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
26363 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
26364 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26365 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26366 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
26367 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
26368 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
26369 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
26370 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
26371 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26372 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26373 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26374 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26375 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26376 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26377 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
26378 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
26379 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
26380 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
26381 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
26382 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
26383 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
26384 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
26385 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
26386 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
26387 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
26388 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
26389 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
26390 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
26391 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
26392 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26393 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
26394 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
26395 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26396 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
26397 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
26398 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
26399 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
26400 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
26401 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
26402 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
26403 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
26404 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
26405 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
26406 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
26407 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26408 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26409 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26410 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
26411 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
26412 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
26413 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
26414 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
26415 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
26416 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
26417 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
26418 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
26419 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
26420 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
26421 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
26422 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
26423 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
26424 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
26425 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
26426 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26427 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26428 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26429 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26430 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26431 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26432 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26433 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26434 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26435 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26436 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26437 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26438 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26439 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26440 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26441 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26442 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26443 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26444 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26445 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26446 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26447 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26448 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26449 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26450 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26451 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26452 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26453 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26454 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26455 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26456 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26457 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26458 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26459 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26460 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26461 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26462 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26463 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26464 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26465 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26466 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26467 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26468 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26469 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26470 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26471 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26472 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26475 LTCFLAGS='$LTCFLAGS'
26476 compiler='$compiler_DEFAULT'
26478 # Quote evaled strings.
26490 deplibs_check_method \
26499 lt_cv_sys_global_symbol_pipe \
26500 lt_cv_sys_global_symbol_to_cdecl \
26501 lt_cv_sys_global_symbol_to_c_name_address \
26502 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26505 lt_prog_compiler_no_builtin_flag \
26506 lt_prog_compiler_wl \
26507 lt_prog_compiler_pic \
26508 lt_prog_compiler_static \
26509 lt_cv_prog_compiler_c_o \
26517 export_dynamic_flag_spec \
26518 whole_archive_flag_spec \
26519 compiler_needs_object \
26521 allow_undefined_flag \
26522 no_undefined_flag \
26523 hardcode_libdir_flag_spec \
26524 hardcode_libdir_flag_spec_ld \
26525 hardcode_libdir_separator \
26530 variables_saved_for_relink \
26532 library_names_spec \
26537 compiler_lib_search_dirs \
26542 compiler_lib_search_path \
26545 lt_prog_compiler_no_builtin_flag_CXX \
26546 lt_prog_compiler_wl_CXX \
26547 lt_prog_compiler_pic_CXX \
26548 lt_prog_compiler_static_CXX \
26549 lt_cv_prog_compiler_c_o_CXX \
26550 export_dynamic_flag_spec_CXX \
26551 whole_archive_flag_spec_CXX \
26552 compiler_needs_object_CXX \
26554 allow_undefined_flag_CXX \
26555 no_undefined_flag_CXX \
26556 hardcode_libdir_flag_spec_CXX \
26557 hardcode_libdir_flag_spec_ld_CXX \
26558 hardcode_libdir_separator_CXX \
26559 fix_srcfile_path_CXX \
26560 exclude_expsyms_CXX \
26561 include_expsyms_CXX \
26562 file_list_spec_CXX \
26563 compiler_lib_search_dirs_CXX \
26564 predep_objects_CXX \
26565 postdep_objects_CXX \
26568 compiler_lib_search_path_CXX; do
26569 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
26570 *[\\\\\\\`\\"\\\$]*)
26571 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26574 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26579 # Double-quote double-evaled strings.
26580 for var in reload_cmds \
26581 old_postinstall_cmds \
26582 old_postuninstall_cmds \
26584 extract_expsyms_cmds \
26585 old_archive_from_new_cmds \
26586 old_archive_from_expsyms_cmds \
26588 archive_expsym_cmds \
26590 module_expsym_cmds \
26591 export_symbols_cmds \
26594 postuninstall_cmds \
26596 sys_lib_search_path_spec \
26597 sys_lib_dlsearch_path_spec \
26598 old_archive_cmds_CXX \
26599 old_archive_from_new_cmds_CXX \
26600 old_archive_from_expsyms_cmds_CXX \
26602 archive_expsym_cmds_CXX \
26604 module_expsym_cmds_CXX \
26605 export_symbols_cmds_CXX \
26606 prelink_cmds_CXX; do
26607 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
26608 *[\\\\\\\`\\"\\\$]*)
26609 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26612 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26617 # Fix-up fallback echo if it was mangled by the above quoting rules.
26619 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
26623 ac_aux_dir='$ac_aux_dir'
26624 xsi_shell='$xsi_shell'
26625 lt_shell_append='$lt_shell_append'
26627 # See if we are running on zsh, and set the options which allow our
26628 # commands through without removal of \ escapes INIT.
26629 if test -n "\${ZSH_VERSION+set}" ; then
26630 setopt NO_GLOB_SUBST
26636 TIMESTAMP='$TIMESTAMP'
26644 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
26645 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
26647 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
26648 # Capture the value of LINGUAS because we need it to compute CATALOGS.
26649 LINGUAS="${LINGUAS-%UNSET%}"
26654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26656 # Handling of arguments.
26657 for ac_config_target in $ac_config_targets
26659 case $ac_config_target in
26660 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26661 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26662 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26663 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26664 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26665 "navit/Makefile") CONFIG_FILES="$CONFIG_FILES navit/Makefile" ;;
26666 "navit/autoload/Makefile") CONFIG_FILES="$CONFIG_FILES navit/autoload/Makefile" ;;
26667 "navit/autoload/osso/Makefile") CONFIG_FILES="$CONFIG_FILES navit/autoload/osso/Makefile" ;;
26668 "navit/binding/Makefile") CONFIG_FILES="$CONFIG_FILES navit/binding/Makefile" ;;
26669 "navit/binding/python/Makefile") CONFIG_FILES="$CONFIG_FILES navit/binding/python/Makefile" ;;
26670 "navit/binding/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES navit/binding/dbus/Makefile" ;;
26671 "navit/binding/win32/Makefile") CONFIG_FILES="$CONFIG_FILES navit/binding/win32/Makefile" ;;
26672 "navit/map/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/Makefile" ;;
26673 "navit/map/mg/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/mg/Makefile" ;;
26674 "navit/map/textfile/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/textfile/Makefile" ;;
26675 "navit/map/csv/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/csv/Makefile" ;;
26676 "navit/map/shapefile/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/shapefile/Makefile" ;;
26677 "navit/map/filter/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/filter/Makefile" ;;
26678 "navit/map/binfile/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/binfile/Makefile" ;;
26679 "navit/map/garmin/Makefile") CONFIG_FILES="$CONFIG_FILES navit/map/garmin/Makefile" ;;
26680 "navit/maptool/Makefile") CONFIG_FILES="$CONFIG_FILES navit/maptool/Makefile" ;;
26681 "navit/fib-1.1/Makefile") CONFIG_FILES="$CONFIG_FILES navit/fib-1.1/Makefile" ;;
26682 "navit/font/Makefile") CONFIG_FILES="$CONFIG_FILES navit/font/Makefile" ;;
26683 "navit/font/freetype/Makefile") CONFIG_FILES="$CONFIG_FILES navit/font/freetype/Makefile" ;;
26684 "navit/fonts/Makefile") CONFIG_FILES="$CONFIG_FILES navit/fonts/Makefile" ;;
26685 "navit/graphics/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/Makefile" ;;
26686 "navit/graphics/android/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/android/Makefile" ;;
26687 "navit/graphics/gd/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/gd/Makefile" ;;
26688 "navit/graphics/gtk_drawing_area/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/gtk_drawing_area/Makefile" ;;
26689 "navit/graphics/opengl/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/opengl/Makefile" ;;
26690 "navit/graphics/null/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/null/Makefile" ;;
26691 "navit/graphics/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/sdl/Makefile" ;;
26692 "navit/graphics/qt_qpainter/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/qt_qpainter/Makefile" ;;
26693 "navit/graphics/win32/Makefile") CONFIG_FILES="$CONFIG_FILES navit/graphics/win32/Makefile" ;;
26694 "navit/gui/Makefile") CONFIG_FILES="$CONFIG_FILES navit/gui/Makefile" ;;
26695 "navit/gui/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES navit/gui/gtk/Makefile" ;;
26696 "navit/gui/internal/Makefile") CONFIG_FILES="$CONFIG_FILES navit/gui/internal/Makefile" ;;
26697 "navit/gui/win32/Makefile") CONFIG_FILES="$CONFIG_FILES navit/gui/win32/Makefile" ;;
26698 "navit/gui/qml/Makefile") CONFIG_FILES="$CONFIG_FILES navit/gui/qml/Makefile" ;;
26699 "navit/gui/qml/skins/Makefile") CONFIG_FILES="$CONFIG_FILES navit/gui/qml/skins/Makefile" ;;
26700 "navit/gui/qml/skins/navit/Makefile") CONFIG_FILES="$CONFIG_FILES navit/gui/qml/skins/navit/Makefile" ;;
26701 "navit/osd/Makefile") CONFIG_FILES="$CONFIG_FILES navit/osd/Makefile" ;;
26702 "navit/osd/core/Makefile") CONFIG_FILES="$CONFIG_FILES navit/osd/core/Makefile" ;;
26703 "navit/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES navit/plugin/Makefile" ;;
26704 "navit/plugin/pedestrian/Makefile") CONFIG_FILES="$CONFIG_FILES navit/plugin/pedestrian/Makefile" ;;
26705 "navit/speech/Makefile") CONFIG_FILES="$CONFIG_FILES navit/speech/Makefile" ;;
26706 "navit/speech/android/Makefile") CONFIG_FILES="$CONFIG_FILES navit/speech/android/Makefile" ;;
26707 "navit/speech/cmdline/Makefile") CONFIG_FILES="$CONFIG_FILES navit/speech/cmdline/Makefile" ;;
26708 "navit/speech/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES navit/speech/dbus/Makefile" ;;
26709 "navit/speech/espeak/Makefile") CONFIG_FILES="$CONFIG_FILES navit/speech/espeak/Makefile" ;;
26710 "navit/speech/speech_dispatcher/Makefile") CONFIG_FILES="$CONFIG_FILES navit/speech/speech_dispatcher/Makefile" ;;
26711 "navit/support/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/Makefile" ;;
26712 "navit/support/espeak/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/espeak/Makefile" ;;
26713 "navit/support/ezxml/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/ezxml/Makefile" ;;
26714 "navit/support/glib/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/glib/Makefile" ;;
26715 "navit/support/libc/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/libc/Makefile" ;;
26716 "navit/support/libpng/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/libpng/Makefile" ;;
26717 "navit/support/shapefile/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/shapefile/Makefile" ;;
26718 "navit/support/win32/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/win32/Makefile" ;;
26719 "navit/support/wordexp/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/wordexp/Makefile" ;;
26720 "navit/support/zlib/Makefile") CONFIG_FILES="$CONFIG_FILES navit/support/zlib/Makefile" ;;
26721 "navit/vehicle/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/Makefile" ;;
26722 "navit/vehicle/android/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/android/Makefile" ;;
26723 "navit/vehicle/file/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/file/Makefile" ;;
26724 "navit/vehicle/gpsd/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/gpsd/Makefile" ;;
26725 "navit/vehicle/gpsd_dbus/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/gpsd_dbus/Makefile" ;;
26726 "navit/vehicle/gypsy/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/gypsy/Makefile" ;;
26727 "navit/vehicle/maemo/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/maemo/Makefile" ;;
26728 "navit/vehicle/null/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/null/Makefile" ;;
26729 "navit/vehicle/demo/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/demo/Makefile" ;;
26730 "navit/vehicle/wince/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/wince/Makefile" ;;
26731 "navit/vehicle/iphone/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/iphone/Makefile" ;;
26732 "navit/vehicle/webos/Makefile") CONFIG_FILES="$CONFIG_FILES navit/vehicle/webos/Makefile" ;;
26733 "navit/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES navit/xpm/Makefile" ;;
26734 "navit/maps/Makefile") CONFIG_FILES="$CONFIG_FILES navit/maps/Makefile" ;;
26735 "intl/Makefile") CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
26736 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
26737 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
26739 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26744 # If the user did not use the arguments to specify the items to instantiate,
26745 # then the envvar interface is used. Set only those that are not.
26746 # We use the long form for the default assignment because of an extremely
26747 # bizarre bug on SunOS 4.1.3.
26748 if $ac_need_defaults; then
26749 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26750 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26751 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26754 # Have a temporary directory for convenience. Make it in the build tree
26755 # simply because there is no reason against having it here, and in addition,
26756 # creating and moving files from /tmp can sometimes cause problems.
26757 # Hook for its removal unless debugging.
26758 # Note that there is a small window in which the directory will not be cleaned:
26759 # after its creation but before its name has been assigned to `$tmp'.
26763 trap 'exit_status=$?
26764 : "${ac_tmp:=$tmp}"
26765 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
26767 trap 'as_fn_exit 1' 1 2 13 15
26769 # Create a (secure) tmp directory for tmp files.
26772 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26776 tmp=./conf$$-$RANDOM
26777 (umask 077 && mkdir "$tmp")
26778 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
26781 # Set up the scripts for CONFIG_FILES section.
26782 # No need to generate them if there are no CONFIG_FILES.
26783 # This happens for instance with `./config.status config.h'.
26784 if test -n "$CONFIG_FILES"; then
26787 ac_cr=`echo X | tr X '\015'`
26788 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26789 # But we know of no other shell where ac_cr would be empty at this
26790 # point, so we can use a bashism as a fallback.
26791 if test "x$ac_cr" = x; then
26792 eval ac_cr=\$\'\\r\'
26794 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26795 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26798 ac_cs_awk_cr=$ac_cr
26801 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
26806 echo "cat >conf$$subs.awk <<_ACEOF" &&
26807 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26809 } >conf$$subs.sh ||
26810 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26811 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
26813 for ac_last_try in false false false false false :; do
26814 . ./conf$$subs.sh ||
26815 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26817 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26818 if test $ac_delim_n = $ac_delim_num; then
26820 elif $ac_last_try; then
26821 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26823 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26826 rm -f conf$$subs.sh
26828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26829 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
26833 s/^/S["/; s/!.*/"]=/
26843 s/\(.\{148\}\)..*/\1/
26845 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26850 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26857 s/\(.\{148\}\)..*/\1/
26859 s/["\\]/\\&/g; s/^/"/; s/$/"/
26863 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26868 ' <conf$$subs.awk | sed '
26873 ' >>$CONFIG_STATUS || ac_write_fail=1
26874 rm -f conf$$subs.awk
26875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26877 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
26878 for (key in S) S_is_set[key] = 1
26884 nfields = split(line, field, "@")
26886 len = length(field[1])
26887 for (i = 2; i < nfields; i++) {
26889 keylen = length(key)
26890 if (S_is_set[key]) {
26892 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26893 len += length(value) + length(field[++i])
26904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26905 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26906 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26909 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
26910 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
26913 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
26914 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
26915 # trailing colons and then remove the whole line if VPATH becomes empty
26916 # (actually we leave an empty line to preserve line numbers).
26917 if test "x$srcdir" = x.; then
26918 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
26936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26937 fi # test -n "$CONFIG_FILES"
26939 # Set up the scripts for CONFIG_HEADERS section.
26940 # No need to generate them if there are no CONFIG_HEADERS.
26941 # This happens for instance with `./config.status Makefile'.
26942 if test -n "$CONFIG_HEADERS"; then
26943 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
26947 # Transform confdefs.h into an awk script `defines.awk', embedded as
26948 # here-document in config.status, that substitutes the proper values into
26949 # config.h.in to produce config.h.
26951 # Create a delimiter string that does not exist in confdefs.h, to ease
26952 # handling of long lines.
26954 for ac_last_try in false false :; do
26955 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
26956 if test -z "$ac_tt"; then
26958 elif $ac_last_try; then
26959 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
26961 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26965 # For the awk script, D is an array of macro values keyed by name,
26966 # likewise P contains macro parameters if any. Preserve backslash
26967 # newline sequences.
26969 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26971 s/.\{148\}/&'"$ac_delim"'/g
26974 s/^[ ]*#[ ]*define[ ][ ]*/ /
26981 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26983 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26987 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26988 D["\1"]=" \3\\\\\\n"\\/p
26990 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26995 s/.\{148\}/&'"$ac_delim"'/g
27000 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27003 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27005 ' <confdefs.h | sed '
27006 s/'"$ac_delim"'/"\\\
27007 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27010 for (key in D) D_is_set[key] = 1
27013 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27015 split(line, arg, " ")
27016 if (arg[1] == "#") {
27020 defundef = substr(arg[1], 2)
27023 split(mac1, mac2, "(") #)
27025 prefix = substr(line, 1, index(line, defundef) - 1)
27026 if (D_is_set[macro]) {
27027 # Preserve the white space surrounding the "#".
27028 print prefix "define", macro P[macro] D[macro]
27031 # Replace #undef with comments. This is necessary, for example,
27032 # in the case of _POSIX_SOURCE, which is predefined and required
27033 # on some systems where configure will not decide to define it.
27034 if (defundef == "undef") {
27035 print "/*", prefix defundef, macro, "*/"
27043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27044 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
27045 fi # test -n "$CONFIG_HEADERS"
27048 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27053 :[FHLC]) ac_mode=$ac_tag; continue;;
27055 case $ac_mode$ac_tag in
27057 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
27058 :[FH]-) ac_tag=-:-;;
27059 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27076 -) ac_f="$ac_tmp/stdin";;
27077 *) # Look for the file first in the build tree, then in the source tree
27078 # (if the path is not absolute). The absolute path cannot be DOS-style,
27079 # because $ac_f cannot contain `:'.
27083 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27085 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27087 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27088 as_fn_append ac_file_inputs " '$ac_f'"
27091 # Let's still pretend it is `configure' which instantiates (i.e., don't
27092 # use $as_me), people would be surprised to read:
27093 # /* config.h. Generated by config.status. */
27094 configure_input='Generated from '`
27095 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27097 if test x"$ac_file" != x-; then
27098 configure_input="$ac_file. $configure_input"
27099 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27100 $as_echo "$as_me: creating $ac_file" >&6;}
27102 # Neutralize special characters interpreted by sed in replacement strings.
27103 case $configure_input in #(
27104 *\&* | *\|* | *\\* )
27105 ac_sed_conf_input=`$as_echo "$configure_input" |
27106 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27107 *) ac_sed_conf_input=$configure_input;;
27111 *:-:* | *:-) cat >"$ac_tmp/stdin" \
27112 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
27117 ac_dir=`$as_dirname -- "$ac_file" ||
27118 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27119 X"$ac_file" : 'X\(//\)[^/]' \| \
27120 X"$ac_file" : 'X\(//\)$' \| \
27121 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27122 $as_echo X"$ac_file" |
27123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27127 /^X\(\/\/\)[^/].*/{
27140 as_dir="$ac_dir"; as_fn_mkdir_p
27144 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27146 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27147 # A ".." for each directory in $ac_dir_suffix.
27148 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27149 case $ac_top_builddir_sub in
27150 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27151 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27154 ac_abs_top_builddir=$ac_pwd
27155 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27156 # for backward compatibility:
27157 ac_top_builddir=$ac_top_build_prefix
27160 .) # We are building in place.
27162 ac_top_srcdir=$ac_top_builddir_sub
27163 ac_abs_top_srcdir=$ac_pwd ;;
27164 [\\/]* | ?:[\\/]* ) # Absolute name.
27165 ac_srcdir=$srcdir$ac_dir_suffix;
27166 ac_top_srcdir=$srcdir
27167 ac_abs_top_srcdir=$srcdir ;;
27168 *) # Relative name.
27169 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27170 ac_top_srcdir=$ac_top_build_prefix$srcdir
27171 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27173 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27183 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27184 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27186 ac_MKDIR_P=$MKDIR_P
27188 [\\/$]* | ?:[\\/]* ) ;;
27189 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27194 # If the template does not know about datarootdir, expand it.
27195 # FIXME: This hack should be removed a few years after 2.60.
27196 ac_datarootdir_hack=; ac_datarootdir_seen=
27207 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27208 *datarootdir*) ac_datarootdir_seen=yes;;
27209 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27211 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27214 ac_datarootdir_hack='
27215 s&@datadir@&$datadir&g
27216 s&@docdir@&$docdir&g
27217 s&@infodir@&$infodir&g
27218 s&@localedir@&$localedir&g
27219 s&@mandir@&$mandir&g
27220 s&\\\${datarootdir}&$datarootdir&g' ;;
27224 # Neutralize VPATH when `$srcdir' = `.'.
27225 # Shell code in configure.ac might set extrasub.
27226 # FIXME: do we really want to maintain this feature?
27227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27228 ac_sed_extra="$ac_vpsub
27231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27233 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27234 s|@configure_input@|$ac_sed_conf_input|;t t
27235 s&@top_builddir@&$ac_top_builddir_sub&;t t
27236 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27237 s&@srcdir@&$ac_srcdir&;t t
27238 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27239 s&@top_srcdir@&$ac_top_srcdir&;t t
27240 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27241 s&@builddir@&$ac_builddir&;t t
27242 s&@abs_builddir@&$ac_abs_builddir&;t t
27243 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27244 s&@INSTALL@&$ac_INSTALL&;t t
27245 s&@MKDIR_P@&$ac_MKDIR_P&;t t
27246 $ac_datarootdir_hack
27248 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
27249 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27251 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27252 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
27253 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
27254 "$ac_tmp/out"`; test -z "$ac_out"; } &&
27255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27256 which seems to be undefined. Please make sure it is defined" >&5
27257 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27258 which seems to be undefined. Please make sure it is defined" >&2;}
27260 rm -f "$ac_tmp/stdin"
27262 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
27263 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
27265 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27271 if test x"$ac_file" != x-; then
27273 $as_echo "/* $configure_input */" \
27274 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
27275 } >"$ac_tmp/config.h" \
27276 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27277 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
27278 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27279 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27282 mv "$ac_tmp/config.h" "$ac_file" \
27283 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27286 $as_echo "/* $configure_input */" \
27287 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
27288 || as_fn_error $? "could not create -" "$LINENO" 5
27290 # Compute "$ac_file"'s index in $config_headers.
27293 for _am_header in $config_headers :; do
27294 case $_am_header in
27295 $_am_arg | $_am_arg:* )
27298 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27301 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27302 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27303 X"$_am_arg" : 'X\(//\)[^/]' \| \
27304 X"$_am_arg" : 'X\(//\)$' \| \
27305 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27306 $as_echo X"$_am_arg" |
27307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27311 /^X\(\/\/\)[^/].*/{
27323 s/.*/./; q'`/stamp-h$_am_stamp_count
27326 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27327 $as_echo "$as_me: executing $ac_file commands" >&6;}
27332 case $ac_file$ac_mode in
27333 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27334 # Autoconf 2.62 quotes --file arguments for eval, but not when files
27335 # are listed without --file. Let's play safe and only enable the eval
27336 # if we detect the quoting.
27337 case $CONFIG_FILES in
27338 *\'*) eval set x "$CONFIG_FILES" ;;
27339 *) set x $CONFIG_FILES ;;
27344 # Strip MF so we end up with the name of the file.
27345 mf=`echo "$mf" | sed -e 's/:.*$//'`
27346 # Check whether this is an Automake generated Makefile or not.
27347 # We used to match only the files named `Makefile.in', but
27348 # some people rename them; so instead we look at the file content.
27349 # Grep'ing the first line is not enough: some people post-process
27350 # each Makefile.in and add a new line on top of each file to say so.
27351 # Grep'ing the whole file is not good either: AIX grep has a line
27352 # limit of 2048, but all sed's we know have understand at least 4000.
27353 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27354 dirpart=`$as_dirname -- "$mf" ||
27355 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27356 X"$mf" : 'X\(//\)[^/]' \| \
27357 X"$mf" : 'X\(//\)$' \| \
27358 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27364 /^X\(\/\/\)[^/].*/{
27380 # Extract the definition of DEPDIR, am__include, and am__quote
27381 # from the Makefile without running `make'.
27382 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27383 test -z "$DEPDIR" && continue
27384 am__include=`sed -n 's/^am__include = //p' < "$mf"`
27385 test -z "am__include" && continue
27386 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27387 # When using ansi2knr, U may be empty or an underscore; expand it
27388 U=`sed -n 's/^U = //p' < "$mf"`
27389 # Find all dependency output files, they are included files with
27390 # $(DEPDIR) in their names. We invoke sed twice because it is the
27391 # simplest approach to changing $(DEPDIR) to its actual value in the
27393 for file in `sed -n "
27394 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27395 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27396 # Make sure the directory exists.
27397 test -f "$dirpart/$file" && continue
27398 fdir=`$as_dirname -- "$file" ||
27399 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27400 X"$file" : 'X\(//\)[^/]' \| \
27401 X"$file" : 'X\(//\)$' \| \
27402 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27403 $as_echo X"$file" |
27404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27408 /^X\(\/\/\)[^/].*/{
27421 as_dir=$dirpart/$fdir; as_fn_mkdir_p
27422 # echo "creating $dirpart/$file"
27423 echo '# dummy' > "$dirpart/$file"
27430 # See if we are running on zsh, and set the options which allow our
27431 # commands through without removal of \ escapes.
27432 if test -n "${ZSH_VERSION+set}" ; then
27433 setopt NO_GLOB_SUBST
27436 cfgfile="${ofile}T"
27437 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27440 cat <<_LT_EOF >> "$cfgfile"
27443 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27444 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27445 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27447 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27448 # 2006, 2007, 2008 Free Software Foundation, Inc.
27449 # Written by Gordon Matzigkeit, 1996
27451 # This file is part of GNU Libtool.
27453 # GNU Libtool is free software; you can redistribute it and/or
27454 # modify it under the terms of the GNU General Public License as
27455 # published by the Free Software Foundation; either version 2 of
27456 # the License, or (at your option) any later version.
27458 # As a special exception to the GNU General Public License,
27459 # if you distribute this file as part of a program or library that
27460 # is built using GNU Libtool, you may include this file under the
27461 # same distribution terms that you use for the rest of that program.
27463 # GNU Libtool is distributed in the hope that it will be useful,
27464 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27465 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27466 # GNU General Public License for more details.
27468 # You should have received a copy of the GNU General Public License
27469 # along with GNU Libtool; see the file COPYING. If not, a copy
27470 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27471 # obtained by writing to the Free Software Foundation, Inc.,
27472 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27475 # The names of the tagged configurations supported by this script.
27476 available_tags="CXX "
27478 # ### BEGIN LIBTOOL CONFIG
27480 # Whether or not to build shared libraries.
27481 build_libtool_libs=$enable_shared
27483 # Whether or not to build static libraries.
27484 build_old_libs=$enable_static
27486 # Which release of libtool.m4 was used?
27487 macro_version=$macro_version
27488 macro_revision=$macro_revision
27490 # What type of objects to build.
27493 # Whether or not to optimize for fast installation.
27494 fast_install=$enable_fast_install
27497 host_alias=$host_alias
27501 # The build system.
27502 build_alias=$build_alias
27506 # A sed program that does not truncate output.
27509 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27510 Xsed="\$SED -e 1s/^X//"
27512 # A grep program that handles long lines.
27518 # A literal string matcher.
27521 # A BSD- or MS-compatible name lister.
27524 # Whether we need soft or hard links.
27527 # What is the maximum length of a command?
27528 max_cmd_len=$max_cmd_len
27530 # Object file suffix (normally "o").
27533 # Executable file suffix (normally "").
27536 # whether the shell understands "unset".
27539 # turn spaces into newlines.
27542 # turn newlines into spaces.
27545 # How to create reloadable object files.
27546 reload_flag=$lt_reload_flag
27547 reload_cmds=$lt_reload_cmds
27549 # An object symbol dumper.
27550 OBJDUMP=$lt_OBJDUMP
27552 # Method to check whether dependent libraries are shared objects.
27553 deplibs_check_method=$lt_deplibs_check_method
27555 # Command to use when deplibs_check_method == "file_magic".
27556 file_magic_cmd=$lt_file_magic_cmd
27560 AR_FLAGS=$lt_AR_FLAGS
27562 # A symbol stripping program.
27565 # Commands used to install an old-style archive.
27567 old_postinstall_cmds=$lt_old_postinstall_cmds
27568 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27573 # LTCC compiler flags.
27574 LTCFLAGS=$lt_CFLAGS
27576 # Take the output of nm and produce a listing of raw symbols and C names.
27577 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27579 # Transform the output of nm in a proper C declaration.
27580 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27582 # Transform the output of nm in a C name address pair.
27583 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27585 # Transform the output of nm in a C name address pair when lib prefix is needed.
27586 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27588 # The name of the directory that contains temporary libtool files.
27591 # Shell to use when invoking shell scripts.
27594 # An echo program that does not interpret backslashes.
27597 # Used to examine libraries when file_magic_cmd begins with "file".
27598 MAGIC_CMD=$MAGIC_CMD
27600 # Must we lock files when doing compilation?
27601 need_locks=$lt_need_locks
27603 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27604 DSYMUTIL=$lt_DSYMUTIL
27606 # Tool to change global to local symbols on Mac OS X.
27609 # Tool to manipulate fat objects and archives on Mac OS X.
27612 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27615 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27616 OTOOL64=$lt_OTOOL64
27618 # Old archive suffix (normally "a").
27621 # Shared library suffix (normally ".so").
27622 shrext_cmds=$lt_shrext_cmds
27624 # The commands to extract the exported symbol list from a shared archive.
27625 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27627 # Variables whose values should be saved in libtool wrapper scripts and
27628 # restored at link time.
27629 variables_saved_for_relink=$lt_variables_saved_for_relink
27631 # Do we need the "lib" prefix for modules?
27632 need_lib_prefix=$need_lib_prefix
27634 # Do we need a version for libraries?
27635 need_version=$need_version
27637 # Library versioning type.
27638 version_type=$version_type
27640 # Shared library runtime path variable.
27641 runpath_var=$runpath_var
27643 # Shared library path variable.
27644 shlibpath_var=$shlibpath_var
27646 # Is shlibpath searched before the hard-coded library search path?
27647 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27649 # Format of library name prefix.
27650 libname_spec=$lt_libname_spec
27652 # List of archive names. First name is the real one, the rest are links.
27653 # The last name is the one that the linker finds with -lNAME
27654 library_names_spec=$lt_library_names_spec
27656 # The coded name of the library, if different from the real name.
27657 soname_spec=$lt_soname_spec
27659 # Command to use after installation of a shared archive.
27660 postinstall_cmds=$lt_postinstall_cmds
27662 # Command to use after uninstallation of a shared archive.
27663 postuninstall_cmds=$lt_postuninstall_cmds
27665 # Commands used to finish a libtool library installation in a directory.
27666 finish_cmds=$lt_finish_cmds
27668 # As "finish_cmds", except a single script fragment to be evaled but
27670 finish_eval=$lt_finish_eval
27672 # Whether we should hardcode library paths into libraries.
27673 hardcode_into_libs=$hardcode_into_libs
27675 # Compile-time system search path for libraries.
27676 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27678 # Run-time system search path for libraries.
27679 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27681 # Whether dlopen is supported.
27682 dlopen_support=$enable_dlopen
27684 # Whether dlopen of programs is supported.
27685 dlopen_self=$enable_dlopen_self
27687 # Whether dlopen of statically linked programs is supported.
27688 dlopen_self_static=$enable_dlopen_self_static
27690 # Commands to strip libraries.
27691 old_striplib=$lt_old_striplib
27692 striplib=$lt_striplib
27695 # The linker used to build libraries.
27698 # Commands used to build an old-style archive.
27699 old_archive_cmds=$lt_old_archive_cmds
27701 # A language specific compiler.
27704 # Is the compiler the GNU compiler?
27707 # Compiler flag to turn off builtin functions.
27708 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27710 # How to pass a linker flag through the compiler.
27711 wl=$lt_lt_prog_compiler_wl
27713 # Additional compiler flags for building library objects.
27714 pic_flag=$lt_lt_prog_compiler_pic
27716 # Compiler flag to prevent dynamic linking.
27717 link_static_flag=$lt_lt_prog_compiler_static
27719 # Does compiler simultaneously support -c and -o options?
27720 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27722 # Whether or not to add -lc for building shared libraries.
27723 build_libtool_need_lc=$archive_cmds_need_lc
27725 # Whether or not to disallow shared libs when runtime libs are static.
27726 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27728 # Compiler flag to allow reflexive dlopens.
27729 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27731 # Compiler flag to generate shared objects directly from archives.
27732 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27734 # Whether the compiler copes with passing no objects directly.
27735 compiler_needs_object=$lt_compiler_needs_object
27737 # Create an old-style archive from a shared archive.
27738 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27740 # Create a temporary old-style archive to link instead of a shared archive.
27741 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27743 # Commands used to build a shared archive.
27744 archive_cmds=$lt_archive_cmds
27745 archive_expsym_cmds=$lt_archive_expsym_cmds
27747 # Commands used to build a loadable module if different from building
27748 # a shared archive.
27749 module_cmds=$lt_module_cmds
27750 module_expsym_cmds=$lt_module_expsym_cmds
27752 # Whether we are building with GNU ld or not.
27753 with_gnu_ld=$lt_with_gnu_ld
27755 # Flag that allows shared libraries with undefined symbols to be built.
27756 allow_undefined_flag=$lt_allow_undefined_flag
27758 # Flag that enforces no undefined symbols.
27759 no_undefined_flag=$lt_no_undefined_flag
27761 # Flag to hardcode \$libdir into a binary during linking.
27762 # This must work even if \$libdir does not exist
27763 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27765 # If ld is used when linking, flag to hardcode \$libdir into a binary
27766 # during linking. This must work even if \$libdir does not exist.
27767 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27769 # Whether we need a single "-rpath" flag with a separated argument.
27770 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27772 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27773 # DIR into the resulting binary.
27774 hardcode_direct=$hardcode_direct
27776 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27777 # DIR into the resulting binary and the resulting library dependency is
27778 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27779 # library is relocated.
27780 hardcode_direct_absolute=$hardcode_direct_absolute
27782 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27783 # into the resulting binary.
27784 hardcode_minus_L=$hardcode_minus_L
27786 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27787 # into the resulting binary.
27788 hardcode_shlibpath_var=$hardcode_shlibpath_var
27790 # Set to "yes" if building a shared library automatically hardcodes DIR
27791 # into the library and all subsequent libraries and executables linked
27793 hardcode_automatic=$hardcode_automatic
27795 # Set to yes if linker adds runtime paths of dependent libraries
27796 # to runtime path list.
27797 inherit_rpath=$inherit_rpath
27799 # Whether libtool must link a program against all its dependency libraries.
27800 link_all_deplibs=$link_all_deplibs
27802 # Fix the shell variable \$srcfile for the compiler.
27803 fix_srcfile_path=$lt_fix_srcfile_path
27805 # Set to "yes" if exported symbols are required.
27806 always_export_symbols=$always_export_symbols
27808 # The commands to list exported symbols.
27809 export_symbols_cmds=$lt_export_symbols_cmds
27811 # Symbols that should not be listed in the preloaded symbols.
27812 exclude_expsyms=$lt_exclude_expsyms
27814 # Symbols that must always be exported.
27815 include_expsyms=$lt_include_expsyms
27817 # Commands necessary for linking programs (against libraries) with templates.
27818 prelink_cmds=$lt_prelink_cmds
27820 # Specify filename containing input files.
27821 file_list_spec=$lt_file_list_spec
27823 # How to hardcode a shared library path into an executable.
27824 hardcode_action=$hardcode_action
27826 # The directories searched by this compiler when creating a shared library.
27827 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27829 # Dependencies to place before and after the objects being linked to
27830 # create a shared library.
27831 predep_objects=$lt_predep_objects
27832 postdep_objects=$lt_postdep_objects
27833 predeps=$lt_predeps
27834 postdeps=$lt_postdeps
27836 # The library search path used internally by the compiler when linking
27837 # a shared library.
27838 compiler_lib_search_path=$lt_compiler_lib_search_path
27840 # ### END LIBTOOL CONFIG
27846 cat <<\_LT_EOF >> "$cfgfile"
27847 # AIX sometimes has problems with the GCC collect2 program. For some
27848 # reason, if we set the COLLECT_NAMES environment variable, the problems
27849 # vanish in a puff of smoke.
27850 if test "X${COLLECT_NAMES+set}" != Xset; then
27852 export COLLECT_NAMES
27859 ltmain="$ac_aux_dir/ltmain.sh"
27862 # We use sed instead of cat because bash on DJGPP gets confused if
27863 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27864 # text mode, it properly converts lines to CR/LF. This bash problem
27865 # is reportedly fixed, but why not run on old versions too?
27866 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27867 || (rm -f "$cfgfile"; exit 1)
27871 cat << \_LT_EOF >> "$cfgfile"
27873 # func_dirname file append nondir_replacement
27874 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27875 # otherwise set result to NONDIR_REPLACEMENT.
27879 */*) func_dirname_result="${1%/*}${2}" ;;
27880 * ) func_dirname_result="${3}" ;;
27884 # func_basename file
27887 func_basename_result="${1##*/}"
27890 # func_dirname_and_basename file append nondir_replacement
27891 # perform func_basename and func_dirname in a single function
27893 # dirname: Compute the dirname of FILE. If nonempty,
27894 # add APPEND to the result, otherwise set result
27895 # to NONDIR_REPLACEMENT.
27896 # value returned in "$func_dirname_result"
27897 # basename: Compute filename of FILE.
27898 # value retuned in "$func_basename_result"
27899 # Implementation must be kept synchronized with func_dirname
27900 # and func_basename. For efficiency, we do not delegate to
27901 # those functions but instead duplicate the functionality here.
27902 func_dirname_and_basename ()
27905 */*) func_dirname_result="${1%/*}${2}" ;;
27906 * ) func_dirname_result="${3}" ;;
27908 func_basename_result="${1##*/}"
27911 # func_stripname prefix suffix name
27912 # strip PREFIX and SUFFIX off of NAME.
27913 # PREFIX and SUFFIX must not contain globbing or regex special
27914 # characters, hashes, percent signs, but SUFFIX may contain a leading
27915 # dot (in which case that matches only a dot).
27918 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27919 # positional parameters, so assign one to ordinary parameter first.
27920 func_stripname_result=${3}
27921 func_stripname_result=${func_stripname_result#"${1}"}
27922 func_stripname_result=${func_stripname_result%"${2}"}
27928 func_opt_split_opt=${1%%=*}
27929 func_opt_split_arg=${1#*=}
27936 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27937 *) func_lo2o_result=${1} ;;
27941 # func_xform libobj-or-source
27944 func_xform_result=${1%.*}.lo
27947 # func_arith arithmetic-term...
27950 func_arith_result=$(( $* ))
27954 # STRING may not start with a hyphen.
27957 func_len_result=${#1}
27962 *) # Bourne compatible functions.
27963 cat << \_LT_EOF >> "$cfgfile"
27965 # func_dirname file append nondir_replacement
27966 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27967 # otherwise set result to NONDIR_REPLACEMENT.
27970 # Extract subdirectory from the argument.
27971 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
27972 if test "X$func_dirname_result" = "X${1}"; then
27973 func_dirname_result="${3}"
27975 func_dirname_result="$func_dirname_result${2}"
27979 # func_basename file
27982 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
27986 # func_stripname prefix suffix name
27987 # strip PREFIX and SUFFIX off of NAME.
27988 # PREFIX and SUFFIX must not contain globbing or regex special
27989 # characters, hashes, percent signs, but SUFFIX may contain a leading
27990 # dot (in which case that matches only a dot).
27991 # func_strip_suffix prefix name
27995 .*) func_stripname_result=`$ECHO "X${3}" \
27996 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
27997 *) func_stripname_result=`$ECHO "X${3}" \
27998 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
28003 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
28004 my_sed_long_arg='1s/^-[^=]*=//'
28009 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
28010 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
28016 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
28019 # func_xform libobj-or-source
28022 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
28025 # func_arith arithmetic-term...
28028 func_arith_result=`expr "$@"`
28032 # STRING may not start with a hyphen.
28035 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28041 case $lt_shell_append in
28043 cat << \_LT_EOF >> "$cfgfile"
28045 # func_append var value
28046 # Append VALUE to the end of shell variable VAR.
28054 cat << \_LT_EOF >> "$cfgfile"
28056 # func_append var value
28057 # Append VALUE to the end of shell variable VAR.
28068 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28069 || (rm -f "$cfgfile"; exit 1)
28071 mv -f "$cfgfile" "$ofile" ||
28072 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28076 cat <<_LT_EOF >> "$ofile"
28078 # ### BEGIN LIBTOOL TAG CONFIG: CXX
28080 # The linker used to build libraries.
28083 # Commands used to build an old-style archive.
28084 old_archive_cmds=$lt_old_archive_cmds_CXX
28086 # A language specific compiler.
28087 CC=$lt_compiler_CXX
28089 # Is the compiler the GNU compiler?
28092 # Compiler flag to turn off builtin functions.
28093 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
28095 # How to pass a linker flag through the compiler.
28096 wl=$lt_lt_prog_compiler_wl_CXX
28098 # Additional compiler flags for building library objects.
28099 pic_flag=$lt_lt_prog_compiler_pic_CXX
28101 # Compiler flag to prevent dynamic linking.
28102 link_static_flag=$lt_lt_prog_compiler_static_CXX
28104 # Does compiler simultaneously support -c and -o options?
28105 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
28107 # Whether or not to add -lc for building shared libraries.
28108 build_libtool_need_lc=$archive_cmds_need_lc_CXX
28110 # Whether or not to disallow shared libs when runtime libs are static.
28111 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
28113 # Compiler flag to allow reflexive dlopens.
28114 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
28116 # Compiler flag to generate shared objects directly from archives.
28117 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
28119 # Whether the compiler copes with passing no objects directly.
28120 compiler_needs_object=$lt_compiler_needs_object_CXX
28122 # Create an old-style archive from a shared archive.
28123 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
28125 # Create a temporary old-style archive to link instead of a shared archive.
28126 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
28128 # Commands used to build a shared archive.
28129 archive_cmds=$lt_archive_cmds_CXX
28130 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
28132 # Commands used to build a loadable module if different from building
28133 # a shared archive.
28134 module_cmds=$lt_module_cmds_CXX
28135 module_expsym_cmds=$lt_module_expsym_cmds_CXX
28137 # Whether we are building with GNU ld or not.
28138 with_gnu_ld=$lt_with_gnu_ld_CXX
28140 # Flag that allows shared libraries with undefined symbols to be built.
28141 allow_undefined_flag=$lt_allow_undefined_flag_CXX
28143 # Flag that enforces no undefined symbols.
28144 no_undefined_flag=$lt_no_undefined_flag_CXX
28146 # Flag to hardcode \$libdir into a binary during linking.
28147 # This must work even if \$libdir does not exist
28148 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
28150 # If ld is used when linking, flag to hardcode \$libdir into a binary
28151 # during linking. This must work even if \$libdir does not exist.
28152 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
28154 # Whether we need a single "-rpath" flag with a separated argument.
28155 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
28157 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28158 # DIR into the resulting binary.
28159 hardcode_direct=$hardcode_direct_CXX
28161 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28162 # DIR into the resulting binary and the resulting library dependency is
28163 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28164 # library is relocated.
28165 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
28167 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28168 # into the resulting binary.
28169 hardcode_minus_L=$hardcode_minus_L_CXX
28171 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28172 # into the resulting binary.
28173 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
28175 # Set to "yes" if building a shared library automatically hardcodes DIR
28176 # into the library and all subsequent libraries and executables linked
28178 hardcode_automatic=$hardcode_automatic_CXX
28180 # Set to yes if linker adds runtime paths of dependent libraries
28181 # to runtime path list.
28182 inherit_rpath=$inherit_rpath_CXX
28184 # Whether libtool must link a program against all its dependency libraries.
28185 link_all_deplibs=$link_all_deplibs_CXX
28187 # Fix the shell variable \$srcfile for the compiler.
28188 fix_srcfile_path=$lt_fix_srcfile_path_CXX
28190 # Set to "yes" if exported symbols are required.
28191 always_export_symbols=$always_export_symbols_CXX
28193 # The commands to list exported symbols.
28194 export_symbols_cmds=$lt_export_symbols_cmds_CXX
28196 # Symbols that should not be listed in the preloaded symbols.
28197 exclude_expsyms=$lt_exclude_expsyms_CXX
28199 # Symbols that must always be exported.
28200 include_expsyms=$lt_include_expsyms_CXX
28202 # Commands necessary for linking programs (against libraries) with templates.
28203 prelink_cmds=$lt_prelink_cmds_CXX
28205 # Specify filename containing input files.
28206 file_list_spec=$lt_file_list_spec_CXX
28208 # How to hardcode a shared library path into an executable.
28209 hardcode_action=$hardcode_action_CXX
28211 # The directories searched by this compiler when creating a shared library.
28212 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
28214 # Dependencies to place before and after the objects being linked to
28215 # create a shared library.
28216 predep_objects=$lt_predep_objects_CXX
28217 postdep_objects=$lt_postdep_objects_CXX
28218 predeps=$lt_predeps_CXX
28219 postdeps=$lt_postdeps_CXX
28221 # The library search path used internally by the compiler when linking
28222 # a shared library.
28223 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
28225 # ### END LIBTOOL TAG CONFIG: CXX
28230 for ac_file in $CONFIG_FILES; do
28231 # Support "outfile[:infile[:infile...]]"
28233 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
28235 # PO directories have a Makefile.in generated from Makefile.in.in.
28236 case "$ac_file" in */Makefile.in)
28237 # Adjust a relative srcdir.
28238 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
28239 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
28240 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
28241 # In autoconf-2.13 it is called $ac_given_srcdir.
28242 # In autoconf-2.50 it is called $srcdir.
28243 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
28244 case "$ac_given_srcdir" in
28245 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
28246 /*) top_srcdir="$ac_given_srcdir" ;;
28247 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
28249 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
28250 rm -f "$ac_dir/POTFILES"
28251 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
28252 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
28253 POMAKEFILEDEPS="POTFILES.in"
28254 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
28255 # on $ac_dir but don't depend on user-specified configuration
28257 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
28258 # The LINGUAS file contains the set of available languages.
28259 if test -n "$OBSOLETE_ALL_LINGUAS"; then
28260 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
28262 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
28263 # Hide the ALL_LINGUAS assigment from automake.
28264 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
28265 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
28267 # The set of available languages was given in configure.in.
28268 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
28271 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
28272 # Compute UPDATEPOFILES
28273 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
28274 # Compute DUMMYPOFILES
28275 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
28277 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
28278 case "$ac_given_srcdir" in
28280 *) srcdirpre='$(srcdir)/' ;;
28286 for lang in $ALL_LINGUAS; do
28287 POFILES="$POFILES $srcdirpre$lang.po"
28288 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
28289 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
28290 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
28292 # CATALOGS depends on both $ac_dir and the user's LINGUAS
28293 # environment variable.
28295 if test -n "$ALL_LINGUAS"; then
28296 for presentlang in $ALL_LINGUAS; do
28298 if test "%UNSET%" != "$LINGUAS"; then
28299 desiredlanguages="$LINGUAS"
28301 desiredlanguages="$ALL_LINGUAS"
28303 for desiredlang in $desiredlanguages; do
28304 # Use the presentlang catalog if desiredlang is
28305 # a. equal to presentlang, or
28306 # b. a variant of presentlang (because in this case,
28307 # presentlang can be used as a fallback for messages
28308 # which are not translated in the desiredlang catalog).
28309 case "$desiredlang" in
28310 "$presentlang"*) useit=yes;;
28313 if test $useit = yes; then
28314 INST_LINGUAS="$INST_LINGUAS $presentlang"
28319 if test -n "$INST_LINGUAS"; then
28320 for lang in $INST_LINGUAS; do
28321 CATALOGS="$CATALOGS $lang.gmo"
28324 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
28325 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
28326 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
28327 if test -f "$f"; then
28329 *.orig | *.bak | *~) ;;
28330 *) cat "$f" >> "$ac_dir/Makefile" ;;
28345 ac_clean_files=$ac_clean_files_save
28347 test $ac_write_fail = 0 ||
28348 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
28351 # configure is writing to config.log, and then calls config.status.
28352 # config.status does its own redirection, appending to config.log.
28353 # Unfortunately, on DOS this fails, as config.log is still kept open
28354 # by configure, so config.status won't be able to write to it; its
28355 # output is simply discarded. So we exec the FD to /dev/null,
28356 # effectively closing config.log, so it can be properly (re)opened and
28357 # appended to by config.status. When coming back to configure, we
28358 # need to make the FD available again.
28359 if test "$no_create" != yes; then
28361 ac_config_status_args=
28362 test "$silent" = yes &&
28363 ac_config_status_args="$ac_config_status_args --quiet"
28365 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28367 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28368 # would make configure fail if this is the last instruction.
28369 $ac_cs_success || as_fn_exit 1
28371 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28373 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28380 echo "Summary of your installation :"
28381 # FIXME : maybe elaborate missing dependencies
28382 if test x"$graphics_sdl" != xyes
28384 sdl_failures="(libsdl maybe?) "
28386 if test x"$glut" != xyes
28388 sdl_failures=$sdl_failures"glut "
28390 if test x"$glc" != xyes
28392 sdl_failures=$sdl_failures"quesoglc "
28394 if test -z "$sdl_failures"
28396 echo "OpenGL gui : ENABLED, with $CEGUI_LIBS"
28398 echo "OpenGL gui : DISABLED : you are missing $sdl_failures"
28400 if test x"$enable_hildon" = xyes
28402 echo "Maemo/Hildon: ENABLED"
28404 echo "Maemo/Hildon: DISABLED"
28406 if test x"$enable_osso" = xyes
28408 echo "Maemo/OSSO: ENABLED"
28410 echo "Maemo/OSSO: DISABLED"
28412 if test x"${USE_GARMIN}" = xyes
28414 if test "x$use_libgarmin" = "xyes"
28416 echo "Garmin IMG : ENABLED"
28418 echo "Garmin IMG : DISABLED (you don't have libgarmin)"
28421 echo "Garmin IMG : DISABLED (you requested it)"
28424 if test x"$LIBINTL" = "x" ;then
28425 nls_libs="system gettext support"
28427 nls_libs="$LIBINTL"
28429 echo "Plugins: $plugins ($plugins_reason)"
28430 echo "Postgresql: $postgresql ($postgresql_reason)"
28431 echo "Samplemap: $samplemap ($samplemap_reason)"
28432 echo "NLS Support: $enable_nls ($nls_libs)"
28433 echo "Routing: $routing ($routing_reason)"
28434 echo "Font renderers:"
28435 echo " freetype: $font_freetype ($font_freetype_reason)"
28436 echo " FriBidi enabled: $fribidi ($fribidi_reason)"
28438 echo "Graphics types: $graphics ($graphics_reason)"
28439 echo " android: $graphics_android ($graphics_android_reason)"
28440 echo " gtk_drawing_area: $graphics_gtk_drawing_area ($graphics_gtk_drawing_area_reason)"
28441 echo " null: $graphics_null ($graphics_null_reason)"
28442 echo " qt_qpainter: $graphics_qt_qpainter ($graphics_qt_qpainter_reason)"
28443 echo " win32: $graphics_win32 ($graphics_win32_reason)"
28444 echo " OpenGL: $graphics_opengl ($graphics_opengl_reason)"
28445 echo " gd: $graphics_gd ($graphics_gd_reason)"
28446 echo " sdl: $graphics_sdl ($graphics_sdl_reason)"
28449 echo " gtk: $gui_gtk ($gui_gtk_reason)"
28450 echo " internal: $gui_internal ($gui_internal_reason)"
28451 echo " win32: $gui_win32 ($gui_win32_reason)"
28452 echo " qml: $gui_qml ($gui_qml_reason)"
28455 echo " binfile: $map_binfile ($map_binfile_reason)"
28456 echo " filter: $map_filter ($map_filter_reason)"
28457 echo " mg: $map_mg ($map_mg_reason)"
28458 echo " shapefile: $map_shapefile ($map_shapefile_reason)"
28459 echo " textfile: $map_textfile ($map_textfile_reason)"
28460 echo " csv: $map_csv ($map_csv_reason)"
28464 echo " dbus: $binding_dbus ($binding_dbus_reason)"
28465 echo " python: $binding_python ($binding_python_reason)"
28468 echo " core: $osd_core ($osd_core_reason)"
28471 echo " pedestrian: $plugin_pedestrian ($plugin_pedestrian_reason)"
28473 echo "Speech types:"
28474 echo " android: $speech_android ($speech_android_reason)"
28475 echo " cmdline: $speech_cmdline ($speech_cmdline_reason)"
28476 echo " dbus: $speech_dbus ($speech_dbus_reason)"
28477 echo " espeak: $speech_espeak ($speech_espeak_reason)"
28478 echo " speech_dispatcher: $speech_speech_dispatcher ($speech_speech_dispatcher_reason)"
28480 echo "Vehicle types:"
28481 echo " android: $vehicle_android ($vehicle_android_reason)"
28482 echo " demo: $vehicle_demo ($vehicle_demo_reason)"
28483 echo " file: $vehicle_file ($vehicle_file_reason)"
28484 echo " gpsd: $vehicle_gpsd ($vehicle_gpsd_reason)"
28485 echo " gpsd_dbus: $vehicle_gpsd_dbus ($vehicle_gpsd_dbus_reason)"
28486 echo " gypsy: $vehicle_gypsy ($vehicle_gypsy_reason)"
28487 echo " maemo: $vehicle_maemo ($vehicle_maemo_reason)"
28488 echo " null: $vehicle_null ($vehicle_null_reason)"
28489 echo " wince: $vehicle_wince ($vehicle_wince_reason)"
28490 echo " iphone: $vehicle_iphone ($vehicle_iphone_reason)"
28491 echo " webos: $vehicle_webos ($vehicle_webos_reason)"
28493 if test "x${gtk2_pkgconfig}" != "xyes" -a "x${gui_win32}" != "xyes" -a "x${gui_internal}" != "xyes" -a "x${gui_qml}" != "xyes"
28497 echo "*** WARNING! you have no gui that can be built! ***"
28498 echo "Please install the dependency for at least gtk or sdl gui"
28499 echo "For more details, see the wiki at http://wiki.navit-project.org/"