2 # From configure.ac Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for Tango 9.2.5a.
6 # Report bugs to <info@tango-controls.org>.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print
-rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
141 _as_can_reexec
=no
; export _as_can_reexec
;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
148 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
150 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec
=; unset _as_can_reexec
;}
163 if test "x$CONFIG_SHELL" = x
; then
164 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
180 as_required
="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194 exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
198 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1
204 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208 PATH=/empty FPATH=/empty; export PATH FPATH
209 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
211 if (eval "$as_required") 2>/dev
/null
; then :
216 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
221 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
224 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 # Try only shells that exist, to save several forks.
230 as_shell
=$as_dir/$as_base
231 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$as_shell as_have_required
=yes
234 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
242 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
243 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
244 CONFIG_SHELL
=$SHELL as_have_required
=yes
249 if test "x$CONFIG_SHELL" != x
; then :
251 # We cannot yet assume a decent shell, so we have to provide a
252 # neutralization value for shells without unset; and this also
253 # works around shells that cannot unset nonexistent variables.
254 # Preserve -v and -x to the replacement shell.
257 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
259 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
264 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 # Admittedly, this is quite paranoid, since all the known shells bail
266 # out after a failed `exec'.
267 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
271 if test x
$as_have_required = xno
; then :
272 $as_echo "$0: This script requires a shell more modern than all"
273 $as_echo "$0: the shells that I found on your system."
274 if test x
${ZSH_VERSION+set} = xset
; then
275 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
278 $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 $0: info@tango-controls.org about your system, including
280 $0: any error possibly output before this message. Then
281 $0: install a modern shell, or manually run the script
282 $0: under such a shell if you do have one."
288 SHELL
=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE
= GREP_OPTIONS
=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
410 as_val
=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status
=$1; test $as_status -eq 0 && as_status
=1
424 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit
$as_status
431 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
438 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
450 as_me
=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits
='0123456789'
474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
477 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
478 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x
"$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec
=no
; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C
= ECHO_N
= ECHO_T
=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
525 rm -f conf$$ conf$$.exe conf$$.
file
526 if test -d conf$$.dir
; then
527 rm -f conf$$.dir
/conf$$.
file
530 mkdir conf$$.dir
2>/dev
/null
532 if (echo >conf$$.
file) 2>/dev
/null
; then
533 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
541 elif ln conf$$.
file conf$$
2>/dev
/null
; then
549 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
550 rmdir conf$$.dir
2>/dev
/null
552 if mkdir
-p .
2>/dev
/null
; then
553 as_mkdir_p
='mkdir -p "$as_dir"'
555 test -d .
/-p && rmdir .
/-p
560 as_executable_p
=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL
=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix
=/usr
/local
584 ac_config_libobj_dir
=.
591 # Identity of this package.
593 PACKAGE_TARNAME
='tango'
594 PACKAGE_VERSION
='9.2.5a'
595 PACKAGE_STRING
='Tango 9.2.5a'
596 PACKAGE_BUGREPORT
='info@tango-controls.org'
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 enable_option_checking
=no
636 ac_subst_vars
='am__EXEEXT_FALSE
645 TANGO_DB_CREATE_ENABLED_FALSE
646 TANGO_DB_CREATE_ENABLED_TRUE
647 TANGO_DB_SERVER_ENABLED_FALSE
648 TANGO_DB_SERVER_ENABLED_TRUE
649 JPEG_MMX_LIB_CXXFLAGS
656 MARIADBCLIENT_LDFLAGS
729 TANGO_DOC_ENABLED_FALSE
730 TANGO_DOC_ENABLED_TRUE
731 TANGO_FIG2DEV_ENABLED_FALSE
732 TANGO_FIG2DEV_ENABLED_TRUE
734 TANGO_LYX_ENABLED_FALSE
735 TANGO_LYX_ENABLED_TRUE
738 TANGO_JAVA_ENABLED_FALSE
739 TANGO_JAVA_ENABLED_TRUE
783 INSTALL_STRIP_PROGRAM
807 MAINTAINER_MODE_FALSE
836 program_transform_name
849 enable_option_checking
850 enable_maintainer_mode
852 enable_dependency_tracking
872 with_mysqlclient_prefix
873 with_mysqlclient_include
878 with_mysql_admin_passwd
879 with_mariadbclient_prefix
880 with_mariadbclient_include
881 with_mariadbclient_lib
884 ac_precious_vars
='build_alias
906 ac_subdirs_all
='lib/cpp/log4tango'
908 # Initialize some variables set by options.
910 ac_init_version
=false
911 ac_unrecognized_opts
=
913 # The variables have the same names as the options, with
914 # dashes changed to underlines.
922 program_transform_name
=s
,x
,x
,
930 # Installation directory options.
931 # These are left unexpanded so users can "make install exec_prefix=/foo"
932 # and all the variables that are supposed to be based on exec_prefix
933 # by default will actually change.
934 # Use braces instead of parens because sh, perl, etc. also accept them.
935 # (The list follows the same order as the GNU Coding Standards.)
936 bindir
='${exec_prefix}/bin'
937 sbindir
='${exec_prefix}/sbin'
938 libexecdir
='${exec_prefix}/libexec'
939 datarootdir
='${prefix}/share'
940 datadir
='${datarootdir}'
941 sysconfdir
='${prefix}/etc'
942 sharedstatedir
='${prefix}/com'
943 localstatedir
='${prefix}/var'
944 includedir
='${prefix}/include'
945 oldincludedir
='/usr/include'
946 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
947 infodir
='${datarootdir}/info'
952 libdir
='${exec_prefix}/lib'
953 localedir
='${datarootdir}/locale'
954 mandir
='${datarootdir}/man'
960 # If the previous option needs an argument, assign it.
961 if test -n "$ac_prev"; then
962 eval $ac_prev=\
$ac_option
968 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
973 # Accept the important Cygnus configure options, so we can diagnose typos.
975 case $ac_dashdash$ac_option in
979 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
981 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
984 -build |
--build |
--buil |
--bui |
--bu)
985 ac_prev
=build_alias
;;
986 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
987 build_alias
=$ac_optarg ;;
989 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
990 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
991 ac_prev
=cache_file
;;
992 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
993 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
994 cache_file
=$ac_optarg ;;
997 cache_file
=config.cache
;;
999 -datadir |
--datadir |
--datadi |
--datad)
1001 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1002 datadir
=$ac_optarg ;;
1004 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1005 |
--dataroo |
--dataro |
--datar)
1006 ac_prev
=datarootdir
;;
1007 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1008 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1009 datarootdir
=$ac_optarg ;;
1011 -disable-* |
--disable-*)
1012 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1015 as_fn_error $?
"invalid feature name: $ac_useropt"
1016 ac_useropt_orig
=$ac_useropt
1017 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1020 "enable_
$ac_useropt"
1022 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1023 ac_unrecognized_sep
=', ';;
1025 eval enable_
$ac_useropt=no
;;
1027 -docdir |
--docdir |
--docdi |
--doc |
--do)
1029 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1030 docdir
=$ac_optarg ;;
1032 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1034 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1035 dvidir
=$ac_optarg ;;
1037 -enable-* |
--enable-*)
1038 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1041 as_fn_error $?
"invalid feature name: $ac_useropt"
1042 ac_useropt_orig
=$ac_useropt
1043 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in
1046 "enable_
$ac_useropt"
1048 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1049 ac_unrecognized_sep
=', ';;
1051 eval enable_
$ac_useropt=\
$ac_optarg ;;
1053 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1054 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1055 |
--exec |
--exe |
--ex)
1056 ac_prev
=exec_prefix
;;
1057 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1058 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1059 |
--exec=* |
--exe=* |
--ex=*)
1060 exec_prefix
=$ac_optarg ;;
1062 -gas |
--gas |
--ga |
--g)
1063 # Obsolete; use --with-gas.
1066 -help |
--help |
--hel |
--he |
-h)
1067 ac_init_help
=long
;;
1068 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1069 ac_init_help
=recursive
;;
1070 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1071 ac_init_help
=short
;;
1073 -host |
--host |
--hos |
--ho)
1074 ac_prev
=host_alias
;;
1075 -host=* |
--host=* |
--hos=* |
--ho=*)
1076 host_alias
=$ac_optarg ;;
1078 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1080 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1082 htmldir
=$ac_optarg ;;
1084 -includedir |
--includedir |
--includedi |
--included |
--include \
1085 |
--includ |
--inclu |
--incl |
--inc)
1086 ac_prev
=includedir
;;
1087 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1088 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1089 includedir
=$ac_optarg ;;
1091 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1093 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1094 infodir
=$ac_optarg ;;
1096 -libdir |
--libdir |
--libdi |
--libd)
1098 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1099 libdir
=$ac_optarg ;;
1101 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1102 |
--libexe |
--libex |
--libe)
1103 ac_prev
=libexecdir
;;
1104 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1105 |
--libexe=* |
--libex=* |
--libe=*)
1106 libexecdir
=$ac_optarg ;;
1108 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1109 ac_prev
=localedir
;;
1110 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1111 localedir
=$ac_optarg ;;
1113 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1114 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1115 ac_prev
=localstatedir
;;
1116 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1117 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1118 localstatedir
=$ac_optarg ;;
1120 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1122 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1123 mandir
=$ac_optarg ;;
1125 -nfp |
--nfp |
--nf)
1126 # Obsolete; use --without-fp.
1129 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1130 |
--no-cr |
--no-c |
-n)
1133 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1134 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1137 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1138 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1139 |
--oldin |
--oldi |
--old |
--ol |
--o)
1140 ac_prev
=oldincludedir
;;
1141 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1142 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1143 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1144 oldincludedir
=$ac_optarg ;;
1146 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1148 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1149 prefix
=$ac_optarg ;;
1151 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1152 |
--program-pre |
--program-pr |
--program-p)
1153 ac_prev
=program_prefix
;;
1154 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1155 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1156 program_prefix
=$ac_optarg ;;
1158 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1159 |
--program-suf |
--program-su |
--program-s)
1160 ac_prev
=program_suffix
;;
1161 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1162 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1163 program_suffix
=$ac_optarg ;;
1165 -program-transform-name |
--program-transform-name \
1166 |
--program-transform-nam |
--program-transform-na \
1167 |
--program-transform-n |
--program-transform- \
1168 |
--program-transform |
--program-transfor \
1169 |
--program-transfo |
--program-transf \
1170 |
--program-trans |
--program-tran \
1171 |
--progr-tra |
--program-tr |
--program-t)
1172 ac_prev
=program_transform_name
;;
1173 -program-transform-name=* |
--program-transform-name=* \
1174 |
--program-transform-nam=* |
--program-transform-na=* \
1175 |
--program-transform-n=* |
--program-transform-=* \
1176 |
--program-transform=* |
--program-transfor=* \
1177 |
--program-transfo=* |
--program-transf=* \
1178 |
--program-trans=* |
--program-tran=* \
1179 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1180 program_transform_name
=$ac_optarg ;;
1182 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1184 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1185 pdfdir
=$ac_optarg ;;
1187 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1189 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1192 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1193 |
-silent |
--silent |
--silen |
--sile |
--sil)
1196 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1198 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1200 sbindir
=$ac_optarg ;;
1202 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1203 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1204 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1206 ac_prev
=sharedstatedir
;;
1207 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1208 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1209 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1211 sharedstatedir
=$ac_optarg ;;
1213 -site |
--site |
--sit)
1215 -site=* |
--site=* |
--sit=*)
1218 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1220 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1221 srcdir
=$ac_optarg ;;
1223 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1224 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1225 ac_prev
=sysconfdir
;;
1226 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1227 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1228 sysconfdir
=$ac_optarg ;;
1230 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1231 ac_prev
=target_alias
;;
1232 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1233 target_alias
=$ac_optarg ;;
1235 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1238 -version |
--version |
--versio |
--versi |
--vers |
-V)
1239 ac_init_version
=: ;;
1242 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1245 as_fn_error $?
"invalid package name: $ac_useropt"
1246 ac_useropt_orig
=$ac_useropt
1247 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1248 case $ac_user_opts in
1252 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1253 ac_unrecognized_sep
=', ';;
1255 eval with_
$ac_useropt=\
$ac_optarg ;;
1257 -without-* |
--without-*)
1258 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1261 as_fn_error $?
"invalid package name: $ac_useropt"
1262 ac_useropt_orig
=$ac_useropt
1263 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264 case $ac_user_opts in
1268 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1269 ac_unrecognized_sep
=', ';;
1271 eval with_
$ac_useropt=no
;;
1274 # Obsolete; use --with-x.
1277 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1278 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1279 ac_prev
=x_includes
;;
1280 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1281 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1282 x_includes
=$ac_optarg ;;
1284 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1285 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1286 ac_prev
=x_libraries
;;
1287 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1288 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1289 x_libraries
=$ac_optarg ;;
1291 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1292 Try \`$0 --help' for more information"
1296 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1297 # Reject names that are not valid shell variable names.
1298 case $ac_envvar in #(
1299 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1300 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1302 eval $ac_envvar=\
$ac_optarg
1303 export $ac_envvar ;;
1306 # FIXME: should be removed in autoconf 3.0.
1307 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1308 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1309 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1310 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1316 if test -n "$ac_prev"; then
1317 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1318 as_fn_error $?
"missing argument to $ac_option"
1321 if test -n "$ac_unrecognized_opts"; then
1322 case $enable_option_checking in
1324 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1325 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1329 # Check all directory arguments for consistency.
1330 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1331 datadir sysconfdir sharedstatedir localstatedir includedir \
1332 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1333 libdir localedir mandir
1335 eval ac_val
=\$
$ac_var
1336 # Remove trailing slashes.
1339 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1340 eval $ac_var=\
$ac_val;;
1342 # Be sure to have absolute directory names.
1344 [\\/$
]* | ?
:[\\/]* ) continue;;
1345 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1347 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1350 # There might be people who depend on the old broken behavior: `$host'
1351 # used to hold the argument of --host etc.
1352 # FIXME: To remove some day.
1355 target
=$target_alias
1357 # FIXME: To remove some day.
1358 if test "x$host_alias" != x
; then
1359 if test "x$build_alias" = x
; then
1360 cross_compiling
=maybe
1361 elif test "x$build_alias" != "x$host_alias"; then
1367 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1369 test "$silent" = yes && exec 6>/dev
/null
1372 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1373 ac_ls_di
=`ls -di .` &&
1374 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1375 as_fn_error $?
"working directory cannot be determined"
1376 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1377 as_fn_error $?
"pwd does not report name of working directory"
1380 # Find the source files, if location was not specified.
1381 if test -z "$srcdir"; then
1382 ac_srcdir_defaulted
=yes
1383 # Try the directory containing this script, then the parent directory.
1384 ac_confdir
=`$as_dirname -- "$as_myself" ||
1385 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1386 X"$as_myself" : 'X\(//\)[^/]' \| \
1387 X"$as_myself" : 'X\(//\)$' \| \
1388 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1389 $as_echo X"$as_myself" |
1390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1408 if test ! -r "$srcdir/$ac_unique_file"; then
1412 ac_srcdir_defaulted
=no
1414 if test ! -r "$srcdir/$ac_unique_file"; then
1415 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1416 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1418 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1420 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1422 # When building in place, set srcdir=.
1423 if test "$ac_abs_confdir" = "$ac_pwd"; then
1426 # Remove unnecessary trailing slashes from srcdir.
1427 # Double slashes in file names in object file debugging info
1428 # mess up M-x gdb in Emacs.
1430 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1432 for ac_var
in $ac_precious_vars; do
1433 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1434 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1435 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1436 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1440 # Report the --help message.
1442 if test "$ac_init_help" = "long"; then
1443 # Omit some internal or obsolete options to make the list less imposing.
1444 # This message is too long to be a string in the A/UX 3.1 sh.
1446 \`configure' configures Tango 9.2.5a to adapt to many kinds of systems.
1448 Usage: $0 [OPTION]... [VAR=VALUE]...
1450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1451 VAR=VALUE. See below for descriptions of some of the useful variables.
1453 Defaults for the options are specified in brackets.
1456 -h, --help display this help and exit
1457 --help=short display options specific to this package
1458 --help=recursive display the short help of all the included packages
1459 -V, --version display version information and exit
1460 -q, --quiet, --silent do not print \`checking ...' messages
1461 --cache-file=FILE cache test results in FILE [disabled]
1462 -C, --config-cache alias for \`--cache-file=config.cache'
1463 -n, --no-create do not create output files
1464 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1466 Installation directories:
1467 --prefix=PREFIX install architecture-independent files in PREFIX
1468 [$ac_default_prefix]
1469 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1472 By default, \`make install' will install all the files in
1473 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1474 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1475 for instance \`--prefix=\$HOME'.
1477 For better control, use the options below.
1479 Fine tuning of the installation directories:
1480 --bindir=DIR user executables [EPREFIX/bin]
1481 --sbindir=DIR system admin executables [EPREFIX/sbin]
1482 --libexecdir=DIR program executables [EPREFIX/libexec]
1483 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1484 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1485 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1486 --libdir=DIR object code libraries [EPREFIX/lib]
1487 --includedir=DIR C header files [PREFIX/include]
1488 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1489 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1490 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1491 --infodir=DIR info documentation [DATAROOTDIR/info]
1492 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1493 --mandir=DIR man documentation [DATAROOTDIR/man]
1494 --docdir=DIR documentation root [DATAROOTDIR/doc/tango]
1495 --htmldir=DIR html documentation [DOCDIR]
1496 --dvidir=DIR dvi documentation [DOCDIR]
1497 --pdfdir=DIR pdf documentation [DOCDIR]
1498 --psdir=DIR ps documentation [DOCDIR]
1504 --program-prefix=PREFIX prepend PREFIX to installed program names
1505 --program-suffix=SUFFIX append SUFFIX to installed program names
1506 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1509 --build=BUILD configure
for building on BUILD
[guessed
]
1510 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1514 if test -n "$ac_init_help"; then
1515 case $ac_init_help in
1516 short | recursive
) echo "Configuration of Tango 9.2.5a:";;
1521 --disable-option-checking ignore unrecognized
--enable/--with options
1522 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1523 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1524 --enable-maintainer-mode enable make rules and dependencies not useful
1525 (and sometimes confusing
) to the casual installer
1526 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1527 --disable-silent-rules verbose build output (undo: `make V
=0')
1528 --disable-dependency-tracking speeds up one-time build
1529 --enable-dependency-tracking do not reject slow dependency extractors
1530 --enable-java enable installation of Java applications
1531 --enable-mariadb enable mariadb instead of mysql
1532 --enable-shared[=PKGS] build shared libraries [default=yes]
1533 --enable-static[=PKGS] build static libraries [default=yes]
1534 --enable-fast-install[=PKGS]
1535 optimize for fast installation [default=yes]
1536 --disable-libtool-lock avoid locking (might break parallel builds)
1537 --enable-dbserver enable installation of Tango database server
1538 --enable-dbcreate enable an creation of the Tango database schema
1539 --disable-jpegmmx disable jpeg mmx optimization
1542 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1543 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1544 --with-java path to java interpreter
1545 --with-doxygen path to doxygen utility
1546 --with-lyx path to LyX utility
1547 --with-fig2dev path to fig2dev utility
1548 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1550 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1551 --with-sysroot=DIR Search for dependent libraries within DIR
1552 (or the compiler's sysroot
if not specified
).
1553 --with-zlib=DIR root directory path of zlib installation defaults to
1554 /usr
/local or
/usr
if not found
in /usr
/local
1555 --with-omni prefix to omniORB installation
(default
: $OMNI_ROOT)
1556 --with-zmq prefix to ZMQ installation
1557 --with-tango-rc-file location of the tango rc
file (default
/etc
/tangorc
)
1558 --with-tango-db-name the name of the tango database
(default tango
)
1559 --with-mysqlclient-prefix=PFX
1560 Prefix where mysqlclient is installed
1561 --with-mysqlclient-include=DIR
1562 Directory pointing to mysqlclient include files
1563 --with-mysqlclient-lib=LIB
1564 Directory pointing to mysqlclient library
(Note
:
1565 -include and
-lib do override paths found with
1567 --with-mysql-ho the
host of the mysql database
(default
: <blank
>)
1568 --with-mysql-admin super user of your mysql database
(default
: <blank
>)
1569 --with-mysql-admin-passwd
1570 super user password of your mysql database
(default
:
1572 --with-mariadbclient-prefix=PFX
1573 Prefix where mariadbclient is installed
1574 --with-mariadbclient-include=DIR
1575 Directory pointing to mariadbclient include files
1576 --with-mariadbclient-lib=LIB
1577 Directory pointing to mariadbclient library
(Note
:
1578 -include and
-lib do override paths found with
1581 Some influential environment variables
:
1582 CXX C
++ compiler
command
1583 CXXFLAGS C
++ compiler flags
1584 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1585 nonstandard directory
<lib dir
>
1586 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1587 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1588 you have headers
in a nonstandard directory
<include dir
>
1589 CXXCPP C
++ preprocessor
1590 CC C compiler
command
1591 CFLAGS C compiler flags
1593 PKG_CONFIG path to pkg-config utility
1595 directories to add to pkg-config
's search path
1597 path overriding pkg-config's built-in search path
1599 C compiler flags
for omniORB4
, overriding pkg-config
1601 linker flags
for omniORB4
, overriding pkg-config
1603 C compiler flags
for omniCOS4
, overriding pkg-config
1605 linker flags
for omniCOS4
, overriding pkg-config
1607 C compiler flags
for LIBZMQ
, overriding pkg-config
1608 LIBZMQ_LIBS linker flags
for LIBZMQ
, overriding pkg-config
1610 Use these variables to override the choices made by
`configure' or to help
1611 it to find libraries and programs with nonstandard names/locations.
1613 Report bugs to <info@tango-controls.org>.
1618 if test "$ac_init_help" = "recursive"; then
1619 # If there are subdirs, report their specific --help.
1620 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1621 test -d "$ac_dir" ||
1622 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1627 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1630 # A ".." for each directory in $ac_dir_suffix.
1631 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1632 case $ac_top_builddir_sub in
1633 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1634 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1637 ac_abs_top_builddir=$ac_pwd
1638 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1639 # for backward compatibility:
1640 ac_top_builddir=$ac_top_build_prefix
1643 .) # We are building in place.
1645 ac_top_srcdir=$ac_top_builddir_sub
1646 ac_abs_top_srcdir=$ac_pwd ;;
1647 [\\/]* | ?:[\\/]* ) # Absolute name.
1648 ac_srcdir=$srcdir$ac_dir_suffix;
1649 ac_top_srcdir=$srcdir
1650 ac_abs_top_srcdir=$srcdir ;;
1652 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1653 ac_top_srcdir=$ac_top_build_prefix$srcdir
1654 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1658 cd "$ac_dir" || { ac_status=$?; continue; }
1659 # Check for guested configure.
1660 if test -f "$ac_srcdir/configure.gnu"; then
1662 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1663 elif test -f "$ac_srcdir/configure"; then
1665 $SHELL "$ac_srcdir/configure" --help=recursive
1667 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669 cd "$ac_pwd" || { ac_status=$?; break; }
1673 test -n "$ac_init_help" && exit $ac_status
1674 if $ac_init_version; then
1676 Tango configure 9.2.5a
1677 generated by GNU Autoconf 2.69
1679 Copyright (C) 2012 Free Software Foundation, Inc.
1680 This configure script is free software; the Free Software Foundation
1681 gives unlimited permission to copy, distribute and modify it.
1686 ## ------------------------ ##
1687 ## Autoconf initialization. ##
1688 ## ------------------------ ##
1690 # ac_fn_cxx_try_compile LINENO
1691 # ----------------------------
1692 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1693 ac_fn_cxx_try_compile ()
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 rm -f conftest.$ac_objext
1697 if { { ac_try="$ac_compile"
1699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1700 *) ac_try_echo
=$ac_try;;
1702 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_compile") 2>conftest.err
1706 if test -s conftest.err
; then
1707 grep -v '^ *+' conftest.err
>conftest.er1
1708 cat conftest.er1
>&5
1709 mv -f conftest.er1 conftest.err
1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712 test $ac_status = 0; } && {
1713 test -z "$ac_cxx_werror_flag" ||
1714 test ! -s conftest.err
1715 } && test -s conftest.
$ac_objext; then :
1718 $as_echo "$as_me: failed program was:" >&5
1719 sed 's/^/| /' conftest.
$ac_ext >&5
1723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724 as_fn_set_status
$ac_retval
1726 } # ac_fn_cxx_try_compile
1728 # ac_fn_cxx_try_cpp LINENO
1729 # ------------------------
1730 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1731 ac_fn_cxx_try_cpp
()
1733 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1734 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1737 *) ac_try_echo=$ac_try;;
1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740 $as_echo "$ac_try_echo"; } >&5
1741 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1743 if test -s conftest.err; then
1744 grep -v '^ *+' conftest.err >conftest.er1
1745 cat conftest.er1 >&5
1746 mv -f conftest.er1 conftest.err
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; } > conftest.i && {
1750 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1751 test ! -s conftest.err
1755 $as_echo "$as_me: failed program was:" >&5
1756 sed 's/^/| /' conftest.$ac_ext >&5
1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761 as_fn_set_status $ac_retval
1763 } # ac_fn_cxx_try_cpp
1765 # ac_fn_c_try_compile LINENO
1766 # --------------------------
1767 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1768 ac_fn_c_try_compile ()
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 rm -f conftest.$ac_objext
1772 if { { ac_try="$ac_compile"
1774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1775 *) ac_try_echo
=$ac_try;;
1777 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_compile") 2>conftest.err
1781 if test -s conftest.err
; then
1782 grep -v '^ *+' conftest.err
>conftest.er1
1783 cat conftest.er1
>&5
1784 mv -f conftest.er1 conftest.err
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } && {
1788 test -z "$ac_c_werror_flag" ||
1789 test ! -s conftest.err
1790 } && test -s conftest.
$ac_objext; then :
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.
$ac_ext >&5
1798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 as_fn_set_status
$ac_retval
1801 } # ac_fn_c_try_compile
1803 # ac_fn_c_try_cpp LINENO
1804 # ----------------------
1805 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1808 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1809 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1812 *) ac_try_echo=$ac_try;;
1814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 $as_echo "$ac_try_echo"; } >&5
1816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1818 if test -s conftest.err; then
1819 grep -v '^ *+' conftest.err >conftest.er1
1820 cat conftest.er1 >&5
1821 mv -f conftest.er1 conftest.err
1823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1824 test $ac_status = 0; } > conftest.i && {
1825 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1826 test ! -s conftest.err
1830 $as_echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.$ac_ext >&5
1835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836 as_fn_set_status $ac_retval
1840 # ac_fn_c_try_link LINENO
1841 # -----------------------
1842 # Try to link conftest.$ac_ext, and return whether this succeeded.
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 rm -f conftest.$ac_objext conftest$ac_exeext
1847 if { { ac_try="$ac_link"
1849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1850 *) ac_try_echo
=$ac_try;;
1852 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_link") 2>conftest.err
1856 if test -s conftest.err
; then
1857 grep -v '^ *+' conftest.err
>conftest.er1
1858 cat conftest.er1
>&5
1859 mv -f conftest.er1 conftest.err
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } && {
1863 test -z "$ac_c_werror_flag" ||
1864 test ! -s conftest.err
1865 } && test -s conftest
$ac_exeext && {
1866 test "$cross_compiling" = yes ||
1867 test -x conftest
$ac_exeext
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.
$ac_ext >&5
1876 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1877 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1878 # interfere with the next link command; also delete a directory that is
1879 # left behind by Apple's compiler. We do this before executing the actions.
1880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 as_fn_set_status
$ac_retval
1884 } # ac_fn_c_try_link
1886 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1887 # -------------------------------------------------------
1888 # Tests whether HEADER exists and can be compiled using the include files in
1889 # INCLUDES, setting the cache variable VAR accordingly.
1890 ac_fn_c_check_header_compile
()
1892 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \
${$3+:} false
; then :
1896 $as_echo_n "(cached) " >&6
1898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1903 if ac_fn_c_try_compile
"$LINENO"; then :
1908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1912 $as_echo "$ac_res" >&6; }
1913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915 } # ac_fn_c_check_header_compile
1917 # ac_fn_c_try_run LINENO
1918 # ----------------------
1919 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1920 # that executables *can* be run.
1923 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1924 if { { ac_try
="$ac_link"
1926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1927 *) ac_try_echo=$ac_try;;
1929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1930 $as_echo "$ac_try_echo"; } >&5
1931 (eval "$ac_link") 2>&5
1933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1934 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1935 { { case "(($ac_try" in
1936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1937 *) ac_try_echo
=$ac_try;;
1939 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1940 $as_echo "$ac_try_echo"; } >&5
1941 (eval "$ac_try") 2>&5
1943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1944 test $ac_status = 0; }; }; then :
1947 $as_echo "$as_me: program exited with status $ac_status" >&5
1948 $as_echo "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.
$ac_ext >&5
1951 ac_retval
=$ac_status
1953 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 as_fn_set_status
$ac_retval
1959 # ac_fn_c_check_func LINENO FUNC VAR
1960 # ----------------------------------
1961 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1962 ac_fn_c_check_func
()
1964 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1966 $as_echo_n "checking for $2... " >&6; }
1967 if eval \
${$3+:} false
; then :
1968 $as_echo_n "(cached) " >&6
1970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h. */
1972 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1974 #define $2 innocuous_$2
1976 /* System header to define __stub macros and hopefully few prototypes,
1977 which can conflict with char $2 (); below.
1978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1979 <limits.h> exists even on freestanding compilers. */
1982 # include <limits.h>
1984 # include <assert.h>
1989 /* Override any GCC internal prototype to avoid an error.
1990 Use char because int might match the return type of a GCC
1991 builtin and then its argument prototype would still apply. */
1996 /* The GNU C library defines this for functions which it implements
1997 to always fail with ENOSYS. Some functions are actually named
1998 something starting with __ and the normal name is an alias. */
1999 #if defined __stub_$2 || defined __stub___$2
2011 if ac_fn_c_try_link
"$LINENO"; then :
2016 rm -f core conftest.err conftest.
$ac_objext \
2017 conftest
$ac_exeext conftest.
$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2021 $as_echo "$ac_res" >&6; }
2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2024 } # ac_fn_c_check_func
2026 # ac_fn_cxx_try_link LINENO
2027 # -------------------------
2028 # Try to link conftest.$ac_ext, and return whether this succeeded.
2029 ac_fn_cxx_try_link
()
2031 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2032 rm -f conftest.
$ac_objext conftest
$ac_exeext
2033 if { { ac_try
="$ac_link"
2035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2036 *) ac_try_echo=$ac_try;;
2038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2039 $as_echo "$ac_try_echo"; } >&5
2040 (eval "$ac_link") 2>conftest.err
2042 if test -s conftest.err; then
2043 grep -v '^ *+' conftest.err >conftest.er1
2044 cat conftest.er1 >&5
2045 mv -f conftest.er1 conftest.err
2047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2048 test $ac_status = 0; } && {
2049 test -z "$ac_cxx_werror_flag" ||
2050 test ! -s conftest.err
2051 } && test -s conftest$ac_exeext && {
2052 test "$cross_compiling" = yes ||
2053 test -x conftest$ac_exeext
2057 $as_echo "$as_me: failed program was:" >&5
2058 sed 's/^/| /' conftest.$ac_ext >&5
2062 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2063 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2064 # interfere with the next link command; also delete a directory that is
2065 # left behind by Apple's compiler. We do this before executing the actions.
2066 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2068 as_fn_set_status $ac_retval
2070 } # ac_fn_cxx_try_link
2072 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2073 # -------------------------------------------------------
2074 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2075 # the include files in INCLUDES and setting the cache variable VAR
2077 ac_fn_c_check_header_mongrel ()
2079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2080 if eval \${$3+:} false; then :
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2082 $as_echo_n "checking for $2... " >&6; }
2083 if eval \${$3+:} false; then :
2084 $as_echo_n "(cached) " >&6
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088 $as_echo "$ac_res" >&6; }
2090 # Is the header compilable?
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2092 $as_echo_n "checking $2 usability... " >&6; }
2093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2094 /* end confdefs.h. */
2098 if ac_fn_c_try_compile "$LINENO"; then :
2099 ac_header_compiler=yes
2101 ac_header_compiler=no
2103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2105 $as_echo "$ac_header_compiler" >&6; }
2107 # Is the header present?
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2109 $as_echo_n "checking $2 presence... " >&6; }
2110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2111 /* end confdefs.h. */
2114 if ac_fn_c_try_cpp "$LINENO"; then :
2115 ac_header_preproc=yes
2117 ac_header_preproc=no
2119 rm -f conftest.err conftest.i conftest.$ac_ext
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2121 $as_echo "$ac_header_preproc" >&6; }
2123 # So? What about this header?
2124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2127 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2129 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2133 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2135 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2137 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2139 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2141 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2142 ( $as_echo "## -------------------------------------- ##
2143 ## Report this to info@tango-controls.org ##
2144 ## -------------------------------------- ##"
2145 ) | sed "s/^/$as_me: WARNING: /" >&2
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if eval \${$3+:} false; then :
2151 $as_echo_n "(cached) " >&6
2153 eval "$3=\$ac_header_compiler"
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2159 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2161 } # ac_fn_c_check_header_mongrel
2163 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2164 # ---------------------------------------------------------
2165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166 # the include files in INCLUDES and setting the cache variable VAR
2168 ac_fn_cxx_check_header_mongrel ()
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 if eval \${$3+:} false; then :
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if eval \${$3+:} false; then :
2175 $as_echo_n "(cached) " >&6
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2181 # Is the header compilable?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183 $as_echo_n "checking $2 usability... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2189 if ac_fn_cxx_try_compile "$LINENO"; then :
2190 ac_header_compiler=yes
2192 ac_header_compiler=no
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196 $as_echo "$ac_header_compiler" >&6; }
2198 # Is the header present?
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200 $as_echo_n "checking $2 presence... " >&6; }
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2205 if ac_fn_cxx_try_cpp "$LINENO"; then :
2206 ac_header_preproc=yes
2208 ac_header_preproc=no
2210 rm -f conftest.err conftest.i conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212 $as_echo "$ac_header_preproc" >&6; }
2214 # So? What about this header?
2215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2226 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2230 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2233 ( $as_echo "## -------------------------------------- ##
2234 ## Report this to info@tango-controls.org ##
2235 ## -------------------------------------- ##"
2236 ) | sed "s/^/$as_me: WARNING: /" >&2
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2240 $as_echo_n "checking for $2... " >&6; }
2241 if eval \${$3+:} false; then :
2242 $as_echo_n "(cached) " >&6
2244 eval "$3=\$ac_header_compiler"
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2248 $as_echo "$ac_res" >&6; }
2250 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2252 } # ac_fn_cxx_check_header_mongrel
2254 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2255 # -------------------------------------------
2256 # Tests whether TYPE exists after having included INCLUDES, setting cache
2257 # variable VAR accordingly.
2258 ac_fn_c_check_type ()
2260 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2262 $as_echo_n "checking for $2... " >&6; }
2263 if eval \${$3+:} false; then :
2264 $as_echo_n "(cached) " >&6
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2279 if ac_fn_c_try_compile "$LINENO"; then :
2280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2281 /* end confdefs.h. */
2292 if ac_fn_c_try_compile "$LINENO"; then :
2297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2303 $as_echo "$ac_res" >&6; }
2304 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2306 } # ac_fn_c_check_type
2307 cat >config.log <<_ACEOF
2308 This file contains any messages produced by compilers while
2309 running configure, to aid debugging if configure makes a mistake.
2311 It was created by Tango $as_me 9.2.5a, which was
2312 generated by GNU Autoconf 2.69. Invocation command line was
2324 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2325 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2326 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2327 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2328 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2330 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2331 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2333 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2334 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2335 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2336 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2337 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2338 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2339 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2347 test -z "$as_dir" && as_dir=.
2348 $as_echo "PATH: $as_dir"
2364 # Keep a trace of the command line.
2365 # Strip out --no-create and --no-recursion so they do not pile up.
2366 # Strip out --silent because we don't want to record it for future runs.
2367 # Also quote any args containing shell meta-characters.
2368 # Make two passes to allow for proper duplicate-argument suppression.
2372 ac_must_keep_next=false
2378 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2379 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2380 | -silent | --silent | --silen | --sile | --sil)
2383 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2386 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2388 as_fn_append ac_configure_args1 " '$ac_arg'"
2389 if test $ac_must_keep_next = true; then
2390 ac_must_keep_next=false # Got value, back to normal.
2393 *=* | --config-cache | -C | -disable-* | --disable-* \
2394 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2395 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2396 | -with-* | --with-* | -without-* | --without-* | --x)
2397 case "$ac_configure_args0 " in
2398 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2401 -* ) ac_must_keep_next=true ;;
2404 as_fn_append ac_configure_args " '$ac_arg'"
2409 { ac_configure_args0=; unset ac_configure_args0;}
2410 { ac_configure_args1=; unset ac_configure_args1;}
2412 # When interrupted or exit'd, cleanup temporary files, and complete
2413 # config.log. We remove comments because anyway the quotes in there
2414 # would cause problems or look ugly.
2415 # WARNING: Use '\'' to represent an apostrophe within the trap.
2416 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2417 trap 'exit_status=$?
2418 # Save into config.log some information that might help in debugging.
2422 $as_echo "## ---------------- ##
2423 ## Cache variables. ##
2424 ## ---------------- ##"
2426 # The following way of writing the cache mishandles newlines in values,
2428 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2429 eval ac_val=\$$ac_var
2433 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2434 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2437 _ | IFS | as_nl) ;; #(
2438 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2439 *) { eval $ac_var=; unset $ac_var;} ;;
2444 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2445 *${as_nl}ac_space=\ *)
2447 "s/'\''/'\''\\\\'\'''\''/g;
2448 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2451 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2458 $as_echo "## ----------------- ##
2459 ## Output variables. ##
2460 ## ----------------- ##"
2462 for ac_var in $ac_subst_vars
2464 eval ac_val=\$$ac_var
2466 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2468 $as_echo "$ac_var='\''$ac_val'\''"
2472 if test -n "$ac_subst_files"; then
2473 $as_echo "## ------------------- ##
2474 ## File substitutions. ##
2475 ## ------------------- ##"
2477 for ac_var in $ac_subst_files
2479 eval ac_val=\$$ac_var
2481 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2483 $as_echo "$ac_var='\''$ac_val'\''"
2488 if test -s confdefs.h; then
2489 $as_echo "## ----------- ##
2496 test "$ac_signal" != 0 &&
2497 $as_echo "$as_me: caught signal $ac_signal"
2498 $as_echo "$as_me: exit $exit_status"
2500 rm -f core *.core core.conftest.* &&
2501 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2504 for ac_signal in 1 2 13 15; do
2505 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2509 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2510 rm -f -r conftest* confdefs.h
2512 $as_echo "/* confdefs.h */" > confdefs.h
2514 # Predefined preprocessor variables.
2516 cat >>confdefs.h <<_ACEOF
2517 #define PACKAGE_NAME "$PACKAGE_NAME"
2520 cat >>confdefs.h <<_ACEOF
2521 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2524 cat >>confdefs.h <<_ACEOF
2525 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2528 cat >>confdefs.h <<_ACEOF
2529 #define PACKAGE_STRING "$PACKAGE_STRING"
2532 cat >>confdefs.h <<_ACEOF
2533 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2536 cat >>confdefs.h <<_ACEOF
2537 #define PACKAGE_URL "$PACKAGE_URL"
2541 # Let the site file select an alternate cache file if it wants to.
2542 # Prefer an explicitly selected file to automatically selected ones.
2545 if test -n "$CONFIG_SITE"; then
2546 # We do not want a PATH search for config.site.
2547 case $CONFIG_SITE in #((
2548 -*) ac_site_file1=./$CONFIG_SITE;;
2549 */*) ac_site_file1=$CONFIG_SITE;;
2550 *) ac_site_file1=./$CONFIG_SITE;;
2552 elif test "x$prefix" != xNONE; then
2553 ac_site_file1=$prefix/share/config.site
2554 ac_site_file2=$prefix/etc/config.site
2556 ac_site_file1=$ac_default_prefix/share/config.site
2557 ac_site_file2=$ac_default_prefix/etc/config.site
2559 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2561 test "x$ac_site_file" = xNONE && continue
2562 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2564 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2565 sed 's/^/| /' "$ac_site_file" >&5
2567 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2569 as_fn_error $? "failed to load site
script $ac_site_file
2570 See \
`config.log' for more details" "$LINENO" 5; }
2574 if test -r "$cache_file"; then
2575 # Some versions of bash will fail to source /dev/null (special files
2576 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2577 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2579 $as_echo "$as_me: loading cache $cache_file" >&6;}
2581 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2582 *) . "./$cache_file";;
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2587 $as_echo "$as_me: creating cache $cache_file" >&6;}
2591 # Check that the precious variables saved in the cache have kept the same
2593 ac_cache_corrupted=false
2594 for ac_var in $ac_precious_vars; do
2595 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2596 eval ac_new_set=\$ac_env_${ac_var}_set
2597 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2598 eval ac_new_val=\$ac_env_${ac_var}_value
2599 case $ac_old_set,$ac_new_set in
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2602 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2603 ac_cache_corrupted=: ;;
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2606 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2607 ac_cache_corrupted=: ;;
2610 if test "x$ac_old_val" != "x$ac_new_val"; then
2611 # differences in whitespace do not lead to failure.
2612 ac_old_val_w=`echo x
$ac_old_val`
2613 ac_new_val_w=`echo x
$ac_new_val`
2614 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2616 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2617 ac_cache_corrupted=:
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2620 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2621 eval $ac_var=\$ac_old_val
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2624 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2626 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2629 # Pass precious variables to config.status.
2630 if test "$ac_new_set" = set; then
2632 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2633 *) ac_arg=$ac_var=$ac_new_val ;;
2635 case " $ac_configure_args " in
2636 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2637 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2641 if $ac_cache_corrupted; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2645 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2646 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2648 ## -------------------- ##
2649 ## Main body of script. ##
2650 ## -------------------- ##
2653 ac_cpp='$CPP $CPPFLAGS'
2654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2660 for ac_dir in config "$srcdir"/config; do
2661 if test -f "$ac_dir/install-sh"; then
2663 ac_install_sh="$ac_aux_dir/install-sh -c"
2665 elif test -f "$ac_dir/install.sh"; then
2667 ac_install_sh="$ac_aux_dir/install.sh -c"
2669 elif test -f "$ac_dir/shtool"; then
2671 ac_install_sh="$ac_aux_dir/shtool install -c"
2675 if test -z "$ac_aux_dir"; then
2676 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2679 # These three variables are undocumented and unsupported,
2680 # and are intended to be withdrawn in a future Autoconf release.
2681 # They can cause serious problems if a builder's source tree is in a directory
2682 # whose full name contains unusual characters.
2683 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2684 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2685 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2690 # Tells autoconf that we want at least version 2.53 of autoconf to
2691 # create configure from configure.ac
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2696 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2697 # Check whether --enable-maintainer-mode was given.
2698 if test "${enable_maintainer_mode+set}" = set; then :
2699 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2701 USE_MAINTAINER_MODE=no
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2705 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2706 if test $USE_MAINTAINER_MODE = yes; then
2707 MAINTAINER_MODE_TRUE=
2708 MAINTAINER_MODE_FALSE='#'
2710 MAINTAINER_MODE_TRUE='#'
2711 MAINTAINER_MODE_FALSE=
2714 MAINT=$MAINTAINER_MODE_TRUE
2717 # Make sure we can run config.sub.
2718 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2719 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2722 $as_echo_n "checking build system type... " >&6; }
2723 if ${ac_cv_build+:} false; then :
2724 $as_echo_n "(cached) " >&6
2726 ac_build_alias=$build_alias
2727 test "x$ac_build_alias" = x &&
2728 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2729 test "x$ac_build_alias" = x &&
2730 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2731 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2732 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2736 $as_echo "$ac_cv_build" >&6; }
2737 case $ac_cv_build in
2739 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2742 ac_save_IFS=$IFS; IFS='-'
2748 # Remember, the first character of IFS is used to create $*,
2749 # except with old shells:
2752 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2756 $as_echo_n "checking host system type... " >&6; }
2757 if ${ac_cv_host+:} false; then :
2758 $as_echo_n "(cached) " >&6
2760 if test "x$host_alias" = x; then
2761 ac_cv_host=$ac_cv_build
2763 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2764 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2769 $as_echo "$ac_cv_host" >&6; }
2772 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2775 ac_save_IFS=$IFS; IFS='-'
2781 # Remember, the first character of IFS is used to create $*,
2782 # except with old shells:
2785 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2789 # Lets the revision tag from cvs or rcs propagate into the
2790 # configure script, handy for debugging.
2793 # AM_INIT_AUTOMAKE sets up automake which is used to generate
2794 # Makefile.in from Makefile.am
2795 am__api_version='1.11'
2797 # Find a good install program. We prefer a C program (faster),
2798 # so one script is as good as another. But avoid the broken or
2799 # incompatible versions:
2800 # SysV /etc/install, /usr/sbin/install
2801 # SunOS /usr/etc/install
2802 # IRIX /sbin/install
2804 # AmigaOS /C/install, which installs bootblocks on floppy discs
2805 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2806 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2807 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2808 # OS/2's system install, which has a completely different semantic
2809 # ./install, which can be erroneously created by make from ./install.sh.
2810 # Reject install programs that cannot install multiple files.
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2812 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2813 if test -z "$INSTALL"; then
2814 if ${ac_cv_path_install+:} false; then :
2815 $as_echo_n "(cached) " >&6
2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir=.
2822 # Account for people who put trailing slashes in PATH elements.
2823 case $as_dir/ in #((
2824 ./ | .// | /[cC]/* | \
2825 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2826 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2829 # OSF1 and SCO ODT 3.0 have their own names for install.
2830 # Don't use installbsd from OSF since it installs stuff as root
2832 for ac_prog in ginstall scoinst install; do
2833 for ac_exec_ext in '' $ac_executable_extensions; do
2834 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2835 if test $ac_prog = install &&
2836 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2837 # AIX install. It has an incompatible calling convention.
2839 elif test $ac_prog = install &&
2840 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2841 # program-specific install script used by HP pwplus--don't use.
2844 rm -rf conftest.one conftest.two conftest.dir
2845 echo one > conftest.one
2846 echo two > conftest.two
2848 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2849 test -s conftest.one && test -s conftest.two &&
2850 test -s conftest.dir/conftest.one &&
2851 test -s conftest.dir/conftest.two
2853 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2866 rm -rf conftest.one conftest.two conftest.dir
2869 if test "${ac_cv_path_install+set}" = set; then
2870 INSTALL=$ac_cv_path_install
2872 # As a last resort, use the slow shell script. Don't cache a
2873 # value for INSTALL within a source directory, because that will
2874 # break other packages using the cache if that directory is
2875 # removed, or if the value is a relative name.
2876 INSTALL=$ac_install_sh
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2880 $as_echo "$INSTALL" >&6; }
2882 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2883 # It thinks the first close brace ends the variable substitution.
2884 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2886 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2888 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2891 $as_echo_n "checking whether build environment is sane... " >&6; }
2894 echo timestamp > conftest.file
2895 # Reject unsafe characters in $srcdir or the absolute working directory
2896 # name. Accept space and tab only in the latter.
2900 *[\\\"\#\$\&\'\`$am_lf]*)
2901 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2904 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2905 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2908 # Do `set' in a subshell so we don't clobber the current shell's
2909 # arguments. Must try -L first in case configure is actually a
2910 # symlink; some systems play weird games with the mod time of symlinks
2911 # (eg FreeBSD returns the mod time of the symlink's containing
2914 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2915 if test "$*" = "X"; then
2917 set X
`ls -t "$srcdir/configure" conftest.file`
2920 if test "$*" != "X $srcdir/configure conftest.file" \
2921 && test "$*" != "X conftest.file $srcdir/configure"; then
2923 # If neither matched, then we have a broken ls. This can happen
2924 # if, for instance, CONFIG_SHELL is bash and it inherits a
2925 # broken ls alias from the environment. This has actually
2926 # happened. Such a system could not be considered "sane".
2927 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2928 alias in your environment" "$LINENO" 5
2931 test "$2" = conftest.
file
2937 as_fn_error $?
"newly created file is older than distributed files!
2938 Check your system clock" "$LINENO" 5
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2941 $as_echo "yes" >&6; }
2942 test "$program_prefix" != NONE
&&
2943 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2944 # Use a double $ so make ignores it.
2945 test "$program_suffix" != NONE
&&
2946 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2947 # Double any \ or $.
2948 # By default was `s,x,x', remove it if useless.
2949 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2950 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2952 # expand $ac_aux_dir to an absolute path
2953 am_aux_dir
=`cd $ac_aux_dir && pwd`
2955 if test x
"${MISSING+set}" != xset
; then
2958 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2960 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2963 # Use eval to expand $SHELL
2964 if eval "$MISSING --run true"; then
2965 am_missing_run
="$MISSING --run "
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2969 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2972 if test x
"${install_sh}" != xset
; then
2975 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2977 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2981 # Installed binaries are usually stripped using `strip' when the user
2982 # run `make install-strip'. However `strip' might not be the right
2983 # tool to use in cross-compilation environments, therefore Automake
2984 # will honor the `STRIP' environment variable to overrule this program.
2985 if test "$cross_compiling" != no
; then
2986 if test -n "$ac_tool_prefix"; then
2987 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2988 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2990 $as_echo_n "checking for $ac_word... " >&6; }
2991 if ${ac_cv_prog_STRIP+:} false
; then :
2992 $as_echo_n "(cached) " >&6
2994 if test -n "$STRIP"; then
2995 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3001 test -z "$as_dir" && as_dir
=.
3002 for ac_exec_ext
in '' $ac_executable_extensions; do
3003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3004 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3014 STRIP
=$ac_cv_prog_STRIP
3015 if test -n "$STRIP"; then
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3017 $as_echo "$STRIP" >&6; }
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020 $as_echo "no" >&6; }
3025 if test -z "$ac_cv_prog_STRIP"; then
3027 # Extract the first word of "strip", so it can be a program name with args.
3028 set dummy strip
; ac_word
=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3032 $as_echo_n "(cached) " >&6
3034 if test -n "$ac_ct_STRIP"; then
3035 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir
=.
3042 for ac_exec_ext
in '' $ac_executable_extensions; do
3043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3044 ac_cv_prog_ac_ct_STRIP
="strip"
3045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3054 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3055 if test -n "$ac_ct_STRIP"; then
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3057 $as_echo "$ac_ct_STRIP" >&6; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3060 $as_echo "no" >&6; }
3063 if test "x$ac_ct_STRIP" = x
; then
3066 case $cross_compiling:$ac_tool_warned in
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3070 ac_tool_warned
=yes ;;
3075 STRIP
="$ac_cv_prog_STRIP"
3079 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3082 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3083 if test -z "$MKDIR_P"; then
3084 if ${ac_cv_path_mkdir+:} false
; then :
3085 $as_echo_n "(cached) " >&6
3087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3088 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3091 test -z "$as_dir" && as_dir
=.
3092 for ac_prog
in mkdir gmkdir
; do
3093 for ac_exec_ext
in '' $ac_executable_extensions; do
3094 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3095 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3096 'mkdir (GNU coreutils) '* | \
3097 'mkdir (coreutils) '* | \
3098 'mkdir (fileutils) '4.1*)
3099 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3109 test -d .
/--version && rmdir .
/--version
3110 if test "${ac_cv_path_mkdir+set}" = set; then
3111 MKDIR_P
="$ac_cv_path_mkdir -p"
3113 # As a last resort, use the slow shell script. Don't cache a
3114 # value for MKDIR_P within a source directory, because that will
3115 # break other packages using the cache if that directory is
3116 # removed, or if the value is a relative name.
3117 MKDIR_P
="$ac_install_sh -d"
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3121 $as_echo "$MKDIR_P" >&6; }
3125 [\\/$
]* | ?
:[\\/]*) ;;
3126 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3129 for ac_prog
in gawk mawk nawk
awk
3131 # Extract the first word of "$ac_prog", so it can be a program name with args.
3132 set dummy
$ac_prog; ac_word
=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if ${ac_cv_prog_AWK+:} false
; then :
3136 $as_echo_n "(cached) " >&6
3138 if test -n "$AWK"; then
3139 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir
=.
3146 for ac_exec_ext
in '' $ac_executable_extensions; do
3147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3148 ac_cv_prog_AWK
="$ac_prog"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 if test -n "$AWK"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3161 $as_echo "$AWK" >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3168 test -n "$AWK" && break
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3172 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3174 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3175 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3176 $as_echo_n "(cached) " >&6
3178 cat >conftest.
make <<\_ACEOF
3181 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3183 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3184 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3186 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3188 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3192 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3194 $as_echo "yes" >&6; }
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198 $as_echo "no" >&6; }
3199 SET_MAKE
="MAKE=${MAKE-make}"
3202 rm -rf .tst
2>/dev
/null
3203 mkdir .tst
2>/dev
/null
3204 if test -d .tst
; then
3209 rmdir .tst
2>/dev
/null
3211 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3212 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3213 # is not polluted with repeated "-I."
3214 am__isrc
=' -I$(srcdir)'
3215 # test to see if srcdir already configured
3216 if test -f $srcdir/config.status
; then
3217 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3221 # test whether we have cygpath
3222 if test -z "$CYGPATH_W"; then
3223 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3224 CYGPATH_W
='cygpath -w'
3231 # Define the identity of the package.
3236 cat >>confdefs.h
<<_ACEOF
3237 #define PACKAGE "$PACKAGE"
3241 cat >>confdefs.h
<<_ACEOF
3242 #define VERSION "$VERSION"
3245 # Some tools Automake needs.
3247 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3250 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3253 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3256 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3259 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3261 # We need awk for the "check" target. The system "awk" is bad on
3263 # Always define AMTAR for backward compatibility. Yes, it's still used
3264 # in the wild :-( We should find a proper way to deprecate it ...
3267 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3273 # Check whether --enable-silent-rules was given.
3274 if test "${enable_silent_rules+set}" = set; then :
3275 enableval
=$enable_silent_rules;
3278 case $enable_silent_rules in
3279 yes) AM_DEFAULT_VERBOSITY
=0;;
3280 no
) AM_DEFAULT_VERBOSITY
=1;;
3281 *) AM_DEFAULT_VERBOSITY
=0;;
3283 am_make
=${MAKE-make}
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3285 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3286 if ${am_cv_make_support_nested_variables+:} false
; then :
3287 $as_echo_n "(cached) " >&6
3289 if $as_echo 'TRUE=$(BAR$(V))
3295 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3296 am_cv_make_support_nested_variables
=yes
3298 am_cv_make_support_nested_variables
=no
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3302 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3303 if test $am_cv_make_support_nested_variables = yes; then
3305 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3307 AM_V
=$AM_DEFAULT_VERBOSITY
3308 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3313 # Tells automake to use `ac_config.h.tmp' to stash all the
#defines
3314 # that result from a run of configure.
3315 # The name is .tmp since I must change the PACKAGE_ definitions because
3316 # of omniORBS installation of their version of this file.
3317 ac_config_headers
="$ac_config_headers ac_config.h.tmp"
3321 # -version-info CURRENT[:REVISION[:AGE]]
3322 # From the libtool documentation (info libtool)
3323 # So, libtool library versions are described by three integers:
3326 # The most recent interface number that this library implements.
3329 # The implementation number of the CURRENT interface.
3332 # The difference between the newest and oldest interfaces that this
3333 # library implements. In other words, the library implements all the
3334 # interface numbers in the range from number `CURRENT - AGE' to
3339 # Checks for programs.
3342 ac_cpp
='$CXXCPP $CPPFLAGS'
3343 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3344 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3345 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3346 if test -z "$CXX"; then
3347 if test -n "$CCC"; then
3350 if test -n "$ac_tool_prefix"; then
3351 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3353 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3354 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356 $as_echo_n "checking for $ac_word... " >&6; }
3357 if ${ac_cv_prog_CXX+:} false
; then :
3358 $as_echo_n "(cached) " >&6
3360 if test -n "$CXX"; then
3361 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3367 test -z "$as_dir" && as_dir
=.
3368 for ac_exec_ext
in '' $ac_executable_extensions; do
3369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3370 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 if test -n "$CXX"; then
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3383 $as_echo "$CXX" >&6; }
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386 $as_echo "no" >&6; }
3390 test -n "$CXX" && break
3393 if test -z "$CXX"; then
3395 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3397 # Extract the first word of "$ac_prog", so it can be a program name with args.
3398 set dummy
$ac_prog; ac_word
=$2
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3400 $as_echo_n "checking for $ac_word... " >&6; }
3401 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3402 $as_echo_n "(cached) " >&6
3404 if test -n "$ac_ct_CXX"; then
3405 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3411 test -z "$as_dir" && as_dir
=.
3412 for ac_exec_ext
in '' $ac_executable_extensions; do
3413 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3414 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3424 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3425 if test -n "$ac_ct_CXX"; then
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3427 $as_echo "$ac_ct_CXX" >&6; }
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3434 test -n "$ac_ct_CXX" && break
3437 if test "x$ac_ct_CXX" = x
; then
3440 case $cross_compiling:$ac_tool_warned in
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3444 ac_tool_warned
=yes ;;
3452 # Provide some information about the compiler.
3453 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3456 for ac_option
in --version -v -V -qversion; do
3457 { { ac_try
="$ac_compiler $ac_option >&5"
3459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3460 *) ac_try_echo=$ac_try;;
3462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3463 $as_echo "$ac_try_echo"; } >&5
3464 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3466 if test -s conftest.err; then
3468 ... rest of stderr output deleted ...
3469 10q' conftest.err >conftest.er1
3470 cat conftest.er1 >&5
3472 rm -f conftest.er1 conftest.err
3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474 test $ac_status = 0; }
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3488 ac_clean_files_save=$ac_clean_files
3489 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3490 # Try to create an executable without -o first, disregard a.out.
3491 # It will help us diagnose broken compilers, and finding out an intuition
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3494 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3495 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3497 # The possible output files:
3498 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3501 for ac_file in $ac_files
3504 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3505 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3510 if { { ac_try="$ac_link_default"
3512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3513 *) ac_try_echo
=$ac_try;;
3515 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3516 $as_echo "$ac_try_echo"; } >&5
3517 (eval "$ac_link_default") 2>&5
3519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520 test $ac_status = 0; }; then :
3521 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3522 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3523 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3524 # so that the user can short-circuit this test for compilers unknown to
3526 for ac_file
in $ac_files ''
3528 test -f "$ac_file" ||
continue
3530 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3533 # We found the default executable, but exeext='' is most
3537 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3539 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3541 # We set ac_cv_exeext here because the later test for it is not
3542 # safe: cross compilers may not add the suffix if given an `-o'
3543 # argument, so we may need to know it at that point already.
3544 # Even if this section looks crufty: it has the advantage of
3551 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3556 if test -z "$ac_file"; then :
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3559 $as_echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.
$ac_ext >&5
3562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564 as_fn_error
77 "C++ compiler cannot create executables
3565 See \`config.log' for more details" "$LINENO" 5; }
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3568 $as_echo "yes" >&6; }
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3571 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3573 $as_echo "$ac_file" >&6; }
3574 ac_exeext
=$ac_cv_exeext
3576 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3577 ac_clean_files
=$ac_clean_files_save
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3579 $as_echo_n "checking for suffix of executables... " >&6; }
3580 if { { ac_try
="$ac_link"
3582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3583 *) ac_try_echo=$ac_try;;
3585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3586 $as_echo "$ac_try_echo"; } >&5
3587 (eval "$ac_link") 2>&5
3589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3590 test $ac_status = 0; }; then :
3591 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3592 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3593 # work properly (i.e., refer to `conftest.exe'), while it won't with
3595 for ac_file
in conftest.exe conftest conftest.
*; do
3596 test -f "$ac_file" ||
continue
3598 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3599 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3607 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3608 See \`config.log' for more details" "$LINENO" 5; }
3610 rm -f conftest conftest
$ac_cv_exeext
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3612 $as_echo "$ac_cv_exeext" >&6; }
3614 rm -f conftest.
$ac_ext
3615 EXEEXT
=$ac_cv_exeext
3617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3623 FILE *f = fopen ("conftest.out", "w");
3624 return ferror (f) || fclose (f) != 0;
3630 ac_clean_files
="$ac_clean_files conftest.out"
3631 # Check that the compiler produces executables we can run. If not, either
3632 # the compiler is broken, or we cross compile.
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3634 $as_echo_n "checking whether we are cross compiling... " >&6; }
3635 if test "$cross_compiling" != yes; then
3636 { { ac_try
="$ac_link"
3638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3639 *) ac_try_echo=$ac_try;;
3641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3642 $as_echo "$ac_try_echo"; } >&5
3643 (eval "$ac_link") 2>&5
3645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3646 test $ac_status = 0; }
3647 if { ac_try='./conftest$ac_cv_exeext'
3648 { { case "(($ac_try" in
3649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3650 *) ac_try_echo
=$ac_try;;
3652 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3653 $as_echo "$ac_try_echo"; } >&5
3654 (eval "$ac_try") 2>&5
3656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3657 test $ac_status = 0; }; }; then
3660 if test "$cross_compiling" = maybe
; then
3663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3665 as_fn_error $?
"cannot run C++ compiled programs.
3666 If you meant to cross compile, use \`--host'.
3667 See \`config.log' for more details" "$LINENO" 5; }
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3672 $as_echo "$cross_compiling" >&6; }
3674 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3675 ac_clean_files
=$ac_clean_files_save
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3677 $as_echo_n "checking for suffix of object files... " >&6; }
3678 if ${ac_cv_objext+:} false
; then :
3679 $as_echo_n "(cached) " >&6
3681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h. */
3692 rm -f conftest.o conftest.obj
3693 if { { ac_try
="$ac_compile"
3695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3696 *) ac_try_echo=$ac_try;;
3698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3699 $as_echo "$ac_try_echo"; } >&5
3700 (eval "$ac_compile") 2>&5
3702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3703 test $ac_status = 0; }; then :
3704 for ac_file in conftest.o conftest.obj conftest.*; do
3705 test -f "$ac_file" || continue;
3707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3708 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3713 $as_echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.$ac_ext >&5
3716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3718 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3719 See \
`config.log' for more details" "$LINENO" 5; }
3721 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3724 $as_echo "$ac_cv_objext" >&6; }
3725 OBJEXT=$ac_cv_objext
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3728 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3729 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3730 $as_echo_n "(cached) " >&6
3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3746 if ac_fn_cxx_try_compile "$LINENO"; then :
3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3752 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3756 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3757 if test $ac_compiler_gnu = yes; then
3762 ac_test_CXXFLAGS=${CXXFLAGS+set}
3763 ac_save_CXXFLAGS=$CXXFLAGS
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3765 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3766 if ${ac_cv_prog_cxx_g+:} false; then :
3767 $as_echo_n "(cached) " >&6
3769 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3770 ac_cxx_werror_flag=yes
3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3784 if ac_fn_cxx_try_compile "$LINENO"; then :
3785 ac_cv_prog_cxx_g=yes
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3799 if ac_fn_cxx_try_compile "$LINENO"; then :
3802 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3815 if ac_fn_cxx_try_compile "$LINENO"; then :
3816 ac_cv_prog_cxx_g=yes
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3826 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3827 if test "$ac_test_CXXFLAGS" = set; then
3828 CXXFLAGS=$ac_save_CXXFLAGS
3829 elif test $ac_cv_prog_cxx_g = yes; then
3830 if test "$GXX" = yes; then
3836 if test "$GXX" = yes; then
3843 ac_cpp='$CPP $CPPFLAGS'
3844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3847 DEPDIR="${am__leading_dot}deps"
3849 ac_config_commands="$ac_config_commands depfiles"
3852 am_make=${MAKE-make}
3853 cat > confinc << 'END'
3855 @echo this is the am__doit target
3858 # If we don't find an include directive, just comment out the code.
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3860 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3864 # First try GNU make style include.
3865 echo "include confinc" > confmf
3866 # Ignore all kinds of additional output from `make'.
3867 case `$am_make -s -f confmf 2> /dev/null` in #(
3868 *the\ am__doit\ target*)
3874 # Now try BSD make style include.
3875 if test "$am__include" = "#"; then
3876 echo '.include
"confinc"' > confmf
3877 case `$am_make -s -f confmf 2> /dev/null` in #(
3878 *the\ am__doit\ target*)
3879 am__include=.include
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3888 $as_echo "$_am_result" >&6; }
3889 rm -f confinc confmf
3891 # Check whether --enable-dependency-tracking was given.
3892 if test "${enable_dependency_tracking+set}" = set; then :
3893 enableval=$enable_dependency_tracking;
3896 if test "x$enable_dependency_tracking" != xno; then
3897 am_depcomp="$ac_aux_dir/depcomp"
3901 if test "x$enable_dependency_tracking" != xno
; then
3911 depcc
="$CXX" am_compiler_list
=
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3914 $as_echo_n "checking dependency style of $depcc... " >&6; }
3915 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
3916 $as_echo_n "(cached) " >&6
3918 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3919 # We make a subdir and do the tests there. Otherwise we can end up
3920 # making bogus files that we don't know about and never remove. For
3921 # instance it was reported that on HP-UX the gcc test will end up
3922 # making a dummy file named `D' -- because `-MD' means `put the output
3926 # Copy depcomp to subdir because otherwise we won't find it if we're
3927 # using a relative directory.
3928 cp "$am_depcomp" conftest.dir
3930 # We will build objects and dependencies in a subdirectory because
3931 # it helps to detect inapplicable dependency modes. For instance
3932 # both Tru64's cc and ICC support -MD to output dependencies as a
3933 # side effect of compilation, but ICC will put the dependencies in
3934 # the current directory while Tru64 will put them in the object
3938 am_cv_CXX_dependencies_compiler_type
=none
3939 if test "$am_compiler_list" = ""; then
3940 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3943 case " $depcc " in #(
3944 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3947 for depmode
in $am_compiler_list; do
3948 # Setup a source with many dependencies, because some compilers
3949 # like to wrap large dependency lists on column 80 (with \), and
3950 # we should not choose a depcomp mode which is confused by this.
3952 # We need to recreate these files for each test, as the compiler may
3953 # overwrite some of them when testing with obscure command lines.
3954 # This happens at least with the AIX C compiler.
3956 for i
in 1 2 3 4 5 6; do
3957 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3958 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3959 # Solaris 8's {/usr,}/bin/sh.
3960 touch sub
/conftst
$i.h
3962 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3964 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3965 # mode. It turns out that the SunPro C++ compiler does not properly
3966 # handle `-M -o', and we need to detect this. Also, some Intel
3967 # versions had trouble with output in subdirs
3968 am__obj
=sub
/conftest.
${OBJEXT-o}
3969 am__minus_obj
="-o $am__obj"
3972 # This depmode causes a compiler race in universal mode.
3973 test "$am__universal" = false ||
continue
3976 # after this tag, mechanisms are not by side-effect, so they'll
3977 # only be used when explicitly requested
3978 if test "x$enable_dependency_tracking" = xyes
; then
3984 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3985 # This compiler won't grok `-c -o', but also, the minuso test has
3986 # not run yet. These depmodes are late enough in the game, and
3987 # so weak that their functioning should not be impacted.
3988 am__obj
=conftest.
${OBJEXT-o}
3993 if depmode
=$depmode \
3994 source=sub
/conftest.c object
=$am__obj \
3995 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3996 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3997 >/dev
/null
2>conftest.err
&&
3998 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3999 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4000 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4001 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4002 # icc doesn't choke on unknown options, it will just issue warnings
4003 # or remarks (even with -Werror). So we grep stderr for any message
4004 # that says an option was ignored or not supported.
4005 # When given -MP, icc 7.0 and 7.1 complain thusly:
4006 # icc: Command line warning: ignoring option '-M'; no argument required
4007 # The diagnosis changed in icc 8.0:
4008 # icc: Command line remark: option '-MP' not supported
4009 if (grep 'ignoring option' conftest.err ||
4010 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4011 am_cv_CXX_dependencies_compiler_type
=$depmode
4020 am_cv_CXX_dependencies_compiler_type
=none
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4025 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4026 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4029 test "x$enable_dependency_tracking" != xno \
4030 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4031 am__fastdepCXX_TRUE
=
4032 am__fastdepCXX_FALSE
='#'
4034 am__fastdepCXX_TRUE
='#'
4035 am__fastdepCXX_FALSE
=
4040 ac_cpp
='$CXXCPP $CPPFLAGS'
4041 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4042 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4043 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4045 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4046 if test -z "$CXXCPP"; then
4047 if ${ac_cv_prog_CXXCPP+:} false
; then :
4048 $as_echo_n "(cached) " >&6
4050 # Double quotes because CXXCPP needs to be expanded
4051 for CXXCPP
in "$CXX -E" "/lib/cpp"
4054 for ac_cxx_preproc_warn_flag
in '' yes
4056 # Use a header file that comes with gcc, so configuring glibc
4057 # with a fresh cross-compiler works.
4058 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4059 # <limits.h> exists even on freestanding compilers.
4060 # On the NeXT, cc -E runs the code through the compiler's parser,
4061 # not just through cpp. "Syntax error" is here to catch this case.
4062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h. */
4065 # include <limits.h>
4067 # include <assert.h>
4071 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4074 # Broken: fails on valid input.
4077 rm -f conftest.err conftest.i conftest.
$ac_ext
4079 # OK, works on sane cases. Now check whether nonexistent headers
4080 # can be detected and how.
4081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4083 #include <ac_nonexistent.h>
4085 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4086 # Broken: success on invalid input.
4089 # Passes both tests.
4093 rm -f conftest.err conftest.i conftest.
$ac_ext
4096 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4097 rm -f conftest.i conftest.err conftest.
$ac_ext
4098 if $ac_preproc_ok; then :
4103 ac_cv_prog_CXXCPP
=$CXXCPP
4106 CXXCPP
=$ac_cv_prog_CXXCPP
4108 ac_cv_prog_CXXCPP
=$CXXCPP
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4111 $as_echo "$CXXCPP" >&6; }
4113 for ac_cxx_preproc_warn_flag
in '' yes
4115 # Use a header file that comes with gcc, so configuring glibc
4116 # with a fresh cross-compiler works.
4117 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4118 # <limits.h> exists even on freestanding compilers.
4119 # On the NeXT, cc -E runs the code through the compiler's parser,
4120 # not just through cpp. "Syntax error" is here to catch this case.
4121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4124 # include <limits.h>
4126 # include <assert.h>
4130 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4133 # Broken: fails on valid input.
4136 rm -f conftest.err conftest.i conftest.
$ac_ext
4138 # OK, works on sane cases. Now check whether nonexistent headers
4139 # can be detected and how.
4140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h. */
4142 #include <ac_nonexistent.h>
4144 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4145 # Broken: success on invalid input.
4148 # Passes both tests.
4152 rm -f conftest.err conftest.i conftest.
$ac_ext
4155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4156 rm -f conftest.i conftest.err conftest.
$ac_ext
4157 if $ac_preproc_ok; then :
4160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4162 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
4163 See \`config.log' for more details" "$LINENO" 5; }
4167 ac_cpp
='$CPP $CPPFLAGS'
4168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4173 ac_cpp
='$CPP $CPPFLAGS'
4174 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4175 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4176 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4177 if test -n "$ac_tool_prefix"; then
4178 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4179 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4181 $as_echo_n "checking for $ac_word... " >&6; }
4182 if ${ac_cv_prog_CC+:} false
; then :
4183 $as_echo_n "(cached) " >&6
4185 if test -n "$CC"; then
4186 ac_cv_prog_CC
="$CC" # Let the user override the test.
4188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4192 test -z "$as_dir" && as_dir
=.
4193 for ac_exec_ext
in '' $ac_executable_extensions; do
4194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4195 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4206 if test -n "$CC"; then
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4208 $as_echo "$CC" >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4211 $as_echo "no" >&6; }
4216 if test -z "$ac_cv_prog_CC"; then
4218 # Extract the first word of "gcc", so it can be a program name with args.
4219 set dummy gcc
; ac_word
=$2
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221 $as_echo_n "checking for $ac_word... " >&6; }
4222 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4223 $as_echo_n "(cached) " >&6
4225 if test -n "$ac_ct_CC"; then
4226 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir
=.
4233 for ac_exec_ext
in '' $ac_executable_extensions; do
4234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4235 ac_cv_prog_ac_ct_CC
="gcc"
4236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4245 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4246 if test -n "$ac_ct_CC"; then
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4248 $as_echo "$ac_ct_CC" >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4254 if test "x$ac_ct_CC" = x
; then
4257 case $cross_compiling:$ac_tool_warned in
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4261 ac_tool_warned
=yes ;;
4269 if test -z "$CC"; then
4270 if test -n "$ac_tool_prefix"; then
4271 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4272 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274 $as_echo_n "checking for $ac_word... " >&6; }
4275 if ${ac_cv_prog_CC+:} false
; then :
4276 $as_echo_n "(cached) " >&6
4278 if test -n "$CC"; then
4279 ac_cv_prog_CC
="$CC" # Let the user override the test.
4281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4285 test -z "$as_dir" && as_dir
=.
4286 for ac_exec_ext
in '' $ac_executable_extensions; do
4287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4288 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4299 if test -n "$CC"; then
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4301 $as_echo "$CC" >&6; }
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304 $as_echo "no" >&6; }
4310 if test -z "$CC"; then
4311 # Extract the first word of "cc", so it can be a program name with args.
4312 set dummy cc
; ac_word
=$2
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314 $as_echo_n "checking for $ac_word... " >&6; }
4315 if ${ac_cv_prog_CC+:} false
; then :
4316 $as_echo_n "(cached) " >&6
4318 if test -n "$CC"; then
4319 ac_cv_prog_CC
="$CC" # Let the user override the test.
4322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4326 test -z "$as_dir" && as_dir
=.
4327 for ac_exec_ext
in '' $ac_executable_extensions; do
4328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4329 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4330 ac_prog_rejected
=yes
4334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4341 if test $ac_prog_rejected = yes; then
4342 # We found a bogon in the path, so make sure we never use it.
4343 set dummy
$ac_cv_prog_CC
4345 if test $# != 0; then
4346 # We chose a different compiler from the bogus one.
4347 # However, it has the same basename, so the bogon will be chosen
4348 # first if we set CC to just the basename; use the full file name.
4350 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4356 if test -n "$CC"; then
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4358 $as_echo "$CC" >&6; }
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4361 $as_echo "no" >&6; }
4366 if test -z "$CC"; then
4367 if test -n "$ac_tool_prefix"; then
4368 for ac_prog
in cl.exe
4370 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4371 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4373 $as_echo_n "checking for $ac_word... " >&6; }
4374 if ${ac_cv_prog_CC+:} false
; then :
4375 $as_echo_n "(cached) " >&6
4377 if test -n "$CC"; then
4378 ac_cv_prog_CC
="$CC" # Let the user override the test.
4380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4384 test -z "$as_dir" && as_dir
=.
4385 for ac_exec_ext
in '' $ac_executable_extensions; do
4386 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4387 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 if test -n "$CC"; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4400 $as_echo "$CC" >&6; }
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403 $as_echo "no" >&6; }
4407 test -n "$CC" && break
4410 if test -z "$CC"; then
4412 for ac_prog
in cl.exe
4414 # Extract the first word of "$ac_prog", so it can be a program name with args.
4415 set dummy
$ac_prog; ac_word
=$2
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4417 $as_echo_n "checking for $ac_word... " >&6; }
4418 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4419 $as_echo_n "(cached) " >&6
4421 if test -n "$ac_ct_CC"; then
4422 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4428 test -z "$as_dir" && as_dir
=.
4429 for ac_exec_ext
in '' $ac_executable_extensions; do
4430 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4431 ac_cv_prog_ac_ct_CC
="$ac_prog"
4432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4441 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4442 if test -n "$ac_ct_CC"; then
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4444 $as_echo "$ac_ct_CC" >&6; }
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4447 $as_echo "no" >&6; }
4451 test -n "$ac_ct_CC" && break
4454 if test "x$ac_ct_CC" = x
; then
4457 case $cross_compiling:$ac_tool_warned in
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4461 ac_tool_warned
=yes ;;
4470 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4472 as_fn_error $?
"no acceptable C compiler found in \$PATH
4473 See \`config.log' for more details" "$LINENO" 5; }
4475 # Provide some information about the compiler.
4476 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4479 for ac_option
in --version -v -V -qversion; do
4480 { { ac_try
="$ac_compiler $ac_option >&5"
4482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4483 *) ac_try_echo=$ac_try;;
4485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4486 $as_echo "$ac_try_echo"; } >&5
4487 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4489 if test -s conftest.err; then
4491 ... rest of stderr output deleted ...
4492 10q' conftest.err >conftest.er1
4493 cat conftest.er1 >&5
4495 rm -f conftest.er1 conftest.err
4496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4497 test $ac_status = 0; }
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4501 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4502 if ${ac_cv_c_compiler_gnu+:} false; then :
4503 $as_echo_n "(cached) " >&6
4505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4519 if ac_fn_c_try_compile "$LINENO"; then :
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4529 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4530 if test $ac_compiler_gnu = yes; then
4535 ac_test_CFLAGS=${CFLAGS+set}
4536 ac_save_CFLAGS=$CFLAGS
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4538 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4539 if ${ac_cv_prog_cc_g+:} false; then :
4540 $as_echo_n "(cached) " >&6
4542 ac_save_c_werror_flag=$ac_c_werror_flag
4543 ac_c_werror_flag=yes
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4557 if ac_fn_c_try_compile "$LINENO"; then :
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4572 if ac_fn_c_try_compile "$LINENO"; then :
4575 ac_c_werror_flag=$ac_save_c_werror_flag
4577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4578 /* end confdefs.h. */
4588 if ac_fn_c_try_compile "$LINENO"; then :
4591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4596 ac_c_werror_flag=$ac_save_c_werror_flag
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4599 $as_echo "$ac_cv_prog_cc_g" >&6; }
4600 if test "$ac_test_CFLAGS" = set; then
4601 CFLAGS=$ac_save_CFLAGS
4602 elif test $ac_cv_prog_cc_g = yes; then
4603 if test "$GCC" = yes; then
4609 if test "$GCC" = yes; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4616 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4617 if ${ac_cv_prog_cc_c89+:} false; then :
4618 $as_echo_n "(cached) " >&6
4620 ac_cv_prog_cc_c89=no
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4627 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4628 struct buf { int x; };
4629 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4630 static char *e (p, i)
4636 static char *f (char * (*g) (char **, int), char **p, ...)
4641 s = g (p, va_arg (v,int));
4646 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4647 function prototypes and stuff, but not '\xHH' hex character constants.
4648 These don't provoke an error unfortunately, instead are silently treated
4649 as 'x'. The following induces an error, until -std is added to get
4650 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4651 array size at least. It's necessary to write '\x00'==0 to get something
4652 that's true only with -std. */
4653 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4655 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4656 inside strings and character constants. */
4658 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4660 int test (int i, double x);
4661 struct s1 {int (*f) (int a);};
4662 struct s2 {int (*f) (double a);};
4663 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4669 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4674 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4675 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4677 CC="$ac_save_CC $ac_arg"
4678 if ac_fn_c_try_compile "$LINENO"; then :
4679 ac_cv_prog_cc_c89=$ac_arg
4681 rm -f core conftest.err conftest.$ac_objext
4682 test "x$ac_cv_prog_cc_c89" != "xno" && break
4684 rm -f conftest.$ac_ext
4689 case "x$ac_cv_prog_cc_c89" in
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4692 $as_echo "none needed" >&6; } ;;
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4695 $as_echo "unsupported" >&6; } ;;
4697 CC="$CC $ac_cv_prog_cc_c89"
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4699 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4701 if test "x$ac_cv_prog_cc_c89" != xno; then :
4706 ac_cpp='$CPP $CPPFLAGS'
4707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4711 depcc="$CC" am_compiler_list=
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4714 $as_echo_n "checking dependency style of $depcc... " >&6; }
4715 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4716 $as_echo_n "(cached) " >&6
4718 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4719 # We make a subdir and do the tests there. Otherwise we can end up
4720 # making bogus files that we don't know about and never remove. For
4721 # instance it was reported that on HP-UX the gcc test will end up
4722 # making a dummy file named `D
' -- because `-MD' means
`put the output
4726 # Copy depcomp to subdir because otherwise we won't find it if we're
4727 # using a relative directory.
4728 cp "$am_depcomp" conftest.dir
4730 # We will build objects and dependencies in a subdirectory because
4731 # it helps to detect inapplicable dependency modes. For instance
4732 # both Tru64's cc and ICC support -MD to output dependencies as a
4733 # side effect of compilation, but ICC will put the dependencies in
4734 # the current directory while Tru64 will put them in the object
4738 am_cv_CC_dependencies_compiler_type=none
4739 if test "$am_compiler_list" = ""; then
4740 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4743 case " $depcc " in #(
4744 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4747 for depmode in $am_compiler_list; do
4748 # Setup a source with many dependencies, because some compilers
4749 # like to wrap large dependency lists on column 80 (with \), and
4750 # we should not choose a depcomp mode which is confused by this.
4752 # We need to recreate these files for each test, as the compiler may
4753 # overwrite some of them when testing with obscure command lines.
4754 # This happens at least with the AIX C compiler.
4756 for i in 1 2 3 4 5 6; do
4757 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4758 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4759 # Solaris 8's
{/usr
,}/bin
/sh.
4760 touch sub
/conftst
$i.h
4762 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4764 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4765 # mode. It turns out that the SunPro C++ compiler does not properly
4766 # handle `-M -o', and we need to detect this. Also, some Intel
4767 # versions had trouble with output in subdirs
4768 am__obj
=sub
/conftest.
${OBJEXT-o}
4769 am__minus_obj
="-o $am__obj"
4772 # This depmode causes a compiler race in universal mode.
4773 test "$am__universal" = false ||
continue
4776 # after this tag, mechanisms are not by side-effect, so they'll
4777 # only be used when explicitly requested
4778 if test "x$enable_dependency_tracking" = xyes
; then
4784 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4785 # This compiler won't grok `-c -o', but also, the minuso test has
4786 # not run yet. These depmodes are late enough in the game, and
4787 # so weak that their functioning should not be impacted.
4788 am__obj
=conftest.
${OBJEXT-o}
4793 if depmode
=$depmode \
4794 source=sub
/conftest.c object
=$am__obj \
4795 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4796 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4797 >/dev
/null
2>conftest.err
&&
4798 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4799 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4800 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4801 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4802 # icc doesn't choke on unknown options, it will just issue warnings
4803 # or remarks (even with -Werror). So we grep stderr for any message
4804 # that says an option was ignored or not supported.
4805 # When given -MP, icc 7.0 and 7.1 complain thusly:
4806 # icc: Command line warning: ignoring option '-M'; no argument required
4807 # The diagnosis changed in icc 8.0:
4808 # icc: Command line remark: option '-MP' not supported
4809 if (grep 'ignoring option' conftest.err ||
4810 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4811 am_cv_CC_dependencies_compiler_type
=$depmode
4820 am_cv_CC_dependencies_compiler_type
=none
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4825 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4826 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4829 test "x$enable_dependency_tracking" != xno \
4830 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4832 am__fastdepCC_FALSE
='#'
4834 am__fastdepCC_TRUE
='#'
4835 am__fastdepCC_FALSE
=
4840 ac_cpp
='$CPP $CPPFLAGS'
4841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4845 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4846 # On Suns, sometimes $CPP names a directory.
4847 if test -n "$CPP" && test -d "$CPP"; then
4850 if test -z "$CPP"; then
4851 if ${ac_cv_prog_CPP+:} false
; then :
4852 $as_echo_n "(cached) " >&6
4854 # Double quotes because CPP needs to be expanded
4855 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4858 for ac_c_preproc_warn_flag
in '' yes
4860 # Use a header file that comes with gcc, so configuring glibc
4861 # with a fresh cross-compiler works.
4862 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4863 # <limits.h> exists even on freestanding compilers.
4864 # On the NeXT, cc -E runs the code through the compiler's parser,
4865 # not just through cpp. "Syntax error" is here to catch this case.
4866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4869 # include <limits.h>
4871 # include <assert.h>
4875 if ac_fn_c_try_cpp
"$LINENO"; then :
4878 # Broken: fails on valid input.
4881 rm -f conftest.err conftest.i conftest.
$ac_ext
4883 # OK, works on sane cases. Now check whether nonexistent headers
4884 # can be detected and how.
4885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4887 #include <ac_nonexistent.h>
4889 if ac_fn_c_try_cpp
"$LINENO"; then :
4890 # Broken: success on invalid input.
4893 # Passes both tests.
4897 rm -f conftest.err conftest.i conftest.
$ac_ext
4900 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4901 rm -f conftest.i conftest.err conftest.
$ac_ext
4902 if $ac_preproc_ok; then :
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4915 $as_echo "$CPP" >&6; }
4917 for ac_c_preproc_warn_flag
in '' yes
4919 # Use a header file that comes with gcc, so configuring glibc
4920 # with a fresh cross-compiler works.
4921 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4922 # <limits.h> exists even on freestanding compilers.
4923 # On the NeXT, cc -E runs the code through the compiler's parser,
4924 # not just through cpp. "Syntax error" is here to catch this case.
4925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4928 # include <limits.h>
4930 # include <assert.h>
4934 if ac_fn_c_try_cpp
"$LINENO"; then :
4937 # Broken: fails on valid input.
4940 rm -f conftest.err conftest.i conftest.
$ac_ext
4942 # OK, works on sane cases. Now check whether nonexistent headers
4943 # can be detected and how.
4944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4946 #include <ac_nonexistent.h>
4948 if ac_fn_c_try_cpp
"$LINENO"; then :
4949 # Broken: success on invalid input.
4952 # Passes both tests.
4956 rm -f conftest.err conftest.i conftest.
$ac_ext
4959 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4960 rm -f conftest.i conftest.err conftest.
$ac_ext
4961 if $ac_preproc_ok; then :
4964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4966 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4967 See \`config.log' for more details" "$LINENO" 5; }
4971 ac_cpp
='$CPP $CPPFLAGS'
4972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4976 for ac_prog
in gawk mawk nawk
awk
4978 # Extract the first word of "$ac_prog", so it can be a program name with args.
4979 set dummy
$ac_prog; ac_word
=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if ${ac_cv_prog_AWK+:} false
; then :
4983 $as_echo_n "(cached) " >&6
4985 if test -n "$AWK"; then
4986 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir
=.
4993 for ac_exec_ext
in '' $ac_executable_extensions; do
4994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_AWK
="$ac_prog"
4996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 if test -n "$AWK"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5008 $as_echo "$AWK" >&6; }
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5015 test -n "$AWK" && break
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5020 $as_echo_n "checking whether ln -s works... " >&6; }
5022 if test "$LN_S" = "ln -s"; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5024 $as_echo "yes" >&6; }
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5027 $as_echo "no, using $LN_S" >&6; }
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5031 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5033 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5034 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5035 $as_echo_n "(cached) " >&6
5037 cat >conftest.
make <<\_ACEOF
5040 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5042 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5043 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5045 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5047 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5051 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5053 $as_echo "yes" >&6; }
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5058 SET_MAKE
="MAKE=${MAKE-make}"
5064 if test "$CXX" = "c++" -o "$CXX" = "g++"
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5069 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5070 if ${ac_cv_path_GREP+:} false
; then :
5071 $as_echo_n "(cached) " >&6
5073 if test -z "$GREP"; then
5074 ac_path_GREP_found
=false
5075 # Loop through the user's path and test for each of PROGNAME-LIST
5076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5077 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5080 test -z "$as_dir" && as_dir
=.
5081 for ac_prog
in grep ggrep
; do
5082 for ac_exec_ext
in '' $ac_executable_extensions; do
5083 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5084 as_fn_executable_p
"$ac_path_GREP" ||
continue
5085 # Check for GNU ac_path_GREP and select it if it is found.
5086 # Check for GNU $ac_path_GREP
5087 case `"$ac_path_GREP" --version 2>&1` in
5089 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5092 $as_echo_n 0123456789 >"conftest.in"
5095 cat "conftest.in" "conftest.in" >"conftest.tmp"
5096 mv "conftest.tmp" "conftest.in"
5097 cp "conftest.in" "conftest.nl"
5098 $as_echo 'GREP' >> "conftest.nl"
5099 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5100 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5101 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5102 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5103 # Best one so far, save it but keep looking for a better one
5104 ac_cv_path_GREP
="$ac_path_GREP"
5105 ac_path_GREP_max
=$ac_count
5107 # 10*(2^10) chars as input seems more than enough
5108 test $ac_count -gt 10 && break
5110 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5113 $ac_path_GREP_found && break 3
5118 if test -z "$ac_cv_path_GREP"; then
5119 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5122 ac_cv_path_GREP
=$GREP
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5127 $as_echo "$ac_cv_path_GREP" >&6; }
5128 GREP
="$ac_cv_path_GREP"
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5132 $as_echo_n "checking for egrep... " >&6; }
5133 if ${ac_cv_path_EGREP+:} false
; then :
5134 $as_echo_n "(cached) " >&6
5136 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5137 then ac_cv_path_EGREP
="$GREP -E"
5139 if test -z "$EGREP"; then
5140 ac_path_EGREP_found
=false
5141 # Loop through the user's path and test for each of PROGNAME-LIST
5142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5143 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5146 test -z "$as_dir" && as_dir
=.
5147 for ac_prog
in egrep; do
5148 for ac_exec_ext
in '' $ac_executable_extensions; do
5149 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5150 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5151 # Check for GNU ac_path_EGREP and select it if it is found.
5152 # Check for GNU $ac_path_EGREP
5153 case `"$ac_path_EGREP" --version 2>&1` in
5155 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5158 $as_echo_n 0123456789 >"conftest.in"
5161 cat "conftest.in" "conftest.in" >"conftest.tmp"
5162 mv "conftest.tmp" "conftest.in"
5163 cp "conftest.in" "conftest.nl"
5164 $as_echo 'EGREP' >> "conftest.nl"
5165 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5166 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5167 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5168 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5169 # Best one so far, save it but keep looking for a better one
5170 ac_cv_path_EGREP
="$ac_path_EGREP"
5171 ac_path_EGREP_max
=$ac_count
5173 # 10*(2^10) chars as input seems more than enough
5174 test $ac_count -gt 10 && break
5176 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5179 $ac_path_EGREP_found && break 3
5184 if test -z "$ac_cv_path_EGREP"; then
5185 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5188 ac_cv_path_EGREP
=$EGREP
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5194 $as_echo "$ac_cv_path_EGREP" >&6; }
5195 EGREP
="$ac_cv_path_EGREP"
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc compiler release (at least version 3.2.0)" >&5
5199 $as_echo_n "checking for gcc compiler release (at least version 3.2.0)... " >&6; }
5200 if ${ac_cv_gcc_version_3_2_0+:} false
; then :
5201 $as_echo_n "(cached) " >&6
5203 if test x
$GCC = x
; then
5204 ac_cv_gcc_version_3_2_0
=no
5207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5208 /* end confdefs.h. */
5209 #define HAVE_GCC_VERSION(MAJOR, MINOR, MICRO, DATE) \
5210 (__GNUC__ > (MAJOR) \
5211 || (__GNUC__ == (MAJOR) && __GNUC_MINOR__ > (MINOR)) \
5212 || (__GNUC__ == (MAJOR) && __GNUC_MINOR__ == (MINOR) \
5213 && __GNUC_PATCHLEVEL__ > (MICRO)) \
5214 || (__GNUC__ == (MAJOR) && __GNUC_MINOR__ == (MINOR) \
5215 && __GNUC_PATCHLEVEL__ == (MICRO) && ${ac_gcc_date}L >= (DATE)))
5216 #if HAVE_GCC_VERSION(3,2,0,0)
5220 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5221 $EGREP "yes" >/dev
/null
2>&1; then :
5222 ac_cv_gcc_version_3_2_0
=yes
5224 ac_cv_gcc_version_3_2_0
=no
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc_version_3_2_0" >&5
5232 $as_echo "$ac_cv_gcc_version_3_2_0" >&6; }
5233 if test x
$ac_cv_gcc_version_3_2_0 = xyes
; then
5235 cat >>confdefs.h
<<_ACEOF
5236 #define HAVE_GCC_VERSION_3_2_0 1
5241 if test "x$ac_cv_gcc_version_3_2_0" = "xno"; then
5242 as_fn_error
-1 "Not supported gcc release. Should be 3.2.0 or above. Please update !" "$LINENO" 5
5246 # Check if compiler support C++11
5249 ax_cxx_compile_cxx11_required
=falsednl
5251 ac_cpp
='$CXXCPP $CPPFLAGS'
5252 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5253 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5254 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
5257 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
5258 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
5259 $as_echo_n "(cached) " >&6
5261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5264 template <typename T>
5267 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5270 typedef check<check<bool>> right_angle_brackets;
5275 typedef check<int> check_type;
5277 check_type&& cr = static_cast<check_type&&>(c);
5282 if ac_fn_cxx_try_compile
"$LINENO"; then :
5283 ax_cv_cxx_compile_cxx11
=yes
5285 ax_cv_cxx_compile_cxx11
=no
5287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
5290 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
5291 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
5297 if test x
$ac_success = xno
; then
5298 for switch
in -std=c
++11 -std=c
++0x
; do
5299 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
5301 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
5302 if eval \
${$cachevar+:} false
; then :
5303 $as_echo_n "(cached) " >&6
5305 ac_save_CXXFLAGS
="$CXXFLAGS"
5306 CXXFLAGS
="$CXXFLAGS $switch"
5307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5310 template <typename T>
5313 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5316 typedef check<check<bool>> right_angle_brackets;
5321 typedef check<int> check_type;
5323 check_type&& cr = static_cast<check_type&&>(c);
5328 if ac_fn_cxx_try_compile
"$LINENO"; then :
5333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5334 CXXFLAGS
="$ac_save_CXXFLAGS"
5336 eval ac_res
=\$
$cachevar
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5338 $as_echo "$ac_res" >&6; }
5339 if eval test x\$
$cachevar = xyes
; then
5340 CXXFLAGS
="$CXXFLAGS $switch"
5347 ac_cpp
='$CPP $CPPFLAGS'
5348 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5349 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5350 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5352 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
5353 if test x
$ac_success = xno
; then
5354 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
5357 if test x
$ac_success = xno
; then
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
5360 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
5365 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
5374 # Check if Java interpreter is there
5376 # Check whether --enable-java was given.
5377 if test "${enable_java+set}" = set; then :
5378 enableval
=$enable_java;
5384 # Check whether --enable-mariadb was given.
5385 if test "${enable_mariadb+set}" = set; then :
5386 enableval
=$enable_mariadb; enable_mariadb
=yes
5393 # Check whether --with-java was given.
5394 if test "${with_java+set}" = set; then :
5395 withval
=$with_java; JAVA
=${with_java}
5401 if test "x$enable_java" = "xyes" ; then
5402 if test "x$with_java" = "xno" -o -z "$with_java"; then
5406 if test "x$with_java" = "xyes"; then
5407 # Extract the first word of "java", so it can be a program name with args.
5408 set dummy java
; ac_word
=$2
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5410 $as_echo_n "checking for $ac_word... " >&6; }
5411 if ${ac_cv_path_JAVA+:} false
; then :
5412 $as_echo_n "(cached) " >&6
5416 ac_cv_path_JAVA
="$JAVA" # Let the user override the test with a path.
5419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5423 test -z "$as_dir" && as_dir
=.
5424 for ac_exec_ext
in '' $ac_executable_extensions; do
5425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_path_JAVA
="$as_dir/$ac_word$ac_exec_ext"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 test -z "$ac_cv_path_JAVA" && ac_cv_path_JAVA
=""notfound
""
5438 JAVA
=$ac_cv_path_JAVA
5439 if test -n "$JAVA"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
5441 $as_echo "$JAVA" >&6; }
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5449 if test "x$JAVA" != "xnotfound"; then
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for java release (at least version 1.7)" >&5
5451 $as_echo_n "checking for java release (at least version 1.7)... " >&6; }
5452 if ${ac_cv_java_version_1_7+:} false
; then :
5453 $as_echo_n "(cached) " >&6
5456 if test -x $JAVA -a -f $JAVA; then
5457 VERS
=`$JAVA -version 2>&1 | grep version | cut -d '"' -f 2`
5460 JAVA_MAJOR
=`echo $VERS | cut -d '.' -f 1`
5461 JAVA_MINOR
=`echo $VERS | cut -d '.' -f 2`
5462 JAVA_MICRO
=`echo $VERS | cut -d '.' -f 3`
5465 if test $JAVA_MAJOR -lt 1; then
5466 ac_cv_java_version_1_7
=no
5468 if test $JAVA_MINOR -lt 7; then
5469 ac_cv_java_version_1_7
=no
5471 ac_cv_java_version_1_7
=yes
5475 ac_cv_java_version_1_7
=no
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_java_version_1_7" >&5
5480 $as_echo "$ac_cv_java_version_1_7" >&6; }
5482 if test "x$ac_cv_java_version_1_7" = "xno"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not supported java release. Should be 1.7.x or above. Java will be disabled for this build!" >&5
5484 $as_echo "$as_me: WARNING: Not supported java release. Should be 1.7.x or above. Java will be disabled for this build!" >&2;}
5499 # Define a conditional variable to enable or disable installation
5500 # of java applications. The variable is used in the Makefiles.
5503 if test x
"$enable_java" != x
"no"; then
5504 TANGO_JAVA_ENABLED_TRUE
=
5505 TANGO_JAVA_ENABLED_FALSE
='#'
5507 TANGO_JAVA_ENABLED_TRUE
='#'
5508 TANGO_JAVA_ENABLED_FALSE
=
5512 # Check if doxygen is there
5515 # Check whether --with-doxygen was given.
5516 if test "${with_doxygen+set}" = set; then :
5517 withval
=$with_doxygen; DOXYGEN
=${with_doxygen}
5519 # Extract the first word of "doxygen", so it can be a program name with args.
5520 set dummy doxygen
; ac_word
=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_path_DOXYGEN+:} false
; then :
5524 $as_echo_n "(cached) " >&6
5528 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
5531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5535 test -z "$as_dir" && as_dir
=.
5536 for ac_exec_ext
in '' $ac_executable_extensions; do
5537 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5538 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5549 DOXYGEN
=$ac_cv_path_DOXYGEN
5550 if test -n "$DOXYGEN"; then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
5552 $as_echo "$DOXYGEN" >&6; }
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5555 $as_echo "no" >&6; }
5562 if test -z "$DOXYGEN"; then
5563 DOXYGEN
=NOT_INSTALLED
5566 # Check if lyx is there
5569 # Check whether --with-lyx was given.
5570 if test "${with_lyx+set}" = set; then :
5571 withval
=$with_lyx; LYX
=${with_lyx}
5573 # Extract the first word of "lyx", so it can be a program name with args.
5574 set dummy lyx
; ac_word
=$2
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5576 $as_echo_n "checking for $ac_word... " >&6; }
5577 if ${ac_cv_path_LYX+:} false
; then :
5578 $as_echo_n "(cached) " >&6
5582 ac_cv_path_LYX
="$LYX" # Let the user override the test with a path.
5585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5589 test -z "$as_dir" && as_dir
=.
5590 for ac_exec_ext
in '' $ac_executable_extensions; do
5591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5592 ac_cv_path_LYX
="$as_dir/$ac_word$ac_exec_ext"
5593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5604 if test -n "$LYX"; then
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LYX" >&5
5606 $as_echo "$LYX" >&6; }
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5609 $as_echo "no" >&6; }
5616 if test -z "$LYX"; then
5620 if test x
"$LYX" != x
"false"; then
5621 TANGO_LYX_ENABLED_TRUE
=
5622 TANGO_LYX_ENABLED_FALSE
='#'
5624 TANGO_LYX_ENABLED_TRUE
='#'
5625 TANGO_LYX_ENABLED_FALSE
=
5629 # Check if fig2dev is there
5632 # Check whether --with-fig2dev was given.
5633 if test "${with_fig2dev+set}" = set; then :
5634 withval
=$with_fig2dev; FIG2DEV
=${with_fig2dev}
5636 # Extract the first word of "fig2dev", so it can be a program name with args.
5637 set dummy fig2dev
; ac_word
=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_path_FIG2DEV+:} false
; then :
5641 $as_echo_n "(cached) " >&6
5645 ac_cv_path_FIG2DEV
="$FIG2DEV" # Let the user override the test with a path.
5648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5652 test -z "$as_dir" && as_dir
=.
5653 for ac_exec_ext
in '' $ac_executable_extensions; do
5654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_path_FIG2DEV
="$as_dir/$ac_word$ac_exec_ext"
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 FIG2DEV
=$ac_cv_path_FIG2DEV
5667 if test -n "$FIG2DEV"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIG2DEV" >&5
5669 $as_echo "$FIG2DEV" >&6; }
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5679 if test -z "$FIG2DEV"; then
5683 if test x
"$FIG2DEV" != x
"false"; then
5684 TANGO_FIG2DEV_ENABLED_TRUE
=
5685 TANGO_FIG2DEV_ENABLED_FALSE
='#'
5687 TANGO_FIG2DEV_ENABLED_TRUE
='#'
5688 TANGO_FIG2DEV_ENABLED_FALSE
=
5691 if test x
"$LYX" != x
"false" && test x
"$FIG2DEV" != x
"false"; then
5692 TANGO_DOC_ENABLED_TRUE
=
5693 TANGO_DOC_ENABLED_FALSE
='#'
5695 TANGO_DOC_ENABLED_TRUE
='#'
5696 TANGO_DOC_ENABLED_FALSE
=
5701 # Use libtool which facilitates the creation of shared libraries
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5705 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5710 macro_version
='2.4.2'
5711 macro_revision
='1.3337'
5725 ltmain
="$ac_aux_dir/ltmain.sh"
5727 # Backslashify metacharacters that are still active within
5728 # double-quoted strings.
5729 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5731 # Same as above, but do not quote variable references.
5732 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5734 # Sed substitution to delay expansion of an escaped shell variable in a
5735 # double_quote_subst'ed string.
5736 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5738 # Sed substitution to delay expansion of an escaped single quote.
5739 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5741 # Sed substitution to avoid accidental globbing in evaled expressions
5742 no_glob_subst
='s/\*/\\\*/g'
5744 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5745 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5746 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5749 $as_echo_n "checking how to print strings... " >&6; }
5750 # Test print first, because it will be a builtin if present.
5751 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5752 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5754 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5757 # Use this function as a fallback that always works.
5758 func_fallback_echo ()
5760 eval 'cat <<_LTECHO_EOF
5764 ECHO='func_fallback_echo
'
5767 # func_echo_all arg...
5768 # Invoke $ECHO with all args, space-separated.
5775 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5776 $as_echo "printf" >&6; } ;;
5777 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5778 $as_echo "print -r" >&6; } ;;
5779 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5780 $as_echo "cat" >&6; } ;;
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5797 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5798 if ${ac_cv_path_SED+:} false; then :
5799 $as_echo_n "(cached) " >&6
5801 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5802 for ac_i in 1 2 3 4 5 6 7; do
5803 ac_script="$ac_script$as_nl$ac_script"
5805 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5806 { ac_script=; unset ac_script;}
5807 if test -z "$SED"; then
5808 ac_path_SED_found=false
5809 # Loop through the user's path and
test for each of PROGNAME-LIST
5810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5814 test -z "$as_dir" && as_dir
=.
5815 for ac_prog
in sed gsed
; do
5816 for ac_exec_ext
in '' $ac_executable_extensions; do
5817 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5818 as_fn_executable_p
"$ac_path_SED" ||
continue
5819 # Check for GNU ac_path_SED and select it if it is found.
5820 # Check for GNU $ac_path_SED
5821 case `"$ac_path_SED" --version 2>&1` in
5823 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5826 $as_echo_n 0123456789 >"conftest.in"
5829 cat "conftest.in" "conftest.in" >"conftest.tmp"
5830 mv "conftest.tmp" "conftest.in"
5831 cp "conftest.in" "conftest.nl"
5832 $as_echo '' >> "conftest.nl"
5833 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5834 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5835 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5836 if test $ac_count -gt ${ac_path_SED_max-0}; then
5837 # Best one so far, save it but keep looking for a better one
5838 ac_cv_path_SED
="$ac_path_SED"
5839 ac_path_SED_max
=$ac_count
5841 # 10*(2^10) chars as input seems more than enough
5842 test $ac_count -gt 10 && break
5844 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5847 $ac_path_SED_found && break 3
5852 if test -z "$ac_cv_path_SED"; then
5853 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5861 $as_echo "$ac_cv_path_SED" >&6; }
5862 SED
="$ac_cv_path_SED"
5865 test -z "$SED" && SED
=sed
5866 Xsed
="$SED -e 1s/^X//"
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5879 $as_echo_n "checking for fgrep... " >&6; }
5880 if ${ac_cv_path_FGREP+:} false
; then :
5881 $as_echo_n "(cached) " >&6
5883 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5884 then ac_cv_path_FGREP
="$GREP -F"
5886 if test -z "$FGREP"; then
5887 ac_path_FGREP_found
=false
5888 # Loop through the user's path and test for each of PROGNAME-LIST
5889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5890 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5893 test -z "$as_dir" && as_dir
=.
5894 for ac_prog
in fgrep
; do
5895 for ac_exec_ext
in '' $ac_executable_extensions; do
5896 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5897 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5898 # Check for GNU ac_path_FGREP and select it if it is found.
5899 # Check for GNU $ac_path_FGREP
5900 case `"$ac_path_FGREP" --version 2>&1` in
5902 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5905 $as_echo_n 0123456789 >"conftest.in"
5908 cat "conftest.in" "conftest.in" >"conftest.tmp"
5909 mv "conftest.tmp" "conftest.in"
5910 cp "conftest.in" "conftest.nl"
5911 $as_echo 'FGREP' >> "conftest.nl"
5912 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5913 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5914 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5915 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5916 # Best one so far, save it but keep looking for a better one
5917 ac_cv_path_FGREP
="$ac_path_FGREP"
5918 ac_path_FGREP_max
=$ac_count
5920 # 10*(2^10) chars as input seems more than enough
5921 test $ac_count -gt 10 && break
5923 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5926 $ac_path_FGREP_found && break 3
5931 if test -z "$ac_cv_path_FGREP"; then
5932 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5935 ac_cv_path_FGREP
=$FGREP
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5941 $as_echo "$ac_cv_path_FGREP" >&6; }
5942 FGREP
="$ac_cv_path_FGREP"
5945 test -z "$GREP" && GREP
=grep
5965 # Check whether --with-gnu-ld was given.
5966 if test "${with_gnu_ld+set}" = set; then :
5967 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5973 if test "$GCC" = yes; then
5974 # Check if gcc -print-prog-name=ld gives a path.
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5976 $as_echo_n "checking for ld used by $CC... " >&6; }
5979 # gcc leaves a trailing carriage return which upsets mingw
5980 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5982 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5985 # Accept absolute paths.
5987 re_direlt
='/[^/][^/]*/\.\./'
5988 # Canonicalize the pathname of ld
5989 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5990 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5991 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5993 test -z "$LD" && LD
="$ac_prog"
5996 # If it fails, then pretend we aren't using GCC.
6000 # If it is relative, then search for the first ld in PATH.
6004 elif test "$with_gnu_ld" = yes; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6006 $as_echo_n "checking for GNU ld... " >&6; }
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6009 $as_echo_n "checking for non-GNU ld... " >&6; }
6011 if ${lt_cv_path_LD+:} false
; then :
6012 $as_echo_n "(cached) " >&6
6014 if test -z "$LD"; then
6015 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6016 for ac_dir
in $PATH; do
6018 test -z "$ac_dir" && ac_dir
=.
6019 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6020 lt_cv_path_LD
="$ac_dir/$ac_prog"
6021 # Check to see if the program is GNU ld. I'd rather use --version,
6022 # but apparently some variants of GNU ld only accept -v.
6023 # Break only if it was the GNU/non-GNU ld that we prefer.
6024 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6025 *GNU
* |
*'with BFD'*)
6026 test "$with_gnu_ld" != no
&& break
6029 test "$with_gnu_ld" != yes && break
6036 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6041 if test -n "$LD"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6043 $as_echo "$LD" >&6; }
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6048 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6050 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6051 if ${lt_cv_prog_gnu_ld+:} false
; then :
6052 $as_echo_n "(cached) " >&6
6054 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6055 case `$LD -v 2>&1 </dev/null` in
6056 *GNU
* |
*'with BFD'*)
6057 lt_cv_prog_gnu_ld
=yes
6060 lt_cv_prog_gnu_ld
=no
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6065 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6066 with_gnu_ld
=$lt_cv_prog_gnu_ld
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6077 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6078 if ${lt_cv_path_NM+:} false
; then :
6079 $as_echo_n "(cached) " >&6
6081 if test -n "$NM"; then
6082 # Let the user override the test.
6085 lt_nm_to_check
="${ac_tool_prefix}nm"
6086 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6087 lt_nm_to_check
="$lt_nm_to_check nm"
6089 for lt_tmp_nm
in $lt_nm_to_check; do
6090 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6091 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6093 test -z "$ac_dir" && ac_dir
=.
6094 tmp_nm
="$ac_dir/$lt_tmp_nm"
6095 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6096 # Check to see if the nm accepts a BSD-compat flag.
6097 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6098 # nm: unknown option "B" ignored
6099 # Tru64's nm complains that /dev/null is an invalid object file
6100 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6101 */dev
/null
* |
*'Invalid file or object type'*)
6102 lt_cv_path_NM
="$tmp_nm -B"
6106 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6108 lt_cv_path_NM
="$tmp_nm -p"
6112 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6113 continue # so that we can try to find one that supports BSD flags
6122 : ${lt_cv_path_NM=no}
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6126 $as_echo "$lt_cv_path_NM" >&6; }
6127 if test "$lt_cv_path_NM" != "no"; then
6130 # Didn't find any BSD compatible name lister, look for dumpbin.
6131 if test -n "$DUMPBIN"; then :
6132 # Let the user override the test.
6134 if test -n "$ac_tool_prefix"; then
6135 for ac_prog
in dumpbin
"link -dump"
6137 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6138 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6142 $as_echo_n "(cached) " >&6
6144 if test -n "$DUMPBIN"; then
6145 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6151 test -z "$as_dir" && as_dir
=.
6152 for ac_exec_ext
in '' $ac_executable_extensions; do
6153 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6154 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 DUMPBIN
=$ac_cv_prog_DUMPBIN
6165 if test -n "$DUMPBIN"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6167 $as_echo "$DUMPBIN" >&6; }
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6174 test -n "$DUMPBIN" && break
6177 if test -z "$DUMPBIN"; then
6178 ac_ct_DUMPBIN
=$DUMPBIN
6179 for ac_prog
in dumpbin
"link -dump"
6181 # Extract the first word of "$ac_prog", so it can be a program name with args.
6182 set dummy
$ac_prog; ac_word
=$2
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6184 $as_echo_n "checking for $ac_word... " >&6; }
6185 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6186 $as_echo_n "(cached) " >&6
6188 if test -n "$ac_ct_DUMPBIN"; then
6189 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6195 test -z "$as_dir" && as_dir
=.
6196 for ac_exec_ext
in '' $ac_executable_extensions; do
6197 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6198 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6208 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6209 if test -n "$ac_ct_DUMPBIN"; then
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6211 $as_echo "$ac_ct_DUMPBIN" >&6; }
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6214 $as_echo "no" >&6; }
6218 test -n "$ac_ct_DUMPBIN" && break
6221 if test "x$ac_ct_DUMPBIN" = x
; then
6224 case $cross_compiling:$ac_tool_warned in
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6228 ac_tool_warned
=yes ;;
6230 DUMPBIN
=$ac_ct_DUMPBIN
6234 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6236 DUMPBIN
="$DUMPBIN -symbols"
6244 if test "$DUMPBIN" != ":"; then
6248 test -z "$NM" && NM
=nm
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6256 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6257 if ${lt_cv_nm_interface+:} false
; then :
6258 $as_echo_n "(cached) " >&6
6260 lt_cv_nm_interface
="BSD nm"
6261 echo "int some_variable = 0;" > conftest.
$ac_ext
6262 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6263 (eval "$ac_compile" 2>conftest.err
)
6264 cat conftest.err
>&5
6265 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6266 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6267 cat conftest.err
>&5
6268 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6269 cat conftest.out
>&5
6270 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6271 lt_cv_nm_interface
="MS dumpbin"
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6276 $as_echo "$lt_cv_nm_interface" >&6; }
6278 # find the maximum length of command line arguments
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6280 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6281 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6282 $as_echo_n "(cached) " >&6
6289 # On DJGPP, this test can blow up pretty badly due to problems in libc
6290 # (any single argument exceeding 2000 bytes causes a buffer overrun
6291 # during glob expansion). Even if it were fixed, the result of this
6292 # check would be larger than it should be.
6293 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6297 # Under GNU Hurd, this test is not required because there is
6298 # no limit to the length of command line arguments.
6299 # Libtool will interpret -1 as no limit whatsoever
6300 lt_cv_sys_max_cmd_len
=-1;
6303 cygwin
* | mingw
* | cegcc
*)
6304 # On Win9x/ME, this test blows up -- it succeeds, but takes
6305 # about 5 minutes as the teststring grows exponentially.
6306 # Worse, since 9x/ME are not pre-emptively multitasking,
6307 # you end up with a "frozen" computer, even though with patience
6308 # the test eventually succeeds (with a max line length of 256k).
6309 # Instead, let's just punt: use the minimum linelength reported by
6310 # all of the supported platforms: 8192 (on NT/2K/XP).
6311 lt_cv_sys_max_cmd_len
=8192;
6315 # On MiNT this can take a long time and run out of memory.
6316 lt_cv_sys_max_cmd_len
=8192;
6320 # On AmigaOS with pdksh, this test takes hours, literally.
6321 # So we just punt and use a minimum line length of 8192.
6322 lt_cv_sys_max_cmd_len
=8192;
6325 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6326 # This has been around since 386BSD, at least. Likely further.
6327 if test -x /sbin
/sysctl
; then
6328 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6329 elif test -x /usr
/sbin
/sysctl
; then
6330 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6332 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6334 # And add a safety zone
6335 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6336 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6340 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6341 lt_cv_sys_max_cmd_len
=196608
6345 # The test takes a long time on OS/2.
6346 lt_cv_sys_max_cmd_len
=8192
6350 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6351 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6352 # nice to cause kernel panics so lets avoid the loop below.
6353 # First set a reasonable default.
6354 lt_cv_sys_max_cmd_len
=16384
6356 if test -x /sbin
/sysconfig
; then
6357 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6358 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6363 lt_cv_sys_max_cmd_len
=102400
6365 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6366 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6367 if test -n "$kargmax"; then
6368 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6370 lt_cv_sys_max_cmd_len
=32768
6374 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6375 if test -n "$lt_cv_sys_max_cmd_len"; then
6376 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6377 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6379 # Make teststring a little bigger before we do anything with it.
6380 # a 1K string should be a reasonable start.
6381 for i
in 1 2 3 4 5 6 7 8 ; do
6382 teststring
=$teststring$teststring
6384 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6385 # If test is not a shell built-in, we'll probably end up computing a
6386 # maximum length that is only half of the actual maximum length, but
6388 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6389 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6390 test $i != 17 # 1/2 MB should be enough
6393 teststring
=$teststring$teststring
6395 # Only check the string length outside the loop.
6396 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6398 # Add a significant safety factor because C++ compilers can tack on
6399 # massive amounts of additional arguments before passing them to the
6400 # linker. It appears as though 1/2 is a usable value.
6401 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6408 if test -n $lt_cv_sys_max_cmd_len ; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6410 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6413 $as_echo "none" >&6; }
6415 max_cmd_len
=$lt_cv_sys_max_cmd_len
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6427 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6428 # Try some XSI features
6431 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6433 && eval 'test $(( 1 + 1 )) -eq 2 \
6434 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6437 $as_echo "$xsi_shell" >&6; }
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6441 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6443 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6445 && lt_shell_append=yes
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6447 $as_echo "$lt_shell_append" >&6; }
6450 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6460 # test EBCDIC or ASCII
6461 case `echo X|tr X '\101'` in
6462 A) # ASCII based system
6463 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6464 lt_SP2NL='tr \040 \012'
6465 lt_NL2SP='tr \015\012 \040\040'
6467 *) # EBCDIC based system
6468 lt_SP2NL='tr \100 \n'
6469 lt_NL2SP='tr \r\n \100\100'
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6482 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6483 if ${lt_cv_to_host_file_cmd+:} false; then :
6484 $as_echo_n "(cached
) " >&6
6489 *-*-mingw* ) # actually msys
6490 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6493 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6495 * ) # otherwise, assume *nix
6496 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6502 *-*-mingw* ) # actually msys
6503 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6506 lt_cv_to_host_file_cmd=func_convert_file_noop
6508 * ) # otherwise, assume *nix
6509 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6513 * ) # unhandled hosts (and "normal
" native builds)
6514 lt_cv_to_host_file_cmd=func_convert_file_noop
6520 to_host_file_cmd=$lt_cv_to_host_file_cmd
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6522 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6529 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6530 if ${lt_cv_to_tool_file_cmd+:} false; then :
6531 $as_echo_n "(cached
) " >&6
6533 #assume ordinary cross tools, or native build.
6534 lt_cv_to_tool_file_cmd=func_convert_file_noop
6538 *-*-mingw* ) # actually msys
6539 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6547 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6549 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6556 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6557 if ${lt_cv_ld_reload_flag+:} false; then :
6558 $as_echo_n "(cached
) " >&6
6560 lt_cv_ld_reload_flag='-r'
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6563 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6564 reload_flag=$lt_cv_ld_reload_flag
6565 case $reload_flag in
6567 *) reload_flag=" $reload_flag" ;;
6569 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6571 cygwin* | mingw* | pw32* | cegcc*)
6572 if test "$GCC" != yes; then
6577 if test "$GCC" = yes; then
6578 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6580 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6593 if test -n "$ac_tool_prefix"; then
6594 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6595 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6597 $as_echo_n "checking
for $ac_word...
" >&6; }
6598 if ${ac_cv_prog_OBJDUMP+:} false; then :
6599 $as_echo_n "(cached
) " >&6
6601 if test -n "$OBJDUMP"; then
6602 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6608 test -z "$as_dir" && as_dir=.
6609 for ac_exec_ext in '' $ac_executable_extensions; do
6610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6611 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6612 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6621 OBJDUMP=$ac_cv_prog_OBJDUMP
6622 if test -n "$OBJDUMP"; then
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6624 $as_echo "$OBJDUMP" >&6; }
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6627 $as_echo "no
" >&6; }
6632 if test -z "$ac_cv_prog_OBJDUMP"; then
6633 ac_ct_OBJDUMP=$OBJDUMP
6634 # Extract the first word of "objdump
", so it can be a program name with args.
6635 set dummy objdump; ac_word=$2
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6637 $as_echo_n "checking
for $ac_word...
" >&6; }
6638 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6639 $as_echo_n "(cached
) " >&6
6641 if test -n "$ac_ct_OBJDUMP"; then
6642 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648 test -z "$as_dir" && as_dir=.
6649 for ac_exec_ext in '' $ac_executable_extensions; do
6650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6651 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6652 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6661 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6662 if test -n "$ac_ct_OBJDUMP"; then
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6664 $as_echo "$ac_ct_OBJDUMP" >&6; }
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6667 $as_echo "no
" >&6; }
6670 if test "x
$ac_ct_OBJDUMP" = x; then
6673 case $cross_compiling:$ac_tool_warned in
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6676 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6677 ac_tool_warned=yes ;;
6679 OBJDUMP=$ac_ct_OBJDUMP
6682 OBJDUMP="$ac_cv_prog_OBJDUMP"
6685 test -z "$OBJDUMP" && OBJDUMP=objdump
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6696 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6697 if ${lt_cv_deplibs_check_method+:} false; then :
6698 $as_echo_n "(cached
) " >&6
6700 lt_cv_file_magic_cmd='$MAGIC_CMD'
6701 lt_cv_file_magic_test_file=
6702 lt_cv_deplibs_check_method='unknown'
6703 # Need to set the preceding variable on all platforms that support
6704 # interlibrary dependencies.
6705 # 'none' -- dependencies not supported.
6706 # `unknown' -- same as none, but documents that we really don't know.
6707 # 'pass_all' -- all dependencies passed with no checks.
6708 # 'test_compile' -- check by making test program.
6709 # 'file_magic [[regex]]' -- check by looking for files in library path
6710 # which responds to the $file_magic_cmd with a given extended regex.
6711 # If you have `file' or equivalent on your system and you're not sure
6712 # whether `pass_all' will *always* work, you probably want this one.
6716 lt_cv_deplibs_check_method=pass_all
6720 lt_cv_deplibs_check_method=pass_all
6724 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6725 lt_cv_file_magic_cmd='/usr/bin/file -L'
6726 lt_cv_file_magic_test_file=/shlib/libc.so
6730 # func_win32_libid is a shell function defined in ltmain.sh
6731 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6732 lt_cv_file_magic_cmd='func_win32_libid'
6736 # Base MSYS/MinGW do not provide the 'file' command needed by
6737 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6738 # unless we find 'file', for example because we are cross-compiling.
6739 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6740 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6741 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6742 lt_cv_file_magic_cmd='func_win32_libid'
6744 # Keep this pattern in sync with the one in func_win32_libid.
6745 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6746 lt_cv_file_magic_cmd='$OBJDUMP -f'
6751 # use the weaker test based on 'objdump'. See mingw*.
6752 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6753 lt_cv_file_magic_cmd='$OBJDUMP -f'
6756 darwin* | rhapsody*)
6757 lt_cv_deplibs_check_method=pass_all
6760 freebsd* | dragonfly*)
6761 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6764 # Not sure whether the presence of OpenBSD here was a mistake.
6765 # Let's accept both of them until this is cleared up.
6766 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6767 lt_cv_file_magic_cmd=/usr/bin/file
6768 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6772 lt_cv_deplibs_check_method=pass_all
6777 lt_cv_deplibs_check_method=pass_all
6780 hpux10.20* | hpux11*)
6781 lt_cv_file_magic_cmd=/usr/bin/file
6784 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6785 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6788 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6789 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6792 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6793 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6799 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6800 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6803 irix5* | irix6* | nonstopux*)
6805 *-32|*"-32 ") libmagic=32-bit;;
6806 *-n32|*"-n32 ") libmagic=N32;;
6807 *-64|*"-64 ") libmagic=64-bit;;
6808 *) libmagic=never-match;;
6810 lt_cv_deplibs_check_method=pass_all
6813 # This must be glibc/ELF.
6814 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6815 lt_cv_deplibs_check_method=pass_all
6818 netbsd* | netbsdelf*-gnu)
6819 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6820 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6822 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6827 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6828 lt_cv_file_magic_cmd=/usr/bin/file
6829 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6833 lt_cv_deplibs_check_method=pass_all
6837 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6838 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6840 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6844 osf3* | osf4* | osf5*)
6845 lt_cv_deplibs_check_method=pass_all
6849 lt_cv_deplibs_check_method=pass_all
6853 lt_cv_deplibs_check_method=pass_all
6856 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6857 lt_cv_deplibs_check_method=pass_all
6861 case $host_vendor in
6863 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]'
6864 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6867 lt_cv_deplibs_check_method=pass_all
6870 lt_cv_file_magic_cmd='/bin/file'
6871 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6874 lt_cv_file_magic_cmd='/bin/file'
6875 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6876 lt_cv_file_magic_test_file=/lib/libc.so
6879 lt_cv_deplibs_check_method=pass_all
6882 lt_cv_deplibs_check_method=pass_all
6888 lt_cv_deplibs_check_method=pass_all
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6894 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6898 if test "$build" = "$host"; then
6901 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6904 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6910 file_magic_cmd=$lt_cv_file_magic_cmd
6911 deplibs_check_method=$lt_cv_deplibs_check_method
6912 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6935 if test -n "$ac_tool_prefix"; then
6936 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6937 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6939 $as_echo_n "checking
for $ac_word...
" >&6; }
6940 if ${ac_cv_prog_DLLTOOL+:} false; then :
6941 $as_echo_n "(cached
) " >&6
6943 if test -n "$DLLTOOL"; then
6944 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950 test -z "$as_dir" && as_dir=.
6951 for ac_exec_ext in '' $ac_executable_extensions; do
6952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6953 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6963 DLLTOOL=$ac_cv_prog_DLLTOOL
6964 if test -n "$DLLTOOL"; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6966 $as_echo "$DLLTOOL" >&6; }
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6969 $as_echo "no
" >&6; }
6974 if test -z "$ac_cv_prog_DLLTOOL"; then
6975 ac_ct_DLLTOOL=$DLLTOOL
6976 # Extract the first word of "dlltool
", so it can be a program name with args.
6977 set dummy dlltool; ac_word=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6979 $as_echo_n "checking
for $ac_word...
" >&6; }
6980 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6981 $as_echo_n "(cached
) " >&6
6983 if test -n "$ac_ct_DLLTOOL"; then
6984 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6990 test -z "$as_dir" && as_dir=.
6991 for ac_exec_ext in '' $ac_executable_extensions; do
6992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6993 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7003 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7004 if test -n "$ac_ct_DLLTOOL"; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
7006 $as_echo "$ac_ct_DLLTOOL" >&6; }
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7009 $as_echo "no
" >&6; }
7012 if test "x
$ac_ct_DLLTOOL" = x; then
7015 case $cross_compiling:$ac_tool_warned in
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7018 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7019 ac_tool_warned=yes ;;
7021 DLLTOOL=$ac_ct_DLLTOOL
7024 DLLTOOL="$ac_cv_prog_DLLTOOL"
7027 test -z "$DLLTOOL" && DLLTOOL=dlltool
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
7039 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
7040 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7041 $as_echo_n "(cached
) " >&6
7043 lt_cv_sharedlib_from_linklib_cmd='unknown'
7046 cygwin* | mingw* | pw32* | cegcc*)
7047 # two different shell functions defined in ltmain.sh
7048 # decide which to use based on capabilities of $DLLTOOL
7049 case `$DLLTOOL --help 2>&1` in
7050 *--identify-strict*)
7051 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7054 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7059 # fallback: assume linklib IS sharedlib
7060 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
7066 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7067 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7068 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7076 if test -n "$ac_tool_prefix"; then
7079 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7080 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7082 $as_echo_n "checking
for $ac_word...
" >&6; }
7083 if ${ac_cv_prog_AR+:} false; then :
7084 $as_echo_n "(cached
) " >&6
7086 if test -n "$AR"; then
7087 ac_cv_prog_AR="$AR" # Let the user override the test.
7089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093 test -z "$as_dir" && as_dir=.
7094 for ac_exec_ext in '' $ac_executable_extensions; do
7095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7096 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7097 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7107 if test -n "$AR"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7109 $as_echo "$AR" >&6; }
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7112 $as_echo "no
" >&6; }
7116 test -n "$AR" && break
7119 if test -z "$AR"; then
7123 # Extract the first word of "$ac_prog", so it can be a program name with args.
7124 set dummy $ac_prog; ac_word=$2
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7126 $as_echo_n "checking
for $ac_word...
" >&6; }
7127 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7128 $as_echo_n "(cached
) " >&6
7130 if test -n "$ac_ct_AR"; then
7131 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 test -z "$as_dir" && as_dir=.
7138 for ac_exec_ext in '' $ac_executable_extensions; do
7139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7140 ac_cv_prog_ac_ct_AR="$ac_prog"
7141 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7150 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7151 if test -n "$ac_ct_AR"; then
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7153 $as_echo "$ac_ct_AR" >&6; }
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7156 $as_echo "no
" >&6; }
7160 test -n "$ac_ct_AR" && break
7163 if test "x
$ac_ct_AR" = x; then
7166 case $cross_compiling:$ac_tool_warned in
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7169 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7170 ac_tool_warned=yes ;;
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
7190 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
7191 if ${lt_cv_ar_at_file+:} false; then :
7192 $as_echo_n "(cached
) " >&6
7195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7196 /* end confdefs.h. */
7206 if ac_fn_c_try_compile "$LINENO"; then :
7207 echo conftest.$ac_objext > conftest.lst
7208 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7209 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7210 (eval $lt_ar_try) 2>&5
7212 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7213 test $ac_status = 0; }
7214 if test "$ac_status" -eq 0; then
7215 # Ensure the archiver fails upon bogus file names.
7216 rm -f conftest.$ac_objext libconftest.a
7217 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7218 (eval $lt_ar_try) 2>&5
7220 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7221 test $ac_status = 0; }
7222 if test "$ac_status" -ne 0; then
7226 rm -f conftest.* libconftest.a
7229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
7233 $as_echo "$lt_cv_ar_at_file" >&6; }
7235 if test "x
$lt_cv_ar_at_file" = xno; then
7238 archiver_list_spec=$lt_cv_ar_at_file
7247 if test -n "$ac_tool_prefix"; then
7248 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7249 set dummy ${ac_tool_prefix}strip; ac_word=$2
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7251 $as_echo_n "checking
for $ac_word...
" >&6; }
7252 if ${ac_cv_prog_STRIP+:} false; then :
7253 $as_echo_n "(cached
) " >&6
7255 if test -n "$STRIP"; then
7256 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7262 test -z "$as_dir" && as_dir=.
7263 for ac_exec_ext in '' $ac_executable_extensions; do
7264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7265 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7275 STRIP=$ac_cv_prog_STRIP
7276 if test -n "$STRIP"; then
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7278 $as_echo "$STRIP" >&6; }
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7281 $as_echo "no
" >&6; }
7286 if test -z "$ac_cv_prog_STRIP"; then
7288 # Extract the first word of "strip
", so it can be a program name with args.
7289 set dummy strip; ac_word=$2
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7291 $as_echo_n "checking
for $ac_word...
" >&6; }
7292 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7293 $as_echo_n "(cached
) " >&6
7295 if test -n "$ac_ct_STRIP"; then
7296 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7302 test -z "$as_dir" && as_dir=.
7303 for ac_exec_ext in '' $ac_executable_extensions; do
7304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7305 ac_cv_prog_ac_ct_STRIP="strip
"
7306 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7315 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7316 if test -n "$ac_ct_STRIP"; then
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7318 $as_echo "$ac_ct_STRIP" >&6; }
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7321 $as_echo "no
" >&6; }
7324 if test "x
$ac_ct_STRIP" = x; then
7327 case $cross_compiling:$ac_tool_warned in
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7330 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7331 ac_tool_warned=yes ;;
7336 STRIP="$ac_cv_prog_STRIP"
7339 test -z "$STRIP" && STRIP=:
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7350 $as_echo_n "checking
for $ac_word...
" >&6; }
7351 if ${ac_cv_prog_RANLIB+:} false; then :
7352 $as_echo_n "(cached
) " >&6
7354 if test -n "$RANLIB"; then
7355 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7364 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7374 RANLIB=$ac_cv_prog_RANLIB
7375 if test -n "$RANLIB"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7377 $as_echo "$RANLIB" >&6; }
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7380 $as_echo "no
" >&6; }
7385 if test -z "$ac_cv_prog_RANLIB"; then
7386 ac_ct_RANLIB=$RANLIB
7387 # Extract the first word of "ranlib
", so it can be a program name with args.
7388 set dummy ranlib; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7390 $as_echo_n "checking
for $ac_word...
" >&6; }
7391 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7392 $as_echo_n "(cached
) " >&6
7394 if test -n "$ac_ct_RANLIB"; then
7395 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7404 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7414 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7415 if test -n "$ac_ct_RANLIB"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7417 $as_echo "$ac_ct_RANLIB" >&6; }
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7420 $as_echo "no
" >&6; }
7423 if test "x
$ac_ct_RANLIB" = x; then
7426 case $cross_compiling:$ac_tool_warned in
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7429 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7430 ac_tool_warned=yes ;;
7432 RANLIB=$ac_ct_RANLIB
7435 RANLIB="$ac_cv_prog_RANLIB"
7438 test -z "$RANLIB" && RANLIB=:
7445 # Determine commands to create old-style static archives.
7446 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7447 old_postinstall_cmds='chmod 644 $oldlib'
7448 old_postuninstall_cmds=
7450 if test -n "$RANLIB"; then
7453 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7456 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7459 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7464 lock_old_archive_extraction=yes ;;
7466 lock_old_archive_extraction=no ;;
7507 # If no C compiler was specified, use CC.
7510 # If no C compiler flags were specified, use CFLAGS.
7511 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7513 # Allow CC to be a program name with arguments.
7517 # Check for command to grab the raw symbol name followed by C symbol from nm.
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7519 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7520 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7521 $as_echo_n "(cached
) " >&6
7524 # These are sane defaults that work on at least a few old systems.
7525 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7527 # Character class describing NM global symbol codes.
7528 symcode='[BCDEGRST]'
7530 # Regexp to match symbols that can be accessed directly from C.
7531 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7533 # Define system-specific variables.
7538 cygwin* | mingw* | pw32* | cegcc*)
7539 symcode='[ABCDGISTW]'
7542 if test "$host_cpu" = ia64; then
7543 symcode='[ABCDEGRST]'
7547 symcode='[BCDEGRST]'
7550 symcode='[BCDEGQRST]'
7561 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7569 # If we're using GNU nm, then use its standard symbol codes.
7570 case `$NM -V 2>&1` in
7571 *GNU* | *'with BFD'*)
7572 symcode='[ABCDGIRSTW]' ;;
7575 # Transform an extracted symbol line into a proper C declaration.
7576 # Some systems (esp. on ia64) link data and code symbols differently,
7577 # so use this general approach.
7578 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7580 # Transform an extracted symbol line into symbol name and symbol address
7581 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7582 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'"
7584 # Handle CRLF in mingw tool chain
7588 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7592 # Try without a prefix underscore, then with it.
7593 for ac_symprfx in "" "_
"; do
7595 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7596 symxfrm="\\1 $ac_symprfx\\2 \\2"
7598 # Write the raw and C identifiers.
7599 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7600 # Fake it for dumpbin and say T for any non-static function
7601 # and D for any global variable.
7602 # Also find C++ and __fastcall symbols from MSVC++,
7603 # which start with @ or ?.
7604 lt_cv_sys_global_symbol_pipe="$AWK '"\
7605 " {last_section=section; section=\$ 3};"\
7606 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7607 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7608 " \$ 0!~/External *\|/{next};"\
7609 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7610 " {if(hide[section]) next};"\
7611 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7612 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7613 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7614 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7615 " ' prfx
=^
$ac_symprfx"
7617 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7619 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7621 # Check to see that the pipe works correctly.
7625 cat > conftest.$ac_ext <<_LT_EOF
7630 void nm_test_func(void);
7631 void nm_test_func(void){}
7635 int main(){nm_test_var='a';nm_test_func();return(0);}
7638 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7639 (eval $ac_compile) 2>&5
7641 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7642 test $ac_status = 0; }; then
7643 # Now try to grab the symbols.
7645 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7646 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7648 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7649 test $ac_status = 0; } && test -s "$nlist"; then
7650 # Try sorting and uniquifying the output.
7651 if sort "$nlist" | uniq > "$nlist"T; then
7652 mv -f "$nlist"T "$nlist"
7657 # Make sure that we snagged all the symbols we need.
7658 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7659 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7660 cat <<_LT_EOF > conftest.$ac_ext
7661 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7662 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7663 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7664 relocations are performed -- see ld's documentation on pseudo-relocs. */
7665 # define LT_DLSYM_CONST
7666 #elif defined(__osf__)
7667 /* This system does not cope well with relocations in const data. */
7668 # define LT_DLSYM_CONST
7670 # define LT_DLSYM_CONST const
7678 # Now generate the symbol file.
7679 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7681 cat <<_LT_EOF >> conftest.$ac_ext
7683 /* The mapping between symbol names and symbols. */
7684 LT_DLSYM_CONST struct {
7688 lt__PROGRAM__LTX_preloaded_symbols[] =
7690 { "@PROGRAM@
", (void *) 0 },
7692 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7693 cat <<\_LT_EOF >> conftest.$ac_ext
7697 /* This works around a problem in FreeBSD linker */
7698 #ifdef FREEBSD_WORKAROUND
7699 static const void *lt_preloaded_setup() {
7700 return lt__PROGRAM__LTX_preloaded_symbols;
7708 # Now try linking the two files.
7709 mv conftest.$ac_objext conftstm.$ac_objext
7710 lt_globsym_save_LIBS=$LIBS
7711 lt_globsym_save_CFLAGS=$CFLAGS
7712 LIBS="conftstm.
$ac_objext"
7713 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7714 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7715 (eval $ac_link) 2>&5
7717 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7718 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7721 LIBS=$lt_globsym_save_LIBS
7722 CFLAGS=$lt_globsym_save_CFLAGS
7724 echo "cannot
find nm_test_func
in $nlist" >&5
7727 echo "cannot
find nm_test_var
in $nlist" >&5
7730 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7733 echo "$progname: failed program was
:" >&5
7734 cat conftest.$ac_ext >&5
7736 rm -rf conftest* conftst*
7738 # Do not use the global_symbol_pipe unless it works.
7739 if test "$pipe_works" = yes; then
7742 lt_cv_sys_global_symbol_pipe=
7748 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7749 lt_cv_sys_global_symbol_to_cdecl=
7751 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7753 $as_echo "failed
" >&6; }
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7756 $as_echo "ok
" >&6; }
7759 # Response file support.
7760 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7761 nm_file_list_spec='@'
7762 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7763 nm_file_list_spec='@'
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7793 $as_echo_n "checking
for sysroot...
" >&6; }
7795 # Check whether --with-sysroot was given.
7796 if test "${with_sysroot+set}" = set; then :
7797 withval=$with_sysroot;
7804 case ${with_sysroot} in #(
7806 if test "$GCC" = yes; then
7807 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7811 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7817 $as_echo "${with_sysroot}" >&6; }
7818 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7823 $as_echo "${lt_sysroot:-no}" >&6; }
7829 # Check whether --enable-libtool-lock was given.
7830 if test "${enable_libtool_lock+set}" = set; then :
7831 enableval=$enable_libtool_lock;
7834 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7836 # Some flags need to be propagated to the compiler or linker for good
7840 # Find out which ABI we are using.
7841 echo 'int i;' > conftest.$ac_ext
7842 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7843 (eval $ac_compile) 2>&5
7845 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7846 test $ac_status = 0; }; then
7847 case `/usr/bin/file conftest.$ac_objext` in
7859 # Find out which ABI we are using.
7860 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7861 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7862 (eval $ac_compile) 2>&5
7864 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7865 test $ac_status = 0; }; then
7866 if test "$lt_cv_prog_gnu_ld" = yes; then
7867 case `/usr/bin/file conftest.$ac_objext` in
7869 LD="${LD-ld} -melf32bsmip"
7872 LD="${LD-ld} -melf32bmipn32"
7875 LD="${LD-ld} -melf64bmip"
7879 case `/usr/bin/file conftest.$ac_objext` in
7895 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7896 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7897 # Find out which ABI we are using.
7898 echo 'int i;' > conftest.$ac_ext
7899 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7900 (eval $ac_compile) 2>&5
7902 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7903 test $ac_status = 0; }; then
7904 case `/usr/bin/file conftest.o` in
7907 x86_64-*kfreebsd*-gnu)
7908 LD="${LD-ld} -m elf_i386_fbsd
"
7911 LD="${LD-ld} -m elf_i386
"
7913 ppc64-*linux*|powerpc64-*linux*)
7914 LD="${LD-ld} -m elf32ppclinux
"
7917 LD="${LD-ld} -m elf_s390
"
7920 LD="${LD-ld} -m elf32_sparc
"
7926 x86_64-*kfreebsd*-gnu)
7927 LD="${LD-ld} -m elf_x86_64_fbsd
"
7930 LD="${LD-ld} -m elf_x86_64
"
7932 ppc*-*linux*|powerpc*-*linux*)
7933 LD="${LD-ld} -m elf64ppc
"
7935 s390*-*linux*|s390*-*tpf*)
7936 LD="${LD-ld} -m elf64_s390
"
7939 LD="${LD-ld} -m elf64_sparc
"
7949 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7950 SAVE_CFLAGS="$CFLAGS"
7951 CFLAGS="$CFLAGS -belf"
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7953 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7954 if ${lt_cv_cc_needs_belf+:} false; then :
7955 $as_echo_n "(cached
) " >&6
7958 ac_cpp='$CPP $CPPFLAGS'
7959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7964 /* end confdefs.h. */
7974 if ac_fn_c_try_link "$LINENO"; then :
7975 lt_cv_cc_needs_belf=yes
7977 lt_cv_cc_needs_belf=no
7979 rm -f core conftest.err conftest.$ac_objext \
7980 conftest$ac_exeext conftest.$ac_ext
7982 ac_cpp='$CPP $CPPFLAGS'
7983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7989 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7990 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7991 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7992 CFLAGS="$SAVE_CFLAGS"
7996 # Find out which ABI we are using.
7997 echo 'int i;' > conftest.$ac_ext
7998 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7999 (eval $ac_compile) 2>&5
8001 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8002 test $ac_status = 0; }; then
8003 case `/usr/bin/file conftest.o` in
8005 case $lt_cv_prog_gnu_ld in
8009 LD="${LD-ld} -m elf_x86_64
"
8012 LD="${LD-ld} -m elf64_sparc
"
8015 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8016 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8021 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8033 need_locks="$enable_libtool_lock"
8035 if test -n "$ac_tool_prefix"; then
8036 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
8037 set dummy ${ac_tool_prefix}mt; ac_word=$2
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8039 $as_echo_n "checking
for $ac_word...
" >&6; }
8040 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8041 $as_echo_n "(cached
) " >&6
8043 if test -n "$MANIFEST_TOOL"; then
8044 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8050 test -z "$as_dir" && as_dir=.
8051 for ac_exec_ext in '' $ac_executable_extensions; do
8052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8053 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
8054 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8063 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8064 if test -n "$MANIFEST_TOOL"; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
8066 $as_echo "$MANIFEST_TOOL" >&6; }
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8069 $as_echo "no
" >&6; }
8074 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8075 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8076 # Extract the first word of "mt
", so it can be a program name with args.
8077 set dummy mt; ac_word=$2
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8079 $as_echo_n "checking
for $ac_word...
" >&6; }
8080 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8081 $as_echo_n "(cached
) " >&6
8083 if test -n "$ac_ct_MANIFEST_TOOL"; then
8084 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8090 test -z "$as_dir" && as_dir=.
8091 for ac_exec_ext in '' $ac_executable_extensions; do
8092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8093 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
8094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8103 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8104 if test -n "$ac_ct_MANIFEST_TOOL"; then
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
8106 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8109 $as_echo "no
" >&6; }
8112 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
8115 case $cross_compiling:$ac_tool_warned in
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8118 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8119 ac_tool_warned=yes ;;
8121 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8124 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8127 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
8129 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
8130 if ${lt_cv_path_mainfest_tool+:} false; then :
8131 $as_echo_n "(cached
) " >&6
8133 lt_cv_path_mainfest_tool=no
8134 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8135 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8136 cat conftest.err >&5
8137 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8138 lt_cv_path_mainfest_tool=yes
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
8143 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8144 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
8154 rhapsody* | darwin*)
8155 if test -n "$ac_tool_prefix"; then
8156 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8157 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8159 $as_echo_n "checking
for $ac_word...
" >&6; }
8160 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8161 $as_echo_n "(cached
) " >&6
8163 if test -n "$DSYMUTIL"; then
8164 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8170 test -z "$as_dir" && as_dir=.
8171 for ac_exec_ext in '' $ac_executable_extensions; do
8172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8173 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8174 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8183 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8184 if test -n "$DSYMUTIL"; then
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8186 $as_echo "$DSYMUTIL" >&6; }
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8189 $as_echo "no
" >&6; }
8194 if test -z "$ac_cv_prog_DSYMUTIL"; then
8195 ac_ct_DSYMUTIL=$DSYMUTIL
8196 # Extract the first word of "dsymutil
", so it can be a program name with args.
8197 set dummy dsymutil; ac_word=$2
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8199 $as_echo_n "checking
for $ac_word...
" >&6; }
8200 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8201 $as_echo_n "(cached
) " >&6
8203 if test -n "$ac_ct_DSYMUTIL"; then
8204 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210 test -z "$as_dir" && as_dir=.
8211 for ac_exec_ext in '' $ac_executable_extensions; do
8212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8213 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8223 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8224 if test -n "$ac_ct_DSYMUTIL"; then
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8226 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8229 $as_echo "no
" >&6; }
8232 if test "x
$ac_ct_DSYMUTIL" = x; then
8235 case $cross_compiling:$ac_tool_warned in
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8238 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8239 ac_tool_warned=yes ;;
8241 DSYMUTIL=$ac_ct_DSYMUTIL
8244 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8247 if test -n "$ac_tool_prefix"; then
8248 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8249 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8251 $as_echo_n "checking
for $ac_word...
" >&6; }
8252 if ${ac_cv_prog_NMEDIT+:} false; then :
8253 $as_echo_n "(cached
) " >&6
8255 if test -n "$NMEDIT"; then
8256 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8262 test -z "$as_dir" && as_dir=.
8263 for ac_exec_ext in '' $ac_executable_extensions; do
8264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8265 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8275 NMEDIT=$ac_cv_prog_NMEDIT
8276 if test -n "$NMEDIT"; then
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8278 $as_echo "$NMEDIT" >&6; }
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8281 $as_echo "no
" >&6; }
8286 if test -z "$ac_cv_prog_NMEDIT"; then
8287 ac_ct_NMEDIT=$NMEDIT
8288 # Extract the first word of "nmedit
", so it can be a program name with args.
8289 set dummy nmedit; ac_word=$2
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8291 $as_echo_n "checking
for $ac_word...
" >&6; }
8292 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8293 $as_echo_n "(cached
) " >&6
8295 if test -n "$ac_ct_NMEDIT"; then
8296 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8302 test -z "$as_dir" && as_dir=.
8303 for ac_exec_ext in '' $ac_executable_extensions; do
8304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8305 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8306 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8315 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8316 if test -n "$ac_ct_NMEDIT"; then
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8318 $as_echo "$ac_ct_NMEDIT" >&6; }
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8321 $as_echo "no
" >&6; }
8324 if test "x
$ac_ct_NMEDIT" = x; then
8327 case $cross_compiling:$ac_tool_warned in
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8330 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8331 ac_tool_warned=yes ;;
8333 NMEDIT=$ac_ct_NMEDIT
8336 NMEDIT="$ac_cv_prog_NMEDIT"
8339 if test -n "$ac_tool_prefix"; then
8340 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8341 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8343 $as_echo_n "checking
for $ac_word...
" >&6; }
8344 if ${ac_cv_prog_LIPO+:} false; then :
8345 $as_echo_n "(cached
) " >&6
8347 if test -n "$LIPO"; then
8348 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8354 test -z "$as_dir" && as_dir=.
8355 for ac_exec_ext in '' $ac_executable_extensions; do
8356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8357 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8367 LIPO=$ac_cv_prog_LIPO
8368 if test -n "$LIPO"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8370 $as_echo "$LIPO" >&6; }
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8373 $as_echo "no
" >&6; }
8378 if test -z "$ac_cv_prog_LIPO"; then
8380 # Extract the first word of "lipo
", so it can be a program name with args.
8381 set dummy lipo; ac_word=$2
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8383 $as_echo_n "checking
for $ac_word...
" >&6; }
8384 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8385 $as_echo_n "(cached
) " >&6
8387 if test -n "$ac_ct_LIPO"; then
8388 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8394 test -z "$as_dir" && as_dir=.
8395 for ac_exec_ext in '' $ac_executable_extensions; do
8396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8397 ac_cv_prog_ac_ct_LIPO="lipo
"
8398 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8407 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8408 if test -n "$ac_ct_LIPO"; then
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8410 $as_echo "$ac_ct_LIPO" >&6; }
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8413 $as_echo "no
" >&6; }
8416 if test "x
$ac_ct_LIPO" = x; then
8419 case $cross_compiling:$ac_tool_warned in
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8422 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8423 ac_tool_warned=yes ;;
8428 LIPO="$ac_cv_prog_LIPO"
8431 if test -n "$ac_tool_prefix"; then
8432 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8433 set dummy ${ac_tool_prefix}otool; ac_word=$2
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8435 $as_echo_n "checking
for $ac_word...
" >&6; }
8436 if ${ac_cv_prog_OTOOL+:} false; then :
8437 $as_echo_n "(cached
) " >&6
8439 if test -n "$OTOOL"; then
8440 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8446 test -z "$as_dir" && as_dir=.
8447 for ac_exec_ext in '' $ac_executable_extensions; do
8448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8449 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8450 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8459 OTOOL=$ac_cv_prog_OTOOL
8460 if test -n "$OTOOL"; then
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8462 $as_echo "$OTOOL" >&6; }
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8465 $as_echo "no
" >&6; }
8470 if test -z "$ac_cv_prog_OTOOL"; then
8472 # Extract the first word of "otool
", so it can be a program name with args.
8473 set dummy otool; ac_word=$2
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8475 $as_echo_n "checking
for $ac_word...
" >&6; }
8476 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8477 $as_echo_n "(cached
) " >&6
8479 if test -n "$ac_ct_OTOOL"; then
8480 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8486 test -z "$as_dir" && as_dir=.
8487 for ac_exec_ext in '' $ac_executable_extensions; do
8488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8489 ac_cv_prog_ac_ct_OTOOL="otool
"
8490 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8499 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8500 if test -n "$ac_ct_OTOOL"; then
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8502 $as_echo "$ac_ct_OTOOL" >&6; }
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8505 $as_echo "no
" >&6; }
8508 if test "x
$ac_ct_OTOOL" = x; then
8511 case $cross_compiling:$ac_tool_warned in
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8514 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8515 ac_tool_warned=yes ;;
8520 OTOOL="$ac_cv_prog_OTOOL"
8523 if test -n "$ac_tool_prefix"; then
8524 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8525 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8527 $as_echo_n "checking
for $ac_word...
" >&6; }
8528 if ${ac_cv_prog_OTOOL64+:} false; then :
8529 $as_echo_n "(cached
) " >&6
8531 if test -n "$OTOOL64"; then
8532 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8538 test -z "$as_dir" && as_dir=.
8539 for ac_exec_ext in '' $ac_executable_extensions; do
8540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8541 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8542 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8551 OTOOL64=$ac_cv_prog_OTOOL64
8552 if test -n "$OTOOL64"; then
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8554 $as_echo "$OTOOL64" >&6; }
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8557 $as_echo "no
" >&6; }
8562 if test -z "$ac_cv_prog_OTOOL64"; then
8563 ac_ct_OTOOL64=$OTOOL64
8564 # Extract the first word of "otool64
", so it can be a program name with args.
8565 set dummy otool64; ac_word=$2
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8567 $as_echo_n "checking
for $ac_word...
" >&6; }
8568 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8569 $as_echo_n "(cached
) " >&6
8571 if test -n "$ac_ct_OTOOL64"; then
8572 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8578 test -z "$as_dir" && as_dir=.
8579 for ac_exec_ext in '' $ac_executable_extensions; do
8580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8581 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8582 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8591 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8592 if test -n "$ac_ct_OTOOL64"; then
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8594 $as_echo "$ac_ct_OTOOL64" >&6; }
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8597 $as_echo "no
" >&6; }
8600 if test "x
$ac_ct_OTOOL64" = x; then
8603 case $cross_compiling:$ac_tool_warned in
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8606 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8607 ac_tool_warned=yes ;;
8609 OTOOL64=$ac_ct_OTOOL64
8612 OTOOL64="$ac_cv_prog_OTOOL64"
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8642 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8643 if ${lt_cv_apple_cc_single_mod+:} false; then :
8644 $as_echo_n "(cached
) " >&6
8646 lt_cv_apple_cc_single_mod=no
8647 if test -z "${LT_MULTI_MODULE}"; then
8648 # By default we will add the -single_module flag. You can override
8649 # by either setting the environment variable LT_MULTI_MODULE
8650 # non-empty at configure time, or by adding -multi_module to the
8652 rm -rf libconftest.dylib*
8653 echo "int foo
(void
){return 1;}" > conftest.c
8654 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8655 -dynamiclib -Wl,-single_module conftest.c
" >&5
8656 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8657 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8659 # If there is a non-empty error log, and "single_module
"
8660 # appears in it, assume the flag caused a linker warning
8661 if test -s conftest.err && $GREP single_module conftest.err; then
8662 cat conftest.err >&5
8663 # Otherwise, if the output was created with a 0 exit code from
8664 # the compiler, it worked.
8665 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8666 lt_cv_apple_cc_single_mod=yes
8668 cat conftest.err >&5
8670 rm -rf libconftest.dylib*
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8675 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8678 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8679 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8680 $as_echo_n "(cached
) " >&6
8682 lt_cv_ld_exported_symbols_list=no
8683 save_LDFLAGS=$LDFLAGS
8684 echo "_main
" > conftest.sym
8685 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8687 /* end confdefs.h. */
8697 if ac_fn_c_try_link "$LINENO"; then :
8698 lt_cv_ld_exported_symbols_list=yes
8700 lt_cv_ld_exported_symbols_list=no
8702 rm -f core conftest.err conftest.$ac_objext \
8703 conftest$ac_exeext conftest.$ac_ext
8704 LDFLAGS="$save_LDFLAGS"
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8708 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8711 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8712 if ${lt_cv_ld_force_load+:} false; then :
8713 $as_echo_n "(cached
) " >&6
8715 lt_cv_ld_force_load=no
8716 cat > conftest.c << _LT_EOF
8717 int forced_loaded() { return 2;}
8719 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8720 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8721 echo "$AR cru libconftest.a conftest.o
" >&5
8722 $AR cru libconftest.a conftest.o 2>&5
8723 echo "$RANLIB libconftest.a
" >&5
8724 $RANLIB libconftest.a 2>&5
8725 cat > conftest.c << _LT_EOF
8726 int main() { return 0;}
8728 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8729 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8731 if test -s conftest.err && $GREP force_load conftest.err; then
8732 cat conftest.err >&5
8733 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8734 lt_cv_ld_force_load=yes
8736 cat conftest.err >&5
8738 rm -f conftest.err libconftest.a conftest conftest.c
8739 rm -rf conftest.dSYM
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8743 $as_echo "$lt_cv_ld_force_load" >&6; }
8745 rhapsody* | darwin1.[012])
8746 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8748 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8749 darwin*) # darwin 5.x on
8750 # if running on 10.5 or later, the deployment target defaults
8751 # to the OS version, if on x86, and 10.4, the deployment
8752 # target defaults to 10.4. Don't you love it?
8753 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8754 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8755 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8757 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8759 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8763 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8764 _lt_dar_single_mod='$single_module'
8766 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8767 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8769 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8771 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8772 _lt_dsymutil='~$DSYMUTIL $lib || :'
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8780 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8781 if ${ac_cv_header_stdc+:} false; then :
8782 $as_echo_n "(cached
) " >&6
8784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8785 /* end confdefs.h. */
8799 if ac_fn_c_try_compile "$LINENO"; then :
8800 ac_cv_header_stdc=yes
8802 ac_cv_header_stdc=no
8804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8806 if test $ac_cv_header_stdc = yes; then
8807 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8809 /* end confdefs.h. */
8813 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8814 $EGREP "memchr
" >/dev/null 2>&1; then :
8817 ac_cv_header_stdc=no
8823 if test $ac_cv_header_stdc = yes; then
8824 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826 /* end confdefs.h. */
8830 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8831 $EGREP "free
" >/dev/null 2>&1; then :
8834 ac_cv_header_stdc=no
8840 if test $ac_cv_header_stdc = yes; then
8841 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8842 if test "$cross_compiling" = yes; then :
8845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8849 #if ((' ' & 0x0FF) == 0x020)
8850 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8851 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8853 # define ISLOWER(c) \
8854 (('a' <= (c) && (c) <= 'i') \
8855 || ('j' <= (c) && (c) <= 'r') \
8856 || ('s' <= (c) && (c) <= 'z'))
8857 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8860 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8865 for (i = 0; i < 256; i++)
8866 if (XOR (islower (i), ISLOWER (i))
8867 || toupper (i) != TOUPPER (i))
8872 if ac_fn_c_try_run "$LINENO"; then :
8875 ac_cv_header_stdc=no
8877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8878 conftest.$ac_objext conftest.beam conftest.$ac_ext
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8884 $as_echo "$ac_cv_header_stdc" >&6; }
8885 if test $ac_cv_header_stdc = yes; then
8887 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8891 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8892 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8893 inttypes.h stdint.h unistd.h
8895 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8896 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8898 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8899 cat >>confdefs.h
<<_ACEOF
8900 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8908 for ac_header
in dlfcn.h
8910 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8912 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8913 cat >>confdefs.h
<<_ACEOF
8914 #define HAVE_DLFCN_H 1
8923 func_stripname_cnf
()
8926 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8927 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8929 } # func_stripname_cnf
8945 # Check whether --enable-shared was given.
8946 if test "${enable_shared+set}" = set; then :
8947 enableval
=$enable_shared; p
=${PACKAGE-default}
8949 yes) enable_shared
=yes ;;
8950 no
) enable_shared
=no
;;
8953 # Look at the argument we got. We use all the common list separators.
8954 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8955 for pkg
in $enableval; do
8957 if test "X$pkg" = "X$p"; then
8976 # Check whether --enable-static was given.
8977 if test "${enable_static+set}" = set; then :
8978 enableval
=$enable_static; p
=${PACKAGE-default}
8980 yes) enable_static
=yes ;;
8981 no
) enable_static
=no
;;
8984 # Look at the argument we got. We use all the common list separators.
8985 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8986 for pkg
in $enableval; do
8988 if test "X$pkg" = "X$p"; then
9008 # Check whether --with-pic was given.
9009 if test "${with_pic+set}" = set; then :
9010 withval
=$with_pic; lt_p
=${PACKAGE-default}
9012 yes|no
) pic_mode
=$withval ;;
9015 # Look at the argument we got. We use all the common list separators.
9016 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9017 for lt_pkg
in $withval; do
9019 if test "X$lt_pkg" = "X$lt_p"; then
9031 test -z "$pic_mode" && pic_mode
=default
9039 # Check whether --enable-fast-install was given.
9040 if test "${enable_fast_install+set}" = set; then :
9041 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9043 yes) enable_fast_install
=yes ;;
9044 no
) enable_fast_install
=no
;;
9046 enable_fast_install
=no
9047 # Look at the argument we got. We use all the common list separators.
9048 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9049 for pkg
in $enableval; do
9051 if test "X$pkg" = "X$p"; then
9052 enable_fast_install
=yes
9059 enable_fast_install
=yes
9072 # This can be used to rebuild libtool when needed
9073 LIBTOOL_DEPS
="$ltmain"
9075 # Always use our own libtool.
9076 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9107 test -z "$LN_S" && LN_S
="ln -s"
9122 if test -n "${ZSH_VERSION+set}" ; then
9123 setopt NO_GLOB_SUBST
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9127 $as_echo_n "checking for objdir... " >&6; }
9128 if ${lt_cv_objdir+:} false
; then :
9129 $as_echo_n "(cached) " >&6
9131 rm -f .libs
2>/dev
/null
9132 mkdir .libs
2>/dev
/null
9133 if test -d .libs
; then
9136 # MS-DOS does not allow filenames that begin with a dot.
9139 rmdir .libs
2>/dev
/null
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9142 $as_echo "$lt_cv_objdir" >&6; }
9143 objdir
=$lt_cv_objdir
9149 cat >>confdefs.h
<<_ACEOF
9150 #define LT_OBJDIR "$lt_cv_objdir/"
9158 # AIX sometimes has problems with the GCC collect2 program. For some
9159 # reason, if we set the COLLECT_NAMES environment variable, the problems
9160 # vanish in a puff of smoke.
9161 if test "X${COLLECT_NAMES+set}" != Xset
; then
9163 export COLLECT_NAMES
9170 can_build_shared
=yes
9172 # All known linkers require a `.a' archive for static linking (except MSVC,
9173 # which needs '.lib').
9176 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9179 old_CFLAGS
="$CFLAGS"
9181 # Set sane defaults for various variables
9182 test -z "$CC" && CC
=cc
9183 test -z "$LTCC" && LTCC
=$CC
9184 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9185 test -z "$LD" && LD
=ld
9186 test -z "$ac_objext" && ac_objext
=o
9188 for cc_temp
in $compiler""; do
9190 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9191 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9196 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9199 # Only perform the check for file, if the check method requires it
9200 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9201 case $deplibs_check_method in
9203 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9205 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9206 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9207 $as_echo_n "(cached) " >&6
9211 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9214 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9215 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9216 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9217 for ac_dir
in $ac_dummy; do
9219 test -z "$ac_dir" && ac_dir
=.
9220 if test -f $ac_dir/${ac_tool_prefix}file; then
9221 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9222 if test -n "$file_magic_test_file"; then
9223 case $deplibs_check_method in
9225 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9226 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9227 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9228 $EGREP "$file_magic_regex" > /dev
/null
; then
9233 *** Warning: the command libtool uses to detect shared libraries,
9234 *** $file_magic_cmd, produces output that libtool cannot recognize.
9235 *** The result is that libtool may fail to recognize shared libraries
9236 *** as such. This will affect the creation of libtool libraries that
9237 *** depend on shared libraries, but programs linked with such libtool
9238 *** libraries will work regardless of this problem. Nevertheless, you
9239 *** may want to report the problem to your system manager and/or to
9240 *** bug-libtool@gnu.org
9250 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9255 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9256 if test -n "$MAGIC_CMD"; then
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9258 $as_echo "$MAGIC_CMD" >&6; }
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9261 $as_echo "no" >&6; }
9268 if test -z "$lt_cv_path_MAGIC_CMD"; then
9269 if test -n "$ac_tool_prefix"; then
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9271 $as_echo_n "checking for file... " >&6; }
9272 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9273 $as_echo_n "(cached) " >&6
9277 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9280 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9281 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9282 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9283 for ac_dir
in $ac_dummy; do
9285 test -z "$ac_dir" && ac_dir
=.
9286 if test -f $ac_dir/file; then
9287 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9288 if test -n "$file_magic_test_file"; then
9289 case $deplibs_check_method in
9291 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9292 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9293 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9294 $EGREP "$file_magic_regex" > /dev
/null
; then
9299 *** Warning: the command libtool uses to detect shared libraries,
9300 *** $file_magic_cmd, produces output that libtool cannot recognize.
9301 *** The result is that libtool may fail to recognize shared libraries
9302 *** as such. This will affect the creation of libtool libraries that
9303 *** depend on shared libraries, but programs linked with such libtool
9304 *** libraries will work regardless of this problem. Nevertheless, you
9305 *** may want to report the problem to your system manager and/or to
9306 *** bug-libtool@gnu.org
9316 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9321 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9322 if test -n "$MAGIC_CMD"; then
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9324 $as_echo "$MAGIC_CMD" >&6; }
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9327 $as_echo "no" >&6; }
9340 # Use C for the default configuration in the libtool script
9344 ac_cpp
='$CPP $CPPFLAGS'
9345 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9346 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9347 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9350 # Source file extension for C test sources.
9353 # Object file extension for compiled C test sources.
9357 # Code to be used in simple compile tests
9358 lt_simple_compile_test_code
="int some_variable = 0;"
9360 # Code to be used in simple link tests
9361 lt_simple_link_test_code
='int main(){return(0);}'
9369 # If no C compiler was specified, use CC.
9372 # If no C compiler flags were specified, use CFLAGS.
9373 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9375 # Allow CC to be a program name with arguments.
9378 # Save the default compiler, since it gets overwritten when the other
9379 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9380 compiler_DEFAULT
=$CC
9382 # save warnings/boilerplate of simple test code
9383 ac_outfile
=conftest.
$ac_objext
9384 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9385 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9386 _lt_compiler_boilerplate
=`cat conftest.err`
9389 ac_outfile
=conftest.
$ac_objext
9390 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9391 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9392 _lt_linker_boilerplate
=`cat conftest.err`
9397 ## There is no encapsulation within the following macros, do not change
9398 ## the running order or otherwise move them around unless you know exactly
9399 ## what you are doing...
9400 if test -n "$compiler"; then
9402 lt_prog_compiler_no_builtin_flag
=
9404 if test "$GCC" = yes; then
9405 case $cc_basename in
9407 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9409 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9413 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9414 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9415 $as_echo_n "(cached) " >&6
9417 lt_cv_prog_compiler_rtti_exceptions
=no
9418 ac_outfile
=conftest.
$ac_objext
9419 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9420 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9421 # Insert the option either (1) after the last *FLAGS variable, or
9422 # (2) before a word containing "conftest.", or (3) at the end.
9423 # Note that $ac_compile itself does not contain backslashes and begins
9424 # with a dollar sign (not a hyphen), so the echo should work correctly.
9425 # The option is referenced via a variable to avoid confusing sed.
9426 lt_compile
=`echo "$ac_compile" | $SED \
9427 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9428 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9429 -e 's:$: $lt_compiler_flag:'`
9430 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9431 (eval "$lt_compile" 2>conftest.err
)
9433 cat conftest.err
>&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 if (exit $ac_status) && test -s "$ac_outfile"; then
9436 # The compiler can only warn and ignore the option if not recognized
9437 # So say no if there are warnings other than the usual output.
9438 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9439 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9440 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9441 lt_cv_prog_compiler_rtti_exceptions
=yes
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9448 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9450 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9451 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9463 lt_prog_compiler_wl
=
9464 lt_prog_compiler_pic
=
9465 lt_prog_compiler_static
=
9468 if test "$GCC" = yes; then
9469 lt_prog_compiler_wl
='-Wl,'
9470 lt_prog_compiler_static
='-static'
9474 # All AIX code is PIC.
9475 if test "$host_cpu" = ia64
; then
9476 # AIX 5 now supports IA64 processor
9477 lt_prog_compiler_static
='-Bstatic'
9484 # see comment about AmigaOS4 .so support
9485 lt_prog_compiler_pic
='-fPIC'
9488 # FIXME: we need at least 68020 code to build shared libraries, but
9489 # adding the `-m68020' flag to GCC prevents building anything better,
9491 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9496 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9497 # PIC is the default for these OSes.
9500 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9501 # This hack is so that the source file can tell whether it is being
9502 # built for inclusion in a dll (and should export symbols for example).
9503 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9504 # (--disable-auto-import) libraries
9505 lt_prog_compiler_pic
='-DDLL_EXPORT'
9508 darwin
* | rhapsody
*)
9509 # PIC is the default on this platform
9510 # Common symbols not allowed in MH_DYLIB files
9511 lt_prog_compiler_pic
='-fno-common'
9515 # PIC is the default for Haiku.
9516 # The "-static" flag exists, but is broken.
9517 lt_prog_compiler_static
=
9521 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9522 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9523 # sets the default TLS model and affects inlining.
9529 lt_prog_compiler_pic
='-fPIC'
9535 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9536 # Instead, we relocate shared libraries at runtime.
9540 # Just because we use GCC doesn't mean we suddenly get shared libraries
9541 # on systems that don't support them.
9542 lt_prog_compiler_can_build_shared
=no
9547 # QNX uses GNU C++, but need to define -shared option too, otherwise
9549 lt_prog_compiler_pic
='-fPIC -shared'
9553 if test -d /usr
/nec
; then
9554 lt_prog_compiler_pic
=-Kconform_pic
9559 lt_prog_compiler_pic
='-fPIC'
9563 case $cc_basename in
9564 nvcc
*) # Cuda Compiler Driver 2.2
9565 lt_prog_compiler_wl
='-Xlinker '
9566 if test -n "$lt_prog_compiler_pic"; then
9567 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9572 # PORTME Check for flag to pass linker flags through the system compiler.
9575 lt_prog_compiler_wl
='-Wl,'
9576 if test "$host_cpu" = ia64
; then
9577 # AIX 5 now supports IA64 processor
9578 lt_prog_compiler_static
='-Bstatic'
9580 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9584 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9585 # This hack is so that the source file can tell whether it is being
9586 # built for inclusion in a dll (and should export symbols for example).
9587 lt_prog_compiler_pic
='-DDLL_EXPORT'
9590 hpux9
* | hpux10
* | hpux11
*)
9591 lt_prog_compiler_wl
='-Wl,'
9592 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9599 lt_prog_compiler_pic
='+Z'
9602 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9603 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9606 irix5
* | irix6
* | nonstopux
*)
9607 lt_prog_compiler_wl
='-Wl,'
9608 # PIC (with -KPIC) is the default.
9609 lt_prog_compiler_static
='-non_shared'
9612 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9613 case $cc_basename in
9614 # old Intel for x86_64 which still supported -KPIC.
9616 lt_prog_compiler_wl
='-Wl,'
9617 lt_prog_compiler_pic
='-KPIC'
9618 lt_prog_compiler_static
='-static'
9620 # icc used to be incompatible with GCC.
9621 # ICC 10 doesn't accept -KPIC any more.
9623 lt_prog_compiler_wl
='-Wl,'
9624 lt_prog_compiler_pic
='-fPIC'
9625 lt_prog_compiler_static
='-static'
9627 # Lahey Fortran 8.1.
9629 lt_prog_compiler_wl
='-Wl,'
9630 lt_prog_compiler_pic
='--shared'
9631 lt_prog_compiler_static
='--static'
9634 # NAG Fortran compiler
9635 lt_prog_compiler_wl
='-Wl,-Wl,,'
9636 lt_prog_compiler_pic
='-PIC'
9637 lt_prog_compiler_static
='-Bstatic'
9639 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9640 # Portland Group compilers (*not* the Pentium gcc compiler,
9641 # which looks to be a dead project)
9642 lt_prog_compiler_wl
='-Wl,'
9643 lt_prog_compiler_pic
='-fpic'
9644 lt_prog_compiler_static
='-Bstatic'
9647 lt_prog_compiler_wl
='-Wl,'
9648 # All Alpha code is PIC.
9649 lt_prog_compiler_static
='-non_shared'
9651 xl
* | bgxl
* | bgf
* | mpixl
*)
9652 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9653 lt_prog_compiler_wl
='-Wl,'
9654 lt_prog_compiler_pic
='-qpic'
9655 lt_prog_compiler_static
='-qstaticlink'
9658 case `$CC -V 2>&1 | sed 5q` in
9659 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9660 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9661 lt_prog_compiler_pic
='-KPIC'
9662 lt_prog_compiler_static
='-Bstatic'
9663 lt_prog_compiler_wl
=''
9665 *Sun\ F
* |
*Sun
*Fortran
*)
9666 lt_prog_compiler_pic
='-KPIC'
9667 lt_prog_compiler_static
='-Bstatic'
9668 lt_prog_compiler_wl
='-Qoption ld '
9672 lt_prog_compiler_pic
='-KPIC'
9673 lt_prog_compiler_static
='-Bstatic'
9674 lt_prog_compiler_wl
='-Wl,'
9676 *Intel
*\
[CF
]*Compiler
*)
9677 lt_prog_compiler_wl
='-Wl,'
9678 lt_prog_compiler_pic
='-fPIC'
9679 lt_prog_compiler_static
='-static'
9682 lt_prog_compiler_wl
='-Wl,'
9683 lt_prog_compiler_pic
='-fpic'
9684 lt_prog_compiler_static
='-Bstatic'
9692 lt_prog_compiler_pic
='-KPIC'
9693 lt_prog_compiler_static
='-Bstatic'
9697 # QNX uses GNU C++, but need to define -shared option too, otherwise
9699 lt_prog_compiler_pic
='-fPIC -shared'
9702 osf3
* | osf4
* | osf5
*)
9703 lt_prog_compiler_wl
='-Wl,'
9704 # All OSF/1 code is PIC.
9705 lt_prog_compiler_static
='-non_shared'
9709 lt_prog_compiler_static
='-non_shared'
9713 lt_prog_compiler_pic
='-KPIC'
9714 lt_prog_compiler_static
='-Bstatic'
9715 case $cc_basename in
9716 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9717 lt_prog_compiler_wl
='-Qoption ld ';;
9719 lt_prog_compiler_wl
='-Wl,';;
9724 lt_prog_compiler_wl
='-Qoption ld '
9725 lt_prog_compiler_pic
='-PIC'
9726 lt_prog_compiler_static
='-Bstatic'
9729 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9730 lt_prog_compiler_wl
='-Wl,'
9731 lt_prog_compiler_pic
='-KPIC'
9732 lt_prog_compiler_static
='-Bstatic'
9736 if test -d /usr
/nec
;then
9737 lt_prog_compiler_pic
='-Kconform_pic'
9738 lt_prog_compiler_static
='-Bstatic'
9742 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9743 lt_prog_compiler_wl
='-Wl,'
9744 lt_prog_compiler_pic
='-KPIC'
9745 lt_prog_compiler_static
='-Bstatic'
9749 lt_prog_compiler_wl
='-Wl,'
9750 lt_prog_compiler_can_build_shared
=no
9754 lt_prog_compiler_pic
='-pic'
9755 lt_prog_compiler_static
='-Bstatic'
9759 lt_prog_compiler_can_build_shared
=no
9765 # For platforms which do not support PIC, -DPIC is meaningless:
9767 lt_prog_compiler_pic
=
9770 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9775 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9776 if ${lt_cv_prog_compiler_pic+:} false
; then :
9777 $as_echo_n "(cached) " >&6
9779 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9782 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9783 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9786 # Check to make sure the PIC flag actually works.
9788 if test -n "$lt_prog_compiler_pic"; then
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9790 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9791 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9792 $as_echo_n "(cached) " >&6
9794 lt_cv_prog_compiler_pic_works
=no
9795 ac_outfile
=conftest.
$ac_objext
9796 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9797 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9798 # Insert the option either (1) after the last *FLAGS variable, or
9799 # (2) before a word containing "conftest.", or (3) at the end.
9800 # Note that $ac_compile itself does not contain backslashes and begins
9801 # with a dollar sign (not a hyphen), so the echo should work correctly.
9802 # The option is referenced via a variable to avoid confusing sed.
9803 lt_compile
=`echo "$ac_compile" | $SED \
9804 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9805 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9806 -e 's:$: $lt_compiler_flag:'`
9807 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9808 (eval "$lt_compile" 2>conftest.err
)
9810 cat conftest.err
>&5
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 if (exit $ac_status) && test -s "$ac_outfile"; then
9813 # The compiler can only warn and ignore the option if not recognized
9814 # So say no if there are warnings other than the usual output.
9815 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9816 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9817 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9818 lt_cv_prog_compiler_pic_works
=yes
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9825 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9827 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9828 case $lt_prog_compiler_pic in
9830 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9833 lt_prog_compiler_pic
=
9834 lt_prog_compiler_can_build_shared
=no
9850 # Check to make sure the static flag actually works.
9852 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9854 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9855 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9856 $as_echo_n "(cached) " >&6
9858 lt_cv_prog_compiler_static_works
=no
9859 save_LDFLAGS
="$LDFLAGS"
9860 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9861 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9862 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9863 # The linker can only warn and ignore the option if not recognized
9864 # So say no if there are warnings
9865 if test -s conftest.err
; then
9866 # Append any errors to the config.log.
9867 cat conftest.err
1>&5
9868 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9869 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9870 if diff conftest.exp conftest.er2
>/dev
/null
; then
9871 lt_cv_prog_compiler_static_works
=yes
9874 lt_cv_prog_compiler_static_works
=yes
9878 LDFLAGS
="$save_LDFLAGS"
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9882 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9884 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9887 lt_prog_compiler_static
=
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9897 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9898 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9899 $as_echo_n "(cached) " >&6
9901 lt_cv_prog_compiler_c_o
=no
9902 $RM -r conftest
2>/dev
/null
9906 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9908 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9909 # Insert the option either (1) after the last *FLAGS variable, or
9910 # (2) before a word containing "conftest.", or (3) at the end.
9911 # Note that $ac_compile itself does not contain backslashes and begins
9912 # with a dollar sign (not a hyphen), so the echo should work correctly.
9913 lt_compile
=`echo "$ac_compile" | $SED \
9914 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9915 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9916 -e 's:$: $lt_compiler_flag:'`
9917 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9918 (eval "$lt_compile" 2>out
/conftest.err
)
9920 cat out
/conftest.err
>&5
9921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9924 # The compiler can only warn and ignore the option if not recognized
9925 # So say no if there are warnings
9926 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9927 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9928 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9929 lt_cv_prog_compiler_c_o
=yes
9934 # SGI C++ compiler will create directory out/ii_files/ for
9935 # template instantiation
9936 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9937 $RM out
/* && rmdir out
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9944 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9952 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9953 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9954 $as_echo_n "(cached) " >&6
9956 lt_cv_prog_compiler_c_o
=no
9957 $RM -r conftest
2>/dev
/null
9961 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9963 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9964 # Insert the option either (1) after the last *FLAGS variable, or
9965 # (2) before a word containing "conftest.", or (3) at the end.
9966 # Note that $ac_compile itself does not contain backslashes and begins
9967 # with a dollar sign (not a hyphen), so the echo should work correctly.
9968 lt_compile
=`echo "$ac_compile" | $SED \
9969 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9970 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9971 -e 's:$: $lt_compiler_flag:'`
9972 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9973 (eval "$lt_compile" 2>out
/conftest.err
)
9975 cat out
/conftest.err
>&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9979 # The compiler can only warn and ignore the option if not recognized
9980 # So say no if there are warnings
9981 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9982 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9983 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9984 lt_cv_prog_compiler_c_o
=yes
9989 # SGI C++ compiler will create directory out/ii_files/ for
9990 # template instantiation
9991 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9992 $RM out
/* && rmdir out
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9999 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10004 hard_links
="nottested"
10005 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10006 # do not overwrite the value of need_locks provided by the user
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10008 $as_echo_n "checking if we can lock with hard links... " >&6; }
10011 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10013 ln conftest.a conftest.b
2>&5 || hard_links
=no
10014 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10016 $as_echo "$hard_links" >&6; }
10017 if test "$hard_links" = no
; then
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10019 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10032 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10035 allow_undefined_flag
=
10036 always_export_symbols
=no
10038 archive_expsym_cmds
=
10039 compiler_needs_object
=no
10040 enable_shared_with_static_runtimes
=no
10041 export_dynamic_flag_spec
=
10042 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10043 hardcode_automatic
=no
10045 hardcode_direct_absolute
=no
10046 hardcode_libdir_flag_spec
=
10047 hardcode_libdir_separator
=
10048 hardcode_minus_L
=no
10049 hardcode_shlibpath_var
=unsupported
10051 link_all_deplibs
=unknown
10053 module_expsym_cmds
=
10054 old_archive_from_new_cmds
=
10055 old_archive_from_expsyms_cmds
=
10056 thread_safe_flag_spec
=
10057 whole_archive_flag_spec
=
10058 # include_expsyms should be a list of space-separated symbols to be *always*
10059 # included in the symbol list
10061 # exclude_expsyms can be an extended regexp of symbols to exclude
10062 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10063 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10064 # as well as any symbol that contains `d'.
10065 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10066 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10067 # platforms (ab)use it in PIC code, but their linkers get confused if
10068 # the symbol is explicitly referenced. Since portable code cannot
10069 # rely on this symbol name, it's probably fine to never include it in
10070 # preloaded symbol tables.
10071 # Exclude shared library initialization/finalization symbols.
10072 extract_expsyms_cmds
=
10075 cygwin
* | mingw
* | pw32
* | cegcc
*)
10076 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10077 # When not using gcc, we currently assume that we are using
10078 # Microsoft Visual C++.
10079 if test "$GCC" != yes; then
10084 # we just hope/assume this is gcc and not c89 (= MSVC++)
10090 linux
* | k
*bsd
*-gnu | gnu
*)
10091 link_all_deplibs
=no
10097 # On some targets, GNU ld is compatible enough with the native linker
10098 # that we're better off using the native interface for both.
10099 lt_use_gnu_ld_interface
=no
10100 if test "$with_gnu_ld" = yes; then
10103 # The AIX port of GNU ld has always aspired to compatibility
10104 # with the native linker. However, as the warning in the GNU ld
10105 # block says, versions before 2.19.5* couldn't really create working
10106 # shared libraries, regardless of the interface used.
10107 case `$LD -v 2>&1` in
10108 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10109 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10110 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10112 lt_use_gnu_ld_interface
=yes
10117 lt_use_gnu_ld_interface
=yes
10122 if test "$lt_use_gnu_ld_interface" = yes; then
10123 # If archive_cmds runs LD, not CC, wlarc should be empty
10126 # Set some defaults for GNU ld with shared library support. These
10127 # are reset later if shared libraries are not supported. Putting them
10128 # here allows them to be overridden if necessary.
10129 runpath_var
=LD_RUN_PATH
10130 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10131 export_dynamic_flag_spec
='${wl}--export-dynamic'
10132 # ancient GNU ld didn't support --whole-archive et. al.
10133 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10134 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10136 whole_archive_flag_spec
=
10138 supports_anon_versioning
=no
10139 case `$LD -v 2>&1` in
10140 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10141 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10142 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10143 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10144 *\
2.11.
*) ;; # other 2.11 versions
10145 *) supports_anon_versioning
=yes ;;
10148 # See if GNU ld supports shared libraries.
10151 # On AIX/PPC, the GNU linker is very broken
10152 if test "$host_cpu" != ia64
; then
10156 *** Warning: the GNU linker, at least up to release 2.19, is reported
10157 *** to be unable to reliably create shared libraries on AIX.
10158 *** Therefore, libtool is disabling shared libraries support. If you
10159 *** really care for shared libraries, you may want to install binutils
10160 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10161 *** You will then need to restart the configuration process.
10170 # see comment about AmigaOS4 .so support
10171 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10172 archive_expsym_cmds
=''
10175 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)'
10176 hardcode_libdir_flag_spec
='-L$libdir'
10177 hardcode_minus_L
=yes
10183 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10184 allow_undefined_flag
=unsupported
10185 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10186 # support --undefined. This deserves some investigation. FIXME
10187 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10193 cygwin
* | mingw
* | pw32
* | cegcc
*)
10194 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10195 # as there is no search path for DLLs.
10196 hardcode_libdir_flag_spec
='-L$libdir'
10197 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10198 allow_undefined_flag
=unsupported
10199 always_export_symbols
=no
10200 enable_shared_with_static_runtimes
=yes
10201 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10202 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10204 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10205 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10206 # If the export-symbols file already is a .def file (1st line
10207 # is EXPORTS), use it as is; otherwise, prepend...
10208 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10209 cp $export_symbols $output_objdir/$soname.def;
10211 echo EXPORTS > $output_objdir/$soname.def;
10212 cat $export_symbols >> $output_objdir/$soname.def;
10214 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10221 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10222 link_all_deplibs
=yes
10227 hardcode_shlibpath_var
=no
10228 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10229 export_dynamic_flag_spec
='${wl}-E'
10230 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10231 # Instead, shared libraries are loaded at an image base (0x10000000 by
10232 # default) and relocated if they conflict, which is a slow very memory
10233 # consuming and fragmenting process. To avoid this, we pick a random,
10234 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10235 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10236 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10237 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'
10240 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10242 if test "$host_os" = linux-dietlibc
; then
10243 case $cc_basename in
10244 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10247 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10248 && test "$tmp_diet" = no
10250 tmp_addflag
=' $pic_flag'
10251 tmp_sharedflag
='-shared'
10252 case $cc_basename,$host_cpu in
10253 pgcc
*) # Portland Group C compiler
10254 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10255 tmp_addflag
=' $pic_flag'
10257 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10258 # Portland Group f77 and f90 compilers
10259 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10260 tmp_addflag
=' $pic_flag -Mnomain' ;;
10261 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10262 tmp_addflag
=' -i_dynamic' ;;
10263 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10264 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10265 ifc
* | ifort
*) # Intel Fortran compiler
10266 tmp_addflag
=' -nofor_main' ;;
10267 lf95
*) # Lahey Fortran 8.1
10268 whole_archive_flag_spec
=
10269 tmp_sharedflag
='--shared' ;;
10270 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10271 tmp_sharedflag
='-qmkshrobj'
10273 nvcc
*) # Cuda Compiler Driver 2.2
10274 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10275 compiler_needs_object
=yes
10278 case `$CC -V 2>&1 | sed 5q` in
10279 *Sun\ C
*) # Sun C 5.9
10280 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10281 compiler_needs_object
=yes
10282 tmp_sharedflag
='-G' ;;
10283 *Sun\ F
*) # Sun Fortran 8.3
10284 tmp_sharedflag
='-G' ;;
10286 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10288 if test "x$supports_anon_versioning" = xyes
; then
10289 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10290 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10291 echo "local: *; };" >> $output_objdir/$libname.ver~
10292 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10295 case $cc_basename in
10296 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10297 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10298 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10299 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10300 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10301 if test "x$supports_anon_versioning" = xyes
; then
10302 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10303 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10304 echo "local: *; };" >> $output_objdir/$libname.ver~
10305 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10314 netbsd
* | netbsdelf
*-gnu)
10315 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10316 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10319 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10320 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10325 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10329 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10330 *** create shared libraries on Solaris systems. Therefore, libtool
10331 *** is disabling shared libraries support. We urge you to upgrade GNU
10332 *** binutils to release 2.9.1 or newer. Another option is to modify
10333 *** your PATH or compiler configuration so that the native linker is
10334 *** used, and then restart.
10337 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10338 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10339 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10345 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10346 case `$LD -v 2>&1` in
10347 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10351 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10352 *** reliably create shared libraries on SCO systems. Therefore, libtool
10353 *** is disabling shared libraries support. We urge you to upgrade GNU
10354 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10355 *** your PATH or compiler configuration so that the native linker is
10356 *** used, and then restart.
10361 # For security reasons, it is highly recommended that you always
10362 # use absolute paths for naming shared libraries, and exclude the
10363 # DT_RUNPATH tag from executables and libraries. But doing so
10364 # requires that you compile everything twice, which is a pain.
10365 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10366 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10367 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10368 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10377 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10379 hardcode_direct
=yes
10380 hardcode_shlibpath_var
=no
10384 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10385 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10386 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10393 if test "$ld_shlibs" = no
; then
10395 hardcode_libdir_flag_spec
=
10396 export_dynamic_flag_spec
=
10397 whole_archive_flag_spec
=
10400 # PORTME fill in a description of your system's linker (not GNU ld)
10403 allow_undefined_flag
=unsupported
10404 always_export_symbols
=yes
10405 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'
10406 # Note: this linker hardcodes the directories in LIBPATH if there
10407 # are no directories specified by -L.
10408 hardcode_minus_L
=yes
10409 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10410 # Neither direct hardcoding nor static linking is supported with a
10412 hardcode_direct
=unsupported
10417 if test "$host_cpu" = ia64
; then
10418 # On IA64, the linker does run time linking by default, so we don't
10419 # have to do anything special.
10420 aix_use_runtimelinking
=no
10421 exp_sym_flag
='-Bexport'
10424 # If we're using GNU nm, then we don't want the "-C" option.
10425 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10426 # Also, AIX nm treats weak defined symbols like other global
10427 # defined symbols, whereas GNU nm marks them as "W".
10428 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10429 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10431 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'
10433 aix_use_runtimelinking
=no
10435 # Test if we are trying to use run time linking or normal
10436 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10437 # need to do runtime linking.
10438 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10439 for ld_flag
in $LDFLAGS; do
10440 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10441 aix_use_runtimelinking
=yes
10448 exp_sym_flag
='-bexport'
10449 no_entry_flag
='-bnoentry'
10452 # When large executables or shared objects are built, AIX ld can
10453 # have problems creating the table of contents. If linking a library
10454 # or program results in "error TOC overflow" add -mminimal-toc to
10455 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10456 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10459 hardcode_direct
=yes
10460 hardcode_direct_absolute
=yes
10461 hardcode_libdir_separator
=':'
10462 link_all_deplibs
=yes
10463 file_list_spec
='${wl}-f,'
10465 if test "$GCC" = yes; then
10466 case $host_os in aix4.
[012]|aix4.
[012].
*)
10467 # We only want to do this on AIX 4.2 and lower, the check
10468 # below for broken collect2 doesn't work under 4.3+
10469 collect2name
=`${CC} -print-prog-name=collect2`
10470 if test -f "$collect2name" &&
10471 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10473 # We have reworked collect2
10476 # We have old collect2
10477 hardcode_direct
=unsupported
10478 # It fails to find uninstalled libraries when the uninstalled
10479 # path is not listed in the libpath. Setting hardcode_minus_L
10480 # to unsupported forces relinking
10481 hardcode_minus_L
=yes
10482 hardcode_libdir_flag_spec
='-L$libdir'
10483 hardcode_libdir_separator
=
10487 shared_flag
='-shared'
10488 if test "$aix_use_runtimelinking" = yes; then
10489 shared_flag
="$shared_flag "'${wl}-G'
10491 link_all_deplibs
=no
10494 if test "$host_cpu" = ia64
; then
10495 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10496 # chokes on -Wl,-G. The following line is correct:
10499 if test "$aix_use_runtimelinking" = yes; then
10500 shared_flag
='${wl}-G'
10502 shared_flag
='${wl}-bM:SRE'
10507 export_dynamic_flag_spec
='${wl}-bexpall'
10508 # It seems that -bexpall does not export symbols beginning with
10509 # underscore (_), so it is better to generate a list of symbols to export.
10510 always_export_symbols
=yes
10511 if test "$aix_use_runtimelinking" = yes; then
10512 # Warning - without using the other runtime loading flags (-brtl),
10513 # -berok will link without error, but may produce a broken library.
10514 allow_undefined_flag
='-berok'
10515 # Determine the default libpath from the value encoded in an
10516 # empty executable.
10517 if test "${lt_cv_aix_libpath+set}" = set; then
10518 aix_libpath
=$lt_cv_aix_libpath
10520 if ${lt_cv_aix_libpath_+:} false
; then :
10521 $as_echo_n "(cached) " >&6
10523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10524 /* end confdefs.h. */
10534 if ac_fn_c_try_link
"$LINENO"; then :
10536 lt_aix_libpath_sed
='
10537 /Import File Strings/,/^$/ {
10539 s/^0 *\([^ ]*\) *$/\1/
10543 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10544 # Check for a 64-bit object if we didn't find anything.
10545 if test -z "$lt_cv_aix_libpath_"; then
10546 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10549 rm -f core conftest.err conftest.
$ac_objext \
10550 conftest
$ac_exeext conftest.
$ac_ext
10551 if test -z "$lt_cv_aix_libpath_"; then
10552 lt_cv_aix_libpath_
="/usr/lib:/lib"
10557 aix_libpath
=$lt_cv_aix_libpath_
10560 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10561 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10563 if test "$host_cpu" = ia64
; then
10564 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10565 allow_undefined_flag
="-z nodefs"
10566 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"
10568 # Determine the default libpath from the value encoded in an
10569 # empty executable.
10570 if test "${lt_cv_aix_libpath+set}" = set; then
10571 aix_libpath
=$lt_cv_aix_libpath
10573 if ${lt_cv_aix_libpath_+:} false
; then :
10574 $as_echo_n "(cached) " >&6
10576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10577 /* end confdefs.h. */
10587 if ac_fn_c_try_link
"$LINENO"; then :
10589 lt_aix_libpath_sed
='
10590 /Import File Strings/,/^$/ {
10592 s/^0 *\([^ ]*\) *$/\1/
10596 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10597 # Check for a 64-bit object if we didn't find anything.
10598 if test -z "$lt_cv_aix_libpath_"; then
10599 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10602 rm -f core conftest.err conftest.
$ac_objext \
10603 conftest
$ac_exeext conftest.
$ac_ext
10604 if test -z "$lt_cv_aix_libpath_"; then
10605 lt_cv_aix_libpath_
="/usr/lib:/lib"
10610 aix_libpath
=$lt_cv_aix_libpath_
10613 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10614 # Warning - without using the other run time loading flags,
10615 # -berok will link without error, but may produce a broken library.
10616 no_undefined_flag
=' ${wl}-bernotok'
10617 allow_undefined_flag
=' ${wl}-berok'
10618 if test "$with_gnu_ld" = yes; then
10619 # We only use this code for GNU lds that support --whole-archive.
10620 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10622 # Exported symbols can be pulled into shared objects from archives
10623 whole_archive_flag_spec
='$convenience'
10625 archive_cmds_need_lc
=yes
10626 # This is similar to how AIX traditionally builds its shared libraries.
10627 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'
10635 # see comment about AmigaOS4 .so support
10636 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10637 archive_expsym_cmds
=''
10640 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)'
10641 hardcode_libdir_flag_spec
='-L$libdir'
10642 hardcode_minus_L
=yes
10648 export_dynamic_flag_spec
=-rdynamic
10651 cygwin
* | mingw
* | pw32
* | cegcc
*)
10652 # When not using gcc, we currently assume that we are using
10653 # Microsoft Visual C++.
10654 # hardcode_libdir_flag_spec is actually meaningless, as there is
10655 # no search path for DLLs.
10656 case $cc_basename in
10659 hardcode_libdir_flag_spec
=' '
10660 allow_undefined_flag
=unsupported
10661 always_export_symbols
=yes
10663 # Tell ltmain to make .lib files, not .a files.
10665 # Tell ltmain to make .dll files, not .so files.
10667 # FIXME: Setting linknames here is a bad hack.
10668 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10669 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10670 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10672 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10674 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10676 # The linker will not automatically build a static lib if we build a DLL.
10677 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10678 enable_shared_with_static_runtimes
=yes
10679 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10680 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10682 old_postinstall_cmds
='chmod 644 $oldlib'
10683 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10684 lt_tool_outputfile="@TOOL_OUTPUT@"~
10685 case $lt_outputfile in
10688 lt_outputfile="$lt_outputfile.exe"
10689 lt_tool_outputfile="$lt_tool_outputfile.exe"
10692 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10693 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10694 $RM "$lt_outputfile.manifest";
10698 # Assume MSVC wrapper
10699 hardcode_libdir_flag_spec
=' '
10700 allow_undefined_flag
=unsupported
10701 # Tell ltmain to make .lib files, not .a files.
10703 # Tell ltmain to make .dll files, not .so files.
10705 # FIXME: Setting linknames here is a bad hack.
10706 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10707 # The linker will automatically build a .lib file if we build a DLL.
10708 old_archive_from_new_cmds
='true'
10709 # FIXME: Should let the user specify the lib program.
10710 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10711 enable_shared_with_static_runtimes
=yes
10716 darwin
* | rhapsody
*)
10719 archive_cmds_need_lc
=no
10721 hardcode_automatic
=yes
10722 hardcode_shlibpath_var
=unsupported
10723 if test "$lt_cv_ld_force_load" = "yes"; then
10724 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10727 whole_archive_flag_spec
=''
10729 link_all_deplibs
=yes
10730 allow_undefined_flag
="$_lt_dar_allow_undefined"
10731 case $cc_basename in
10732 ifort
*) _lt_dar_can_shared
=yes ;;
10733 *) _lt_dar_can_shared
=$GCC ;;
10735 if test "$_lt_dar_can_shared" = "yes"; then
10736 output_verbose_link_cmd
=func_echo_all
10737 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10738 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10739 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}"
10740 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}"
10749 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10750 hardcode_libdir_flag_spec
='-L$libdir'
10751 hardcode_shlibpath_var
=no
10754 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10755 # support. Future versions do this automatically, but an explicit c++rt0.o
10756 # does not break anything, and helps significantly (at the cost of a little
10759 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10760 hardcode_libdir_flag_spec
='-R$libdir'
10761 hardcode_direct
=yes
10762 hardcode_shlibpath_var
=no
10765 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10767 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10768 hardcode_direct
=yes
10769 hardcode_minus_L
=yes
10770 hardcode_shlibpath_var
=no
10773 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10774 freebsd
* | dragonfly
*)
10775 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10776 hardcode_libdir_flag_spec
='-R$libdir'
10777 hardcode_direct
=yes
10778 hardcode_shlibpath_var
=no
10782 if test "$GCC" = yes; then
10783 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10785 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'
10787 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10788 hardcode_libdir_separator
=:
10789 hardcode_direct
=yes
10791 # hardcode_minus_L: Not really in the search PATH,
10792 # but as the default location of the library.
10793 hardcode_minus_L
=yes
10794 export_dynamic_flag_spec
='${wl}-E'
10798 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10799 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10801 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10803 if test "$with_gnu_ld" = no
; then
10804 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10805 hardcode_libdir_separator
=:
10806 hardcode_direct
=yes
10807 hardcode_direct_absolute
=yes
10808 export_dynamic_flag_spec
='${wl}-E'
10809 # hardcode_minus_L: Not really in the search PATH,
10810 # but as the default location of the library.
10811 hardcode_minus_L
=yes
10816 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10819 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10822 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10825 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10831 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10834 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10838 # Older versions of the 11.00 compiler do not understand -b yet
10839 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10841 $as_echo_n "checking if $CC understands -b... " >&6; }
10842 if ${lt_cv_prog_compiler__b+:} false
; then :
10843 $as_echo_n "(cached) " >&6
10845 lt_cv_prog_compiler__b
=no
10846 save_LDFLAGS
="$LDFLAGS"
10847 LDFLAGS
="$LDFLAGS -b"
10848 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10849 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10850 # The linker can only warn and ignore the option if not recognized
10851 # So say no if there are warnings
10852 if test -s conftest.err
; then
10853 # Append any errors to the config.log.
10854 cat conftest.err
1>&5
10855 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10856 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10857 if diff conftest.exp conftest.er2
>/dev
/null
; then
10858 lt_cv_prog_compiler__b
=yes
10861 lt_cv_prog_compiler__b
=yes
10865 LDFLAGS
="$save_LDFLAGS"
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10869 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10871 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10872 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10874 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10880 if test "$with_gnu_ld" = no
; then
10881 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10882 hardcode_libdir_separator
=:
10887 hardcode_shlibpath_var
=no
10890 hardcode_direct
=yes
10891 hardcode_direct_absolute
=yes
10892 export_dynamic_flag_spec
='${wl}-E'
10894 # hardcode_minus_L: Not really in the search PATH,
10895 # but as the default location of the library.
10896 hardcode_minus_L
=yes
10902 irix5
* | irix6
* | nonstopux
*)
10903 if test "$GCC" = yes; then
10904 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10905 # Try to use the -exported_symbol ld option, if it does not
10906 # work, assume that -exports_file does not work either and
10907 # implicitly export all symbols.
10908 # This should be the same for all languages, so no per-tag cache variable.
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10910 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10911 if ${lt_cv_irix_exported_symbol+:} false
; then :
10912 $as_echo_n "(cached) " >&6
10914 save_LDFLAGS
="$LDFLAGS"
10915 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10917 /* end confdefs.h. */
10918 int foo (void) { return 0; }
10920 if ac_fn_c_try_link
"$LINENO"; then :
10921 lt_cv_irix_exported_symbol
=yes
10923 lt_cv_irix_exported_symbol
=no
10925 rm -f core conftest.err conftest.
$ac_objext \
10926 conftest
$ac_exeext conftest.
$ac_ext
10927 LDFLAGS
="$save_LDFLAGS"
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10930 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10931 if test "$lt_cv_irix_exported_symbol" = yes; then
10932 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10935 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10936 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10938 archive_cmds_need_lc
='no'
10939 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10940 hardcode_libdir_separator
=:
10942 link_all_deplibs
=yes
10945 netbsd
* | netbsdelf
*-gnu)
10946 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10947 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10949 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10951 hardcode_libdir_flag_spec
='-R$libdir'
10952 hardcode_direct
=yes
10953 hardcode_shlibpath_var
=no
10957 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10958 hardcode_direct
=yes
10959 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10960 hardcode_libdir_separator
=:
10961 hardcode_shlibpath_var
=no
10968 if test -f /usr
/libexec
/ld.so
; then
10969 hardcode_direct
=yes
10970 hardcode_shlibpath_var
=no
10971 hardcode_direct_absolute
=yes
10972 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10973 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10974 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10975 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10976 export_dynamic_flag_spec
='${wl}-E'
10979 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10980 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10981 hardcode_libdir_flag_spec
='-R$libdir'
10984 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10985 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10995 hardcode_libdir_flag_spec
='-L$libdir'
10996 hardcode_minus_L
=yes
10997 allow_undefined_flag
=unsupported
10998 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'
10999 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11003 if test "$GCC" = yes; then
11004 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11005 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11007 allow_undefined_flag
=' -expect_unresolved \*'
11008 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11010 archive_cmds_need_lc
='no'
11011 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11012 hardcode_libdir_separator
=:
11015 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11016 if test "$GCC" = yes; then
11017 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11018 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11019 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11021 allow_undefined_flag
=' -expect_unresolved \*'
11022 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11023 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~
11024 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11026 # Both c and cxx compiler support -rpath directly
11027 hardcode_libdir_flag_spec
='-rpath $libdir'
11029 archive_cmds_need_lc
='no'
11030 hardcode_libdir_separator
=:
11034 no_undefined_flag
=' -z defs'
11035 if test "$GCC" = yes; then
11037 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11038 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11039 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11041 case `$CC -V 2>&1` in
11044 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11045 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11046 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11050 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11051 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11052 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11056 hardcode_libdir_flag_spec
='-R$libdir'
11057 hardcode_shlibpath_var
=no
11059 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11061 # The compiler driver will combine and reorder linker options,
11062 # but understands `-z linker_flag'. GCC discards it without `$wl',
11063 # but is careful enough not to reorder.
11064 # Supported since Solaris 2.6 (maybe 2.5.1?)
11065 if test "$GCC" = yes; then
11066 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11068 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11072 link_all_deplibs
=yes
11076 if test "x$host_vendor" = xsequent
; then
11077 # Use $CC to link under sequent, because it throws in some extra .o
11078 # files that make .init and .fini sections work.
11079 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11081 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11083 hardcode_libdir_flag_spec
='-L$libdir'
11084 hardcode_direct
=yes
11085 hardcode_minus_L
=yes
11086 hardcode_shlibpath_var
=no
11090 case $host_vendor in
11092 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11093 hardcode_direct
=yes # is this really true???
11096 ## LD is ld it makes a PLAMLIB
11097 ## CC just makes a GrossModule.
11098 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11099 reload_cmds
='$CC -r -o $output$reload_objs'
11103 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11104 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11107 runpath_var
='LD_RUN_PATH'
11108 hardcode_shlibpath_var
=no
11112 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11113 hardcode_shlibpath_var
=no
11114 export_dynamic_flag_spec
='-Bexport'
11118 if test -d /usr
/nec
; then
11119 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11120 hardcode_shlibpath_var
=no
11121 runpath_var
=LD_RUN_PATH
11122 hardcode_runpath_var
=yes
11127 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11128 no_undefined_flag
='${wl}-z,text'
11129 archive_cmds_need_lc
=no
11130 hardcode_shlibpath_var
=no
11131 runpath_var
='LD_RUN_PATH'
11133 if test "$GCC" = yes; then
11134 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11135 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11137 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11138 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11142 sysv5
* | sco3.2v5
* | sco5v6
*)
11143 # Note: We can NOT use -z defs as we might desire, because we do not
11144 # link with -lc, and that would cause any symbols used from libc to
11145 # always be unresolved, which means just about no library would
11146 # ever link correctly. If we're not using GNU ld we use -z text
11147 # though, which does catch some bad symbols but isn't as heavy-handed
11149 no_undefined_flag
='${wl}-z,text'
11150 allow_undefined_flag
='${wl}-z,nodefs'
11151 archive_cmds_need_lc
=no
11152 hardcode_shlibpath_var
=no
11153 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11154 hardcode_libdir_separator
=':'
11155 link_all_deplibs
=yes
11156 export_dynamic_flag_spec
='${wl}-Bexport'
11157 runpath_var
='LD_RUN_PATH'
11159 if test "$GCC" = yes; then
11160 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11161 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11163 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11164 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11169 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11170 hardcode_libdir_flag_spec
='-L$libdir'
11171 hardcode_shlibpath_var
=no
11179 if test x
$host_vendor = xsni
; then
11181 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11182 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11189 $as_echo "$ld_shlibs" >&6; }
11190 test "$ld_shlibs" = no
&& can_build_shared
=no
11192 with_gnu_ld
=$with_gnu_ld
11209 # Do we need to explicitly link libc?
11211 case "x$archive_cmds_need_lc" in
11213 # Assume -lc should be added
11214 archive_cmds_need_lc
=yes
11216 if test "$enable_shared" = yes && test "$GCC" = yes; then
11217 case $archive_cmds in
11219 # FIXME: we may have to deal with multi-command sequences.
11222 # Test whether the compiler implicitly links with -lc since on some
11223 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11224 # to ld, don't add -lc before -lgcc.
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11226 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11227 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11228 $as_echo_n "(cached) " >&6
11231 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11233 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11234 (eval $ac_compile) 2>&5
11236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11237 test $ac_status = 0; } 2>conftest.err
; then
11240 libobjs
=conftest.
$ac_objext
11242 wl
=$lt_prog_compiler_wl
11243 pic_flag
=$lt_prog_compiler_pic
11249 lt_save_allow_undefined_flag
=$allow_undefined_flag
11250 allow_undefined_flag
=
11251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11252 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11255 test $ac_status = 0; }
11257 lt_cv_archive_cmds_need_lc
=no
11259 lt_cv_archive_cmds_need_lc
=yes
11261 allow_undefined_flag
=$lt_save_allow_undefined_flag
11263 cat conftest.err
1>&5
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11269 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11270 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11429 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11431 if test "$GCC" = yes; then
11433 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11434 *) lt_awk_arg
="/^libraries:/" ;;
11437 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11438 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11440 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11441 case $lt_search_path_spec in
11443 # if the path contains ";" then we assume it to be the separator
11444 # otherwise default to the standard path separator (i.e. ":") - it is
11445 # assumed that no part of a normal pathname contains ";" but that should
11446 # okay in the real world where ";" in dirpaths is itself problematic.
11447 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11450 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11453 # Ok, now we have the path, separated by spaces, we can step through it
11454 # and add multilib dir if necessary.
11455 lt_tmp_lt_search_path_spec
=
11456 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11457 for lt_sys_path
in $lt_search_path_spec; do
11458 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11459 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11461 test -d "$lt_sys_path" && \
11462 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11465 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11466 BEGIN {RS=" "; FS="/|\n";} {
11469 for (lt_i = NF; lt_i > 0; lt_i--) {
11470 if ($lt_i != "" && $lt_i != ".") {
11471 if ($lt_i == "..") {
11474 if (lt_count == 0) {
11475 lt_foo="/" $lt_i lt_foo;
11482 if (lt_foo != "") { lt_freq[lt_foo]++; }
11483 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11485 # AWK program above erroneously prepends '/' to C:/dos/paths
11488 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11489 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11491 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11493 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11495 library_names_spec
=
11496 libname_spec
='lib$name'
11500 postuninstall_cmds
=
11504 shlibpath_overrides_runpath
=unknown
11506 dynamic_linker
="$host_os ld.so"
11507 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11508 need_lib_prefix
=unknown
11509 hardcode_into_libs
=no
11511 # when you set need_version to no, make sure it does not cause -set_version
11512 # flags to be left without arguments
11513 need_version
=unknown
11517 version_type
=linux
# correct to gnu/linux during the next big refactor
11518 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11519 shlibpath_var
=LIBPATH
11521 # AIX 3 has no versioning support, so we append a major version to the name.
11522 soname_spec
='${libname}${release}${shared_ext}$major'
11526 version_type
=linux
# correct to gnu/linux during the next big refactor
11529 hardcode_into_libs
=yes
11530 if test "$host_cpu" = ia64
; then
11531 # AIX 5 supports IA64
11532 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11533 shlibpath_var
=LD_LIBRARY_PATH
11535 # With GCC up to 2.95.x, collect2 would create an import file
11536 # for dependence libraries. The import file would start with
11537 # the line `#! .'. This would cause the generated library to
11538 # depend on `.', always an invalid library. This was fixed in
11539 # development snapshots of GCC prior to 3.0.
11541 aix4 | aix4.
[01] | aix4.
[01].
*)
11542 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11544 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11547 can_build_shared
=no
11551 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11552 # soname into executable. Probably we can add versioning support to
11553 # collect2, so additional links can be useful in future.
11554 if test "$aix_use_runtimelinking" = yes; then
11555 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11556 # instead of lib<name>.a to let people know that these are not
11557 # typical AIX shared libraries.
11558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11560 # We preserve .a as extension for shared libraries through AIX4.2
11561 # and later when we are not doing run time linking.
11562 library_names_spec
='${libname}${release}.a $libname.a'
11563 soname_spec
='${libname}${release}${shared_ext}$major'
11565 shlibpath_var
=LIBPATH
11572 # Since July 2007 AmigaOS4 officially supports .so libraries.
11573 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11577 library_names_spec
='$libname.ixlibrary $libname.a'
11578 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11579 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11585 library_names_spec
='${libname}${shared_ext}'
11586 dynamic_linker
="$host_os ld.so"
11587 shlibpath_var
=LIBRARY_PATH
11591 version_type
=linux
# correct to gnu/linux during the next big refactor
11593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11594 soname_spec
='${libname}${release}${shared_ext}$major'
11595 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11596 shlibpath_var
=LD_LIBRARY_PATH
11597 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11598 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11599 # the default ld.so.conf also contains /usr/contrib/lib and
11600 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11601 # libtool to hard-code these into programs
11604 cygwin
* | mingw
* | pw32
* | cegcc
*)
11605 version_type
=windows
11610 case $GCC,$cc_basename in
11613 library_names_spec
='$libname.dll.a'
11614 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11615 postinstall_cmds
='base_file=`basename \${file}`~
11616 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11617 dldir=$destdir/`dirname \$dlpath`~
11618 test -d \$dldir || mkdir -p \$dldir~
11619 $install_prog $dir/$dlname \$dldir/$dlname~
11620 chmod a+x \$dldir/$dlname~
11621 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11622 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11624 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11625 dlpath=$dir/\$dldll~
11627 shlibpath_overrides_runpath
=yes
11631 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11632 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11634 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11637 # MinGW DLLs use traditional 'lib' prefix
11638 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11641 # pw32 DLLs use 'pw' prefix rather than 'lib'
11642 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11645 dynamic_linker
='Win32 ld.exe'
11650 libname_spec
='$name'
11651 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11652 library_names_spec
='${libname}.dll.lib'
11656 sys_lib_search_path_spec
=
11659 for lt_path
in $LIB
11662 # Let DOS variable expansion print the short 8.3 style file name.
11663 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11664 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11667 # Convert to MSYS style.
11668 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11671 # Convert to unix form, then to dos form, then back to unix form
11672 # but this time dos style (no spaces!) so that the unix form looks
11673 # like /cygdrive/c/PROGRA~1:/cygdr...
11674 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11675 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11676 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11679 sys_lib_search_path_spec
="$LIB"
11680 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11681 # It is most probably a Windows format PATH.
11682 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11684 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11686 # FIXME: find the short name or the path components, as spaces are
11687 # common. (e.g. "Program Files" -> "PROGRA~1")
11691 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11692 postinstall_cmds
='base_file=`basename \${file}`~
11693 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11694 dldir=$destdir/`dirname \$dlpath`~
11695 test -d \$dldir || mkdir -p \$dldir~
11696 $install_prog $dir/$dlname \$dldir/$dlname'
11697 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11698 dlpath=$dir/\$dldll~
11700 shlibpath_overrides_runpath
=yes
11701 dynamic_linker
='Win32 link.exe'
11705 # Assume MSVC wrapper
11706 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11707 dynamic_linker
='Win32 ld.exe'
11710 # FIXME: first we should search . and the directory the executable is in
11714 darwin
* | rhapsody
*)
11715 dynamic_linker
="$host_os dyld"
11716 version_type
=darwin
11719 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11720 soname_spec
='${libname}${release}${major}$shared_ext'
11721 shlibpath_overrides_runpath
=yes
11722 shlibpath_var
=DYLD_LIBRARY_PATH
11723 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11725 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11726 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11730 version_type
=linux
# correct to gnu/linux during the next big refactor
11733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11734 soname_spec
='${libname}${release}${shared_ext}$major'
11735 shlibpath_var
=LD_LIBRARY_PATH
11738 freebsd
* | dragonfly
*)
11739 # DragonFly does not have aout. When/if they implement a new
11740 # versioning mechanism, adjust this.
11741 if test -x /usr
/bin
/objformat
; then
11742 objformat
=`/usr/bin/objformat`
11745 freebsd
[23].
*) objformat
=aout
;;
11746 *) objformat
=elf
;;
11749 version_type
=freebsd-
$objformat
11750 case $version_type in
11752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11757 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11761 shlibpath_var
=LD_LIBRARY_PATH
11764 shlibpath_overrides_runpath
=yes
11766 freebsd3.
[01]* | freebsdelf3.
[01]*)
11767 shlibpath_overrides_runpath
=yes
11768 hardcode_into_libs
=yes
11770 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11771 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11772 shlibpath_overrides_runpath
=no
11773 hardcode_into_libs
=yes
11775 *) # from 4.6 on, and DragonFly
11776 shlibpath_overrides_runpath
=yes
11777 hardcode_into_libs
=yes
11783 version_type
=linux
# correct to gnu/linux during the next big refactor
11786 dynamic_linker
="$host_os runtime_loader"
11787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11788 soname_spec
='${libname}${release}${shared_ext}$major'
11789 shlibpath_var
=LIBRARY_PATH
11790 shlibpath_overrides_runpath
=yes
11791 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11792 hardcode_into_libs
=yes
11795 hpux9
* | hpux10
* | hpux11
*)
11796 # Give a soname corresponding to the major version so that dld.sl refuses to
11797 # link against other versions.
11804 hardcode_into_libs
=yes
11805 dynamic_linker
="$host_os dld.so"
11806 shlibpath_var
=LD_LIBRARY_PATH
11807 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11809 soname_spec
='${libname}${release}${shared_ext}$major'
11810 if test "X$HPUX_IA64_MODE" = X32
; then
11811 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11813 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11815 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11819 hardcode_into_libs
=yes
11820 dynamic_linker
="$host_os dld.sl"
11821 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11822 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11824 soname_spec
='${libname}${release}${shared_ext}$major'
11825 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11826 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11830 dynamic_linker
="$host_os dld.sl"
11831 shlibpath_var
=SHLIB_PATH
11832 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11834 soname_spec
='${libname}${release}${shared_ext}$major'
11837 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11838 postinstall_cmds
='chmod 555 $lib'
11839 # or fails outright, so override atomically:
11840 install_override_mode
=555
11844 version_type
=linux
# correct to gnu/linux during the next big refactor
11847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11848 soname_spec
='${libname}${release}${shared_ext}$major'
11849 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11850 shlibpath_var
=LD_LIBRARY_PATH
11851 shlibpath_overrides_runpath
=no
11852 hardcode_into_libs
=yes
11855 irix5
* | irix6
* | nonstopux
*)
11857 nonstopux
*) version_type
=nonstopux
;;
11859 if test "$lt_cv_prog_gnu_ld" = yes; then
11860 version_type
=linux
# correct to gnu/linux during the next big refactor
11867 soname_spec
='${libname}${release}${shared_ext}$major'
11868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11870 irix5
* | nonstopux
*)
11871 libsuff
= shlibsuff
=
11874 case $LD in # libtool.m4 will add one of these switches to LD
11875 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11876 libsuff
= shlibsuff
= libmagic
=32-bit;;
11877 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11878 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11879 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11880 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11881 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11885 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11886 shlibpath_overrides_runpath
=no
11887 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11888 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11889 hardcode_into_libs
=yes
11892 # No shared lib support for Linux oldld, aout, or coff.
11893 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11897 # This must be glibc/ELF.
11898 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11899 version_type
=linux
# correct to gnu/linux during the next big refactor
11902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11903 soname_spec
='${libname}${release}${shared_ext}$major'
11904 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11905 shlibpath_var
=LD_LIBRARY_PATH
11906 shlibpath_overrides_runpath
=no
11908 # Some binutils ld are patched to set DT_RUNPATH
11909 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11910 $as_echo_n "(cached) " >&6
11912 lt_cv_shlibpath_overrides_runpath
=no
11913 save_LDFLAGS
=$LDFLAGS
11914 save_libdir
=$libdir
11915 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11916 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11918 /* end confdefs.h. */
11928 if ac_fn_c_try_link
"$LINENO"; then :
11929 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11930 lt_cv_shlibpath_overrides_runpath
=yes
11933 rm -f core conftest.err conftest.
$ac_objext \
11934 conftest
$ac_exeext conftest.
$ac_ext
11935 LDFLAGS
=$save_LDFLAGS
11936 libdir
=$save_libdir
11940 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11942 # This implies no fast_install, which is unacceptable.
11943 # Some rework will be needed to allow for fast_install
11944 # before this can be enabled.
11945 hardcode_into_libs
=yes
11947 # Append ld.so.conf contents to the search path
11948 if test -f /etc
/ld.so.conf
; then
11949 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11950 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11953 # We used to test for /lib/ld.so.1 and disable shared libraries on
11954 # powerpc, because MkLinux only supported shared libraries with the
11955 # GNU dynamic linker. Since this was broken with cross compilers,
11956 # most powerpc-linux boxes support dynamic linking these days and
11957 # people can always --disable-shared, the test was removed, and we
11958 # assume the GNU/Linux dynamic linker is in use.
11959 dynamic_linker
='GNU/Linux ld.so'
11966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11967 soname_spec
='${libname}${release}${shared_ext}$major'
11968 shlibpath_var
=LD_LIBRARY_PATH
11969 shlibpath_overrides_runpath
=no
11970 hardcode_into_libs
=yes
11971 dynamic_linker
='NetBSD ld.elf_so'
11978 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11980 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11981 dynamic_linker
='NetBSD (a.out) ld.so'
11983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11984 soname_spec
='${libname}${release}${shared_ext}$major'
11985 dynamic_linker
='NetBSD ld.elf_so'
11987 shlibpath_var
=LD_LIBRARY_PATH
11988 shlibpath_overrides_runpath
=yes
11989 hardcode_into_libs
=yes
11993 version_type
=linux
# correct to gnu/linux during the next big refactor
11994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11995 shlibpath_var
=LD_LIBRARY_PATH
11996 shlibpath_overrides_runpath
=yes
12003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12004 soname_spec
='${libname}${release}${shared_ext}$major'
12005 shlibpath_var
=LD_LIBRARY_PATH
12006 shlibpath_overrides_runpath
=no
12007 hardcode_into_libs
=yes
12008 dynamic_linker
='ldqnx.so'
12013 sys_lib_dlsearch_path_spec
="/usr/lib"
12015 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12017 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12018 *) need_version
=no
;;
12020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12021 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12022 shlibpath_var
=LD_LIBRARY_PATH
12023 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12025 openbsd2.
[89] | openbsd2.
[89].
*)
12026 shlibpath_overrides_runpath
=no
12029 shlibpath_overrides_runpath
=yes
12033 shlibpath_overrides_runpath
=yes
12038 libname_spec
='$name'
12041 library_names_spec
='$libname${shared_ext} $libname.a'
12042 dynamic_linker
='OS/2 ld.exe'
12043 shlibpath_var
=LIBPATH
12046 osf3
* | osf4
* | osf5
*)
12050 soname_spec
='${libname}${release}${shared_ext}$major'
12051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12052 shlibpath_var
=LD_LIBRARY_PATH
12053 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12054 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12062 version_type
=linux
# correct to gnu/linux during the next big refactor
12065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12066 soname_spec
='${libname}${release}${shared_ext}$major'
12067 shlibpath_var
=LD_LIBRARY_PATH
12068 shlibpath_overrides_runpath
=yes
12069 hardcode_into_libs
=yes
12070 # ldd complains unless libraries are executable
12071 postinstall_cmds
='chmod +x $lib'
12076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12077 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12078 shlibpath_var
=LD_LIBRARY_PATH
12079 shlibpath_overrides_runpath
=yes
12080 if test "$with_gnu_ld" = yes; then
12087 version_type
=linux
# correct to gnu/linux during the next big refactor
12088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12089 soname_spec
='${libname}${release}${shared_ext}$major'
12090 shlibpath_var
=LD_LIBRARY_PATH
12091 case $host_vendor in
12093 shlibpath_overrides_runpath
=no
12095 runpath_var
=LD_RUN_PATH
12103 shlibpath_overrides_runpath
=no
12104 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12110 if test -d /usr
/nec
;then
12111 version_type
=linux
# correct to gnu/linux during the next big refactor
12112 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12113 soname_spec
='$libname${shared_ext}.$major'
12114 shlibpath_var
=LD_LIBRARY_PATH
12118 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12119 version_type
=freebsd-elf
12122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12123 soname_spec
='${libname}${release}${shared_ext}$major'
12124 shlibpath_var
=LD_LIBRARY_PATH
12125 shlibpath_overrides_runpath
=yes
12126 hardcode_into_libs
=yes
12127 if test "$with_gnu_ld" = yes; then
12128 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12130 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12133 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12137 sys_lib_dlsearch_path_spec
='/usr/lib'
12141 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12142 version_type
=linux
# correct to gnu/linux during the next big refactor
12145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12146 shlibpath_var
=LD_LIBRARY_PATH
12147 shlibpath_overrides_runpath
=no
12148 hardcode_into_libs
=yes
12152 version_type
=linux
# correct to gnu/linux during the next big refactor
12153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12154 soname_spec
='${libname}${release}${shared_ext}$major'
12155 shlibpath_var
=LD_LIBRARY_PATH
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12163 $as_echo "$dynamic_linker" >&6; }
12164 test "$dynamic_linker" = no
&& can_build_shared
=no
12166 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12167 if test "$GCC" = yes; then
12168 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12171 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12172 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12174 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12175 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12270 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12272 if test -n "$hardcode_libdir_flag_spec" ||
12273 test -n "$runpath_var" ||
12274 test "X$hardcode_automatic" = "Xyes" ; then
12276 # We can hardcode non-existent directories.
12277 if test "$hardcode_direct" != no
&&
12278 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12279 # have to relink, otherwise we might link with an installed library
12280 # when we should be linking with a yet-to-be-installed one
12281 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12282 test "$hardcode_minus_L" != no
; then
12283 # Linking always hardcodes the temporary library directory.
12284 hardcode_action
=relink
12286 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12287 hardcode_action
=immediate
12290 # We cannot hardcode anything, or else we can only hardcode existing
12292 hardcode_action
=unsupported
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12295 $as_echo "$hardcode_action" >&6; }
12297 if test "$hardcode_action" = relink ||
12298 test "$inherit_rpath" = yes; then
12299 # Fast installation is not supported
12300 enable_fast_install
=no
12301 elif test "$shlibpath_overrides_runpath" = yes ||
12302 test "$enable_shared" = no
; then
12303 # Fast installation is not necessary
12304 enable_fast_install
=needless
12312 if test "x$enable_dlopen" != xyes
; then
12313 enable_dlopen
=unknown
12314 enable_dlopen_self
=unknown
12315 enable_dlopen_self_static
=unknown
12322 lt_cv_dlopen
="load_add_on"
12324 lt_cv_dlopen_self
=yes
12327 mingw
* | pw32
* | cegcc
*)
12328 lt_cv_dlopen
="LoadLibrary"
12333 lt_cv_dlopen
="dlopen"
12338 # if libdl is installed we need to link against it
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12340 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12341 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12342 $as_echo_n "(cached) " >&6
12344 ac_check_lib_save_LIBS
=$LIBS
12346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12347 /* end confdefs.h. */
12349 /* Override any GCC internal prototype to avoid an error.
12350 Use char because int might match the return type of a GCC
12351 builtin and then its argument prototype would still apply. */
12364 if ac_fn_c_try_link
"$LINENO"; then :
12365 ac_cv_lib_dl_dlopen
=yes
12367 ac_cv_lib_dl_dlopen
=no
12369 rm -f core conftest.err conftest.
$ac_objext \
12370 conftest
$ac_exeext conftest.
$ac_ext
12371 LIBS
=$ac_check_lib_save_LIBS
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12374 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12375 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12376 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12379 lt_cv_dlopen
="dyld"
12381 lt_cv_dlopen_self
=yes
12388 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12389 if test "x$ac_cv_func_shl_load" = xyes
; then :
12390 lt_cv_dlopen
="shl_load"
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12393 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12394 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12395 $as_echo_n "(cached) " >&6
12397 ac_check_lib_save_LIBS
=$LIBS
12399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12402 /* Override any GCC internal prototype to avoid an error.
12403 Use char because int might match the return type of a GCC
12404 builtin and then its argument prototype would still apply. */
12412 return shl_load ();
12417 if ac_fn_c_try_link
"$LINENO"; then :
12418 ac_cv_lib_dld_shl_load
=yes
12420 ac_cv_lib_dld_shl_load
=no
12422 rm -f core conftest.err conftest.
$ac_objext \
12423 conftest
$ac_exeext conftest.
$ac_ext
12424 LIBS
=$ac_check_lib_save_LIBS
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12427 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12428 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12429 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12431 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12432 if test "x$ac_cv_func_dlopen" = xyes
; then :
12433 lt_cv_dlopen
="dlopen"
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12436 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12437 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12438 $as_echo_n "(cached) " >&6
12440 ac_check_lib_save_LIBS
=$LIBS
12442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12443 /* end confdefs.h. */
12445 /* Override any GCC internal prototype to avoid an error.
12446 Use char because int might match the return type of a GCC
12447 builtin and then its argument prototype would still apply. */
12460 if ac_fn_c_try_link
"$LINENO"; then :
12461 ac_cv_lib_dl_dlopen
=yes
12463 ac_cv_lib_dl_dlopen
=no
12465 rm -f core conftest.err conftest.
$ac_objext \
12466 conftest
$ac_exeext conftest.
$ac_ext
12467 LIBS
=$ac_check_lib_save_LIBS
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12470 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12471 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12472 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12475 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12476 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12477 $as_echo_n "(cached) " >&6
12479 ac_check_lib_save_LIBS
=$LIBS
12480 LIBS
="-lsvld $LIBS"
12481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12484 /* Override any GCC internal prototype to avoid an error.
12485 Use char because int might match the return type of a GCC
12486 builtin and then its argument prototype would still apply. */
12499 if ac_fn_c_try_link
"$LINENO"; then :
12500 ac_cv_lib_svld_dlopen
=yes
12502 ac_cv_lib_svld_dlopen
=no
12504 rm -f core conftest.err conftest.
$ac_objext \
12505 conftest
$ac_exeext conftest.
$ac_ext
12506 LIBS
=$ac_check_lib_save_LIBS
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12509 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12510 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12511 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12514 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12515 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12516 $as_echo_n "(cached) " >&6
12518 ac_check_lib_save_LIBS
=$LIBS
12520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12523 /* Override any GCC internal prototype to avoid an error.
12524 Use char because int might match the return type of a GCC
12525 builtin and then its argument prototype would still apply. */
12533 return dld_link ();
12538 if ac_fn_c_try_link
"$LINENO"; then :
12539 ac_cv_lib_dld_dld_link
=yes
12541 ac_cv_lib_dld_dld_link
=no
12543 rm -f core conftest.err conftest.
$ac_objext \
12544 conftest
$ac_exeext conftest.
$ac_ext
12545 LIBS
=$ac_check_lib_save_LIBS
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12548 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12549 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12550 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12571 if test "x$lt_cv_dlopen" != xno
; then
12577 case $lt_cv_dlopen in
12579 save_CPPFLAGS
="$CPPFLAGS"
12580 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12582 save_LDFLAGS
="$LDFLAGS"
12583 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12586 LIBS
="$lt_cv_dlopen_libs $LIBS"
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12589 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12590 if ${lt_cv_dlopen_self+:} false
; then :
12591 $as_echo_n "(cached) " >&6
12593 if test "$cross_compiling" = yes; then :
12594 lt_cv_dlopen_self
=cross
12596 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12597 lt_status
=$lt_dlunknown
12598 cat > conftest.
$ac_ext <<_LT_EOF
12599 #line $LINENO "configure"
12600 #include "confdefs.h"
12609 # define LT_DLGLOBAL RTLD_GLOBAL
12612 # define LT_DLGLOBAL DL_GLOBAL
12614 # define LT_DLGLOBAL 0
12618 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12619 find out it does not work in some platform. */
12620 #ifndef LT_DLLAZY_OR_NOW
12622 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12625 # define LT_DLLAZY_OR_NOW DL_LAZY
12628 # define LT_DLLAZY_OR_NOW RTLD_NOW
12631 # define LT_DLLAZY_OR_NOW DL_NOW
12633 # define LT_DLLAZY_OR_NOW 0
12640 /* When -fvisbility=hidden is used, assume the code has been annotated
12641 correspondingly for the symbols needed. */
12642 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12643 int fnord () __attribute__((visibility("default")));
12646 int fnord () { return 42; }
12649 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12650 int status = $lt_dlunknown;
12654 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12657 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12658 else puts (dlerror ());
12660 /* dlclose (self); */
12668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12669 (eval $ac_link) 2>&5
12671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12672 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12673 (.
/conftest
; exit; ) >&5 2>/dev
/null
12675 case x
$lt_status in
12676 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12677 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12678 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12681 # compilation failed
12682 lt_cv_dlopen_self
=no
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12690 $as_echo "$lt_cv_dlopen_self" >&6; }
12692 if test "x$lt_cv_dlopen_self" = xyes
; then
12693 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12695 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12696 if ${lt_cv_dlopen_self_static+:} false
; then :
12697 $as_echo_n "(cached) " >&6
12699 if test "$cross_compiling" = yes; then :
12700 lt_cv_dlopen_self_static
=cross
12702 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12703 lt_status
=$lt_dlunknown
12704 cat > conftest.
$ac_ext <<_LT_EOF
12705 #line $LINENO "configure"
12706 #include "confdefs.h"
12715 # define LT_DLGLOBAL RTLD_GLOBAL
12718 # define LT_DLGLOBAL DL_GLOBAL
12720 # define LT_DLGLOBAL 0
12724 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12725 find out it does not work in some platform. */
12726 #ifndef LT_DLLAZY_OR_NOW
12728 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12731 # define LT_DLLAZY_OR_NOW DL_LAZY
12734 # define LT_DLLAZY_OR_NOW RTLD_NOW
12737 # define LT_DLLAZY_OR_NOW DL_NOW
12739 # define LT_DLLAZY_OR_NOW 0
12746 /* When -fvisbility=hidden is used, assume the code has been annotated
12747 correspondingly for the symbols needed. */
12748 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12749 int fnord () __attribute__((visibility("default")));
12752 int fnord () { return 42; }
12755 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12756 int status = $lt_dlunknown;
12760 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12763 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12764 else puts (dlerror ());
12766 /* dlclose (self); */
12774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12775 (eval $ac_link) 2>&5
12777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12778 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12779 (.
/conftest
; exit; ) >&5 2>/dev
/null
12781 case x
$lt_status in
12782 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12783 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12784 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12787 # compilation failed
12788 lt_cv_dlopen_self_static
=no
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12796 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12799 CPPFLAGS
="$save_CPPFLAGS"
12800 LDFLAGS
="$save_LDFLAGS"
12805 case $lt_cv_dlopen_self in
12806 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12807 *) enable_dlopen_self
=unknown
;;
12810 case $lt_cv_dlopen_self_static in
12811 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12812 *) enable_dlopen_self_static
=unknown
;;
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12835 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12836 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12837 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12838 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12840 $as_echo "yes" >&6; }
12842 # FIXME - insert some real tests, host_os isn't really good enough
12845 if test -n "$STRIP" ; then
12846 striplib
="$STRIP -x"
12847 old_striplib
="$STRIP -S"
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12849 $as_echo "yes" >&6; }
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12852 $as_echo "no" >&6; }
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12857 $as_echo "no" >&6; }
12873 # Report which library types will actually be built
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12875 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12877 $as_echo "$can_build_shared" >&6; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12880 $as_echo_n "checking whether to build shared libraries... " >&6; }
12881 test "$can_build_shared" = "no" && enable_shared
=no
12883 # On AIX, shared libraries and static libraries use the same namespace, and
12884 # are all built from PIC.
12887 test "$enable_shared" = yes && enable_static
=no
12888 if test -n "$RANLIB"; then
12889 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12890 postinstall_cmds
='$RANLIB $lib'
12895 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12896 test "$enable_shared" = yes && enable_static
=no
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12901 $as_echo "$enable_shared" >&6; }
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12904 $as_echo_n "checking whether to build static libraries... " >&6; }
12905 # Make sure either enable_shared or enable_static is yes.
12906 test "$enable_shared" = yes || enable_static
=yes
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12908 $as_echo "$enable_static" >&6; }
12915 ac_cpp
='$CPP $CPPFLAGS'
12916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12922 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12923 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12924 (test "X$CXX" != "Xg++"))) ; then
12926 ac_cpp
='$CXXCPP $CPPFLAGS'
12927 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12928 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12929 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12931 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12932 if test -z "$CXXCPP"; then
12933 if ${ac_cv_prog_CXXCPP+:} false
; then :
12934 $as_echo_n "(cached) " >&6
12936 # Double quotes because CXXCPP needs to be expanded
12937 for CXXCPP
in "$CXX -E" "/lib/cpp"
12939 ac_preproc_ok
=false
12940 for ac_cxx_preproc_warn_flag
in '' yes
12942 # Use a header file that comes with gcc, so configuring glibc
12943 # with a fresh cross-compiler works.
12944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12945 # <limits.h> exists even on freestanding compilers.
12946 # On the NeXT, cc -E runs the code through the compiler's parser,
12947 # not just through cpp. "Syntax error" is here to catch this case.
12948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12949 /* end confdefs.h. */
12951 # include <limits.h>
12953 # include <assert.h>
12957 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12960 # Broken: fails on valid input.
12963 rm -f conftest.err conftest.i conftest.
$ac_ext
12965 # OK, works on sane cases. Now check whether nonexistent headers
12966 # can be detected and how.
12967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12969 #include <ac_nonexistent.h>
12971 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12972 # Broken: success on invalid input.
12975 # Passes both tests.
12979 rm -f conftest.err conftest.i conftest.
$ac_ext
12982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12983 rm -f conftest.i conftest.err conftest.
$ac_ext
12984 if $ac_preproc_ok; then :
12989 ac_cv_prog_CXXCPP
=$CXXCPP
12992 CXXCPP
=$ac_cv_prog_CXXCPP
12994 ac_cv_prog_CXXCPP
=$CXXCPP
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12997 $as_echo "$CXXCPP" >&6; }
12998 ac_preproc_ok
=false
12999 for ac_cxx_preproc_warn_flag
in '' yes
13001 # Use a header file that comes with gcc, so configuring glibc
13002 # with a fresh cross-compiler works.
13003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13004 # <limits.h> exists even on freestanding compilers.
13005 # On the NeXT, cc -E runs the code through the compiler's parser,
13006 # not just through cpp. "Syntax error" is here to catch this case.
13007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13008 /* end confdefs.h. */
13010 # include <limits.h>
13012 # include <assert.h>
13016 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13019 # Broken: fails on valid input.
13022 rm -f conftest.err conftest.i conftest.
$ac_ext
13024 # OK, works on sane cases. Now check whether nonexistent headers
13025 # can be detected and how.
13026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13027 /* end confdefs.h. */
13028 #include <ac_nonexistent.h>
13030 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13031 # Broken: success on invalid input.
13034 # Passes both tests.
13038 rm -f conftest.err conftest.i conftest.
$ac_ext
13041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13042 rm -f conftest.i conftest.err conftest.
$ac_ext
13043 if $ac_preproc_ok; then :
13046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13048 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13049 See \`config.log' for more details" "$LINENO" 5; }
13053 ac_cpp
='$CPP $CPPFLAGS'
13054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13059 _lt_caught_CXX_error
=yes
13063 ac_cpp
='$CXXCPP $CPPFLAGS'
13064 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13065 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13066 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13068 archive_cmds_need_lc_CXX
=no
13069 allow_undefined_flag_CXX
=
13070 always_export_symbols_CXX
=no
13071 archive_expsym_cmds_CXX
=
13072 compiler_needs_object_CXX
=no
13073 export_dynamic_flag_spec_CXX
=
13074 hardcode_direct_CXX
=no
13075 hardcode_direct_absolute_CXX
=no
13076 hardcode_libdir_flag_spec_CXX
=
13077 hardcode_libdir_separator_CXX
=
13078 hardcode_minus_L_CXX
=no
13079 hardcode_shlibpath_var_CXX
=unsupported
13080 hardcode_automatic_CXX
=no
13081 inherit_rpath_CXX
=no
13083 module_expsym_cmds_CXX
=
13084 link_all_deplibs_CXX
=unknown
13085 old_archive_cmds_CXX
=$old_archive_cmds
13086 reload_flag_CXX
=$reload_flag
13087 reload_cmds_CXX
=$reload_cmds
13088 no_undefined_flag_CXX
=
13089 whole_archive_flag_spec_CXX
=
13090 enable_shared_with_static_runtimes_CXX
=no
13092 # Source file extension for C++ test sources.
13095 # Object file extension for compiled C++ test sources.
13099 # No sense in running all these tests if we already determined that
13100 # the CXX compiler isn't working. Some variables (like enable_shared)
13101 # are currently assumed to apply to all compilers on this platform,
13102 # and will be corrupted by setting them based on a non-working compiler.
13103 if test "$_lt_caught_CXX_error" != yes; then
13104 # Code to be used in simple compile tests
13105 lt_simple_compile_test_code
="int some_variable = 0;"
13107 # Code to be used in simple link tests
13108 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13110 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13117 # If no C compiler was specified, use CC.
13120 # If no C compiler flags were specified, use CFLAGS.
13121 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13123 # Allow CC to be a program name with arguments.
13127 # save warnings/boilerplate of simple test code
13128 ac_outfile
=conftest.
$ac_objext
13129 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13130 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13131 _lt_compiler_boilerplate
=`cat conftest.err`
13134 ac_outfile
=conftest.
$ac_objext
13135 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13136 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13137 _lt_linker_boilerplate
=`cat conftest.err`
13141 # Allow CC to be a program name with arguments.
13143 lt_save_CFLAGS
=$CFLAGS
13147 lt_save_with_gnu_ld
=$with_gnu_ld
13148 lt_save_path_LD
=$lt_cv_path_LD
13149 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13150 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13152 $as_unset lt_cv_prog_gnu_ld
13154 if test -n "${lt_cv_path_LDCXX+set}"; then
13155 lt_cv_path_LD
=$lt_cv_path_LDCXX
13157 $as_unset lt_cv_path_LD
13159 test -z "${LDCXX+set}" || LD
=$LDCXX
13164 for cc_temp
in $compiler""; do
13166 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13167 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13172 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13175 if test -n "$compiler"; then
13176 # We don't want -fno-exception when compiling C++ code, so set the
13177 # no_builtin_flag separately
13178 if test "$GXX" = yes; then
13179 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13181 lt_prog_compiler_no_builtin_flag_CXX
=
13184 if test "$GXX" = yes; then
13185 # Set up default GNU C++ configuration
13189 # Check whether --with-gnu-ld was given.
13190 if test "${with_gnu_ld+set}" = set; then :
13191 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13197 if test "$GCC" = yes; then
13198 # Check if gcc -print-prog-name=ld gives a path.
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13200 $as_echo_n "checking for ld used by $CC... " >&6; }
13203 # gcc leaves a trailing carriage return which upsets mingw
13204 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13206 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13209 # Accept absolute paths.
13211 re_direlt
='/[^/][^/]*/\.\./'
13212 # Canonicalize the pathname of ld
13213 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13214 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13215 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13217 test -z "$LD" && LD
="$ac_prog"
13220 # If it fails, then pretend we aren't using GCC.
13224 # If it is relative, then search for the first ld in PATH.
13225 with_gnu_ld
=unknown
13228 elif test "$with_gnu_ld" = yes; then
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13230 $as_echo_n "checking for GNU ld... " >&6; }
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13233 $as_echo_n "checking for non-GNU ld... " >&6; }
13235 if ${lt_cv_path_LD+:} false
; then :
13236 $as_echo_n "(cached) " >&6
13238 if test -z "$LD"; then
13239 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13240 for ac_dir
in $PATH; do
13242 test -z "$ac_dir" && ac_dir
=.
13243 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13244 lt_cv_path_LD
="$ac_dir/$ac_prog"
13245 # Check to see if the program is GNU ld. I'd rather use --version,
13246 # but apparently some variants of GNU ld only accept -v.
13247 # Break only if it was the GNU/non-GNU ld that we prefer.
13248 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13249 *GNU
* |
*'with BFD'*)
13250 test "$with_gnu_ld" != no
&& break
13253 test "$with_gnu_ld" != yes && break
13260 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13264 LD
="$lt_cv_path_LD"
13265 if test -n "$LD"; then
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13267 $as_echo "$LD" >&6; }
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13270 $as_echo "no" >&6; }
13272 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13274 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13275 if ${lt_cv_prog_gnu_ld+:} false
; then :
13276 $as_echo_n "(cached) " >&6
13278 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13279 case `$LD -v 2>&1 </dev/null` in
13280 *GNU
* |
*'with BFD'*)
13281 lt_cv_prog_gnu_ld
=yes
13284 lt_cv_prog_gnu_ld
=no
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13289 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13290 with_gnu_ld
=$lt_cv_prog_gnu_ld
13298 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13299 # archiving commands below assume that GNU ld is being used.
13300 if test "$with_gnu_ld" = yes; then
13301 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13302 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13304 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13305 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13307 # If archive_cmds runs LD, not CC, wlarc should be empty
13308 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13309 # investigate it a little bit more. (MM)
13312 # ancient GNU ld didn't support --whole-archive et. al.
13313 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13314 $GREP 'no-whole-archive' > /dev
/null
; then
13315 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13317 whole_archive_flag_spec_CXX
=
13323 # A generic and very simple default shared library creation
13324 # command for GNU C++ for the case where it uses the native
13325 # linker, instead of GNU ld. If possible, this setting should
13326 # overridden to take advantage of the native linker features on
13327 # the platform it is being used on.
13328 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13331 # Commands to make compiler produce verbose output that lists
13332 # what "hidden" libraries, object files and flags are used when
13333 # linking a shared library.
13334 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13342 # PORTME: fill in a description of your system's C++ link characteristics
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13344 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13348 # FIXME: insert proper C++ library support
13352 if test "$host_cpu" = ia64
; then
13353 # On IA64, the linker does run time linking by default, so we don't
13354 # have to do anything special.
13355 aix_use_runtimelinking
=no
13356 exp_sym_flag
='-Bexport'
13359 aix_use_runtimelinking
=no
13361 # Test if we are trying to use run time linking or normal
13362 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13363 # need to do runtime linking.
13364 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13365 for ld_flag
in $LDFLAGS; do
13368 aix_use_runtimelinking
=yes
13376 exp_sym_flag
='-bexport'
13377 no_entry_flag
='-bnoentry'
13380 # When large executables or shared objects are built, AIX ld can
13381 # have problems creating the table of contents. If linking a library
13382 # or program results in "error TOC overflow" add -mminimal-toc to
13383 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13384 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13386 archive_cmds_CXX
=''
13387 hardcode_direct_CXX
=yes
13388 hardcode_direct_absolute_CXX
=yes
13389 hardcode_libdir_separator_CXX
=':'
13390 link_all_deplibs_CXX
=yes
13391 file_list_spec_CXX
='${wl}-f,'
13393 if test "$GXX" = yes; then
13394 case $host_os in aix4.
[012]|aix4.
[012].
*)
13395 # We only want to do this on AIX 4.2 and lower, the check
13396 # below for broken collect2 doesn't work under 4.3+
13397 collect2name
=`${CC} -print-prog-name=collect2`
13398 if test -f "$collect2name" &&
13399 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13401 # We have reworked collect2
13404 # We have old collect2
13405 hardcode_direct_CXX
=unsupported
13406 # It fails to find uninstalled libraries when the uninstalled
13407 # path is not listed in the libpath. Setting hardcode_minus_L
13408 # to unsupported forces relinking
13409 hardcode_minus_L_CXX
=yes
13410 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13411 hardcode_libdir_separator_CXX
=
13414 shared_flag
='-shared'
13415 if test "$aix_use_runtimelinking" = yes; then
13416 shared_flag
="$shared_flag "'${wl}-G'
13420 if test "$host_cpu" = ia64
; then
13421 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13422 # chokes on -Wl,-G. The following line is correct:
13425 if test "$aix_use_runtimelinking" = yes; then
13426 shared_flag
='${wl}-G'
13428 shared_flag
='${wl}-bM:SRE'
13433 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13434 # It seems that -bexpall does not export symbols beginning with
13435 # underscore (_), so it is better to generate a list of symbols to
13437 always_export_symbols_CXX
=yes
13438 if test "$aix_use_runtimelinking" = yes; then
13439 # Warning - without using the other runtime loading flags (-brtl),
13440 # -berok will link without error, but may produce a broken library.
13441 allow_undefined_flag_CXX
='-berok'
13442 # Determine the default libpath from the value encoded in an empty
13444 if test "${lt_cv_aix_libpath+set}" = set; then
13445 aix_libpath
=$lt_cv_aix_libpath
13447 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13448 $as_echo_n "(cached) " >&6
13450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13451 /* end confdefs.h. */
13461 if ac_fn_cxx_try_link
"$LINENO"; then :
13463 lt_aix_libpath_sed
='
13464 /Import File Strings/,/^$/ {
13466 s/^0 *\([^ ]*\) *$/\1/
13470 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13471 # Check for a 64-bit object if we didn't find anything.
13472 if test -z "$lt_cv_aix_libpath__CXX"; then
13473 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13476 rm -f core conftest.err conftest.
$ac_objext \
13477 conftest
$ac_exeext conftest.
$ac_ext
13478 if test -z "$lt_cv_aix_libpath__CXX"; then
13479 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13484 aix_libpath
=$lt_cv_aix_libpath__CXX
13487 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13489 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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13491 if test "$host_cpu" = ia64
; then
13492 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13493 allow_undefined_flag_CXX
="-z nodefs"
13494 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"
13496 # Determine the default libpath from the value encoded in an
13497 # empty executable.
13498 if test "${lt_cv_aix_libpath+set}" = set; then
13499 aix_libpath
=$lt_cv_aix_libpath
13501 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13502 $as_echo_n "(cached) " >&6
13504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13505 /* end confdefs.h. */
13515 if ac_fn_cxx_try_link
"$LINENO"; then :
13517 lt_aix_libpath_sed
='
13518 /Import File Strings/,/^$/ {
13520 s/^0 *\([^ ]*\) *$/\1/
13524 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13525 # Check for a 64-bit object if we didn't find anything.
13526 if test -z "$lt_cv_aix_libpath__CXX"; then
13527 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13530 rm -f core conftest.err conftest.
$ac_objext \
13531 conftest
$ac_exeext conftest.
$ac_ext
13532 if test -z "$lt_cv_aix_libpath__CXX"; then
13533 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13538 aix_libpath
=$lt_cv_aix_libpath__CXX
13541 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13542 # Warning - without using the other run time loading flags,
13543 # -berok will link without error, but may produce a broken library.
13544 no_undefined_flag_CXX
=' ${wl}-bernotok'
13545 allow_undefined_flag_CXX
=' ${wl}-berok'
13546 if test "$with_gnu_ld" = yes; then
13547 # We only use this code for GNU lds that support --whole-archive.
13548 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13550 # Exported symbols can be pulled into shared objects from archives
13551 whole_archive_flag_spec_CXX
='$convenience'
13553 archive_cmds_need_lc_CXX
=yes
13554 # This is similar to how AIX traditionally builds its shared
13556 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'
13562 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13563 allow_undefined_flag_CXX
=unsupported
13564 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13565 # support --undefined. This deserves some investigation. FIXME
13566 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13573 case $cc_basename in
13575 # FIXME: insert proper C++ library support
13581 cygwin
* | mingw
* | pw32
* | cegcc
*)
13582 case $GXX,$cc_basename in
13585 # hardcode_libdir_flag_spec is actually meaningless, as there is
13586 # no search path for DLLs.
13587 hardcode_libdir_flag_spec_CXX
=' '
13588 allow_undefined_flag_CXX
=unsupported
13589 always_export_symbols_CXX
=yes
13590 file_list_spec_CXX
='@'
13591 # Tell ltmain to make .lib files, not .a files.
13593 # Tell ltmain to make .dll files, not .so files.
13595 # FIXME: Setting linknames here is a bad hack.
13596 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13597 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13598 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13600 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13602 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13604 # The linker will not automatically build a static lib if we build a DLL.
13605 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13606 enable_shared_with_static_runtimes_CXX
=yes
13608 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13609 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13610 lt_tool_outputfile="@TOOL_OUTPUT@"~
13611 case $lt_outputfile in
13614 lt_outputfile="$lt_outputfile.exe"
13615 lt_tool_outputfile="$lt_tool_outputfile.exe"
13618 func_to_tool_file "$lt_outputfile"~
13619 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13620 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13621 $RM "$lt_outputfile.manifest";
13626 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13627 # as there is no search path for DLLs.
13628 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13629 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13630 allow_undefined_flag_CXX
=unsupported
13631 always_export_symbols_CXX
=no
13632 enable_shared_with_static_runtimes_CXX
=yes
13634 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13635 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'
13636 # If the export-symbols file already is a .def file (1st line
13637 # is EXPORTS), use it as is; otherwise, prepend...
13638 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13639 cp $export_symbols $output_objdir/$soname.def;
13641 echo EXPORTS > $output_objdir/$soname.def;
13642 cat $export_symbols >> $output_objdir/$soname.def;
13644 $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'
13651 darwin
* | rhapsody
*)
13654 archive_cmds_need_lc_CXX
=no
13655 hardcode_direct_CXX
=no
13656 hardcode_automatic_CXX
=yes
13657 hardcode_shlibpath_var_CXX
=unsupported
13658 if test "$lt_cv_ld_force_load" = "yes"; then
13659 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13662 whole_archive_flag_spec_CXX
=''
13664 link_all_deplibs_CXX
=yes
13665 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13666 case $cc_basename in
13667 ifort
*) _lt_dar_can_shared
=yes ;;
13668 *) _lt_dar_can_shared
=$GCC ;;
13670 if test "$_lt_dar_can_shared" = "yes"; then
13671 output_verbose_link_cmd
=func_echo_all
13672 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}"
13673 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13674 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}"
13675 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}"
13676 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13677 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}"
13678 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}"
13688 case $cc_basename in
13690 # FIXME: insert proper C++ library support
13694 # Green Hills C++ Compiler
13695 # FIXME: insert proper C++ library support
13699 # FIXME: insert proper C++ library support
13706 # C++ shared libraries reported to be fairly broken before
13712 archive_cmds_need_lc_CXX
=no
13715 freebsd
* | dragonfly
*)
13716 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13722 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13723 link_all_deplibs_CXX
=yes
13727 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13728 hardcode_libdir_separator_CXX
=:
13729 export_dynamic_flag_spec_CXX
='${wl}-E'
13730 hardcode_direct_CXX
=yes
13731 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13732 # but as the default
13733 # location of the library.
13735 case $cc_basename in
13737 # FIXME: insert proper C++ library support
13741 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'
13742 # Commands to make compiler produce verbose output that lists
13743 # what "hidden" libraries, object files and flags are used when
13744 # linking a shared library.
13746 # There doesn't appear to be a way to prevent this compiler from
13747 # explicitly linking system object files so we need to strip them
13748 # from the output so that they don't get included in the library
13750 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; func_echo_all "$list"'
13753 if test "$GXX" = yes; then
13754 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
13756 # FIXME: insert proper C++ library support
13764 if test $with_gnu_ld = no
; then
13765 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13766 hardcode_libdir_separator_CXX
=:
13772 export_dynamic_flag_spec_CXX
='${wl}-E'
13778 hardcode_direct_CXX
=no
13779 hardcode_shlibpath_var_CXX
=no
13782 hardcode_direct_CXX
=yes
13783 hardcode_direct_absolute_CXX
=yes
13784 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13785 # but as the default
13786 # location of the library.
13790 case $cc_basename in
13792 # FIXME: insert proper C++ library support
13798 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13801 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13804 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13807 # Commands to make compiler produce verbose output that lists
13808 # what "hidden" libraries, object files and flags are used when
13809 # linking a shared library.
13811 # There doesn't appear to be a way to prevent this compiler from
13812 # explicitly linking system object files so we need to strip them
13813 # from the output so that they don't get included in the library
13815 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; func_echo_all "$list"'
13818 if test "$GXX" = yes; then
13819 if test $with_gnu_ld = no
; then
13822 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13825 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13828 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13833 # FIXME: insert proper C++ library support
13841 hardcode_direct_CXX
=no
13842 hardcode_shlibpath_var_CXX
=no
13843 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13844 export_dynamic_flag_spec_CXX
='${wl}-E'
13845 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13846 # Instead, shared libraries are loaded at an image base (0x10000000 by
13847 # default) and relocated if they conflict, which is a slow very memory
13848 # consuming and fragmenting process. To avoid this, we pick a random,
13849 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13850 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13851 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'
13852 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'
13855 case $cc_basename in
13858 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13860 # Archives containing C++ object files must be created using
13861 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13862 # necessary to make sure instantiated templates are included
13864 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13867 if test "$GXX" = yes; then
13868 if test "$with_gnu_ld" = no
; then
13869 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13871 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13874 link_all_deplibs_CXX
=yes
13877 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13878 hardcode_libdir_separator_CXX
=:
13879 inherit_rpath_CXX
=yes
13882 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
13883 case $cc_basename in
13885 # Kuck and Associates, Inc. (KAI) C++ Compiler
13887 # KCC will only create a shared library if the output file
13888 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13889 # to its proper name (with version) after linking.
13890 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'
13891 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'
13892 # Commands to make compiler produce verbose output that lists
13893 # what "hidden" libraries, object files and flags are used when
13894 # linking a shared library.
13896 # There doesn't appear to be a way to prevent this compiler from
13897 # explicitly linking system object files so we need to strip them
13898 # from the output so that they don't get included in the library
13900 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; func_echo_all "$list"'
13902 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13903 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13905 # Archives containing C++ object files must be created using
13906 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13907 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13912 # version 8.0 and above of icpc choke on multiply defined symbols
13913 # if we add $predep_objects and $postdep_objects, however 7.1 and
13914 # earlier do not add the objects themselves.
13915 case `$CC -V 2>&1` in
13917 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13918 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'
13920 *) # Version 8.0 or newer
13923 ia64
*) tmp_idyn
=' -i_dynamic';;
13925 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13926 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'
13929 archive_cmds_need_lc_CXX
=no
13930 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13931 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13932 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13935 # Portland Group C++ compiler
13937 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13938 prelink_cmds_CXX
='tpldir=Template.dir~
13940 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13941 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13942 old_archive_cmds_CXX
='tpldir=Template.dir~
13944 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13945 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13947 archive_cmds_CXX
='tpldir=Template.dir~
13949 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13950 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13951 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13953 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13954 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13956 *) # Version 6 and above use weak symbols
13957 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13958 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'
13962 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13963 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13964 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13968 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13969 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'
13971 runpath_var
=LD_RUN_PATH
13972 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13973 hardcode_libdir_separator_CXX
=:
13975 # Commands to make compiler produce verbose output that lists
13976 # what "hidden" libraries, object files and flags are used when
13977 # linking a shared library.
13979 # There doesn't appear to be a way to prevent this compiler from
13980 # explicitly linking system object files so we need to strip them
13981 # from the output so that they don't get included in the library
13983 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13985 xl
* | mpixl
* | bgxl
*)
13986 # IBM XL 8.0 on PPC, with GNU ld
13987 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13988 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13989 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13990 if test "x$supports_anon_versioning" = xyes
; then
13991 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13992 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13993 echo "local: *; };" >> $output_objdir/$libname.ver~
13994 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13998 case `$CC -V 2>&1 | sed 5q` in
14001 no_undefined_flag_CXX
=' -zdefs'
14002 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14003 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'
14004 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14005 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14006 compiler_needs_object_CXX
=yes
14008 # Not sure whether something based on
14009 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14011 output_verbose_link_cmd
='func_echo_all'
14013 # Archives containing C++ object files must be created using
14014 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14015 # necessary to make sure instantiated templates are included
14017 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14025 # FIXME: insert proper C++ library support
14030 # FIXME: insert proper C++ library support
14035 case $cc_basename in
14037 # FIXME: insert proper C++ library support
14041 # FIXME: insert proper C++ library support
14048 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14049 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14051 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14052 hardcode_direct_CXX
=yes
14053 hardcode_shlibpath_var_CXX
=no
14055 # Workaround some broken pre-1.5 toolchains
14056 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14064 # C++ shared libraries are fairly broken
14069 if test -f /usr
/libexec
/ld.so
; then
14070 hardcode_direct_CXX
=yes
14071 hardcode_shlibpath_var_CXX
=no
14072 hardcode_direct_absolute_CXX
=yes
14073 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14074 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14075 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14076 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14077 export_dynamic_flag_spec_CXX
='${wl}-E'
14078 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14080 output_verbose_link_cmd
=func_echo_all
14086 osf3
* | osf4
* | osf5
*)
14087 case $cc_basename in
14089 # Kuck and Associates, Inc. (KAI) C++ Compiler
14091 # KCC will only create a shared library if the output file
14092 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14093 # to its proper name (with version) after linking.
14094 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'
14096 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14097 hardcode_libdir_separator_CXX
=:
14099 # Archives containing C++ object files must be created using
14100 # the KAI C++ compiler.
14102 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14103 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14107 # Rational C++ 2.4.1
14108 # FIXME: insert proper C++ library support
14114 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14115 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14116 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14119 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14120 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14121 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14122 echo "-hidden">> $lib.exp~
14123 $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 "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
14125 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14129 hardcode_libdir_separator_CXX
=:
14131 # Commands to make compiler produce verbose output that lists
14132 # what "hidden" libraries, object files and flags are used when
14133 # linking a shared library.
14135 # There doesn't appear to be a way to prevent this compiler from
14136 # explicitly linking system object files so we need to strip them
14137 # from the output so that they don't get included in the library
14139 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14142 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14143 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14146 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14149 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14153 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14154 hardcode_libdir_separator_CXX
=:
14156 # Commands to make compiler produce verbose output that lists
14157 # what "hidden" libraries, object files and flags are used when
14158 # linking a shared library.
14159 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14162 # FIXME: insert proper C++ library support
14170 # FIXME: insert proper C++ library support
14175 case $cc_basename in
14178 # FIXME: insert proper C++ library support
14183 # FIXME: insert proper C++ library support
14187 # FIXME: insert proper C++ library support
14194 case $cc_basename in
14196 # Sun C++ 4.2, 5.x and Centerline C++
14197 archive_cmds_need_lc_CXX
=yes
14198 no_undefined_flag_CXX
=' -zdefs'
14199 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14200 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14201 $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'
14203 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14204 hardcode_shlibpath_var_CXX
=no
14206 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14208 # The compiler driver will combine and reorder linker options,
14209 # but understands `-z linker_flag'.
14210 # Supported since Solaris 2.6 (maybe 2.5.1?)
14211 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14214 link_all_deplibs_CXX
=yes
14216 output_verbose_link_cmd
='func_echo_all'
14218 # Archives containing C++ object files must be created using
14219 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14220 # necessary to make sure instantiated templates are included
14222 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14225 # Green Hills C++ Compiler
14226 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14228 # The C++ compiler must be used to create the archive.
14229 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14232 # GNU C++ compiler with Solaris linker
14233 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14234 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14235 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14236 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14237 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14238 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14240 # Commands to make compiler produce verbose output that lists
14241 # what "hidden" libraries, object files and flags are used when
14242 # linking a shared library.
14243 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14245 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14247 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14248 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14249 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14251 # Commands to make compiler produce verbose output that lists
14252 # what "hidden" libraries, object files and flags are used when
14253 # linking a shared library.
14254 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14257 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14259 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14261 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14269 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14270 no_undefined_flag_CXX
='${wl}-z,text'
14271 archive_cmds_need_lc_CXX
=no
14272 hardcode_shlibpath_var_CXX
=no
14273 runpath_var
='LD_RUN_PATH'
14275 case $cc_basename in
14277 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14278 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14281 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14282 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14287 sysv5
* | sco3.2v5
* | sco5v6
*)
14288 # Note: We can NOT use -z defs as we might desire, because we do not
14289 # link with -lc, and that would cause any symbols used from libc to
14290 # always be unresolved, which means just about no library would
14291 # ever link correctly. If we're not using GNU ld we use -z text
14292 # though, which does catch some bad symbols but isn't as heavy-handed
14294 no_undefined_flag_CXX
='${wl}-z,text'
14295 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14296 archive_cmds_need_lc_CXX
=no
14297 hardcode_shlibpath_var_CXX
=no
14298 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14299 hardcode_libdir_separator_CXX
=':'
14300 link_all_deplibs_CXX
=yes
14301 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14302 runpath_var
='LD_RUN_PATH'
14304 case $cc_basename in
14306 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14307 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14308 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14309 '"$old_archive_cmds_CXX"
14310 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14311 '"$reload_cmds_CXX"
14314 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14315 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14321 case $cc_basename in
14323 # NonStop-UX NCC 3.20
14324 # FIXME: insert proper C++ library support
14328 # FIXME: insert proper C++ library support
14335 # FIXME: insert proper C++ library support
14340 # FIXME: insert proper C++ library support
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14346 $as_echo "$ld_shlibs_CXX" >&6; }
14347 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14353 ## There is no encapsulation within the following macros, do not change
14354 ## the running order or otherwise move them around unless you know exactly
14355 ## what you are doing...
14356 # Dependencies to place before and after the object being linked:
14357 predep_objects_CXX
=
14358 postdep_objects_CXX
=
14361 compiler_lib_search_path_CXX
=
14363 cat > conftest.
$ac_ext <<_LT_EOF
14367 Foo (void) { a = 0; }
14374 _lt_libdeps_save_CFLAGS
=$CFLAGS
14375 case "$CC $CFLAGS " in #(
14376 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14377 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14378 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14381 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14382 (eval $ac_compile) 2>&5
14384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14385 test $ac_status = 0; }; then
14386 # Parse the compiler output and extract the necessary
14387 # objects, libraries and library flags.
14389 # Sentinel used to keep track of whether or not we are before
14390 # the conftest object file.
14391 pre_test_object_deps_done
=no
14393 for p
in `eval "$output_verbose_link_cmd"`; do
14394 case ${prev}${p} in
14397 # Some compilers place space between "-{L,R}" and the path.
14398 # Remove the space.
14399 if test $p = "-L" ||
14400 test $p = "-R"; then
14405 # Expand the sysroot to ease extracting the directories later.
14406 if test -z "$prev"; then
14408 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14409 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14410 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14414 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14416 if test "$pre_test_object_deps_done" = no
; then
14419 # Internal compiler library paths should come after those
14420 # provided the user. The postdeps already come after the
14421 # user supplied libs so there is no need to process them.
14422 if test -z "$compiler_lib_search_path_CXX"; then
14423 compiler_lib_search_path_CXX
="${prev}${p}"
14425 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14428 # The "-l" case would never come before the object being
14429 # linked, so don't bother handling this case.
14432 if test -z "$postdeps_CXX"; then
14433 postdeps_CXX
="${prev}${p}"
14435 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14441 *.lto.
$objext) ;; # Ignore GCC LTO objects
14443 # This assumes that the test object file only shows up
14444 # once in the compiler output.
14445 if test "$p" = "conftest.$objext"; then
14446 pre_test_object_deps_done
=yes
14450 if test "$pre_test_object_deps_done" = no
; then
14451 if test -z "$predep_objects_CXX"; then
14452 predep_objects_CXX
="$p"
14454 predep_objects_CXX
="$predep_objects_CXX $p"
14457 if test -z "$postdep_objects_CXX"; then
14458 postdep_objects_CXX
="$p"
14460 postdep_objects_CXX
="$postdep_objects_CXX $p"
14465 *) ;; # Ignore the rest.
14473 echo "libtool.m4: error: problem compiling CXX test program"
14476 $RM -f confest.
$objext
14477 CFLAGS
=$_lt_libdeps_save_CFLAGS
14479 # PORTME: override above test on systems where it is broken
14482 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14483 # hack all around it, let's just trust "g++" to DTRT.
14484 predep_objects_CXX
=
14485 postdep_objects_CXX
=
14490 case `$CC -V 2>&1 | sed 5q` in
14494 # The more standards-conforming stlport4 library is
14495 # incompatible with the Cstd library. Avoid specifying
14496 # it if it's in CXXFLAGS. Ignore libCrun as
14497 # -library=stlport4 depends on it.
14498 case " $CXX $CXXFLAGS " in
14499 *" -library=stlport4 "*)
14500 solaris_use_stlport4
=yes
14504 if test "$solaris_use_stlport4" != yes; then
14505 postdeps_CXX
='-library=Cstd -library=Crun'
14512 case $cc_basename in
14514 # The more standards-conforming stlport4 library is
14515 # incompatible with the Cstd library. Avoid specifying
14516 # it if it's in CXXFLAGS. Ignore libCrun as
14517 # -library=stlport4 depends on it.
14518 case " $CXX $CXXFLAGS " in
14519 *" -library=stlport4 "*)
14520 solaris_use_stlport4
=yes
14524 # Adding this requires a known-good setup of shared libraries for
14525 # Sun compiler versions before 5.6, else PIC objects from an old
14526 # archive will be linked into the output, leading to subtle bugs.
14527 if test "$solaris_use_stlport4" != yes; then
14528 postdeps_CXX
='-library=Cstd -library=Crun'
14536 case " $postdeps_CXX " in
14537 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14539 compiler_lib_search_dirs_CXX
=
14540 if test -n "${compiler_lib_search_path_CXX}"; then
14541 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14574 lt_prog_compiler_wl_CXX
=
14575 lt_prog_compiler_pic_CXX
=
14576 lt_prog_compiler_static_CXX
=
14579 # C++ specific cases for pic, static, wl, etc.
14580 if test "$GXX" = yes; then
14581 lt_prog_compiler_wl_CXX
='-Wl,'
14582 lt_prog_compiler_static_CXX
='-static'
14586 # All AIX code is PIC.
14587 if test "$host_cpu" = ia64
; then
14588 # AIX 5 now supports IA64 processor
14589 lt_prog_compiler_static_CXX
='-Bstatic'
14596 # see comment about AmigaOS4 .so support
14597 lt_prog_compiler_pic_CXX
='-fPIC'
14600 # FIXME: we need at least 68020 code to build shared libraries, but
14601 # adding the `-m68020' flag to GCC prevents building anything better,
14603 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14608 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14609 # PIC is the default for these OSes.
14611 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14612 # This hack is so that the source file can tell whether it is being
14613 # built for inclusion in a dll (and should export symbols for example).
14614 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14615 # (--disable-auto-import) libraries
14616 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14618 darwin
* | rhapsody
*)
14619 # PIC is the default on this platform
14620 # Common symbols not allowed in MH_DYLIB files
14621 lt_prog_compiler_pic_CXX
='-fno-common'
14624 # DJGPP does not support shared libraries at all
14625 lt_prog_compiler_pic_CXX
=
14628 # PIC is the default for Haiku.
14629 # The "-static" flag exists, but is broken.
14630 lt_prog_compiler_static_CXX
=
14633 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14634 # Instead, we relocate shared libraries at runtime.
14637 if test -d /usr
/nec
; then
14638 lt_prog_compiler_pic_CXX
=-Kconform_pic
14642 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14643 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14644 # sets the default TLS model and affects inlining.
14649 lt_prog_compiler_pic_CXX
='-fPIC'
14654 # QNX uses GNU C++, but need to define -shared option too, otherwise
14655 # it will coredump.
14656 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14659 lt_prog_compiler_pic_CXX
='-fPIC'
14665 # All AIX code is PIC.
14666 if test "$host_cpu" = ia64
; then
14667 # AIX 5 now supports IA64 processor
14668 lt_prog_compiler_static_CXX
='-Bstatic'
14670 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14674 case $cc_basename in
14676 # Green Hills C++ Compiler
14677 # _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"
14681 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14682 # This hack is so that the source file can tell whether it is being
14683 # built for inclusion in a dll (and should export symbols for example).
14684 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14687 case $cc_basename in
14689 lt_prog_compiler_pic_CXX
='-KPIC'
14692 # Green Hills C++ Compiler
14693 lt_prog_compiler_pic_CXX
='-pic'
14699 freebsd
* | dragonfly
*)
14700 # FreeBSD uses GNU C++
14702 hpux9
* | hpux10
* | hpux11
*)
14703 case $cc_basename in
14705 lt_prog_compiler_wl_CXX
='-Wl,'
14706 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14707 if test "$host_cpu" != ia64
; then
14708 lt_prog_compiler_pic_CXX
='+Z'
14712 lt_prog_compiler_wl_CXX
='-Wl,'
14713 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14719 lt_prog_compiler_pic_CXX
='+Z'
14728 # This is c89, which is MS Visual C++ (no shared libs)
14729 # Anyone wants to do a port?
14731 irix5
* | irix6
* | nonstopux
*)
14732 case $cc_basename in
14734 lt_prog_compiler_wl_CXX
='-Wl,'
14735 lt_prog_compiler_static_CXX
='-non_shared'
14736 # CC pic flag -KPIC is the default.
14742 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14743 case $cc_basename in
14746 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14747 lt_prog_compiler_pic_CXX
='-fPIC'
14750 # old Intel C++ for x86_64 which still supported -KPIC.
14751 lt_prog_compiler_wl_CXX
='-Wl,'
14752 lt_prog_compiler_pic_CXX
='-KPIC'
14753 lt_prog_compiler_static_CXX
='-static'
14756 # Intel C++, used to be incompatible with GCC.
14757 # ICC 10 doesn't accept -KPIC any more.
14758 lt_prog_compiler_wl_CXX
='-Wl,'
14759 lt_prog_compiler_pic_CXX
='-fPIC'
14760 lt_prog_compiler_static_CXX
='-static'
14763 # Portland Group C++ compiler
14764 lt_prog_compiler_wl_CXX
='-Wl,'
14765 lt_prog_compiler_pic_CXX
='-fpic'
14766 lt_prog_compiler_static_CXX
='-Bstatic'
14770 # Make sure the PIC flag is empty. It appears that all Alpha
14771 # Linux and Compaq Tru64 Unix objects are PIC.
14772 lt_prog_compiler_pic_CXX
=
14773 lt_prog_compiler_static_CXX
='-non_shared'
14775 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14776 # IBM XL 8.0, 9.0 on PPC and BlueGene
14777 lt_prog_compiler_wl_CXX
='-Wl,'
14778 lt_prog_compiler_pic_CXX
='-qpic'
14779 lt_prog_compiler_static_CXX
='-qstaticlink'
14782 case `$CC -V 2>&1 | sed 5q` in
14785 lt_prog_compiler_pic_CXX
='-KPIC'
14786 lt_prog_compiler_static_CXX
='-Bstatic'
14787 lt_prog_compiler_wl_CXX
='-Qoption ld '
14798 case $cc_basename in
14800 lt_prog_compiler_pic_CXX
='-W c,exportall'
14806 netbsd
* | netbsdelf
*-gnu)
14809 # QNX uses GNU C++, but need to define -shared option too, otherwise
14810 # it will coredump.
14811 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14813 osf3
* | osf4
* | osf5
*)
14814 case $cc_basename in
14816 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14819 # Rational C++ 2.4.1
14820 lt_prog_compiler_pic_CXX
='-pic'
14823 # Digital/Compaq C++
14824 lt_prog_compiler_wl_CXX
='-Wl,'
14825 # Make sure the PIC flag is empty. It appears that all Alpha
14826 # Linux and Compaq Tru64 Unix objects are PIC.
14827 lt_prog_compiler_pic_CXX
=
14828 lt_prog_compiler_static_CXX
='-non_shared'
14837 case $cc_basename in
14839 # Sun C++ 4.2, 5.x and Centerline C++
14840 lt_prog_compiler_pic_CXX
='-KPIC'
14841 lt_prog_compiler_static_CXX
='-Bstatic'
14842 lt_prog_compiler_wl_CXX
='-Qoption ld '
14845 # Green Hills C++ Compiler
14846 lt_prog_compiler_pic_CXX
='-PIC'
14853 case $cc_basename in
14856 lt_prog_compiler_pic_CXX
='-pic'
14857 lt_prog_compiler_static_CXX
='-Bstatic'
14861 lt_prog_compiler_pic_CXX
='-pic'
14867 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14868 case $cc_basename in
14870 lt_prog_compiler_wl_CXX
='-Wl,'
14871 lt_prog_compiler_pic_CXX
='-KPIC'
14872 lt_prog_compiler_static_CXX
='-Bstatic'
14877 case $cc_basename in
14879 # NonStop-UX NCC 3.20
14880 lt_prog_compiler_pic_CXX
='-KPIC'
14889 lt_prog_compiler_can_build_shared_CXX
=no
14895 # For platforms which do not support PIC, -DPIC is meaningless:
14897 lt_prog_compiler_pic_CXX
=
14900 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14905 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14906 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14907 $as_echo_n "(cached) " >&6
14909 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14912 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14913 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14916 # Check to make sure the PIC flag actually works.
14918 if test -n "$lt_prog_compiler_pic_CXX"; then
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14920 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14921 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14922 $as_echo_n "(cached) " >&6
14924 lt_cv_prog_compiler_pic_works_CXX
=no
14925 ac_outfile
=conftest.
$ac_objext
14926 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14927 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14928 # Insert the option either (1) after the last *FLAGS variable, or
14929 # (2) before a word containing "conftest.", or (3) at the end.
14930 # Note that $ac_compile itself does not contain backslashes and begins
14931 # with a dollar sign (not a hyphen), so the echo should work correctly.
14932 # The option is referenced via a variable to avoid confusing sed.
14933 lt_compile
=`echo "$ac_compile" | $SED \
14934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14936 -e 's:$: $lt_compiler_flag:'`
14937 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14938 (eval "$lt_compile" 2>conftest.err
)
14940 cat conftest.err
>&5
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 if (exit $ac_status) && test -s "$ac_outfile"; then
14943 # The compiler can only warn and ignore the option if not recognized
14944 # So say no if there are warnings other than the usual output.
14945 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14946 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14947 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14948 lt_cv_prog_compiler_pic_works_CXX
=yes
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14955 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14957 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14958 case $lt_prog_compiler_pic_CXX in
14960 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14963 lt_prog_compiler_pic_CXX
=
14964 lt_prog_compiler_can_build_shared_CXX
=no
14974 # Check to make sure the static flag actually works.
14976 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14978 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14979 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14980 $as_echo_n "(cached) " >&6
14982 lt_cv_prog_compiler_static_works_CXX
=no
14983 save_LDFLAGS
="$LDFLAGS"
14984 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14985 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14986 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14987 # The linker can only warn and ignore the option if not recognized
14988 # So say no if there are warnings
14989 if test -s conftest.err
; then
14990 # Append any errors to the config.log.
14991 cat conftest.err
1>&5
14992 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14993 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14994 if diff conftest.exp conftest.er2
>/dev
/null
; then
14995 lt_cv_prog_compiler_static_works_CXX
=yes
14998 lt_cv_prog_compiler_static_works_CXX
=yes
15002 LDFLAGS
="$save_LDFLAGS"
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15006 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15008 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15011 lt_prog_compiler_static_CXX
=
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15018 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15019 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15020 $as_echo_n "(cached) " >&6
15022 lt_cv_prog_compiler_c_o_CXX
=no
15023 $RM -r conftest
2>/dev
/null
15027 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15029 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15030 # Insert the option either (1) after the last *FLAGS variable, or
15031 # (2) before a word containing "conftest.", or (3) at the end.
15032 # Note that $ac_compile itself does not contain backslashes and begins
15033 # with a dollar sign (not a hyphen), so the echo should work correctly.
15034 lt_compile
=`echo "$ac_compile" | $SED \
15035 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15036 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15037 -e 's:$: $lt_compiler_flag:'`
15038 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15039 (eval "$lt_compile" 2>out
/conftest.err
)
15041 cat out
/conftest.err
>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15045 # The compiler can only warn and ignore the option if not recognized
15046 # So say no if there are warnings
15047 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15048 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15049 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15050 lt_cv_prog_compiler_c_o_CXX
=yes
15055 # SGI C++ compiler will create directory out/ii_files/ for
15056 # template instantiation
15057 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15058 $RM out
/* && rmdir out
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15065 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15070 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15071 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15072 $as_echo_n "(cached) " >&6
15074 lt_cv_prog_compiler_c_o_CXX
=no
15075 $RM -r conftest
2>/dev
/null
15079 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15081 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15082 # Insert the option either (1) after the last *FLAGS variable, or
15083 # (2) before a word containing "conftest.", or (3) at the end.
15084 # Note that $ac_compile itself does not contain backslashes and begins
15085 # with a dollar sign (not a hyphen), so the echo should work correctly.
15086 lt_compile
=`echo "$ac_compile" | $SED \
15087 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15088 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15089 -e 's:$: $lt_compiler_flag:'`
15090 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15091 (eval "$lt_compile" 2>out
/conftest.err
)
15093 cat out
/conftest.err
>&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15097 # The compiler can only warn and ignore the option if not recognized
15098 # So say no if there are warnings
15099 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15100 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15101 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15102 lt_cv_prog_compiler_c_o_CXX
=yes
15107 # SGI C++ compiler will create directory out/ii_files/ for
15108 # template instantiation
15109 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15110 $RM out
/* && rmdir out
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15117 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15122 hard_links
="nottested"
15123 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15124 # do not overwrite the value of need_locks provided by the user
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15126 $as_echo_n "checking if we can lock with hard links... " >&6; }
15129 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15131 ln conftest.a conftest.b
2>&5 || hard_links
=no
15132 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15134 $as_echo "$hard_links" >&6; }
15135 if test "$hard_links" = no
; then
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15137 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15147 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15149 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15150 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15153 # If we're using GNU nm, then we don't want the "-C" option.
15154 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15155 # Also, AIX nm treats weak defined symbols like other global defined
15156 # symbols, whereas GNU nm marks them as "W".
15157 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15158 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15160 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'
15164 export_symbols_cmds_CXX
="$ltdll_cmds"
15166 cygwin
* | mingw
* | cegcc
*)
15167 case $cc_basename in
15169 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15172 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15173 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15177 linux
* | k
*bsd
*-gnu | gnu
*)
15178 link_all_deplibs_CXX
=no
15181 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15186 $as_echo "$ld_shlibs_CXX" >&6; }
15187 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15189 with_gnu_ld_CXX
=$with_gnu_ld
15197 # Do we need to explicitly link libc?
15199 case "x$archive_cmds_need_lc_CXX" in
15201 # Assume -lc should be added
15202 archive_cmds_need_lc_CXX
=yes
15204 if test "$enable_shared" = yes && test "$GCC" = yes; then
15205 case $archive_cmds_CXX in
15207 # FIXME: we may have to deal with multi-command sequences.
15210 # Test whether the compiler implicitly links with -lc since on some
15211 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15212 # to ld, don't add -lc before -lgcc.
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15214 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15215 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15216 $as_echo_n "(cached) " >&6
15219 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15221 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15222 (eval $ac_compile) 2>&5
15224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15225 test $ac_status = 0; } 2>conftest.err
; then
15228 libobjs
=conftest.
$ac_objext
15230 wl
=$lt_prog_compiler_wl_CXX
15231 pic_flag
=$lt_prog_compiler_pic_CXX
15237 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15238 allow_undefined_flag_CXX
=
15239 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15240 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15243 test $ac_status = 0; }
15245 lt_cv_archive_cmds_need_lc_CXX
=no
15247 lt_cv_archive_cmds_need_lc_CXX
=yes
15249 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15251 cat conftest.err
1>&5
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15257 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15258 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15327 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15329 library_names_spec
=
15330 libname_spec
='lib$name'
15334 postuninstall_cmds
=
15338 shlibpath_overrides_runpath
=unknown
15340 dynamic_linker
="$host_os ld.so"
15341 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15342 need_lib_prefix
=unknown
15343 hardcode_into_libs
=no
15345 # when you set need_version to no, make sure it does not cause -set_version
15346 # flags to be left without arguments
15347 need_version
=unknown
15351 version_type
=linux
# correct to gnu/linux during the next big refactor
15352 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15353 shlibpath_var
=LIBPATH
15355 # AIX 3 has no versioning support, so we append a major version to the name.
15356 soname_spec
='${libname}${release}${shared_ext}$major'
15360 version_type
=linux
# correct to gnu/linux during the next big refactor
15363 hardcode_into_libs
=yes
15364 if test "$host_cpu" = ia64
; then
15365 # AIX 5 supports IA64
15366 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15367 shlibpath_var
=LD_LIBRARY_PATH
15369 # With GCC up to 2.95.x, collect2 would create an import file
15370 # for dependence libraries. The import file would start with
15371 # the line `#! .'. This would cause the generated library to
15372 # depend on `.', always an invalid library. This was fixed in
15373 # development snapshots of GCC prior to 3.0.
15375 aix4 | aix4.
[01] | aix4.
[01].
*)
15376 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15378 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15381 can_build_shared
=no
15385 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15386 # soname into executable. Probably we can add versioning support to
15387 # collect2, so additional links can be useful in future.
15388 if test "$aix_use_runtimelinking" = yes; then
15389 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15390 # instead of lib<name>.a to let people know that these are not
15391 # typical AIX shared libraries.
15392 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15394 # We preserve .a as extension for shared libraries through AIX4.2
15395 # and later when we are not doing run time linking.
15396 library_names_spec
='${libname}${release}.a $libname.a'
15397 soname_spec
='${libname}${release}${shared_ext}$major'
15399 shlibpath_var
=LIBPATH
15406 # Since July 2007 AmigaOS4 officially supports .so libraries.
15407 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15411 library_names_spec
='$libname.ixlibrary $libname.a'
15412 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15413 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15419 library_names_spec
='${libname}${shared_ext}'
15420 dynamic_linker
="$host_os ld.so"
15421 shlibpath_var
=LIBRARY_PATH
15425 version_type
=linux
# correct to gnu/linux during the next big refactor
15427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15428 soname_spec
='${libname}${release}${shared_ext}$major'
15429 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15430 shlibpath_var
=LD_LIBRARY_PATH
15431 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15432 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15433 # the default ld.so.conf also contains /usr/contrib/lib and
15434 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15435 # libtool to hard-code these into programs
15438 cygwin
* | mingw
* | pw32
* | cegcc
*)
15439 version_type
=windows
15444 case $GCC,$cc_basename in
15447 library_names_spec
='$libname.dll.a'
15448 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15449 postinstall_cmds
='base_file=`basename \${file}`~
15450 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15451 dldir=$destdir/`dirname \$dlpath`~
15452 test -d \$dldir || mkdir -p \$dldir~
15453 $install_prog $dir/$dlname \$dldir/$dlname~
15454 chmod a+x \$dldir/$dlname~
15455 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15456 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15458 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15459 dlpath=$dir/\$dldll~
15461 shlibpath_overrides_runpath
=yes
15465 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15466 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15470 # MinGW DLLs use traditional 'lib' prefix
15471 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15474 # pw32 DLLs use 'pw' prefix rather than 'lib'
15475 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15478 dynamic_linker
='Win32 ld.exe'
15483 libname_spec
='$name'
15484 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15485 library_names_spec
='${libname}.dll.lib'
15489 sys_lib_search_path_spec
=
15492 for lt_path
in $LIB
15495 # Let DOS variable expansion print the short 8.3 style file name.
15496 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15497 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15500 # Convert to MSYS style.
15501 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15504 # Convert to unix form, then to dos form, then back to unix form
15505 # but this time dos style (no spaces!) so that the unix form looks
15506 # like /cygdrive/c/PROGRA~1:/cygdr...
15507 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15508 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15509 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15512 sys_lib_search_path_spec
="$LIB"
15513 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15514 # It is most probably a Windows format PATH.
15515 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15517 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15519 # FIXME: find the short name or the path components, as spaces are
15520 # common. (e.g. "Program Files" -> "PROGRA~1")
15524 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15525 postinstall_cmds
='base_file=`basename \${file}`~
15526 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15527 dldir=$destdir/`dirname \$dlpath`~
15528 test -d \$dldir || mkdir -p \$dldir~
15529 $install_prog $dir/$dlname \$dldir/$dlname'
15530 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15531 dlpath=$dir/\$dldll~
15533 shlibpath_overrides_runpath
=yes
15534 dynamic_linker
='Win32 link.exe'
15538 # Assume MSVC wrapper
15539 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15540 dynamic_linker
='Win32 ld.exe'
15543 # FIXME: first we should search . and the directory the executable is in
15547 darwin
* | rhapsody
*)
15548 dynamic_linker
="$host_os dyld"
15549 version_type
=darwin
15552 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15553 soname_spec
='${libname}${release}${major}$shared_ext'
15554 shlibpath_overrides_runpath
=yes
15555 shlibpath_var
=DYLD_LIBRARY_PATH
15556 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15558 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15562 version_type
=linux
# correct to gnu/linux during the next big refactor
15565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15566 soname_spec
='${libname}${release}${shared_ext}$major'
15567 shlibpath_var
=LD_LIBRARY_PATH
15570 freebsd
* | dragonfly
*)
15571 # DragonFly does not have aout. When/if they implement a new
15572 # versioning mechanism, adjust this.
15573 if test -x /usr
/bin
/objformat
; then
15574 objformat
=`/usr/bin/objformat`
15577 freebsd
[23].
*) objformat
=aout
;;
15578 *) objformat
=elf
;;
15581 version_type
=freebsd-
$objformat
15582 case $version_type in
15584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15589 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15593 shlibpath_var
=LD_LIBRARY_PATH
15596 shlibpath_overrides_runpath
=yes
15598 freebsd3.
[01]* | freebsdelf3.
[01]*)
15599 shlibpath_overrides_runpath
=yes
15600 hardcode_into_libs
=yes
15602 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15603 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15604 shlibpath_overrides_runpath
=no
15605 hardcode_into_libs
=yes
15607 *) # from 4.6 on, and DragonFly
15608 shlibpath_overrides_runpath
=yes
15609 hardcode_into_libs
=yes
15615 version_type
=linux
# correct to gnu/linux during the next big refactor
15618 dynamic_linker
="$host_os runtime_loader"
15619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15620 soname_spec
='${libname}${release}${shared_ext}$major'
15621 shlibpath_var
=LIBRARY_PATH
15622 shlibpath_overrides_runpath
=yes
15623 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15624 hardcode_into_libs
=yes
15627 hpux9
* | hpux10
* | hpux11
*)
15628 # Give a soname corresponding to the major version so that dld.sl refuses to
15629 # link against other versions.
15636 hardcode_into_libs
=yes
15637 dynamic_linker
="$host_os dld.so"
15638 shlibpath_var
=LD_LIBRARY_PATH
15639 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15641 soname_spec
='${libname}${release}${shared_ext}$major'
15642 if test "X$HPUX_IA64_MODE" = X32
; then
15643 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15645 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15647 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15651 hardcode_into_libs
=yes
15652 dynamic_linker
="$host_os dld.sl"
15653 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15654 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15656 soname_spec
='${libname}${release}${shared_ext}$major'
15657 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15658 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15662 dynamic_linker
="$host_os dld.sl"
15663 shlibpath_var
=SHLIB_PATH
15664 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15666 soname_spec
='${libname}${release}${shared_ext}$major'
15669 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15670 postinstall_cmds
='chmod 555 $lib'
15671 # or fails outright, so override atomically:
15672 install_override_mode
=555
15676 version_type
=linux
# correct to gnu/linux during the next big refactor
15679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15680 soname_spec
='${libname}${release}${shared_ext}$major'
15681 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15682 shlibpath_var
=LD_LIBRARY_PATH
15683 shlibpath_overrides_runpath
=no
15684 hardcode_into_libs
=yes
15687 irix5
* | irix6
* | nonstopux
*)
15689 nonstopux
*) version_type
=nonstopux
;;
15691 if test "$lt_cv_prog_gnu_ld" = yes; then
15692 version_type
=linux
# correct to gnu/linux during the next big refactor
15699 soname_spec
='${libname}${release}${shared_ext}$major'
15700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15702 irix5
* | nonstopux
*)
15703 libsuff
= shlibsuff
=
15706 case $LD in # libtool.m4 will add one of these switches to LD
15707 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15708 libsuff
= shlibsuff
= libmagic
=32-bit;;
15709 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15710 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15711 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15712 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15713 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15717 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15718 shlibpath_overrides_runpath
=no
15719 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15720 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15721 hardcode_into_libs
=yes
15724 # No shared lib support for Linux oldld, aout, or coff.
15725 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15729 # This must be glibc/ELF.
15730 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15731 version_type
=linux
# correct to gnu/linux during the next big refactor
15734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15735 soname_spec
='${libname}${release}${shared_ext}$major'
15736 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15737 shlibpath_var
=LD_LIBRARY_PATH
15738 shlibpath_overrides_runpath
=no
15740 # Some binutils ld are patched to set DT_RUNPATH
15741 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15742 $as_echo_n "(cached) " >&6
15744 lt_cv_shlibpath_overrides_runpath
=no
15745 save_LDFLAGS
=$LDFLAGS
15746 save_libdir
=$libdir
15747 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15748 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15750 /* end confdefs.h. */
15760 if ac_fn_cxx_try_link
"$LINENO"; then :
15761 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15762 lt_cv_shlibpath_overrides_runpath
=yes
15765 rm -f core conftest.err conftest.
$ac_objext \
15766 conftest
$ac_exeext conftest.
$ac_ext
15767 LDFLAGS
=$save_LDFLAGS
15768 libdir
=$save_libdir
15772 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15774 # This implies no fast_install, which is unacceptable.
15775 # Some rework will be needed to allow for fast_install
15776 # before this can be enabled.
15777 hardcode_into_libs
=yes
15779 # Append ld.so.conf contents to the search path
15780 if test -f /etc
/ld.so.conf
; then
15781 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15782 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15785 # We used to test for /lib/ld.so.1 and disable shared libraries on
15786 # powerpc, because MkLinux only supported shared libraries with the
15787 # GNU dynamic linker. Since this was broken with cross compilers,
15788 # most powerpc-linux boxes support dynamic linking these days and
15789 # people can always --disable-shared, the test was removed, and we
15790 # assume the GNU/Linux dynamic linker is in use.
15791 dynamic_linker
='GNU/Linux ld.so'
15798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15799 soname_spec
='${libname}${release}${shared_ext}$major'
15800 shlibpath_var
=LD_LIBRARY_PATH
15801 shlibpath_overrides_runpath
=no
15802 hardcode_into_libs
=yes
15803 dynamic_linker
='NetBSD ld.elf_so'
15810 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15812 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15813 dynamic_linker
='NetBSD (a.out) ld.so'
15815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15816 soname_spec
='${libname}${release}${shared_ext}$major'
15817 dynamic_linker
='NetBSD ld.elf_so'
15819 shlibpath_var
=LD_LIBRARY_PATH
15820 shlibpath_overrides_runpath
=yes
15821 hardcode_into_libs
=yes
15825 version_type
=linux
# correct to gnu/linux during the next big refactor
15826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15827 shlibpath_var
=LD_LIBRARY_PATH
15828 shlibpath_overrides_runpath
=yes
15835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15836 soname_spec
='${libname}${release}${shared_ext}$major'
15837 shlibpath_var
=LD_LIBRARY_PATH
15838 shlibpath_overrides_runpath
=no
15839 hardcode_into_libs
=yes
15840 dynamic_linker
='ldqnx.so'
15845 sys_lib_dlsearch_path_spec
="/usr/lib"
15847 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15849 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15850 *) need_version
=no
;;
15852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15853 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15854 shlibpath_var
=LD_LIBRARY_PATH
15855 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15857 openbsd2.
[89] | openbsd2.
[89].
*)
15858 shlibpath_overrides_runpath
=no
15861 shlibpath_overrides_runpath
=yes
15865 shlibpath_overrides_runpath
=yes
15870 libname_spec
='$name'
15873 library_names_spec
='$libname${shared_ext} $libname.a'
15874 dynamic_linker
='OS/2 ld.exe'
15875 shlibpath_var
=LIBPATH
15878 osf3
* | osf4
* | osf5
*)
15882 soname_spec
='${libname}${release}${shared_ext}$major'
15883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15884 shlibpath_var
=LD_LIBRARY_PATH
15885 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15886 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15894 version_type
=linux
# correct to gnu/linux during the next big refactor
15897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15898 soname_spec
='${libname}${release}${shared_ext}$major'
15899 shlibpath_var
=LD_LIBRARY_PATH
15900 shlibpath_overrides_runpath
=yes
15901 hardcode_into_libs
=yes
15902 # ldd complains unless libraries are executable
15903 postinstall_cmds
='chmod +x $lib'
15908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15909 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15910 shlibpath_var
=LD_LIBRARY_PATH
15911 shlibpath_overrides_runpath
=yes
15912 if test "$with_gnu_ld" = yes; then
15919 version_type
=linux
# correct to gnu/linux during the next big refactor
15920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15921 soname_spec
='${libname}${release}${shared_ext}$major'
15922 shlibpath_var
=LD_LIBRARY_PATH
15923 case $host_vendor in
15925 shlibpath_overrides_runpath
=no
15927 runpath_var
=LD_RUN_PATH
15935 shlibpath_overrides_runpath
=no
15936 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15942 if test -d /usr
/nec
;then
15943 version_type
=linux
# correct to gnu/linux during the next big refactor
15944 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15945 soname_spec
='$libname${shared_ext}.$major'
15946 shlibpath_var
=LD_LIBRARY_PATH
15950 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15951 version_type
=freebsd-elf
15954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15955 soname_spec
='${libname}${release}${shared_ext}$major'
15956 shlibpath_var
=LD_LIBRARY_PATH
15957 shlibpath_overrides_runpath
=yes
15958 hardcode_into_libs
=yes
15959 if test "$with_gnu_ld" = yes; then
15960 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15962 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15965 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15969 sys_lib_dlsearch_path_spec
='/usr/lib'
15973 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15974 version_type
=linux
# correct to gnu/linux during the next big refactor
15977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15978 shlibpath_var
=LD_LIBRARY_PATH
15979 shlibpath_overrides_runpath
=no
15980 hardcode_into_libs
=yes
15984 version_type
=linux
# correct to gnu/linux during the next big refactor
15985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15986 soname_spec
='${libname}${release}${shared_ext}$major'
15987 shlibpath_var
=LD_LIBRARY_PATH
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15995 $as_echo "$dynamic_linker" >&6; }
15996 test "$dynamic_linker" = no
&& can_build_shared
=no
15998 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15999 if test "$GCC" = yes; then
16000 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16003 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16004 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16006 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16007 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16048 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16049 hardcode_action_CXX
=
16050 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16051 test -n "$runpath_var_CXX" ||
16052 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16054 # We can hardcode non-existent directories.
16055 if test "$hardcode_direct_CXX" != no
&&
16056 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16057 # have to relink, otherwise we might link with an installed library
16058 # when we should be linking with a yet-to-be-installed one
16059 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16060 test "$hardcode_minus_L_CXX" != no
; then
16061 # Linking always hardcodes the temporary library directory.
16062 hardcode_action_CXX
=relink
16064 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16065 hardcode_action_CXX
=immediate
16068 # We cannot hardcode anything, or else we can only hardcode existing
16070 hardcode_action_CXX
=unsupported
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16073 $as_echo "$hardcode_action_CXX" >&6; }
16075 if test "$hardcode_action_CXX" = relink ||
16076 test "$inherit_rpath_CXX" = yes; then
16077 # Fast installation is not supported
16078 enable_fast_install
=no
16079 elif test "$shlibpath_overrides_runpath" = yes ||
16080 test "$enable_shared" = no
; then
16081 # Fast installation is not necessary
16082 enable_fast_install
=needless
16091 fi # test -n "$compiler"
16094 CFLAGS
=$lt_save_CFLAGS
16098 with_gnu_ld
=$lt_save_with_gnu_ld
16099 lt_cv_path_LDCXX
=$lt_cv_path_LD
16100 lt_cv_path_LD
=$lt_save_path_LD
16101 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16102 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16103 fi # test "$_lt_caught_CXX_error" != yes
16106 ac_cpp
='$CPP $CPPFLAGS'
16107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16125 ac_config_commands
="$ac_config_commands libtool"
16130 # Only expand once:
16134 # check for the presence of zlib
16136 # Handle user hints
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if zlib is wanted" >&5
16139 $as_echo_n "checking if zlib is wanted... " >&6; }
16141 # Check whether --with-zlib was given.
16142 if test "${with_zlib+set}" = set; then :
16143 withval
=$with_zlib; if test "$withval" != no
; then
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16145 $as_echo "yes" >&6; }
16146 ZLIB_HOME
="$withval"
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16149 $as_echo "no" >&6; }
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16154 $as_echo "yes" >&6; }
16155 ZLIB_HOME
=/usr
/local
16156 if test ! -f "${ZLIB_HOME}/include/zlib.h"
16165 # Locate zlib, if wanted
16169 if test -n "${ZLIB_HOME}"
16171 ZLIB_OLD_LDFLAGS
=$LDFLAGS
16172 ZLIB_OLD_LIBS
=$LIBS
16173 ZLIB_OLD_CPPFLAGS
=$LDFLAGS
16175 LDFLAGS
="$LDFLAGS -L${ZLIB_HOME}/lib"
16176 CPPFLAGS
="$CPPFLAGS -I${ZLIB_HOME}/include"
16177 CPPFLAGS
="$CPPFLAGS -I${ZLIB_HOME}/include"
16180 ac_cpp
='$CPP $CPPFLAGS'
16181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5
16186 $as_echo_n "checking for inflateEnd in -lz... " >&6; }
16187 if ${ac_cv_lib_z_inflateEnd+:} false
; then :
16188 $as_echo_n "(cached) " >&6
16190 ac_check_lib_save_LIBS
=$LIBS
16192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16193 /* end confdefs.h. */
16195 /* Override any GCC internal prototype to avoid an error.
16196 Use char because int might match the return type of a GCC
16197 builtin and then its argument prototype would still apply. */
16201 char inflateEnd ();
16205 return inflateEnd ();
16210 if ac_fn_c_try_link
"$LINENO"; then :
16211 ac_cv_lib_z_inflateEnd
=yes
16213 ac_cv_lib_z_inflateEnd
=no
16215 rm -f core conftest.err conftest.
$ac_objext \
16216 conftest
$ac_exeext conftest.
$ac_ext
16217 LIBS
=$ac_check_lib_save_LIBS
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5
16220 $as_echo "$ac_cv_lib_z_inflateEnd" >&6; }
16221 if test "x$ac_cv_lib_z_inflateEnd" = xyes
; then :
16227 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
16228 if test "x$ac_cv_header_zlib_h" = xyes
; then :
16236 ac_cpp
='$CPP $CPPFLAGS'
16237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16241 if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
16244 # If both library and header were found, use them
16246 # AC_CHECK_LIB(z, inflateEnd)
16247 # AC_MSG_CHECKING(zlib in ${ZLIB_HOME})
16248 # AC_MSG_RESULT(ok)
16249 ZLIB_CPPFLAGS
="-I${ZLIB_HOME}/include"
16250 ZLIB_LDFLAGS
="-L${ZLIB_HOME}/lib"
16257 # If either header or library was not found, revert and bomb
16259 as_fn_error $?
"either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" "$LINENO" 5
16261 LDFLAGS
="$ZLIB_OLD_LDFLAGS"
16262 CPPFLAGS
="$ZLIB_OLD_CPPFLAGS"
16263 LIBS
="$ZLIB_OLD_LIBS"
16268 # This macro checks for omniorb and sets various defines, please
16269 # consult config/RSSH_CHECK_OMNIORB for more details
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether using Sun Worckshop C++ compiler" >&5
16272 $as_echo_n "checking whether using Sun Worckshop C++ compiler... " >&6; }
16273 if ${rssh_cv_check_sunpro_cc+:} false
; then :
16274 $as_echo_n "(cached) " >&6
16278 ac_cpp
='$CXXCPP $CPPFLAGS'
16279 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16280 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16281 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16284 /* end confdefs.h. */
16289 #ifndef __SUNPRO_CC
16290 # include "error: this is not Sun Workshop."
16297 if ac_fn_cxx_try_compile
"$LINENO"; then :
16298 rssh_cv_check_sunpro_cc
=yes
16300 rssh_cv_check_sunpro_cc
=no
16302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16304 ac_cpp
='$CXXCPP $CPPFLAGS'
16305 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16306 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16307 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rssh_cv_check_sunpro_cc" >&5
16311 $as_echo "$rssh_cv_check_sunpro_cc" >&6; }
16312 if test ${rssh_cv_check_sunpro_cc} = yes
16323 ac_fn_cxx_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
16324 if test "x$ac_cv_header_pthread_h" = xyes
; then :
16326 $as_echo "#define HAVE_PTHREAD_H 1" >>confdefs.h
16331 if test x
$rssh_cv_check_sunpro_c = xyes
16333 CFLAGS_PTHREADS
="-mt"
16335 if test x
$rssh_cv_check_sunpro_cc = xyes
16337 CXXFLAGS_PTHREADS
="-mt"
16341 CFLAGS_PTHREADS
="-pthread"
16342 CXXFLAGS_PTHREADS
="-pthread"
16343 freebsd_pthreads
=yes
16346 freebsd_pthreads
=no
16349 if test x
$freebsd_pthreads = xno
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
16352 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
16353 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
16354 $as_echo_n "(cached) " >&6
16356 ac_check_lib_save_LIBS
=$LIBS
16357 LIBS
="-lpthread $LIBS"
16358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16359 /* end confdefs.h. */
16361 /* Override any GCC internal prototype to avoid an error.
16362 Use char because int might match the return type of a GCC
16363 builtin and then its argument prototype would still apply. */
16367 char pthread_create ();
16371 return pthread_create ();
16376 if ac_fn_cxx_try_link
"$LINENO"; then :
16377 ac_cv_lib_pthread_pthread_create
=yes
16379 ac_cv_lib_pthread_pthread_create
=no
16381 rm -f core conftest.err conftest.
$ac_objext \
16382 conftest
$ac_exeext conftest.
$ac_ext
16383 LIBS
=$ac_check_lib_save_LIBS
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
16386 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
16387 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
16388 LIBS_PTHREADS
="-lpthread"
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
16393 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
16394 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
16395 $as_echo_n "(cached) " >&6
16397 ac_check_lib_save_LIBS
=$LIBS
16398 LIBS
="-lposix4 $LIBS"
16399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16400 /* end confdefs.h. */
16402 /* Override any GCC internal prototype to avoid an error.
16403 Use char because int might match the return type of a GCC
16404 builtin and then its argument prototype would still apply. */
16412 return nanosleep ();
16417 if ac_fn_cxx_try_link
"$LINENO"; then :
16418 ac_cv_lib_posix4_nanosleep
=yes
16420 ac_cv_lib_posix4_nanosleep
=no
16422 rm -f core conftest.err conftest.
$ac_objext \
16423 conftest
$ac_exeext conftest.
$ac_ext
16424 LIBS
=$ac_check_lib_save_LIBS
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
16427 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
16428 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
16429 LIBS_PTHREADS
="$LIBS_PTHREADS -lposix4"
16440 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16441 if test -n "$ac_tool_prefix"; then
16442 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16443 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16445 $as_echo_n "checking for $ac_word... " >&6; }
16446 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
16447 $as_echo_n "(cached) " >&6
16449 case $PKG_CONFIG in
16451 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16455 for as_dir
in $PATH
16458 test -z "$as_dir" && as_dir
=.
16459 for ac_exec_ext
in '' $ac_executable_extensions; do
16460 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16461 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16472 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16473 if test -n "$PKG_CONFIG"; then
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16475 $as_echo "$PKG_CONFIG" >&6; }
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16478 $as_echo "no" >&6; }
16483 if test -z "$ac_cv_path_PKG_CONFIG"; then
16484 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16485 # Extract the first word of "pkg-config", so it can be a program name with args.
16486 set dummy pkg-config
; ac_word
=$2
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16488 $as_echo_n "checking for $ac_word... " >&6; }
16489 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16490 $as_echo_n "(cached) " >&6
16492 case $ac_pt_PKG_CONFIG in
16494 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16498 for as_dir
in $PATH
16501 test -z "$as_dir" && as_dir
=.
16502 for ac_exec_ext
in '' $ac_executable_extensions; do
16503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16504 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16515 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16516 if test -n "$ac_pt_PKG_CONFIG"; then
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16518 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16521 $as_echo "no" >&6; }
16524 if test "x$ac_pt_PKG_CONFIG" = x
; then
16527 case $cross_compiling:$ac_tool_warned in
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16531 ac_tool_warned
=yes ;;
16533 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16536 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16540 if test -n "$PKG_CONFIG"; then
16541 _pkg_min_version
=0.9.0
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16543 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16544 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16546 $as_echo "yes" >&6; }
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16549 $as_echo "no" >&6; }
16561 # Check whether --with-omni was given.
16562 if test "${with_omni+set}" = set; then :
16563 withval
=$with_omni; \
16564 OMNI_PREFIX
=${with_omni}
16566 OMNI_PREFIX
=/usr
/local
16570 if test "x$OMNI_ROOT" = "x"
16572 if test "x$OMNI_PREFIX" = "x"
16574 OMNI_ROOT
="/usr/local"
16576 OMNI_ROOT
="$OMNI_PREFIX"
16580 if test "x$OMNI_PREFIX" = "xno"
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: omniORB is disabled" >&5
16583 $as_echo "omniORB is disabled" >&6; }
16589 ac_cpp
='$CXXCPP $CPPFLAGS'
16590 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16591 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16592 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16595 svCXXCPPFLAGS
=$CXXCPPFLAGS
16596 svCXXFLAGS
=$CXXFLAGS
16597 svCPPFLAGS
=$CPPFLAGS
16600 svRSSH_ROLLBACK
=$rssh_rollback
16601 rssh_rollback
="true"
16603 ORB_INCLUDES
="-I$OMNI_ROOT/include"
16604 CXXCPPFLAGS
="$CXXCPPFLAGS -I$OMNI_ROOT/include "
16605 CPPFLAGS
="$CPPFLAGS -I$OMNI_ROOT/include "
16610 if test -z "$rssh_enable_pthreads_done"
16612 CFLAGS
="$CFLAGS $CFLAGS_PTHREADS"
16613 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_PTHREADS"
16614 LIBS
="$LIBS $LIBS_PTHREADS"
16616 rssh_enable_pthreads_done
=yes
16618 rssh_rollback
="$rssh_rollback; rssh_enable_pthreads_done="
16624 $as_echo "#define __sparc__ 1" >>confdefs.h
16626 IDLCXXFLAGS
="$IDLCXXFLAGS -D__sparc__"
16628 "i686"|
"i586"|
"i486"|
"i386")
16630 $as_echo "#define __x86__ 1" >>confdefs.h
16632 IDLCXXFLAGS
="$IDLCXXFLAGS -D__x86__"
16639 $as_echo "#define __darwin__ 1" >>confdefs.h
16641 IDLCXXFLAGS
="$IDLCXXFLAGS -D__darwin__"
16646 $as_echo "#define __sunos__ 1" >>confdefs.h
16648 IDLCXXFLAGS
="$IDLCXXFLAGS -D__sunos__"
16651 cat >>confdefs.h
<<_ACEOF
16652 #define __OSVERSION__ $__OSVERSION__
16655 IDLCXXFLAGS
="$IDLCXXFLAGS -D__OSVERSION__=5"
16659 $as_echo "#define __freebsd__ 1" >>confdefs.h
16661 IDLCXXFLAGS
="$IDLCXXFLAGS -D__freebsd__"
16665 $as_echo "#define __hpux__ 1" >>confdefs.h
16667 IDLCXXFLAGS
="$IDLCXXFLAGS -AA -mt -D__hpux__ -D__hppa__ -D__OMNIORB4__"
16670 cat >>confdefs.h
<<_ACEOF
16671 #define __OSVERSION__ $__OSVERSION__
16674 IDLCXXFLAGS
="$IDLCXXFLAGS -D__OSVERSION__=11"
16681 CXXCPPFLAGS
="$CXXCPPFLAGS $IDLCXXFLAGS"
16683 ac_fn_cxx_check_header_mongrel
"$LINENO" "omniORB4/CORBA.h" "ac_cv_header_omniORB4_CORBA_h" "$ac_includes_default"
16684 if test "x$ac_cv_header_omniORB4_CORBA_h" = xyes
; then :
16692 if test "x$omni" = "xyes"
16694 ORB_LIBDIR
="$OMNI_ROOT/lib"
16695 if test ! -r "$ORB_LIBDIR/libomniORB4.$SL_SUFFIX"
16697 for i
in $OMNI_ROOT/lib
/*/lib
*.
$SL_SUFFIX
16699 ORB_LIBDIR
=`dirname $i`
16704 LIBS
="$LIBS -lomnithread"
16706 LIBS
="-L$ORB_LIBDIR $LIBS"
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omnithreads" >&5
16709 $as_echo_n "checking for omnithreads... " >&6; }
16710 if ${rssh_cv_check_omnithreads+:} false
; then :
16711 $as_echo_n "(cached) " >&6
16713 rssh_enable_pthreads_done
=""
16717 if test -z "$rssh_enable_pthreads_done"
16719 CFLAGS
="$CFLAGS $CFLAGS_PTHREADS"
16720 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_PTHREADS"
16721 LIBS
="$LIBS $LIBS_PTHREADS"
16723 rssh_enable_pthreads_done
=yes
16725 rssh_rollback
="$rssh_rollback; rssh_enable_pthreads_done="
16729 ac_cpp
='$CXXCPP $CPPFLAGS'
16730 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16731 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16732 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16735 /* end confdefs.h. */
16736 #include <omnithread.h>
16741 omni_mutex my_mutex
16746 if ac_fn_cxx_try_link
"$LINENO"; then :
16747 rssh_cv_check_omnithreads
=yes
16749 rssh_cv_check_omnithreads
=no
16751 rm -f core conftest.err conftest.
$ac_objext \
16752 conftest
$ac_exeext conftest.
$ac_ext
16754 ac_cpp
='$CXXCPP $CPPFLAGS'
16755 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16756 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16757 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rssh_cv_check_omnithreads" >&5
16762 $as_echo "$rssh_cv_check_omnithreads" >&6; }
16763 if test ! $rssh_cv_check_omnithreads = yes
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"omnithreads not found\"" >&5
16766 $as_echo "\"omnithreads not found\"" >&6; }
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
16770 $as_echo_n "checking for socket in -lsocket... " >&6; }
16771 if ${ac_cv_lib_socket_socket+:} false
; then :
16772 $as_echo_n "(cached) " >&6
16774 ac_check_lib_save_LIBS
=$LIBS
16775 LIBS
="-lsocket $LIBS"
16776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16779 /* Override any GCC internal prototype to avoid an error.
16780 Use char because int might match the return type of a GCC
16781 builtin and then its argument prototype would still apply. */
16794 if ac_fn_cxx_try_link
"$LINENO"; then :
16795 ac_cv_lib_socket_socket
=yes
16797 ac_cv_lib_socket_socket
=no
16799 rm -f core conftest.err conftest.
$ac_objext \
16800 conftest
$ac_exeext conftest.
$ac_ext
16801 LIBS
=$ac_check_lib_save_LIBS
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
16804 $as_echo "$ac_cv_lib_socket_socket" >&6; }
16805 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
16806 LIBS
="-lsocket $LIBS"
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
16810 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
16811 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
16812 $as_echo_n "(cached) " >&6
16814 ac_check_lib_save_LIBS
=$LIBS
16816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16817 /* end confdefs.h. */
16819 /* Override any GCC internal prototype to avoid an error.
16820 Use char because int might match the return type of a GCC
16821 builtin and then its argument prototype would still apply. */
16825 char gethostbyname ();
16829 return gethostbyname ();
16834 if ac_fn_cxx_try_link
"$LINENO"; then :
16835 ac_cv_lib_nsl_gethostbyname
=yes
16837 ac_cv_lib_nsl_gethostbyname
=no
16839 rm -f core conftest.err conftest.
$ac_objext \
16840 conftest
$ac_exeext conftest.
$ac_ext
16841 LIBS
=$ac_check_lib_save_LIBS
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
16844 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
16845 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
16850 ORB_LDFLAGS
="-L$ORB_LIBDIR"
16851 LIBS
="$ORB_LDFLAGS -lomniORB4 -lomniDynamic4 -lCOS4 $svLIBS $LIBS"
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can link with omniORB4" >&5
16853 $as_echo_n "checking whether we can link with omniORB4... " >&6; }
16854 if ${rssh_cv_check_omniORBlib+:} false
; then :
16855 $as_echo_n "(cached) " >&6
16857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16858 /* end confdefs.h. */
16859 #include <omniORB4/CORBA.h>
16869 if ac_fn_cxx_try_link
"$LINENO"; then :
16870 rssh_cv_check_omniORBlib
=yes
16872 rssh_cv_check_omniORBlib
=no
16875 rm -f core conftest.err conftest.
$ac_objext \
16876 conftest
$ac_exeext conftest.
$ac_ext
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rssh_cv_check_omniORBlib" >&5
16880 $as_echo "$rssh_cv_check_omniORBlib" >&6; }
16882 if test ! $rssh_cv_check_omniORBlib = yes
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"omniORB libs not found\"" >&5
16885 $as_echo "\"omniORB libs not found\"" >&6; }
16890 ORB_LIBS
="$ORB_LDFLAGS -lomniORB4 -lomnithread"
16893 if test "x$omni_lib" = "xno"
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: omniORB library linking failed" >&5
16896 $as_echo "omniORB library linking failed" >&6; }
16904 export PKG_CONFIG_PATH
=$PKG_CONFIG_PATH:$OMNI_ROOT/lib
/pkgconfig
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omniORB4" >&5
16908 $as_echo_n "checking for omniORB4... " >&6; }
16910 if test -n "$omniORB4_CFLAGS"; then
16911 pkg_cv_omniORB4_CFLAGS
="$omniORB4_CFLAGS"
16912 elif test -n "$PKG_CONFIG"; then
16913 if test -n "$PKG_CONFIG" && \
16914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"omniORB4 >= 4.1.2\""; } >&5
16915 ($PKG_CONFIG --exists --print-errors "omniORB4 >= 4.1.2") 2>&5
16917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16918 test $ac_status = 0; }; then
16919 pkg_cv_omniORB4_CFLAGS
=`$PKG_CONFIG --cflags "omniORB4 >= 4.1.2" 2>/dev/null`
16920 test "x$?" != "x0" && pkg_failed
=yes
16927 if test -n "$omniORB4_LIBS"; then
16928 pkg_cv_omniORB4_LIBS
="$omniORB4_LIBS"
16929 elif test -n "$PKG_CONFIG"; then
16930 if test -n "$PKG_CONFIG" && \
16931 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"omniORB4 >= 4.1.2\""; } >&5
16932 ($PKG_CONFIG --exists --print-errors "omniORB4 >= 4.1.2") 2>&5
16934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16935 test $ac_status = 0; }; then
16936 pkg_cv_omniORB4_LIBS
=`$PKG_CONFIG --libs "omniORB4 >= 4.1.2" 2>/dev/null`
16937 test "x$?" != "x0" && pkg_failed
=yes
16947 if test $pkg_failed = yes; then
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16949 $as_echo "no" >&6; }
16951 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16952 _pkg_short_errors_supported
=yes
16954 _pkg_short_errors_supported
=no
16956 if test $_pkg_short_errors_supported = yes; then
16957 omniORB4_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "omniORB4 >= 4.1.2" 2>&1`
16959 omniORB4_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "omniORB4 >= 4.1.2" 2>&1`
16961 # Put the nasty error message in config.log where it belongs
16962 echo "$omniORB4_PKG_ERRORS" >&5
16964 as_fn_error $?
"Package requirements (omniORB4 >= 4.1.2) were not met:
16966 $omniORB4_PKG_ERRORS
16968 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16969 installed software in a non-standard prefix.
16971 Alternatively, you may set the environment variables omniORB4_CFLAGS
16972 and omniORB4_LIBS to avoid the need to call pkg-config.
16973 See the pkg-config man page for more details." "$LINENO" 5
16974 elif test $pkg_failed = untried
; then
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16976 $as_echo "no" >&6; }
16977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16979 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
16980 is in your PATH or set the PKG_CONFIG environment variable to the full
16981 path to pkg-config.
16983 Alternatively, you may set the environment variables omniORB4_CFLAGS
16984 and omniORB4_LIBS to avoid the need to call pkg-config.
16985 See the pkg-config man page for more details.
16987 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16988 See \`config.log' for more details" "$LINENO" 5; }
16990 omniORB4_CFLAGS
=$pkg_cv_omniORB4_CFLAGS
16991 omniORB4_LIBS
=$pkg_cv_omniORB4_LIBS
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16993 $as_echo "yes" >&6; }
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omniCOS4" >&5
16999 $as_echo_n "checking for omniCOS4... " >&6; }
17001 if test -n "$omniCOS4_CFLAGS"; then
17002 pkg_cv_omniCOS4_CFLAGS
="$omniCOS4_CFLAGS"
17003 elif test -n "$PKG_CONFIG"; then
17004 if test -n "$PKG_CONFIG" && \
17005 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"omniCOS4 >= 4.1.2\""; } >&5
17006 ($PKG_CONFIG --exists --print-errors "omniCOS4 >= 4.1.2") 2>&5
17008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17009 test $ac_status = 0; }; then
17010 pkg_cv_omniCOS4_CFLAGS
=`$PKG_CONFIG --cflags "omniCOS4 >= 4.1.2" 2>/dev/null`
17011 test "x$?" != "x0" && pkg_failed
=yes
17018 if test -n "$omniCOS4_LIBS"; then
17019 pkg_cv_omniCOS4_LIBS
="$omniCOS4_LIBS"
17020 elif test -n "$PKG_CONFIG"; then
17021 if test -n "$PKG_CONFIG" && \
17022 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"omniCOS4 >= 4.1.2\""; } >&5
17023 ($PKG_CONFIG --exists --print-errors "omniCOS4 >= 4.1.2") 2>&5
17025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17026 test $ac_status = 0; }; then
17027 pkg_cv_omniCOS4_LIBS
=`$PKG_CONFIG --libs "omniCOS4 >= 4.1.2" 2>/dev/null`
17028 test "x$?" != "x0" && pkg_failed
=yes
17038 if test $pkg_failed = yes; then
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17040 $as_echo "no" >&6; }
17042 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17043 _pkg_short_errors_supported
=yes
17045 _pkg_short_errors_supported
=no
17047 if test $_pkg_short_errors_supported = yes; then
17048 omniCOS4_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "omniCOS4 >= 4.1.2" 2>&1`
17050 omniCOS4_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "omniCOS4 >= 4.1.2" 2>&1`
17052 # Put the nasty error message in config.log where it belongs
17053 echo "$omniCOS4_PKG_ERRORS" >&5
17055 as_fn_error $?
"Package requirements (omniCOS4 >= 4.1.2) were not met:
17057 $omniCOS4_PKG_ERRORS
17059 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17060 installed software in a non-standard prefix.
17062 Alternatively, you may set the environment variables omniCOS4_CFLAGS
17063 and omniCOS4_LIBS to avoid the need to call pkg-config.
17064 See the pkg-config man page for more details." "$LINENO" 5
17065 elif test $pkg_failed = untried
; then
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17067 $as_echo "no" >&6; }
17068 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17070 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
17071 is in your PATH or set the PKG_CONFIG environment variable to the full
17072 path to pkg-config.
17074 Alternatively, you may set the environment variables omniCOS4_CFLAGS
17075 and omniCOS4_LIBS to avoid the need to call pkg-config.
17076 See the pkg-config man page for more details.
17078 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17079 See \`config.log' for more details" "$LINENO" 5; }
17081 omniCOS4_CFLAGS
=$pkg_cv_omniCOS4_CFLAGS
17082 omniCOS4_LIBS
=$pkg_cv_omniCOS4_LIBS
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17084 $as_echo "yes" >&6; }
17089 if test -x $OMNI_ROOT/include
/omniORB4
17091 VERS
=`grep VERSION $OMNI_ROOT/include/omniORB4/acconfig.h 2>&1 | cut -d ' ' -f 3`
17096 if test "x$omni" = "x" -o "x$omni" = "xno"
17098 CXXCPPFLAGS
=$svCXXCPPFLAGS
17099 CPPFLAGS
=$svCPPFLAGS
17104 eval "$rssh_rollback"
17105 rssh_rollback
=$svRSSH_ROLLBACK
17109 ORB_PREFIX
=$OMNI_ROOT
17116 if test -x $OMNI_ROOT/bin
/omniidl
17118 IDL
=$OMNI_ROOT/bin
/omniidl
17120 for i
in $OMNI_ROOT/bin
/*/omniidl
17122 if test "$i" != $OMNI_ROOT'/bin/*/omniidl'
17133 IDLFLAGS
="$IDLFLAGS -bcxx -I$OMNI_ROOT/idl"
17136 ORB_INCLUDE_PREFIX
=$ORB_INCLUDES
17145 IDL_CLN_H_SUFFIX
=.hh
17146 IDL_CLN_H1_SUFFIX
=no
17148 IDL_CLN_H
=$IDL_CLN_H
17150 IDL_CLN_H_SUFFIX
=$IDL_CLN_H_SUFFIX
17152 IDL_CLN_H1_SUFFIX
=$IDL_CLN_H1_SUFFIX
17155 cat >>confdefs.h
<<_ACEOF
17156 #define IDL_CLN_H_SUFFIX $IDL_CLN_H_SUFFIX
17161 IDL_CLN_CPP_SUFFIX
=SK.cc
17162 IDL_CLN_CPP
=$IDL_CLN_CPP
17164 IDL_CLN_CPP_SUFFIX
=$IDL_CLN_CPP_SUFFIX
17167 cat >>confdefs.h
<<_ACEOF
17168 #define IDL_CLN_CPP_SUFFIX $IDL_CLN_CPP
17173 IDL_CLN_OBJ_SUFFIX
=SK.o
17174 IDL_CLN_O
=$IDL_CLN_O
17176 IDL_CLN_OBJ_SUFFIX
=$IDL_CLN_OBJ_SUFFIX
17180 IDL_SRV_H_SUFFIX
=.hh
17181 IDL_SRV_H1_SUFFIX
=no
17182 IDL_SRV_H
=$IDL_SRV_H
17184 IDL_SRV_H_SUFFIX
=$IDL_SRV_H_SUFFIX
17186 IDL_SRV_H1_SUFFIX
=$IDL_SRV_H1_SUFFIX
17189 cat >>confdefs.h
<<_ACEOF
17190 #define IDL_SRV_H_SUFFIX $IDL_SRV_H_SUFFIX
17195 IDL_SRV_CPP_SUFFIX
=SK.cc
17196 IDL_SRV_CPP
=$IDL_SRV_CPP
17198 IDL_SRV_CPP_SUFFIX
=$IDL_SRV_CPP_SUFFIX
17201 cat >>confdefs.h
<<_ACEOF
17202 #define IDL_SRV_H_SUFFIX $IDL_SRV_H_SUFFIX
17207 IDL_SRV_OBJ_SUFFIX
=SK.o
17208 IDL_SRV_O
=$IDL_SRV_O
17210 IDL_SRV_OBJ_SUFFIX
=$IDL_SRV_OBJ_SUFFIX
17213 IDL_TIE_H_SUFFIX
=no
17214 IDL_TIE_H1_SUFFIX
=no
17215 IDL_TIE_CPP_SUFFIX
=no
17216 IDL_TIE_H_SUFFIX
=$IDL_TIE_H_SUFFIX
17218 IDL_TIE_H1_SUFFIX
=$IDL_TIE_H1_SUFFIX
17220 IDL_TIE_CPP_SUFFIX
=$IDL_TIE_CPP_SUFFIX
17223 CORBA_H
='omniORB4/CORBA.h'
17225 cat >>confdefs.h
<<_ACEOF
17226 #define CORBA_H <$CORBA_H>
17230 COSNAMING_H
='omniORB4/Naming.hh'
17232 cat >>confdefs.h
<<_ACEOF
17233 #define COSNAMING_H <$COSNAMING_H>
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CORBA modules mapped to namespaces" >&5
17245 $as_echo_n "checking whether CORBA modules mapped to namespaces... " >&6; }
17246 if ${rssh_cv_corba_namespaces+:} false
; then :
17247 $as_echo_n "(cached) " >&6
17249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17251 #include <$CORBA_H>
17257 #ifndef HAS_Cplusplus_Namespace
17258 #error "we have no namespaces"
17259 we have no namespaces -- $$$$
17268 if ac_fn_cxx_try_compile
"$LINENO"; then :
17269 rssh_cv_corba_namespaces
=yes
17271 rssh_cv_corba_namespaces
=no
17273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rssh_cv_corba_namespaces" >&5
17277 $as_echo "$rssh_cv_corba_namespaces" >&6; }
17279 if test "$rssh_cv_corba_namespaces" = "yes"
17282 $as_echo "#define CORBA_MODULE_NAMESPACE_MAPPING 1" >>confdefs.h
17286 $as_echo "#define CORBA_MODULE_CLASS_MAPPING 1" >>confdefs.h
17291 $as_echo "#define OMNIORB 1" >>confdefs.h
17296 $as_echo "#define CORBA_HAVE_POA 1" >>confdefs.h
17299 CORBA_ORB_INIT_HAVE_3_ARGS
=1
17301 $as_echo "#define CORBA_ORB_INIT_HAVE_3_ARGS 1" >>confdefs.h
17303 CORBA_ORB_INIT_THIRD_ARG
='"omniORB4"'
17305 $as_echo "#define CORBA_ORB_INIT_THIRD_ARG \"omniORB4\"" >>confdefs.h
17308 $as_echo "#define CORBA_ORB_HAVE_DESTROY 1" >>confdefs.h
17315 ac_cpp
='$CPP $CPPFLAGS'
17316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17327 # Check whether --with-zmq was given.
17328 if test "${with_zmq+set}" = set; then :
17329 withval
=$with_zmq; \
17330 ZMQ_PREFIX
=${with_zmq}
17332 ZMQ_PREFIX
=/usr
/local
17336 PKG_CONFIG_PATH
=$PKG_CONFIG_PATH:${ZMQ_PREFIX}/lib
/pkgconfig
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBZMQ" >&5
17341 $as_echo_n "checking for LIBZMQ... " >&6; }
17343 if test -n "$LIBZMQ_CFLAGS"; then
17344 pkg_cv_LIBZMQ_CFLAGS
="$LIBZMQ_CFLAGS"
17345 elif test -n "$PKG_CONFIG"; then
17346 if test -n "$PKG_CONFIG" && \
17347 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzmq >= 4.0.5\""; } >&5
17348 ($PKG_CONFIG --exists --print-errors "libzmq >= 4.0.5") 2>&5
17350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17351 test $ac_status = 0; }; then
17352 pkg_cv_LIBZMQ_CFLAGS
=`$PKG_CONFIG --cflags "libzmq >= 4.0.5" 2>/dev/null`
17353 test "x$?" != "x0" && pkg_failed
=yes
17360 if test -n "$LIBZMQ_LIBS"; then
17361 pkg_cv_LIBZMQ_LIBS
="$LIBZMQ_LIBS"
17362 elif test -n "$PKG_CONFIG"; then
17363 if test -n "$PKG_CONFIG" && \
17364 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzmq >= 4.0.5\""; } >&5
17365 ($PKG_CONFIG --exists --print-errors "libzmq >= 4.0.5") 2>&5
17367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17368 test $ac_status = 0; }; then
17369 pkg_cv_LIBZMQ_LIBS
=`$PKG_CONFIG --libs "libzmq >= 4.0.5" 2>/dev/null`
17370 test "x$?" != "x0" && pkg_failed
=yes
17380 if test $pkg_failed = yes; then
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17382 $as_echo "no" >&6; }
17384 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17385 _pkg_short_errors_supported
=yes
17387 _pkg_short_errors_supported
=no
17389 if test $_pkg_short_errors_supported = yes; then
17390 LIBZMQ_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzmq >= 4.0.5" 2>&1`
17392 LIBZMQ_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libzmq >= 4.0.5" 2>&1`
17394 # Put the nasty error message in config.log where it belongs
17395 echo "$LIBZMQ_PKG_ERRORS" >&5
17397 as_fn_error $?
"Missing ZMQ library - Use --with-zmq configure option or add directory containing libzmq.pc to PKG_CONFIG_PATH environment variable" "$LINENO" 5
17398 elif test $pkg_failed = untried
; then
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17400 $as_echo "no" >&6; }
17401 as_fn_error $?
"Missing ZMQ library - Use --with-zmq configure option or add directory containing libzmq.pc to PKG_CONFIG_PATH environment variable" "$LINENO" 5
17403 LIBZMQ_CFLAGS
=$pkg_cv_LIBZMQ_CFLAGS
17404 LIBZMQ_LIBS
=$pkg_cv_LIBZMQ_LIBS
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17406 $as_echo "yes" >&6; }
17409 ZMQ_VERSION
=`eval pkg-config --modversion libzmq`
17410 ZMQ_ROOT
=`eval pkg-config --variable=prefix libzmq`
17413 # We need to define some stuff for threads and stubs
17418 $as_echo "#define _REENTRANT 1" >>confdefs.h
17420 CXXFLAGS
="$CXXFLAGS -D_REENTRANT"
17424 $as_echo "#define _REENTRANT 1" >>confdefs.h
17426 CXXFLAGS
="$CXXFLAGS -D_REENTRANT -D__darwin__"
17430 # condition used in the Makefile of the Tango library
17431 if test x
"$DARWIN" = x
"yes" ; then
17432 DARWIN_ENABLED_TRUE
=
17433 DARWIN_ENABLED_FALSE
='#'
17435 DARWIN_ENABLED_TRUE
='#'
17436 DARWIN_ENABLED_FALSE
=
17441 # we want to include the omniORB stubs into the tango library
17442 CXXFLAGS
="$CXXFLAGS -DOMNI_UNLOADABLE_STUBS"
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17447 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17448 if ${ac_cv_lib_dl_dlopen+:} false
; then :
17449 $as_echo_n "(cached) " >&6
17451 ac_check_lib_save_LIBS
=$LIBS
17453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17454 /* end confdefs.h. */
17456 /* Override any GCC internal prototype to avoid an error.
17457 Use char because int might match the return type of a GCC
17458 builtin and then its argument prototype would still apply. */
17471 if ac_fn_c_try_link
"$LINENO"; then :
17472 ac_cv_lib_dl_dlopen
=yes
17474 ac_cv_lib_dl_dlopen
=no
17476 rm -f core conftest.err conftest.
$ac_objext \
17477 conftest
$ac_exeext conftest.
$ac_ext
17478 LIBS
=$ac_check_lib_save_LIBS
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17481 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17482 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
17483 cat >>confdefs.h
<<_ACEOF
17484 #define HAVE_LIBDL 1
17491 # checks for libnsl
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for svc_pollfd in -lnsl" >&5
17493 $as_echo_n "checking for svc_pollfd in -lnsl... " >&6; }
17494 if ${ac_cv_lib_nsl_svc_pollfd+:} false
; then :
17495 $as_echo_n "(cached) " >&6
17497 ac_check_lib_save_LIBS
=$LIBS
17499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17502 /* Override any GCC internal prototype to avoid an error.
17503 Use char because int might match the return type of a GCC
17504 builtin and then its argument prototype would still apply. */
17508 char svc_pollfd ();
17512 return svc_pollfd ();
17517 if ac_fn_c_try_link
"$LINENO"; then :
17518 ac_cv_lib_nsl_svc_pollfd
=yes
17520 ac_cv_lib_nsl_svc_pollfd
=no
17522 rm -f core conftest.err conftest.
$ac_objext \
17523 conftest
$ac_exeext conftest.
$ac_ext
17524 LIBS
=$ac_check_lib_save_LIBS
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_svc_pollfd" >&5
17527 $as_echo "$ac_cv_lib_nsl_svc_pollfd" >&6; }
17528 if test "x$ac_cv_lib_nsl_svc_pollfd" = xyes
; then :
17529 cat >>confdefs.h
<<_ACEOF
17530 #define HAVE_LIBNSL 1
17537 # checks for libposix4
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
17539 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
17540 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
17541 $as_echo_n "(cached) " >&6
17543 ac_check_lib_save_LIBS
=$LIBS
17544 LIBS
="-lposix4 $LIBS"
17545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17546 /* end confdefs.h. */
17548 /* Override any GCC internal prototype to avoid an error.
17549 Use char because int might match the return type of a GCC
17550 builtin and then its argument prototype would still apply. */
17558 return nanosleep ();
17563 if ac_fn_c_try_link
"$LINENO"; then :
17564 ac_cv_lib_posix4_nanosleep
=yes
17566 ac_cv_lib_posix4_nanosleep
=no
17568 rm -f core conftest.err conftest.
$ac_objext \
17569 conftest
$ac_exeext conftest.
$ac_ext
17570 LIBS
=$ac_check_lib_save_LIBS
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
17573 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
17574 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
17575 cat >>confdefs.h
<<_ACEOF
17576 #define HAVE_LIBPOSIX4 1
17579 LIBS
="-lposix4 $LIBS"
17583 # checks for libpthread
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
17585 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
17586 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
17587 $as_echo_n "(cached) " >&6
17589 ac_check_lib_save_LIBS
=$LIBS
17590 LIBS
="-lpthread $LIBS"
17591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17594 /* Override any GCC internal prototype to avoid an error.
17595 Use char because int might match the return type of a GCC
17596 builtin and then its argument prototype would still apply. */
17600 char pthread_create ();
17604 return pthread_create ();
17609 if ac_fn_c_try_link
"$LINENO"; then :
17610 ac_cv_lib_pthread_pthread_create
=yes
17612 ac_cv_lib_pthread_pthread_create
=no
17614 rm -f core conftest.err conftest.
$ac_objext \
17615 conftest
$ac_exeext conftest.
$ac_ext
17616 LIBS
=$ac_check_lib_save_LIBS
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
17619 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
17620 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
17621 cat >>confdefs.h
<<_ACEOF
17622 #define HAVE_LIBPTHREAD 1
17625 LIBS
="-lpthread $LIBS"
17629 # checks for libsocket
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getprotobyname in -lsocket" >&5
17631 $as_echo_n "checking for getprotobyname in -lsocket... " >&6; }
17632 if ${ac_cv_lib_socket_getprotobyname+:} false
; then :
17633 $as_echo_n "(cached) " >&6
17635 ac_check_lib_save_LIBS
=$LIBS
17636 LIBS
="-lsocket $LIBS"
17637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17640 /* Override any GCC internal prototype to avoid an error.
17641 Use char because int might match the return type of a GCC
17642 builtin and then its argument prototype would still apply. */
17646 char getprotobyname ();
17650 return getprotobyname ();
17655 if ac_fn_c_try_link
"$LINENO"; then :
17656 ac_cv_lib_socket_getprotobyname
=yes
17658 ac_cv_lib_socket_getprotobyname
=no
17660 rm -f core conftest.err conftest.
$ac_objext \
17661 conftest
$ac_exeext conftest.
$ac_ext
17662 LIBS
=$ac_check_lib_save_LIBS
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_getprotobyname" >&5
17665 $as_echo "$ac_cv_lib_socket_getprotobyname" >&6; }
17666 if test "x$ac_cv_lib_socket_getprotobyname" = xyes
; then :
17667 cat >>confdefs.h
<<_ACEOF
17668 #define HAVE_LIBSOCKET 1
17671 LIBS
="-lsocket $LIBS"
17676 # Checks for header files.
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17678 $as_echo_n "checking for ANSI C header files... " >&6; }
17679 if ${ac_cv_header_stdc+:} false
; then :
17680 $as_echo_n "(cached) " >&6
17682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17683 /* end confdefs.h. */
17684 #include <stdlib.h>
17685 #include <stdarg.h>
17686 #include <string.h>
17697 if ac_fn_c_try_compile
"$LINENO"; then :
17698 ac_cv_header_stdc
=yes
17700 ac_cv_header_stdc
=no
17702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17704 if test $ac_cv_header_stdc = yes; then
17705 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h. */
17708 #include <string.h>
17711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17712 $EGREP "memchr" >/dev
/null
2>&1; then :
17715 ac_cv_header_stdc
=no
17721 if test $ac_cv_header_stdc = yes; then
17722 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17725 #include <stdlib.h>
17728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17729 $EGREP "free" >/dev
/null
2>&1; then :
17732 ac_cv_header_stdc
=no
17738 if test $ac_cv_header_stdc = yes; then
17739 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17740 if test "$cross_compiling" = yes; then :
17743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17746 #include <stdlib.h>
17747 #if ((' ' & 0x0FF) == 0x020)
17748 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17749 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17751 # define ISLOWER(c) \
17752 (('a' <= (c) && (c) <= 'i') \
17753 || ('j' <= (c) && (c) <= 'r') \
17754 || ('s' <= (c) && (c) <= 'z'))
17755 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17758 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17763 for (i = 0; i < 256; i++)
17764 if (XOR (islower (i), ISLOWER (i))
17765 || toupper (i) != TOUPPER (i))
17770 if ac_fn_c_try_run
"$LINENO"; then :
17773 ac_cv_header_stdc
=no
17775 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17776 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17782 $as_echo "$ac_cv_header_stdc" >&6; }
17783 if test $ac_cv_header_stdc = yes; then
17785 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
17789 for ac_header
in fcntl.h
strings.h sys
/time.h unistd.h
17791 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17792 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17793 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
17794 cat >>confdefs.h
<<_ACEOF
17795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17803 # Some hack for testing if we have sstream or not.
17806 if test "x$GCC" = "xyes"; then
17807 case `$CC --version 2>/dev/null` in
17808 [12].
*) use_sstream
=no
;;
17809 *) use_sstream
=yes ;;
17812 if test "x$use_sstream" = "xyes"; then
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
17814 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
17815 if ${ac_cv_cxx_namespaces+:} false
; then :
17816 $as_echo_n "(cached) " >&6
17820 ac_cpp
='$CXXCPP $CPPFLAGS'
17821 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17822 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17823 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 namespace Outer { namespace Inner { int i = 0; }}
17831 using namespace Outer::Inner; return i;
17836 if ac_fn_cxx_try_compile
"$LINENO"; then :
17837 ac_cv_cxx_namespaces
=yes
17839 ac_cv_cxx_namespaces
=no
17841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17843 ac_cpp
='$CPP $CPPFLAGS'
17844 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17845 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17846 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
17851 $as_echo "$ac_cv_cxx_namespaces" >&6; }
17852 if test "$ac_cv_cxx_namespaces" = yes; then
17854 $as_echo "#define HAVE_NAMESPACES /**/" >>confdefs.h
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has stringstream" >&5
17859 $as_echo_n "checking whether the compiler has stringstream... " >&6; }
17860 if ${ac_cv_cxx_have_sstream+:} false
; then :
17861 $as_echo_n "(cached) " >&6
17866 ac_cpp
='$CXXCPP $CPPFLAGS'
17867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h. */
17874 #ifdef HAVE_NAMESPACES
17875 using namespace std;
17880 stringstream message; message << "Hello"; return 0;
17885 if ac_fn_cxx_try_compile
"$LINENO"; then :
17886 ac_cv_cxx_have_sstream
=yes
17888 ac_cv_cxx_have_sstream
=no
17890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17892 ac_cpp
='$CPP $CPPFLAGS'
17893 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17894 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17895 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_sstream" >&5
17900 $as_echo "$ac_cv_cxx_have_sstream" >&6; }
17901 if test "$ac_cv_cxx_have_sstream" = yes; then
17903 $as_echo "#define HAVE_SSTREAM /**/" >>confdefs.h
17908 # This needs to be worked on!!
17910 if test "x$use_sstream" = "xno"; then
17913 ac_cpp
='$CXXCPP $CPPFLAGS'
17914 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17915 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17916 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17918 ac_fn_cxx_check_header_mongrel
"$LINENO" "strstream" "ac_cv_header_strstream" "$ac_includes_default"
17919 if test "x$ac_cv_header_strstream" = xyes
; then :
17921 $as_echo "#define HAVE_STRSTREAM 1" >>confdefs.h
17927 ac_cpp
='$CPP $CPPFLAGS'
17928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17933 # Checks for typedefs, structures, and compiler characteristics.
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17935 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17936 if ${ac_cv_c_const+:} false
; then :
17937 $as_echo_n "(cached) " >&6
17939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17940 /* end confdefs.h. */
17946 #ifndef __cplusplus
17947 /* Ultrix mips cc rejects this sort of thing. */
17948 typedef int charset[2];
17949 const charset cs = { 0, 0 };
17950 /* SunOS 4.1.1 cc rejects this. */
17951 char const *const *pcpcc;
17953 /* NEC SVR4.0.2 mips cc rejects this. */
17954 struct point {int x, y;};
17955 static struct point const zero = {0,0};
17956 /* AIX XL C 1.02.0.0 rejects this.
17957 It does not let you subtract one const X* pointer from another in
17958 an arm of an if-expression whose if-part is not a constant
17960 const char *g = "string";
17961 pcpcc = &g + (g ? g-g : 0);
17962 /* HPUX 7.0 cc rejects these. */
17964 ppc = (char**) pcpcc;
17965 pcpcc = (char const *const *) ppc;
17966 { /* SCO 3.2v4 cc rejects this sort of thing. */
17969 char const *s = 0 ? (char *) 0 : (char const *) 0;
17974 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17975 int x[] = {25, 17};
17976 const int *foo = &x[0];
17979 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17980 typedef const int *iptr;
17984 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
17985 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17986 struct s { int j; const int *ap[3]; } bx;
17987 struct s *b = &bx; b->j = 5;
17989 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17990 const int foo = 10;
17991 if (!foo) return 0;
17993 return !cs[0] && !zero.x;
18000 if ac_fn_c_try_compile
"$LINENO"; then :
18005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
18008 $as_echo "$ac_cv_c_const" >&6; }
18009 if test $ac_cv_c_const = no
; then
18011 $as_echo "#define const /**/" >>confdefs.h
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18016 $as_echo_n "checking for inline... " >&6; }
18017 if ${ac_cv_c_inline+:} false
; then :
18018 $as_echo_n "(cached) " >&6
18021 for ac_kw
in inline __inline__ __inline
; do
18022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18023 /* end confdefs.h. */
18024 #ifndef __cplusplus
18026 static $ac_kw foo_t static_foo () {return 0; }
18027 $ac_kw foo_t foo () {return 0; }
18031 if ac_fn_c_try_compile
"$LINENO"; then :
18032 ac_cv_c_inline
=$ac_kw
18034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18035 test "$ac_cv_c_inline" != no
&& break
18039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18040 $as_echo "$ac_cv_c_inline" >&6; }
18042 case $ac_cv_c_inline in
18045 case $ac_cv_c_inline in
18047 *) ac_val
=$ac_cv_c_inline;;
18049 cat >>confdefs.h
<<_ACEOF
18050 #ifndef __cplusplus
18051 #define inline $ac_val
18057 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
18058 if test "x$ac_cv_type_pid_t" = xyes
; then :
18062 cat >>confdefs.h
<<_ACEOF
18068 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18069 if test "x$ac_cv_type_size_t" = xyes
; then :
18073 cat >>confdefs.h
<<_ACEOF
18074 #define size_t unsigned int
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
18080 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
18081 if ${ac_cv_header_time+:} false
; then :
18082 $as_echo_n "(cached) " >&6
18084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18085 /* end confdefs.h. */
18086 #include <sys/types.h>
18087 #include <sys/time.h>
18093 if ((struct tm *) 0)
18099 if ac_fn_c_try_compile
"$LINENO"; then :
18100 ac_cv_header_time
=yes
18102 ac_cv_header_time
=no
18104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
18107 $as_echo "$ac_cv_header_time" >&6; }
18108 if test $ac_cv_header_time = yes; then
18110 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
18115 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
18116 if ${ac_cv_struct_tm+:} false
; then :
18117 $as_echo_n "(cached) " >&6
18119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18120 /* end confdefs.h. */
18121 #include <sys/types.h>
18128 int *p = &tm.tm_sec;
18134 if ac_fn_c_try_compile
"$LINENO"; then :
18135 ac_cv_struct_tm
=time.h
18137 ac_cv_struct_tm
=sys
/time.h
18139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
18142 $as_echo "$ac_cv_struct_tm" >&6; }
18143 if test $ac_cv_struct_tm = sys
/time.h
; then
18145 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
18150 # Checks for library functions.
18151 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
18152 # for constant arguments. Useless!
18153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
18154 $as_echo_n "checking for working alloca.h... " >&6; }
18155 if ${ac_cv_working_alloca_h+:} false
; then :
18156 $as_echo_n "(cached) " >&6
18158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18159 /* end confdefs.h. */
18160 #include <alloca.h>
18164 char *p = (char *) alloca (2 * sizeof (int));
18170 if ac_fn_c_try_link
"$LINENO"; then :
18171 ac_cv_working_alloca_h
=yes
18173 ac_cv_working_alloca_h
=no
18175 rm -f core conftest.err conftest.
$ac_objext \
18176 conftest
$ac_exeext conftest.
$ac_ext
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
18179 $as_echo "$ac_cv_working_alloca_h" >&6; }
18180 if test $ac_cv_working_alloca_h = yes; then
18182 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
18186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
18187 $as_echo_n "checking for alloca... " >&6; }
18188 if ${ac_cv_func_alloca_works+:} false
; then :
18189 $as_echo_n "(cached) " >&6
18191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18192 /* end confdefs.h. */
18194 # define alloca __builtin_alloca
18197 # include <malloc.h>
18198 # define alloca _alloca
18200 # ifdef HAVE_ALLOCA_H
18201 # include <alloca.h>
18206 # ifndef alloca /* predefined by HP cc +Olibcalls */
18207 void *alloca (size_t);
18217 char *p = (char *) alloca (1);
18223 if ac_fn_c_try_link
"$LINENO"; then :
18224 ac_cv_func_alloca_works
=yes
18226 ac_cv_func_alloca_works
=no
18228 rm -f core conftest.err conftest.
$ac_objext \
18229 conftest
$ac_exeext conftest.
$ac_ext
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
18232 $as_echo "$ac_cv_func_alloca_works" >&6; }
18234 if test $ac_cv_func_alloca_works = yes; then
18236 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
18239 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
18240 # that cause trouble. Some versions do not even contain alloca or
18241 # contain a buggy version. If you still want to use their alloca,
18242 # use ar to extract alloca.o from them instead of compiling alloca.c.
18244 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
18246 $as_echo "#define C_ALLOCA 1" >>confdefs.h
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
18250 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
18251 if ${ac_cv_os_cray+:} false
; then :
18252 $as_echo_n "(cached) " >&6
18254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18255 /* end confdefs.h. */
18256 #if defined CRAY && ! defined CRAY2
18263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18264 $EGREP "webecray" >/dev
/null
2>&1; then :
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
18273 $as_echo "$ac_cv_os_cray" >&6; }
18274 if test $ac_cv_os_cray = yes; then
18275 for ac_func
in _getb67 GETB67 getb67
; do
18276 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18277 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18278 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
18280 cat >>confdefs.h
<<_ACEOF
18281 #define CRAY_STACKSEG_END $ac_func
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
18291 $as_echo_n "checking stack direction for C alloca... " >&6; }
18292 if ${ac_cv_c_stack_direction+:} false
; then :
18293 $as_echo_n "(cached) " >&6
18295 if test "$cross_compiling" = yes; then :
18296 ac_cv_c_stack_direction
=0
18298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h. */
18300 $ac_includes_default
18302 find_stack_direction (int *addr, int depth)
18304 int dir, dummy = 0;
18307 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
18308 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
18309 return dir + dummy;
18313 main (int argc, char **argv)
18315 return find_stack_direction (0, argc + !argv + 20) < 0;
18318 if ac_fn_c_try_run
"$LINENO"; then :
18319 ac_cv_c_stack_direction
=1
18321 ac_cv_c_stack_direction
=-1
18323 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18324 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
18329 $as_echo "$ac_cv_c_stack_direction" >&6; }
18330 cat >>confdefs.h
<<_ACEOF
18331 #define STACK_DIRECTION $ac_cv_c_stack_direction
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
18338 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
18339 if ${ac_cv_header_sys_types_h_makedev+:} false
; then :
18340 $as_echo_n "(cached) " >&6
18342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18343 /* end confdefs.h. */
18344 #include <sys/types.h>
18348 return makedev(0, 0);
18353 if ac_fn_c_try_link
"$LINENO"; then :
18354 ac_cv_header_sys_types_h_makedev
=yes
18356 ac_cv_header_sys_types_h_makedev
=no
18358 rm -f core conftest.err conftest.
$ac_objext \
18359 conftest
$ac_exeext conftest.
$ac_ext
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
18363 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
18365 if test $ac_cv_header_sys_types_h_makedev = no
; then
18366 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
18367 if test "x$ac_cv_header_sys_mkdev_h" = xyes
; then :
18369 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
18375 if test $ac_cv_header_sys_mkdev_h = no
; then
18376 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
18377 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
; then :
18379 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
18388 $as_echo_n "checking return type of signal handlers... " >&6; }
18389 if ${ac_cv_type_signal+:} false
; then :
18390 $as_echo_n "(cached) " >&6
18392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18393 /* end confdefs.h. */
18394 #include <sys/types.h>
18395 #include <signal.h>
18400 return *(signal (0, 0)) (0) == 1;
18405 if ac_fn_c_try_compile
"$LINENO"; then :
18406 ac_cv_type_signal
=int
18408 ac_cv_type_signal
=void
18410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
18413 $as_echo "$ac_cv_type_signal" >&6; }
18415 cat >>confdefs.h
<<_ACEOF
18416 #define RETSIGTYPE $ac_cv_type_signal
18420 for ac_func
in gethostname gettimeofday
exit tolower
18422 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18423 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18424 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
18425 cat >>confdefs.h
<<_ACEOF
18426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the library defines class strstream" >&5
18433 $as_echo_n "checking whether the library defines class strstream... " >&6; }
18434 if ${ac_cv_cxx_have_class_strstream+:} false
; then :
18435 $as_echo_n "(cached) " >&6
18440 ac_cpp
='$CXXCPP $CPPFLAGS'
18441 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18442 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18443 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18446 /* end confdefs.h. */
18449 # include <strstream>
18451 # include <strstream.h>
18453 #ifdef HAVE_NAMESPACES
18454 using namespace std;
18459 ostrstream message; message << "Hello"; return 0;
18464 if ac_fn_cxx_try_compile
"$LINENO"; then :
18465 ac_cv_cxx_have_class_strstream
=yes
18467 ac_cv_cxx_have_class_strstream
=no
18469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18471 ac_cpp
='$CPP $CPPFLAGS'
18472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_class_strstream" >&5
18479 $as_echo "$ac_cv_cxx_have_class_strstream" >&6; }
18480 if test "$ac_cv_cxx_have_class_strstream" = yes; then
18482 $as_echo "#define HAVE_CLASS_STRSTREAM 1" >>confdefs.h
18487 # check for the presence of the mysql program, needed when doing the
18488 # install of the DataBaseds server. You can tweak the connection
18489 # with some --with variables. ./configure --help will, uhm, help you.
18491 # Check whether --enable-dbserver was given.
18492 if test "${enable_dbserver+set}" = set; then :
18493 enableval
=$enable_dbserver;
18495 enable_dbserver
=yes
18498 enable_db_schema_create
=no
18501 # Check whether --with-tango-rc-file was given.
18502 if test "${with_tango_rc_file+set}" = set; then :
18503 withval
=$with_tango_rc_file; TANGO_RC_FILE
=${with_tango_rc_file}
18505 TANGO_RC_FILE
=/etc
/tangorc
18509 cat >>confdefs.h
<<_ACEOF
18510 #define TANGO_RC_FILE "$TANGO_RC_FILE"
18515 # Hacks to provide the name for the tango
18516 # database. I havent found any other way to provide these arguments.
18518 # Check whether --with-tango-db-name was given.
18519 if test "${with_tango_db_name+set}" = set; then :
18520 withval
=$with_tango_db_name; TANGO_DB_NAME
=${with_tango_db_name}
18522 TANGO_DB_NAME
=tango
18526 # Here we define these constants so that they're reachable from c programs
18528 cat >>confdefs.h
<<_ACEOF
18529 #define TANGO_DB_NAME "$TANGO_DB_NAME"
18533 # Here we propagate the constants into the makefiles.
18536 if test "x$enable_mariadb" != "xyes" ; then
18539 if test "x$enable_dbserver" = "xyes"; then :
18542 # We need libmysqlclient to compile
18543 # finds it for us. Abort if no mysqlclientlibs are found
18547 # Check whether --with-mysqlclient-prefix was given.
18548 if test "${with_mysqlclient_prefix+set}" = set; then :
18549 withval
=$with_mysqlclient_prefix; mysqlclient_prefix
="$withval"
18551 mysqlclient_prefix
=""
18556 # Check whether --with-mysqlclient-include was given.
18557 if test "${with_mysqlclient_include+set}" = set; then :
18558 withval
=$with_mysqlclient_include; mysqlclient_include
="$withval"
18560 mysqlclient_include
=""
18565 # Check whether --with-mysqlclient-lib was given.
18566 if test "${with_mysqlclient_lib+set}" = set; then :
18567 withval
=$with_mysqlclient_lib; mysqlclient_lib
="$withval"
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysqlclient " >&5
18574 $as_echo_n "checking for mysqlclient ... " >&6; }
18575 MYSQLCLIENT_LDFLAGS
=""
18576 MYSQLCLIENT_CFLAGS
=""
18577 MYSQLCLIENT_LIBS
="-lmysqlclient"
18578 mysqlclient_fail
=""
18580 for tryprefix
in /usr
/usr
/local /usr
/mysql
/usr
/local
/mysql
/usr
/pkg
$mysqlclient_prefix ; do
18581 for hloc
in lib
/mysql lib
; do
18582 if test -f "$tryprefix/$hloc/libmysqlclient.so"; then
18583 MYSQLCLIENT_LDFLAGS
="-L$tryprefix/$hloc"
18584 elif test -f "$tryprefix/$hloc/libmysqlclient.a"; then
18585 MYSQLCLIENT_LDFLAGS
="-L$tryprefix/$hloc"
18589 for iloc
in include
/mysql include
; do
18590 if test -f "$tryprefix/$iloc/mysql.h"; then
18591 MYSQLCLIENT_CFLAGS
="-I$tryprefix/$iloc"
18597 if test "x$mysqlclient_include" != "x" ; then
18598 echo "checking for mysql includes... "
18599 if test -d "$mysqlclient_include/mysql" ; then
18600 MYSQLCLIENT_CFLAGS
="-I$mysqlclient_include"
18601 echo " found $MYSQLCLIENT_CFLAGS"
18602 elif test -d "$mysqlclient_include/include/mysql" ; then
18603 MYSQLCLIENT_CFLAGS
="-I$mysqlclient_include/include"
18604 echo " found $MYSQLCLIENT_CFLAGS"
18605 elif test -d "$mysqlclient_include" ; then
18606 MYSQLCLIENT_CFLAGS
="-I$mysqlclient_include"
18607 echo "found $MYSQLCLIENT_CFLAGS"
18609 echo "not found! no include dir found in $mysqlclient_include"
18613 if test "x$mysqlclient_lib" != "x" ; then
18614 echo "checking for mysql libx... "
18615 if test -d "$mysqlclient_lib/lib/mysql" ; then
18616 MYSQLCLIENT_LDFLAGS
="-L$mysqlclient_lib/lib/mysql"
18617 echo "found $MYSQLCLIENT_LDFLAGS"
18618 elif test -d "$mysqlclient_lib/lin" ; then
18619 MYSQLCLIENT_LDFLAGS
="-L$mysqlclient_lib/lib"
18620 echo "found $MYSQLCLIENT_LDFLAGS"
18622 MYSQLCLIENT_LDFLAGS
="-L$mysqlclient_lib"
18623 echo "defaultd to $MYSQLCLIENT_LDFLAGS"
18627 ac_save_CFLAGS
="$CFLAGS"
18628 ac_save_LDFLAGS
="$LDFLAGS"
18629 ac_save_LIBS
="$LIBS"
18630 CFLAGS
="-v $CFLAGS $MYSQLCLIENT_CFLAGS"
18631 LDFLAGS
="$LDFLAGS $MYSQLCLIENT_LDFLAGS"
18632 LIBS
="$LIBS $MYSQLCLIENT_LIBS"
18633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18634 /* end confdefs.h. */
18637 #include <mysql_version.h>
18649 if ac_fn_c_try_link
"$LINENO"; then :
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes $MYSQLCLIENT_CFLAGS $MYSQLCLIENT_LDFLAGS" >&5
18651 $as_echo "yes $MYSQLCLIENT_CFLAGS $MYSQLCLIENT_LDFLAGS" >&6; }
18652 CFLAGS
="$ac_save_CFLAGS"
18653 LDFLAGS
="$ac_save_LDFLAGS"
18654 LIBS
="$ac_save_LIBS"
18660 echo "can't compile a simple app with mysql_connnect in it. bad."
18661 mysqlclient_fail
="yes"
18664 rm -f core conftest.err conftest.
$ac_objext \
18665 conftest
$ac_exeext conftest.
$ac_ext
18667 if test "x$mysqlclient_fail" != "x" ; then
18670 echo "*** mysqlclient test source had problems, check your config.log ."
18671 echo "*** Also try one of the following switches :"
18672 echo "*** --with-mysqlclient-prefix=PFX"
18673 echo "*** --with-mysqlclient-include=DIR"
18674 echo "*** --with-mysqlclient-lib=DIR"
18676 CFLAGS
="$ac_save_CFLAGS"
18677 LDFLAGS
="$ac_save_LDFLAGS"
18678 LIBS
="$ac_save_LIBS"
18679 MYSQLCLIENT_LIBS
=""
18680 MYSQLCLIENT_CFLAGS
=""
18684 CFLAGS
="$ac_save_CFLAGS"
18685 LDFLAGS
="$ac_save_LDFLAGS"
18686 LIBS
="$ac_save_LIBS"
18691 if test "x$MYSQLCLIENT_CFLAGS" = "x"
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No libmysqlclient libs found" >&5
18694 $as_echo "$as_me: WARNING: No libmysqlclient libs found" >&2;}
18698 DB_LDFLAGS
=${MYSQLCLIENT_LDFLAGS}
18699 DB_LDLIBS
=${MYSQLCLIENT_LIBS}
18700 DB_CFLAGS
=${MYSQLCLIENT_CFLAGS}
18702 # Extract the first word of "mysql", so it can be a program name with args.
18703 set dummy mysql
; ac_word
=$2
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18705 $as_echo_n "checking for $ac_word... " >&6; }
18706 if ${ac_cv_path_MYSQL+:} false
; then :
18707 $as_echo_n "(cached) " >&6
18711 ac_cv_path_MYSQL
="$MYSQL" # Let the user override the test with a path.
18714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18715 for as_dir
in $PATH
18718 test -z "$as_dir" && as_dir
=.
18719 for ac_exec_ext
in '' $ac_executable_extensions; do
18720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18721 ac_cv_path_MYSQL
="$as_dir/$ac_word$ac_exec_ext"
18722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18729 test -z "$ac_cv_path_MYSQL" && ac_cv_path_MYSQL
="nocommand"
18733 MYSQL
=$ac_cv_path_MYSQL
18734 if test -n "$MYSQL"; then
18735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL" >&5
18736 $as_echo "$MYSQL" >&6; }
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18739 $as_echo "no" >&6; }
18743 MYSQL_VERSION
=not_found
18745 if test "x$MYSQL" != "xnocommand"; then
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql release (at least version 5.5)" >&5
18747 $as_echo_n "checking for mysql release (at least version 5.5)... " >&6; }
18748 if ${ac_cv_mysql_version_5_5+:} false
; then :
18749 $as_echo_n "(cached) " >&6
18752 if test -x $MYSQL; then
18753 VERS
=`$MYSQL --version 2>&1 | cut -d ' ' -f 6 | cut -d ',' -f 1`
18754 MYSQL_VERSION
=$VERS
18756 MYSQL_MAJOR
=`echo $VERS | cut -d '.' -f 1`
18757 MYSQL_MINOR
=`echo $VERS | cut -d '.' -f 2`
18758 MYSQL_MICRO
=`echo $VERS | cut -d '.' -f 3`
18759 MARIA
=`echo $MYSQL_MICRO | cut -d '-' -f 2`
18761 if [ "$MARIA" == *aria
* ]; then
18762 MYSQL_VERSION
=not_found
18763 ac_cv_mysql_version_5_5
=no
18765 if test $MYSQL_MAJOR -lt 5; then
18766 ac_cv_mysql_version_5_5
=no
18768 if test $MYSQL_MINOR -lt 5; then
18769 ac_cv_mysql_version_5_5
=no
18771 ac_cv_mysql_version_5_5
=yes
18776 ac_cv_mysql_version_5_5
=no
18780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mysql_version_5_5" >&5
18781 $as_echo "$ac_cv_mysql_version_5_5" >&6; }
18783 if test "x$ac_cv_mysql_version_5_5" = "xno"; then
18784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not supported mysql release. Should be 5.5.x or above. Please update !" >&5
18785 $as_echo "$as_me: WARNING: Not supported mysql release. Should be 5.5.x or above. Please update !" >&2;}
18786 enable_db_schema_create
=no
18789 enable_db_schema_create
=yes
18792 enable_db_schema_create
=no
18796 # check for a database schema update
18798 if test "x$enable_db_schema_create" = "xyes"; then :
18801 # Check whether --enable-dbcreate was given.
18802 if test "${enable_dbcreate+set}" = set; then :
18803 enableval
=$enable_dbcreate;
18805 enable_dbcreate
=yes
18808 enable_db_schema_create
=$enable_dbcreate
18810 if test "x$enable_db_schema_create" = "xyes"; then :
18816 # Extract the first word of "mysql$EXEEXT", so it can be a program name with args.
18817 set dummy mysql
$EXEEXT; ac_word
=$2
18818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18819 $as_echo_n "checking for $ac_word... " >&6; }
18820 if ${ac_cv_path_MYSQL+:} false
; then :
18821 $as_echo_n "(cached) " >&6
18825 ac_cv_path_MYSQL
="$MYSQL" # Let the user override the test with a path.
18828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18829 for as_dir
in $PATH
18832 test -z "$as_dir" && as_dir
=.
18833 for ac_exec_ext
in '' $ac_executable_extensions; do
18834 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18835 ac_cv_path_MYSQL
="$as_dir/$ac_word$ac_exec_ext"
18836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18843 test -z "$ac_cv_path_MYSQL" && ac_cv_path_MYSQL
="nocommand"
18847 MYSQL
=$ac_cv_path_MYSQL
18848 if test -n "$MYSQL"; then
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL" >&5
18850 $as_echo "$MYSQL" >&6; }
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18853 $as_echo "no" >&6; }
18857 if test "$MYSQL" = nocommand
; then
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mysql not found in $PATH" >&5
18859 $as_echo "$as_me: WARNING: mysql not found in $PATH" >&2;}
18860 enable_db_schema_create
=no
18864 # Check whether --with-mysql-ho was given.
18865 if test "${with_mysql_ho+set}" = set; then :
18866 withval
=$with_mysql_ho; MYSQL_HOST
=${with_mysql_ho}
18873 # Check whether --with-mysql-admin was given.
18874 if test "${with_mysql_admin+set}" = set; then :
18875 withval
=$with_mysql_admin; MYSQL_ADMIN
=${with_mysql_admin}
18882 # Check whether --with-mysql-admin-passwd was given.
18883 if test "${with_mysql_admin_passwd+set}" = set; then :
18884 withval
=$with_mysql_admin_passwd; MYSQL_ADMIN_PASSWD
=${with_mysql_admin_passwd}
18886 MYSQL_ADMIN_PASSWD
=""
18890 if test "x$MYSQL_ADMIN" = "x"; then
18893 user_switch
="-u$MYSQL_ADMIN";
18896 if test "x$MYSQL_ADMIN_PASSWD" = "x"; then
18899 passwd_switch
="-p$MYSQL_ADMIN_PASSWD";
18902 if test "x$MYSQL_HOST" = "x"; then
18905 host_switch
="-h$MYSQL_HOST";
18908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if mysql works" >&5
18909 $as_echo_n "checking if mysql works... " >&6; }
18911 if echo 'SELECT * FROM user' |
$MYSQL $user_switch $passwd_switch $host_switch mysql
> /dev
/null
; then
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18913 $as_echo "yes" >&6; }
18919 MYSQL_CONNECTION
=OK
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mysql cannot execute SELECT with user=$MYSQL_ADMIN, passwd=$MYSQL_ADMIN_PASSWD, and host=$MYSQL_HOST. Please check your my.cnf file or configure options!" >&5
18924 $as_echo "$as_me: WARNING: mysql cannot execute SELECT with user=$MYSQL_ADMIN, passwd=$MYSQL_ADMIN_PASSWD, and host=$MYSQL_HOST. Please check your my.cnf file or configure options!" >&2;}
18925 MYSQL_CONNECTION
=failed
18926 enable_db_schema_create
=no
18928 cat >>confdefs.h
<<_ACEOF
18929 #define MYSQL_HOST "$MYSQL_HOST"
18941 if test "x$MYSQL_VERSION" != "xnot_found"; then
18942 DB_VERSION
=${MYSQL_VERSION}
18946 if test "x$enable_dbserver" = "xyes"; then :
18949 # We need libmysqlclient to compile
18950 # finds it for us. Abort if no mysqlclientlibs are found
18954 # Check whether --with-mariadbclient-prefix was given.
18955 if test "${with_mariadbclient_prefix+set}" = set; then :
18956 withval
=$with_mariadbclient_prefix; mariadbclient_prefix
="$withval"
18958 mariadbclient_prefix
=""
18963 # Check whether --with-mariadbclient-include was given.
18964 if test "${with_mariadbclient_include+set}" = set; then :
18965 withval
=$with_mariadbclient_include; mariadbclient_include
="$withval"
18967 mariadbclient_include
=""
18972 # Check whether --with-mariadbclient-lib was given.
18973 if test "${with_mariadbclient_lib+set}" = set; then :
18974 withval
=$with_mariadbclient_lib; mariadbclient_lib
="$withval"
18976 mariadbclient_lib
=""
18980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mariadbclient " >&5
18981 $as_echo_n "checking for mariadbclient ... " >&6; }
18982 MARIADBCLIENT_LDFLAGS
=""
18983 MARIADBCLIENT_CFLAGS
=""
18984 MARIADBCLIENT_LIBS
="-lmariadb"
18985 mariadbclient_fail
=""
18987 for tryprefix
in /usr
/usr
/local /usr
/mysql
/usr
/local
/mysql
/usr
/pkg
$mariadbclient_prefix ; do
18988 for hloc
in lib
/mariadb lib
; do
18989 if test -f "$tryprefix/$hloc/libmariadb.so"; then
18990 MARIADBCLIENT_LDFLAGS
="-L$tryprefix/$hloc"
18991 elif test -f "$tryprefix/$hloc/libmariadb.a"; then
18992 MARIADBCLIENT_LDFLAGS
="-L$tryprefix/$hloc"
18996 for iloc
in include
/mariadb include
; do
18997 if test -f "$tryprefix/$iloc/mysql.h"; then
18998 MARIADBCLIENT_CFLAGS
="-I$tryprefix/$iloc"
19004 if test "x$mariadbclient_include" != "x" ; then
19005 echo "checking for mariadb includes... "
19006 if test -d "$mariadbclient_include/mariadb" ; then
19007 MARIADBCLIENT_CFLAGS
="-I$mariadbclient_include"
19008 echo " found $MARIADBCLIENT_CFLAGS"
19009 elif test -d "$mariadbclient_include/include/mariadb" ; then
19010 MARIADBCLIENT_CFLAGS
="-I$mariadbclient_include/include"
19011 echo " found $MARIADBCLIENT_CFLAGS"
19012 elif test -d "$mariadbclient_include" ; then
19013 MARIADBCLIENT_CFLAGS
="-I$mariadbclient_include"
19014 echo "found $MARIADBCLIENT_CFLAGS"
19016 echo "not found! no include dir found in $mariadbclient_include"
19020 if test "x$mariadbclient_lib" != "x" ; then
19021 echo "checking for mariadb libx... "
19022 if test -d "$mariadbclient_lib/lib/mariadb" ; then
19023 MARIADBCLIENT_LDFLAGS
="-L$mariadbclient_lib/lib/mariadb"
19024 echo "found $MARIADBCLIENT_LDFLAGS"
19025 elif test -d "$mariadbclient_lib/lin" ; then
19026 MARIADBCLIENT_LDFLAGS
="-L$mariadbclient_lib/lib"
19027 echo "found $MARIADBCLIENT_LDFLAGS"
19029 MARIADBCLIENT_LDFLAGS
="-L$mariadbclient_lib"
19030 echo "defaultd to $MARIADBCLIENT_LDFLAGS"
19034 ac_save_CFLAGS
="$CFLAGS"
19035 ac_save_LDFLAGS
="$LDFLAGS"
19036 ac_save_LIBS
="$LIBS"
19037 CFLAGS
="-v $CFLAGS $MARIADBCLIENT_CFLAGS"
19038 LDFLAGS
="$LDFLAGS $MARIADBCLIENT_LDFLAGS"
19039 LIBS
="$LIBS $MARIADBCLIENT_LIBS"
19040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19041 /* end confdefs.h. */
19044 #include <mysql_version.h>
19056 if ac_fn_c_try_link
"$LINENO"; then :
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes $MARIADBCLIENT_CFLAGS $MARIADBCLIENT_LDFLAGS" >&5
19058 $as_echo "yes $MARIADBCLIENT_CFLAGS $MARIADBCLIENT_LDFLAGS" >&6; }
19059 CFLAGS
="$ac_save_CFLAGS"
19060 LDFLAGS
="$ac_save_LDFLAGS"
19061 LIBS
="$ac_save_LIBS"
19067 echo "can't compile a simple app with mysql_connnect in it. bad."
19068 mariadbclient_fail
="yes"
19071 rm -f core conftest.err conftest.
$ac_objext \
19072 conftest
$ac_exeext conftest.
$ac_ext
19074 if test "x$mariadbclient_fail" != "x" ; then
19077 echo "*** mariadbclient test source had problems, check your config.log ."
19078 echo "*** Also try one of the following switches :"
19079 echo "*** --with-mariadbclient-prefix=PFX"
19080 echo "*** --with-mariadbclient-include=DIR"
19081 echo "*** --with-mariadbclient-lib=DIR"
19083 CFLAGS
="$ac_save_CFLAGS"
19084 LDFLAGS
="$ac_save_LDFLAGS"
19085 LIBS
="$ac_save_LIBS"
19086 MARIADBCLIENT_LIBS
=""
19087 MARIADBCLIENT_CFLAGS
=""
19091 CFLAGS
="$ac_save_CFLAGS"
19092 LDFLAGS
="$ac_save_LDFLAGS"
19093 LIBS
="$ac_save_LIBS"
19098 if test "x$MARIADBCLIENT_CFLAGS" = "x"
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No libmariadbclient libs found" >&5
19101 $as_echo "$as_me: WARNING: No libmariadbclient libs found" >&2;}
19105 DB_LDFLAGS
=${MARIADBCLIENT_LDFLAGS}
19106 DB_LDLIBS
=${MARIADBCLIENT_LIBS}
19107 DB_CFLAGS
=${MARIADBCLIENT_CFLAGS}
19109 # Extract the first word of "mysql", so it can be a program name with args.
19110 set dummy mysql
; ac_word
=$2
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19112 $as_echo_n "checking for $ac_word... " >&6; }
19113 if ${ac_cv_path_MYSQL+:} false
; then :
19114 $as_echo_n "(cached) " >&6
19118 ac_cv_path_MYSQL
="$MYSQL" # Let the user override the test with a path.
19121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19122 for as_dir
in $PATH
19125 test -z "$as_dir" && as_dir
=.
19126 for ac_exec_ext
in '' $ac_executable_extensions; do
19127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19128 ac_cv_path_MYSQL
="$as_dir/$ac_word$ac_exec_ext"
19129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19136 test -z "$ac_cv_path_MYSQL" && ac_cv_path_MYSQL
="nocommand"
19140 MYSQL
=$ac_cv_path_MYSQL
19141 if test -n "$MYSQL"; then
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL" >&5
19143 $as_echo "$MYSQL" >&6; }
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19146 $as_echo "no" >&6; }
19150 MARIADB_VERSION
=not_found
19152 if test "x$MYSQL" != "xnocommand"; then
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mariadb release (at least version 10.0)" >&5
19154 $as_echo_n "checking for mariadb release (at least version 10.0)... " >&6; }
19155 if ${ac_cv_mariadb_version_10_0+:} false
; then :
19156 $as_echo_n "(cached) " >&6
19159 if test -x $MYSQL; then
19160 VERS
=`$MYSQL --version 2>&1 | cut -d ' ' -f 6 | cut -d ',' -f 1`
19161 MARIADB_VERSION
=$VERS
19163 MARIADB_MAJOR
=`echo $VERS | cut -d '.' -f 1`
19164 MARIADB_MINOR
=`echo $VERS | cut -d '.' -f 2`
19165 MARIADB_MICRO
=`echo $VERS | cut -d '.' -f 3`
19166 MARIA
=`echo $MARIADB_MICRO | cut -d '-' -f 2`
19168 if test $MARIADB_MAJOR -lt 10; then
19169 ac_cv_mariadb_version_10_0
=no
19170 MARIADB_VERSION
=not_found
19172 if test $MARIADB_MINOR -lt 0; then
19173 ac_cv_mariadb_version_10_0
=no
19174 MARIADB_VERSION
=not_found
19176 ac_cv_mariadb_version_10_0
=yes
19180 ac_cv_mariadb_version_10_0
=no
19181 MARIADB_VERSION
=not_found
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mariadb_version_10_0" >&5
19186 $as_echo "$ac_cv_mariadb_version_10_0" >&6; }
19188 if test "x$ac_cv_mariadb_version_10_0" = "xno"; then
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not supported mariadb release. Should be 10.0.x or above. Please update !" >&5
19190 $as_echo "$as_me: WARNING: Not supported mariadb release. Should be 10.0.x or above. Please update !" >&2;}
19191 enable_db_schema_create
=no
19194 enable_db_schema_create
=yes
19197 enable_db_schema_create
=no
19201 # check for a database schema update
19203 if test "x$enable_db_schema_create" = "xyes"; then :
19206 # Check whether --enable-dbcreate was given.
19207 if test "${enable_dbcreate+set}" = set; then :
19208 enableval
=$enable_dbcreate;
19210 enable_dbcreate
=yes
19213 enable_db_schema_create
=$enable_dbcreate
19215 if test "x$enable_db_schema_create" = "xyes"; then :
19221 # Extract the first word of "mysql$EXEEXT", so it can be a program name with args.
19222 set dummy mysql
$EXEEXT; ac_word
=$2
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19224 $as_echo_n "checking for $ac_word... " >&6; }
19225 if ${ac_cv_path_MYSQL+:} false
; then :
19226 $as_echo_n "(cached) " >&6
19230 ac_cv_path_MYSQL
="$MYSQL" # Let the user override the test with a path.
19233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19234 for as_dir
in $PATH
19237 test -z "$as_dir" && as_dir
=.
19238 for ac_exec_ext
in '' $ac_executable_extensions; do
19239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19240 ac_cv_path_MYSQL
="$as_dir/$ac_word$ac_exec_ext"
19241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19248 test -z "$ac_cv_path_MYSQL" && ac_cv_path_MYSQL
="nocommand"
19252 MYSQL
=$ac_cv_path_MYSQL
19253 if test -n "$MYSQL"; then
19254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL" >&5
19255 $as_echo "$MYSQL" >&6; }
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19258 $as_echo "no" >&6; }
19262 if test "$MYSQL" = nocommand
; then
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mysql not found in $PATH" >&5
19264 $as_echo "$as_me: WARNING: mysql not found in $PATH" >&2;}
19265 enable_db_schema_create
=no
19269 # Check whether --with-mysql-ho was given.
19270 if test "${with_mysql_ho+set}" = set; then :
19271 withval
=$with_mysql_ho; MYSQL_HOST
=${with_mysql_ho}
19278 # Check whether --with-mysql-admin was given.
19279 if test "${with_mysql_admin+set}" = set; then :
19280 withval
=$with_mysql_admin; MYSQL_ADMIN
=${with_mysql_admin}
19287 # Check whether --with-mysql-admin-passwd was given.
19288 if test "${with_mysql_admin_passwd+set}" = set; then :
19289 withval
=$with_mysql_admin_passwd; MYSQL_ADMIN_PASSWD
=${with_mysql_admin_passwd}
19291 MYSQL_ADMIN_PASSWD
=""
19295 if test "x$MYSQL_ADMIN" = "x"; then
19298 user_switch
="-u$MYSQL_ADMIN";
19301 if test "x$MYSQL_ADMIN_PASSWD" = "x"; then
19304 passwd_switch
="-p$MYSQL_ADMIN_PASSWD";
19307 if test "x$MYSQL_HOST" = "x"; then
19310 host_switch
="-h$MYSQL_HOST";
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if mysql works" >&5
19314 $as_echo_n "checking if mysql works... " >&6; }
19316 if echo 'SELECT * FROM user' |
$MYSQL $user_switch $passwd_switch $host_switch mysql
> /dev
/null
; then
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19318 $as_echo "yes" >&6; }
19324 MYSQL_CONNECTION
=OK
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mysql cannot execute SELECT with user=$MYSQL_ADMIN, passwd=$MYSQL_ADMIN_PASSWD, and host=$MYSQL_HOST. Please check your my.cnf file or configure options!" >&5
19329 $as_echo "$as_me: WARNING: mysql cannot execute SELECT with user=$MYSQL_ADMIN, passwd=$MYSQL_ADMIN_PASSWD, and host=$MYSQL_HOST. Please check your my.cnf file or configure options!" >&2;}
19330 MYSQL_CONNECTION
=failed
19331 enable_db_schema_create
=no
19333 cat >>confdefs.h
<<_ACEOF
19334 #define MYSQL_HOST "$MYSQL_HOST"
19346 if test "x$MARIADB_VERSION" != "xnot_found"; then
19347 DB_VERSION
=${MARIADB_VERSION}
19357 # Build the jpeg library compilation option
19360 # Check whether --enable-jpegmmx was given.
19361 if test "${enable_jpegmmx+set}" = set; then :
19362 enableval
=$enable_jpegmmx;
19368 JPEG_LIB_CXXFLAGS
="-D_TANGO_LIB"
19369 JPEG_MMX_LIB_CXXFLAGS
="-D_TANGO_LIB"
19371 if test "x$enable_jpegmmx" != xno
; then
19374 JPEG_LIB_CXXFLAGS
="-D_TANGO_LIB -DJPG_USE_ASM"
19375 JPEG_MMX_LIB_CXXFLAGS
="-D_TANGO_LIB -mmmx -DJPG_USE_ASM"
19383 # Define a conditional variables to enable or disable installation
19384 # of the database server and the database schema creation.
19385 # The variables are used in the Makefiles.
19388 if test x
"$enable_dbserver" = x
"yes"; then
19389 TANGO_DB_SERVER_ENABLED_TRUE
=
19390 TANGO_DB_SERVER_ENABLED_FALSE
='#'
19392 TANGO_DB_SERVER_ENABLED_TRUE
='#'
19393 TANGO_DB_SERVER_ENABLED_FALSE
=
19396 if test x
"$enable_db_schema_create" = x
"yes"; then
19397 TANGO_DB_CREATE_ENABLED_TRUE
=
19398 TANGO_DB_CREATE_ENABLED_FALSE
='#'
19400 TANGO_DB_CREATE_ENABLED_TRUE
='#'
19401 TANGO_DB_CREATE_ENABLED_FALSE
=
19410 DATADIR
=`eval echo $datadir`
19411 DATADIR
=`eval echo $DATADIR`
19420 # This is a hack to change PACKAGE_ #defines into TANGO_PACKAGE
19421 ac_config_commands
="$ac_config_commands ac_config.h"
19424 # configure log4tango sub-package
19427 subdirs
="$subdirs lib/cpp/log4tango"
19430 # All the Makefiles to be generated.
19431 ac_config_files
="$ac_config_files Makefile lib/Makefile lib/idl/Makefile lib/cpp/tango.pc lib/cpp/Makefile lib/cpp/server/Makefile lib/cpp/server/idl/Makefile lib/cpp/server/jpeg/Makefile lib/cpp/server/jpeg_mmx/Makefile lib/cpp/client/Makefile lib/cpp/client/helpers/Makefile lib/java/Makefile cppserver/Makefile cppserver/database/Makefile cppserver/database/create_db.sql cppserver/database/create_db.sh cppserver/database/my.cnf cppserver/database/stored_proc.sql cppserver/database/create_db_tables.sql cppserver/database/update_db.sh cppserver/database/update_db.sql cppserver/database/update_db8.sql cppserver/database/update_db7.sql cppserver/database/rem_history.sql cppserver/starter/Makefile cppserver/tangotest/Makefile cppserver/AbstractClass/Makefile cppserver/AbstractClass/AccessControl/Makefile cppserver/tangoaccesscontrol/Makefile utils/Makefile utils/tango_admin/Makefile scripts/Makefile scripts/tango scripts/tango_wca doc/Makefile doc/man/Makefile doc/src/Makefile doc/src/ds_writing/Makefile doc/src/ds_model/Makefile doc/src/dance/Makefile doc/src/java_api/Makefile doc/src/java_api/picture/Makefile doc/src/gen_api/Makefile doc/src/advanced/Makefile pogo/Makefile pogo/templates/Makefile pogo/preferences/Makefile pogo/templates/cpp/Makefile"
19433 cat >confcache
<<\_ACEOF
19434 # This file is a shell script that caches the results of configure
19435 # tests run on this system so they can be shared between configure
19436 # scripts and configure runs, see configure's option --config-cache.
19437 # It is not useful on other systems. If it contains results you don't
19438 # want to keep, you may remove or edit it.
19440 # config.status only pays attention to the cache file if you give it
19441 # the --recheck option to rerun configure.
19443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19445 # following values.
19449 # The following way of writing the cache mishandles newlines in values,
19450 # but we know of no workaround that is simple, portable, and efficient.
19451 # So, we kill variables containing newlines.
19452 # Ultrix sh set writes to stderr and can't be redirected directly,
19453 # and sets the high bit in the cache file unless we assign to the vars.
19455 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19456 eval ac_val
=\$
$ac_var
19460 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19461 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19464 _ | IFS | as_nl
) ;; #(
19465 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19466 *) { eval $ac_var=; unset $ac_var;} ;;
19472 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19473 *${as_nl}ac_space
=\
*)
19474 # `set' does not quote correctly, so add quotes: double-quote
19475 # substitution turns \\\\ into \\, and sed turns \\ into \.
19478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19481 # `set' quotes correctly as required by POSIX, so do not add quotes.
19482 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19491 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19493 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19495 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19496 if test -w "$cache_file"; then
19497 if test "x$cache_file" != "x/dev/null"; then
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19499 $as_echo "$as_me: updating cache $cache_file" >&6;}
19500 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19501 cat confcache
>"$cache_file"
19503 case $cache_file in #(
19505 mv -f confcache
"$cache_file"$$
&&
19506 mv -f "$cache_file"$$
"$cache_file" ;; #(
19508 mv -f confcache
"$cache_file" ;;
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19514 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19519 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19520 # Let make expand exec_prefix.
19521 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19523 DEFS
=-DHAVE_CONFIG_H
19528 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19529 # 1. Remove the extension, and $U if already installed.
19530 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19531 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19532 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19533 # will be set to the directory where LIBOBJS objects are built.
19534 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19535 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19537 LIBOBJS
=$ac_libobjs
19539 LTLIBOBJS
=$ac_ltlibobjs
19542 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19543 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
19544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19546 if test -n "$EXEEXT"; then
19548 am__EXEEXT_FALSE
='#'
19550 am__EXEEXT_TRUE
='#'
19554 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19555 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19558 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19559 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
19560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19562 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19563 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19566 if test -z "${TANGO_JAVA_ENABLED_TRUE}" && test -z "${TANGO_JAVA_ENABLED_FALSE}"; then
19567 as_fn_error $?
"conditional \"TANGO_JAVA_ENABLED\" was never defined.
19568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19570 if test -z "${TANGO_LYX_ENABLED_TRUE}" && test -z "${TANGO_LYX_ENABLED_FALSE}"; then
19571 as_fn_error $?
"conditional \"TANGO_LYX_ENABLED\" was never defined.
19572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19574 if test -z "${TANGO_FIG2DEV_ENABLED_TRUE}" && test -z "${TANGO_FIG2DEV_ENABLED_FALSE}"; then
19575 as_fn_error $?
"conditional \"TANGO_FIG2DEV_ENABLED\" was never defined.
19576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19578 if test -z "${TANGO_DOC_ENABLED_TRUE}" && test -z "${TANGO_DOC_ENABLED_FALSE}"; then
19579 as_fn_error $?
"conditional \"TANGO_DOC_ENABLED\" was never defined.
19580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19582 if test -z "${DARWIN_ENABLED_TRUE}" && test -z "${DARWIN_ENABLED_FALSE}"; then
19583 as_fn_error $?
"conditional \"DARWIN_ENABLED\" was never defined.
19584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19586 if test -z "${TANGO_DB_SERVER_ENABLED_TRUE}" && test -z "${TANGO_DB_SERVER_ENABLED_FALSE}"; then
19587 as_fn_error $?
"conditional \"TANGO_DB_SERVER_ENABLED\" was never defined.
19588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19590 if test -z "${TANGO_DB_CREATE_ENABLED_TRUE}" && test -z "${TANGO_DB_CREATE_ENABLED_FALSE}"; then
19591 as_fn_error $?
"conditional \"TANGO_DB_CREATE_ENABLED\" was never defined.
19592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19595 : "${CONFIG_STATUS=./config.status}"
19597 ac_clean_files_save
=$ac_clean_files
19598 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19600 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19602 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19604 # Generated by $as_me.
19605 # Run this file to recreate the current configuration.
19606 # Compiler output produced by configure, useful for debugging
19607 # configure, is in config.log if it exists.
19610 ac_cs_recheck=false
19613 SHELL=\${CONFIG_SHELL-$SHELL}
19616 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19617 ## -------------------- ##
19618 ## M4sh Initialization. ##
19619 ## -------------------- ##
19621 # Be more Bourne compatible
19622 DUALCASE
=1; export DUALCASE
# for MKS sh
19623 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19626 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19627 # is contrary to our usage. Disable this feature.
19628 alias -g '${1+"$@"}'='"$@"'
19629 setopt NO_GLOB_SUBST
19631 case `(set -o) 2>/dev/null` in #(
19643 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19644 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19645 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19646 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19647 # Prefer a ksh shell builtin over an external printf program on Solaris,
19648 # but without wasting forks for bash or zsh.
19649 if test -z "$BASH_VERSION$ZSH_VERSION" \
19650 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19651 as_echo='print
-r --'
19652 as_echo_n='print
-rn --'
19653 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19654 as_echo='printf %s
\n'
19655 as_echo_n='printf %s
'
19657 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19658 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19659 as_echo_n='/usr
/ucb
/echo -n'
19661 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19662 as_echo_n_body='eval
19666 expr "X$arg" : "X\\(.*\\)$as_nl";
19667 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19669 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19671 export as_echo_n_body
19672 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19674 export as_echo_body
19675 as_echo='sh
-c $as_echo_body as_echo
'
19678 # The user is always right.
19679 if test "${PATH_SEPARATOR+set}" != set; then
19681 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19682 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19689 # We need space, tab and new line, in precisely that order. Quoting is
19690 # there to prevent editors from complaining about space-tab.
19691 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19692 # splitting by setting IFS to empty value.)
19695 # Find who we are. Look in the path if we contain no directory separator.
19698 *[\\/]* ) as_myself=$0 ;;
19699 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19700 for as_dir in $PATH
19703 test -z "$as_dir" && as_dir=.
19704 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19710 # We did not find ourselves, most probably we were run as `sh COMMAND'
19711 # in which case we are not to be found in the path.
19712 if test "x$as_myself" = x
; then
19715 if test ! -f "$as_myself"; then
19716 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19720 # Unset variables that we do not need and which cause bugs (e.g. in
19721 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19722 # suppresses any "Segmentation fault" message there. '((' could
19723 # trigger a bug in pdksh 5.2.14.
19724 for as_var
in BASH_ENV ENV MAIL MAILPATH
19725 do eval test x\
${$as_var+set} = xset \
19726 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19739 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19742 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19743 # ----------------------------------------
19744 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19745 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19746 # script with STATUS, using 1 if that was 0.
19749 as_status
=$1; test $as_status -eq 0 && as_status
=1
19751 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19752 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19754 $as_echo "$as_me: error: $2" >&2
19755 as_fn_exit
$as_status
19759 # as_fn_set_status STATUS
19760 # -----------------------
19761 # Set $? to STATUS, without forking.
19762 as_fn_set_status
()
19765 } # as_fn_set_status
19767 # as_fn_exit STATUS
19768 # -----------------
19769 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19773 as_fn_set_status
$1
19779 # Portably unset VAR.
19782 { eval $1=; unset $1;}
19784 as_unset
=as_fn_unset
19785 # as_fn_append VAR VALUE
19786 # ----------------------
19787 # Append the text in VALUE to the end of the definition contained in VAR. Take
19788 # advantage of any shell optimizations that allow amortized linear growth over
19789 # repeated appends, instead of the typical quadratic growth present in naive
19791 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19792 eval 'as_fn_append ()
19803 # as_fn_arith ARG...
19804 # ------------------
19805 # Perform arithmetic evaluation on the ARGs, and store the result in the
19806 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19807 # must be portable across $(()) and expr.
19808 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19809 eval 'as_fn_arith ()
19816 as_val
=`expr "$@" || test $? -eq 1`
19821 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19822 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19828 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19829 as_basename
=basename
19834 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19840 as_me
=`$as_basename -- "$0" ||
19841 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19842 X"$0" : 'X\(//\)$' \| \
19843 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19845 sed '/^.*\/\([^/][^/]*\)\/*$/{
19859 # Avoid depending upon Character Ranges.
19860 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19861 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19862 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19863 as_cr_digits
='0123456789'
19864 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19866 ECHO_C
= ECHO_N
= ECHO_T
=
19867 case `echo -n x` in #(((((
19869 case `echo 'xy\c'` in
19870 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19872 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19879 rm -f conf$$ conf$$.exe conf$$.
file
19880 if test -d conf$$.dir
; then
19881 rm -f conf$$.dir
/conf$$.
file
19884 mkdir conf$$.dir
2>/dev
/null
19886 if (echo >conf$$.
file) 2>/dev
/null
; then
19887 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19889 # ... but there are two gotchas:
19890 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19891 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19892 # In both cases, we have to default to `cp -pR'.
19893 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19895 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19903 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19904 rmdir conf$$.dir
2>/dev
/null
19909 # Create "$as_dir" as a directory, including parents if necessary.
19914 -*) as_dir
=.
/$as_dir;;
19916 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19920 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19921 *) as_qdir
=$as_dir;;
19923 as_dirs
="'$as_qdir' $as_dirs"
19924 as_dir
=`$as_dirname -- "$as_dir" ||
19925 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19926 X"$as_dir" : 'X\(//\)[^/]' \| \
19927 X"$as_dir" : 'X\(//\)$' \| \
19928 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19929 $as_echo X"$as_dir" |
19930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19934 /^X\(\/\/\)[^/].*/{
19947 test -d "$as_dir" && break
19949 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19950 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19954 if mkdir
-p .
2>/dev
/null
; then
19955 as_mkdir_p
='mkdir -p "$as_dir"'
19957 test -d .
/-p && rmdir .
/-p
19962 # as_fn_executable_p FILE
19963 # -----------------------
19964 # Test if FILE is an executable regular file.
19965 as_fn_executable_p
()
19967 test -f "$1" && test -x "$1"
19968 } # as_fn_executable_p
19969 as_test_x
='test -x'
19970 as_executable_p
=as_fn_executable_p
19972 # Sed expression to map a string onto a valid CPP name.
19973 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19975 # Sed expression to map a string onto a valid variable name.
19976 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19980 ## ----------------------------------- ##
19981 ## Main body of $CONFIG_STATUS script. ##
19982 ## ----------------------------------- ##
19984 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19987 # Save the log message, to keep $0 and so on meaningful, and to
19988 # report actual input values of CONFIG_FILES etc. instead of their
19989 # values after options handling.
19991 This file was extended by Tango $as_me 9.2.5a, which was
19992 generated by GNU Autoconf 2.69. Invocation command line was
19994 CONFIG_FILES = $CONFIG_FILES
19995 CONFIG_HEADERS = $CONFIG_HEADERS
19996 CONFIG_LINKS = $CONFIG_LINKS
19997 CONFIG_COMMANDS = $CONFIG_COMMANDS
20000 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20005 case $ac_config_files in *"
20006 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20009 case $ac_config_headers in *"
20010 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20015 # Files that config.status was made for.
20016 config_files="$ac_config_files"
20017 config_headers="$ac_config_headers"
20018 config_commands="$ac_config_commands"
20022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20024 \`$as_me' instantiates files and other configuration actions
20025 from templates according to the current configuration. Unless the files
20026 and actions are specified as TAGs, all are instantiated by default.
20028 Usage: $0 [OPTION]... [TAG]...
20030 -h, --help print this help, then exit
20031 -V, --version print version number and configuration settings, then exit
20032 --config print configuration, then exit
20033 -q, --quiet, --silent
20034 do not print progress messages
20035 -d, --debug don't remove temporary files
20036 --recheck update $as_me by reconfiguring in the same conditions
20037 --file=FILE[:TEMPLATE]
20038 instantiate the configuration file FILE
20039 --header=FILE[:TEMPLATE]
20040 instantiate the configuration header FILE
20042 Configuration files:
20045 Configuration headers:
20048 Configuration commands:
20051 Report bugs to <info@tango-controls.org>."
20054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20055 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20057 Tango config.status 9.2.5a
20058 configured by $0, generated by GNU Autoconf 2.69,
20059 with options \\"\$ac_cs_config\\"
20061 Copyright (C) 2012 Free Software Foundation, Inc.
20062 This config.status script is free software; the Free Software Foundation
20063 gives unlimited permission to copy, distribute and modify it."
20070 test -n "\$AWK" || AWK=awk
20073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20074 # The default lists apply if the user does not specify any file.
20080 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20081 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20085 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20097 # Handling of the options.
20098 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20100 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20101 $as_echo "$ac_cs_version"; exit ;;
20102 --config |
--confi |
--conf |
--con |
--co |
--c )
20103 $as_echo "$ac_cs_config"; exit ;;
20104 --debug |
--debu |
--deb |
--de |
--d |
-d )
20106 --file |
--fil |
--fi |
--f )
20109 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20110 '') as_fn_error $?
"missing file argument" ;;
20112 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20113 ac_need_defaults
=false
;;
20114 --header |
--heade |
--head |
--hea )
20117 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20119 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20120 ac_need_defaults
=false
;;
20122 # Conflict between --help and --header
20123 as_fn_error $?
"ambiguous option: \`$1'
20124 Try \`$0 --help' for more information.";;
20125 --help |
--hel |
-h )
20126 $as_echo "$ac_cs_usage"; exit ;;
20127 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20128 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20131 # This is an error.
20132 -*) as_fn_error $?
"unrecognized option: \`$1'
20133 Try \`$0 --help' for more information." ;;
20135 *) as_fn_append ac_config_targets
" $1"
20136 ac_need_defaults
=false
;;
20142 ac_configure_extra_args
=
20144 if $ac_cs_silent; then
20146 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20151 if \$ac_cs_recheck; then
20152 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20154 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20155 CONFIG_SHELL='$SHELL'
20156 export CONFIG_SHELL
20161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20165 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20166 ## Running $as_me. ##
20172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20176 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20179 # The HP-UX ksh and POSIX shell print the target directory to stdout
20180 # if CDPATH is set.
20181 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20183 sed_quote_subst='$sed_quote_subst'
20184 double_quote_subst='$double_quote_subst'
20185 delay_variable_subst='$delay_variable_subst'
20186 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20187 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20188 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20189 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20190 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20191 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20192 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20193 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20194 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20195 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20196 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20197 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20198 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20199 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20200 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20201 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20202 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20203 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20204 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20205 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20206 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20207 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20208 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20209 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20210 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20211 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20212 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20213 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20214 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20215 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20216 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20217 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20218 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20219 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20220 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20221 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20222 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20223 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20224 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20225 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20226 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20227 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20228 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20229 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20230 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20231 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20232 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20233 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20234 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20235 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20236 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20237 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20238 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20239 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20240 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20241 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20242 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
20243 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20244 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20245 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20246 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20247 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20248 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20249 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20250 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20251 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20252 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20253 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20254 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20255 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20256 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20257 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20258 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20259 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20260 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20261 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20262 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20263 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20264 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20265 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20266 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20267 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20268 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20269 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20270 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20271 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20272 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20273 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20274 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20275 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20276 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20277 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20278 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20279 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20280 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20281 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20282 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20283 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20284 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20285 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20286 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20287 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20288 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20289 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20290 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20291 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20292 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20293 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20294 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20295 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20296 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20297 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20298 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20299 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20300 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20301 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20302 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20303 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20304 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20305 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20306 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20307 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20308 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20309 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20310 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20311 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20312 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20313 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20314 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20315 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20316 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20317 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20318 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20319 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20320 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20321 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20322 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20323 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20324 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20325 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20326 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20327 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20328 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20329 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20330 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20331 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20332 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20333 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20334 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20335 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20336 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20337 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20338 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20339 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20340 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20341 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20342 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20343 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20344 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20345 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20346 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20347 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20348 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20349 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20350 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20351 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20352 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20353 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20354 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20355 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20356 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20357 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20358 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20359 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20360 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20361 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20362 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20363 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20364 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20365 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20366 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20367 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20368 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20369 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20372 LTCFLAGS='$LTCFLAGS'
20373 compiler='$compiler_DEFAULT'
20375 # A function that is used when there is no print builtin or printf.
20376 func_fallback_echo ()
20378 eval 'cat <<_LTECHO_EOF
20383 # Quote evaled strings.
20398 deplibs_check_method \
20403 sharedlib_from_linklib_cmd \
20406 archiver_list_spec \
20412 lt_cv_sys_global_symbol_pipe \
20413 lt_cv_sys_global_symbol_to_cdecl \
20414 lt_cv_sys_global_symbol_to_c_name_address \
20415 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20416 nm_file_list_spec \
20417 lt_prog_compiler_no_builtin_flag \
20418 lt_prog_compiler_pic \
20419 lt_prog_compiler_wl \
20420 lt_prog_compiler_static \
20421 lt_cv_prog_compiler_c_o \
20430 export_dynamic_flag_spec \
20431 whole_archive_flag_spec \
20432 compiler_needs_object \
20434 allow_undefined_flag \
20435 no_undefined_flag \
20436 hardcode_libdir_flag_spec \
20437 hardcode_libdir_separator \
20441 variables_saved_for_relink \
20443 library_names_spec \
20445 install_override_mode \
20449 compiler_lib_search_dirs \
20454 compiler_lib_search_path \
20458 lt_prog_compiler_no_builtin_flag_CXX \
20459 lt_prog_compiler_pic_CXX \
20460 lt_prog_compiler_wl_CXX \
20461 lt_prog_compiler_static_CXX \
20462 lt_cv_prog_compiler_c_o_CXX \
20463 export_dynamic_flag_spec_CXX \
20464 whole_archive_flag_spec_CXX \
20465 compiler_needs_object_CXX \
20467 allow_undefined_flag_CXX \
20468 no_undefined_flag_CXX \
20469 hardcode_libdir_flag_spec_CXX \
20470 hardcode_libdir_separator_CXX \
20471 exclude_expsyms_CXX \
20472 include_expsyms_CXX \
20473 file_list_spec_CXX \
20474 compiler_lib_search_dirs_CXX \
20475 predep_objects_CXX \
20476 postdep_objects_CXX \
20479 compiler_lib_search_path_CXX; do
20480 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20481 *[\\\\\\\`\\"\\\$]*)
20482 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20485 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20490 # Double-quote double-evaled strings.
20491 for var in reload_cmds \
20492 old_postinstall_cmds \
20493 old_postuninstall_cmds \
20495 extract_expsyms_cmds \
20496 old_archive_from_new_cmds \
20497 old_archive_from_expsyms_cmds \
20499 archive_expsym_cmds \
20501 module_expsym_cmds \
20502 export_symbols_cmds \
20506 postuninstall_cmds \
20508 sys_lib_search_path_spec \
20509 sys_lib_dlsearch_path_spec \
20511 old_archive_cmds_CXX \
20512 old_archive_from_new_cmds_CXX \
20513 old_archive_from_expsyms_cmds_CXX \
20515 archive_expsym_cmds_CXX \
20517 module_expsym_cmds_CXX \
20518 export_symbols_cmds_CXX \
20520 postlink_cmds_CXX; do
20521 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20522 *[\\\\\\\`\\"\\\$]*)
20523 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20526 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20531 ac_aux_dir='$ac_aux_dir'
20532 xsi_shell='$xsi_shell'
20533 lt_shell_append='$lt_shell_append'
20535 # See if we are running on zsh, and set the options which allow our
20536 # commands through without removal of \ escapes INIT.
20537 if test -n "\${ZSH_VERSION+set}" ; then
20538 setopt NO_GLOB_SUBST
20544 TIMESTAMP='$TIMESTAMP'
20555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20557 # Handling of arguments.
20558 for ac_config_target
in $ac_config_targets
20560 case $ac_config_target in
20561 "ac_config.h.tmp") CONFIG_HEADERS
="$CONFIG_HEADERS ac_config.h.tmp" ;;
20562 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20563 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20564 "ac_config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS ac_config.h" ;;
20565 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20566 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
20567 "lib/idl/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/idl/Makefile" ;;
20568 "lib/cpp/tango.pc") CONFIG_FILES
="$CONFIG_FILES lib/cpp/tango.pc" ;;
20569 "lib/cpp/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/cpp/Makefile" ;;
20570 "lib/cpp/server/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/cpp/server/Makefile" ;;
20571 "lib/cpp/server/idl/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/cpp/server/idl/Makefile" ;;
20572 "lib/cpp/server/jpeg/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/cpp/server/jpeg/Makefile" ;;
20573 "lib/cpp/server/jpeg_mmx/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/cpp/server/jpeg_mmx/Makefile" ;;
20574 "lib/cpp/client/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/cpp/client/Makefile" ;;
20575 "lib/cpp/client/helpers/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/cpp/client/helpers/Makefile" ;;
20576 "lib/java/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/java/Makefile" ;;
20577 "cppserver/Makefile") CONFIG_FILES
="$CONFIG_FILES cppserver/Makefile" ;;
20578 "cppserver/database/Makefile") CONFIG_FILES
="$CONFIG_FILES cppserver/database/Makefile" ;;
20579 "cppserver/database/create_db.sql") CONFIG_FILES
="$CONFIG_FILES cppserver/database/create_db.sql" ;;
20580 "cppserver/database/create_db.sh") CONFIG_FILES
="$CONFIG_FILES cppserver/database/create_db.sh" ;;
20581 "cppserver/database/my.cnf") CONFIG_FILES
="$CONFIG_FILES cppserver/database/my.cnf" ;;
20582 "cppserver/database/stored_proc.sql") CONFIG_FILES
="$CONFIG_FILES cppserver/database/stored_proc.sql" ;;
20583 "cppserver/database/create_db_tables.sql") CONFIG_FILES
="$CONFIG_FILES cppserver/database/create_db_tables.sql" ;;
20584 "cppserver/database/update_db.sh") CONFIG_FILES
="$CONFIG_FILES cppserver/database/update_db.sh" ;;
20585 "cppserver/database/update_db.sql") CONFIG_FILES
="$CONFIG_FILES cppserver/database/update_db.sql" ;;
20586 "cppserver/database/update_db8.sql") CONFIG_FILES
="$CONFIG_FILES cppserver/database/update_db8.sql" ;;
20587 "cppserver/database/update_db7.sql") CONFIG_FILES
="$CONFIG_FILES cppserver/database/update_db7.sql" ;;
20588 "cppserver/database/rem_history.sql") CONFIG_FILES
="$CONFIG_FILES cppserver/database/rem_history.sql" ;;
20589 "cppserver/starter/Makefile") CONFIG_FILES
="$CONFIG_FILES cppserver/starter/Makefile" ;;
20590 "cppserver/tangotest/Makefile") CONFIG_FILES
="$CONFIG_FILES cppserver/tangotest/Makefile" ;;
20591 "cppserver/AbstractClass/Makefile") CONFIG_FILES
="$CONFIG_FILES cppserver/AbstractClass/Makefile" ;;
20592 "cppserver/AbstractClass/AccessControl/Makefile") CONFIG_FILES
="$CONFIG_FILES cppserver/AbstractClass/AccessControl/Makefile" ;;
20593 "cppserver/tangoaccesscontrol/Makefile") CONFIG_FILES
="$CONFIG_FILES cppserver/tangoaccesscontrol/Makefile" ;;
20594 "utils/Makefile") CONFIG_FILES
="$CONFIG_FILES utils/Makefile" ;;
20595 "utils/tango_admin/Makefile") CONFIG_FILES
="$CONFIG_FILES utils/tango_admin/Makefile" ;;
20596 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
20597 "scripts/tango") CONFIG_FILES
="$CONFIG_FILES scripts/tango" ;;
20598 "scripts/tango_wca") CONFIG_FILES
="$CONFIG_FILES scripts/tango_wca" ;;
20599 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20600 "doc/man/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/man/Makefile" ;;
20601 "doc/src/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/src/Makefile" ;;
20602 "doc/src/ds_writing/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/src/ds_writing/Makefile" ;;
20603 "doc/src/ds_model/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/src/ds_model/Makefile" ;;
20604 "doc/src/dance/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/src/dance/Makefile" ;;
20605 "doc/src/java_api/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/src/java_api/Makefile" ;;
20606 "doc/src/java_api/picture/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/src/java_api/picture/Makefile" ;;
20607 "doc/src/gen_api/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/src/gen_api/Makefile" ;;
20608 "doc/src/advanced/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/src/advanced/Makefile" ;;
20609 "pogo/Makefile") CONFIG_FILES
="$CONFIG_FILES pogo/Makefile" ;;
20610 "pogo/templates/Makefile") CONFIG_FILES
="$CONFIG_FILES pogo/templates/Makefile" ;;
20611 "pogo/preferences/Makefile") CONFIG_FILES
="$CONFIG_FILES pogo/preferences/Makefile" ;;
20612 "pogo/templates/cpp/Makefile") CONFIG_FILES
="$CONFIG_FILES pogo/templates/cpp/Makefile" ;;
20614 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20619 # If the user did not use the arguments to specify the items to instantiate,
20620 # then the envvar interface is used. Set only those that are not.
20621 # We use the long form for the default assignment because of an extremely
20622 # bizarre bug on SunOS 4.1.3.
20623 if $ac_need_defaults; then
20624 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20625 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20626 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20629 # Have a temporary directory for convenience. Make it in the build tree
20630 # simply because there is no reason against having it here, and in addition,
20631 # creating and moving files from /tmp can sometimes cause problems.
20632 # Hook for its removal unless debugging.
20633 # Note that there is a small window in which the directory will not be cleaned:
20634 # after its creation but before its name has been assigned to `$tmp'.
20638 trap 'exit_status=$?
20639 : "${ac_tmp:=$tmp}"
20640 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20642 trap 'as_fn_exit 1' 1 2 13 15
20644 # Create a (secure) tmp directory for tmp files.
20647 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20651 tmp
=.
/conf$$
-$RANDOM
20652 (umask 077 && mkdir
"$tmp")
20653 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20656 # Set up the scripts for CONFIG_FILES section.
20657 # No need to generate them if there are no CONFIG_FILES.
20658 # This happens for instance with `./config.status config.h'.
20659 if test -n "$CONFIG_FILES"; then
20662 ac_cr
=`echo X | tr X '\015'`
20663 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20664 # But we know of no other shell where ac_cr would be empty at this
20665 # point, so we can use a bashism as a fallback.
20666 if test "x$ac_cr" = x
; then
20667 eval ac_cr
=\$
\'\\r
\'
20669 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20670 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20673 ac_cs_awk_cr
=$ac_cr
20676 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20681 echo "cat >conf$$subs.awk <<_ACEOF" &&
20682 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20684 } >conf$$subs.sh ||
20685 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20686 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20688 for ac_last_try in false false false false false :; do
20689 . ./conf$$subs.sh ||
20690 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20692 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20693 if test $ac_delim_n = $ac_delim_num; then
20695 elif $ac_last_try; then
20696 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20698 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20701 rm -f conf$$subs.sh
20703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20704 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20708 s/^/S["/; s
/!.
*/"]=/
20718 s/\(.\{148\}\)..*/\1/
20720 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20725 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20732 s/\(.\{148\}\)..*/\1/
20734 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20738 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20743 ' <conf$$subs.awk | sed '
20748 ' >>$CONFIG_STATUS || ac_write_fail=1
20749 rm -f conf$$subs.awk
20750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20752 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20753 for (key in S) S_is_set[key] = 1
20759 nfields = split(line, field, "@
")
20761 len = length(field[1])
20762 for (i = 2; i < nfields; i++) {
20764 keylen = length(key)
20765 if (S_is_set[key]) {
20767 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20768 len += length(value) + length(field[++i])
20779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20780 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20781 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20784 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20785 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20788 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20789 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20790 # trailing colons and then remove the whole line if VPATH becomes empty
20791 # (actually we leave an empty line to preserve line numbers).
20792 if test "x
$srcdir" = x.; then
20793 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20812 fi # test -n "$CONFIG_FILES"
20814 # Set up the scripts for CONFIG_HEADERS section.
20815 # No need to generate them if there are no CONFIG_HEADERS.
20816 # This happens for instance with `./config.status Makefile'.
20817 if test -n "$CONFIG_HEADERS"; then
20818 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20822 # Transform confdefs.h into an awk script `defines.awk', embedded as
20823 # here-document in config.status, that substitutes the proper values into
20824 # config.h.in to produce config.h.
20826 # Create a delimiter string that does not exist in confdefs.h, to ease
20827 # handling of long lines.
20829 for ac_last_try in false false :; do
20830 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20831 if test -z "$ac_tt"; then
20833 elif $ac_last_try; then
20834 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20836 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20840 # For the awk script, D is an array of macro values keyed by name,
20841 # likewise P contains macro parameters if any. Preserve backslash
20842 # newline sequences.
20844 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20846 s/.\{148\}/&'"$ac_delim"'/g
20849 s/^[ ]*#[ ]*define[ ][ ]*/ /
20856 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20858 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20862 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20863 D["\
1"]=" \
3\\\\\\n
"\\/p
20865 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20870 s/.\{148\}/&'"$ac_delim"'/g
20875 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20878 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20880 ' <confdefs.h | sed '
20881 s/'"$ac_delim"'/"\\\
20882 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20885 for (key in D) D_is_set[key] = 1
20888 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20890 split(line, arg, " ")
20891 if (arg[1] == "#") {
20895 defundef
= substr
(arg
[1], 2)
20898 split(mac1
, mac2
, "(") #)
20900 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20901 if (D_is_set
[macro
]) {
20902 # Preserve the white space surrounding the "#".
20903 print prefix
"define", macro P
[macro
] D
[macro
]
20906 # Replace #undef with comments. This is necessary, for example,
20907 # in the case of _POSIX_SOURCE, which is predefined and required
20908 # on some systems where configure will not decide to define it.
20909 if (defundef
== "undef") {
20910 print
"/*", prefix defundef
, macro
, "*/"
20918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20919 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20920 fi # test -n "$CONFIG_HEADERS"
20923 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20928 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20930 case $ac_mode$ac_tag in
20932 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20933 :[FH
]-) ac_tag
=-:-;;
20934 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20951 -) ac_f
="$ac_tmp/stdin";;
20952 *) # Look for the file first in the build tree, then in the source tree
20953 # (if the path is not absolute). The absolute path cannot be DOS-style,
20954 # because $ac_f cannot contain `:'.
20958 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20960 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20962 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20963 as_fn_append ac_file_inputs
" '$ac_f'"
20966 # Let's still pretend it is `configure' which instantiates (i.e., don't
20967 # use $as_me), people would be surprised to read:
20968 # /* config.h. Generated by config.status. */
20969 configure_input
='Generated from '`
20970 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20972 if test x
"$ac_file" != x-
; then
20973 configure_input
="$ac_file. $configure_input"
20974 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20975 $as_echo "$as_me: creating $ac_file" >&6;}
20977 # Neutralize special characters interpreted by sed in replacement strings.
20978 case $configure_input in #(
20979 *\
&* |
*\|
* |
*\\* )
20980 ac_sed_conf_input
=`$as_echo "$configure_input" |
20981 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20982 *) ac_sed_conf_input
=$configure_input;;
20986 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20987 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20992 ac_dir
=`$as_dirname -- "$ac_file" ||
20993 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20994 X"$ac_file" : 'X\(//\)[^/]' \| \
20995 X"$ac_file" : 'X\(//\)$' \| \
20996 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20997 $as_echo X"$ac_file" |
20998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21002 /^X\(\/\/\)[^/].*/{
21015 as_dir
="$ac_dir"; as_fn_mkdir_p
21019 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21021 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21022 # A ".." for each directory in $ac_dir_suffix.
21023 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21024 case $ac_top_builddir_sub in
21025 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21026 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21029 ac_abs_top_builddir
=$ac_pwd
21030 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21031 # for backward compatibility:
21032 ac_top_builddir
=$ac_top_build_prefix
21035 .
) # We are building in place.
21037 ac_top_srcdir
=$ac_top_builddir_sub
21038 ac_abs_top_srcdir
=$ac_pwd ;;
21039 [\\/]* | ?
:[\\/]* ) # Absolute name.
21040 ac_srcdir
=$srcdir$ac_dir_suffix;
21041 ac_top_srcdir
=$srcdir
21042 ac_abs_top_srcdir
=$srcdir ;;
21043 *) # Relative name.
21044 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21045 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21046 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21048 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21058 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21059 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21061 ac_MKDIR_P
=$MKDIR_P
21063 [\\/$
]* | ?
:[\\/]* ) ;;
21064 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21069 # If the template does not know about datarootdir, expand it.
21070 # FIXME: This hack should be removed a few years after 2.60.
21071 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21082 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21083 *datarootdir
*) ac_datarootdir_seen
=yes;;
21084 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21086 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21089 ac_datarootdir_hack='
21090 s&@datadir@&$datadir&g
21091 s&@docdir@&$docdir&g
21092 s&@infodir@&$infodir&g
21093 s&@localedir@&$localedir&g
21094 s&@mandir@&$mandir&g
21095 s&\\\${datarootdir}&$datarootdir&g' ;;
21099 # Neutralize VPATH when `$srcdir' = `.'.
21100 # Shell code in configure.ac might set extrasub.
21101 # FIXME: do we really want to maintain this feature?
21102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21103 ac_sed_extra="$ac_vpsub
21106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21108 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21109 s|@configure_input@|
$ac_sed_conf_input|
;t t
21110 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21111 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21112 s
&@srcdir@
&$ac_srcdir&;t t
21113 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21114 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21115 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21116 s
&@builddir@
&$ac_builddir&;t t
21117 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21118 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21119 s
&@INSTALL@
&$ac_INSTALL&;t t
21120 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21121 $ac_datarootdir_hack
21123 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21124 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21126 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21127 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21128 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21129 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21131 which seems to be undefined. Please make sure it is defined" >&5
21132 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21133 which seems to be undefined. Please make sure it is defined" >&2;}
21135 rm -f "$ac_tmp/stdin"
21137 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21138 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21140 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21146 if test x"$ac_file" != x-; then
21148 $as_echo "/* $configure_input */" \
21149 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21150 } >"$ac_tmp/config.h" \
21151 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21152 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21154 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21157 mv "$ac_tmp/config.h" "$ac_file" \
21158 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21161 $as_echo "/* $configure_input */" \
21162 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21163 || as_fn_error $? "could not create -" "$LINENO" 5
21165 # Compute "$ac_file"'s index
in $config_headers.
21168 for _am_header
in $config_headers :; do
21169 case $_am_header in
21170 $_am_arg |
$_am_arg:* )
21173 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21176 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21177 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21178 X"$_am_arg" : 'X\(//\)[^/]' \| \
21179 X"$_am_arg" : 'X\(//\)$' \| \
21180 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21181 $as_echo X"$_am_arg" |
21182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21186 /^X\(\/\/\)[^/].*/{
21198 s/.*/./; q'`/stamp-h
$_am_stamp_count
21201 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21202 $as_echo "$as_me: executing $ac_file commands" >&6;}
21207 case $ac_file$ac_mode in
21208 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21209 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21210 # are listed without --file. Let's play safe and only enable the eval
21211 # if we detect the quoting.
21212 case $CONFIG_FILES in
21213 *\'*) eval set x
"$CONFIG_FILES" ;;
21214 *) set x
$CONFIG_FILES ;;
21219 # Strip MF so we end up with the name of the file.
21220 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21221 # Check whether this is an Automake generated Makefile or not.
21222 # We used to match only the files named `Makefile.in', but
21223 # some people rename them; so instead we look at the file content.
21224 # Grep'ing the first line is not enough: some people post-process
21225 # each Makefile.in and add a new line on top of each file to say so.
21226 # Grep'ing the whole file is not good either: AIX grep has a line
21227 # limit of 2048, but all sed's we know have understand at least 4000.
21228 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21229 dirpart
=`$as_dirname -- "$mf" ||
21230 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21231 X"$mf" : 'X\(//\)[^/]' \| \
21232 X"$mf" : 'X\(//\)$' \| \
21233 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21239 /^X\(\/\/\)[^/].*/{
21255 # Extract the definition of DEPDIR, am__include, and am__quote
21256 # from the Makefile without running `make'.
21257 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21258 test -z "$DEPDIR" && continue
21259 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21260 test -z "am__include" && continue
21261 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21262 # When using ansi2knr, U may be empty or an underscore; expand it
21263 U
=`sed -n 's/^U = //p' < "$mf"`
21264 # Find all dependency output files, they are included files with
21265 # $(DEPDIR) in their names. We invoke sed twice because it is the
21266 # simplest approach to changing $(DEPDIR) to its actual value in the
21268 for file in `sed -n "
21269 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21270 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21271 # Make sure the directory exists.
21272 test -f "$dirpart/$file" && continue
21273 fdir
=`$as_dirname -- "$file" ||
21274 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21275 X"$file" : 'X\(//\)[^/]' \| \
21276 X"$file" : 'X\(//\)$' \| \
21277 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21278 $as_echo X"$file" |
21279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21283 /^X\(\/\/\)[^/].*/{
21296 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21297 # echo "creating $dirpart/$file"
21298 echo '# dummy' > "$dirpart/$file"
21305 # See if we are running on zsh, and set the options which allow our
21306 # commands through without removal of \ escapes.
21307 if test -n "${ZSH_VERSION+set}" ; then
21308 setopt NO_GLOB_SUBST
21311 cfgfile
="${ofile}T"
21312 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21315 cat <<_LT_EOF >> "$cfgfile"
21318 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21319 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21320 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21321 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21323 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21324 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21326 # Written by Gordon Matzigkeit, 1996
21328 # This file is part of GNU Libtool.
21330 # GNU Libtool is free software; you can redistribute it and/or
21331 # modify it under the terms of the GNU General Public License as
21332 # published by the Free Software Foundation; either version 2 of
21333 # the License, or (at your option) any later version.
21335 # As a special exception to the GNU General Public License,
21336 # if you distribute this file as part of a program or library that
21337 # is built using GNU Libtool, you may include this file under the
21338 # same distribution terms that you use for the rest of that program.
21340 # GNU Libtool is distributed in the hope that it will be useful,
21341 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21342 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21343 # GNU General Public License for more details.
21345 # You should have received a copy of the GNU General Public License
21346 # along with GNU Libtool; see the file COPYING. If not, a copy
21347 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21348 # obtained by writing to the Free Software Foundation, Inc.,
21349 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21352 # The names of the tagged configurations supported by this script.
21353 available_tags="CXX "
21355 # ### BEGIN LIBTOOL CONFIG
21357 # Which release of libtool.m4 was used?
21358 macro_version=$macro_version
21359 macro_revision=$macro_revision
21361 # Whether or not to build shared libraries.
21362 build_libtool_libs=$enable_shared
21364 # Whether or not to build static libraries.
21365 build_old_libs=$enable_static
21367 # What type of objects to build.
21370 # Whether or not to optimize for fast installation.
21371 fast_install=$enable_fast_install
21373 # Shell to use when invoking shell scripts.
21376 # An echo program that protects backslashes.
21379 # The PATH separator for the build system.
21380 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21383 host_alias=$host_alias
21387 # The build system.
21388 build_alias=$build_alias
21392 # A sed program that does not truncate output.
21395 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21396 Xsed="\$SED -e 1s/^X//"
21398 # A grep program that handles long lines.
21404 # A literal string matcher.
21407 # A BSD- or MS-compatible name lister.
21410 # Whether we need soft or hard links.
21413 # What is the maximum length of a command?
21414 max_cmd_len=$max_cmd_len
21416 # Object file suffix (normally "o").
21419 # Executable file suffix (normally "").
21422 # whether the shell understands "unset".
21425 # turn spaces into newlines.
21428 # turn newlines into spaces.
21431 # convert \$build file names to \$host format.
21432 to_host_file_cmd=$lt_cv_to_host_file_cmd
21434 # convert \$build files to toolchain format.
21435 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21437 # An object symbol dumper.
21438 OBJDUMP=$lt_OBJDUMP
21440 # Method to check whether dependent libraries are shared objects.
21441 deplibs_check_method=$lt_deplibs_check_method
21443 # Command to use when deplibs_check_method = "file_magic".
21444 file_magic_cmd=$lt_file_magic_cmd
21446 # How to find potential files when deplibs_check_method = "file_magic".
21447 file_magic_glob=$lt_file_magic_glob
21449 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21450 want_nocaseglob=$lt_want_nocaseglob
21452 # DLL creation program.
21453 DLLTOOL=$lt_DLLTOOL
21455 # Command to associate shared and link libraries.
21456 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21461 # Flags to create an archive.
21462 AR_FLAGS=$lt_AR_FLAGS
21464 # How to feed a file listing to the archiver.
21465 archiver_list_spec=$lt_archiver_list_spec
21467 # A symbol stripping program.
21470 # Commands used to install an old-style archive.
21472 old_postinstall_cmds=$lt_old_postinstall_cmds
21473 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21475 # Whether to use a lock for old archive extraction.
21476 lock_old_archive_extraction=$lock_old_archive_extraction
21481 # LTCC compiler flags.
21482 LTCFLAGS=$lt_CFLAGS
21484 # Take the output of nm and produce a listing of raw symbols and C names.
21485 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21487 # Transform the output of nm in a proper C declaration.
21488 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21490 # Transform the output of nm in a C name address pair.
21491 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21493 # Transform the output of nm in a C name address pair when lib prefix is needed.
21494 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21496 # Specify filename containing input files for \$NM.
21497 nm_file_list_spec=$lt_nm_file_list_spec
21499 # The root where to search for dependent libraries,and in which our libraries should be installed.
21500 lt_sysroot=$lt_sysroot
21502 # The name of the directory that contains temporary libtool files.
21505 # Used to examine libraries when file_magic_cmd begins with "file".
21506 MAGIC_CMD=$MAGIC_CMD
21508 # Must we lock files when doing compilation?
21509 need_locks=$lt_need_locks
21512 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21514 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21515 DSYMUTIL=$lt_DSYMUTIL
21517 # Tool to change global to local symbols on Mac OS X.
21520 # Tool to manipulate fat objects and archives on Mac OS X.
21523 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21526 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21527 OTOOL64=$lt_OTOOL64
21529 # Old archive suffix (normally "a").
21532 # Shared library suffix (normally ".so").
21533 shrext_cmds=$lt_shrext_cmds
21535 # The commands to extract the exported symbol list from a shared archive.
21536 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21538 # Variables whose values should be saved in libtool wrapper scripts and
21539 # restored at link time.
21540 variables_saved_for_relink=$lt_variables_saved_for_relink
21542 # Do we need the "lib" prefix for modules?
21543 need_lib_prefix=$need_lib_prefix
21545 # Do we need a version for libraries?
21546 need_version=$need_version
21548 # Library versioning type.
21549 version_type=$version_type
21551 # Shared library runtime path variable.
21552 runpath_var=$runpath_var
21554 # Shared library path variable.
21555 shlibpath_var=$shlibpath_var
21557 # Is shlibpath searched before the hard-coded library search path?
21558 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21560 # Format of library name prefix.
21561 libname_spec=$lt_libname_spec
21563 # List of archive names. First name is the real one, the rest are links.
21564 # The last name is the one that the linker finds with -lNAME
21565 library_names_spec=$lt_library_names_spec
21567 # The coded name of the library, if different from the real name.
21568 soname_spec=$lt_soname_spec
21570 # Permission mode override for installation of shared libraries.
21571 install_override_mode=$lt_install_override_mode
21573 # Command to use after installation of a shared archive.
21574 postinstall_cmds=$lt_postinstall_cmds
21576 # Command to use after uninstallation of a shared archive.
21577 postuninstall_cmds=$lt_postuninstall_cmds
21579 # Commands used to finish a libtool library installation in a directory.
21580 finish_cmds=$lt_finish_cmds
21582 # As "finish_cmds", except a single script fragment to be evaled but
21584 finish_eval=$lt_finish_eval
21586 # Whether we should hardcode library paths into libraries.
21587 hardcode_into_libs=$hardcode_into_libs
21589 # Compile-time system search path for libraries.
21590 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21592 # Run-time system search path for libraries.
21593 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21595 # Whether dlopen is supported.
21596 dlopen_support=$enable_dlopen
21598 # Whether dlopen of programs is supported.
21599 dlopen_self=$enable_dlopen_self
21601 # Whether dlopen of statically linked programs is supported.
21602 dlopen_self_static=$enable_dlopen_self_static
21604 # Commands to strip libraries.
21605 old_striplib=$lt_old_striplib
21606 striplib=$lt_striplib
21609 # The linker used to build libraries.
21612 # How to create reloadable object files.
21613 reload_flag=$lt_reload_flag
21614 reload_cmds=$lt_reload_cmds
21616 # Commands used to build an old-style archive.
21617 old_archive_cmds=$lt_old_archive_cmds
21619 # A language specific compiler.
21622 # Is the compiler the GNU compiler?
21625 # Compiler flag to turn off builtin functions.
21626 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21628 # Additional compiler flags for building library objects.
21629 pic_flag=$lt_lt_prog_compiler_pic
21631 # How to pass a linker flag through the compiler.
21632 wl=$lt_lt_prog_compiler_wl
21634 # Compiler flag to prevent dynamic linking.
21635 link_static_flag=$lt_lt_prog_compiler_static
21637 # Does compiler simultaneously support -c and -o options?
21638 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21640 # Whether or not to add -lc for building shared libraries.
21641 build_libtool_need_lc=$archive_cmds_need_lc
21643 # Whether or not to disallow shared libs when runtime libs are static.
21644 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21646 # Compiler flag to allow reflexive dlopens.
21647 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21649 # Compiler flag to generate shared objects directly from archives.
21650 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21652 # Whether the compiler copes with passing no objects directly.
21653 compiler_needs_object=$lt_compiler_needs_object
21655 # Create an old-style archive from a shared archive.
21656 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21658 # Create a temporary old-style archive to link instead of a shared archive.
21659 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21661 # Commands used to build a shared archive.
21662 archive_cmds=$lt_archive_cmds
21663 archive_expsym_cmds=$lt_archive_expsym_cmds
21665 # Commands used to build a loadable module if different from building
21666 # a shared archive.
21667 module_cmds=$lt_module_cmds
21668 module_expsym_cmds=$lt_module_expsym_cmds
21670 # Whether we are building with GNU ld or not.
21671 with_gnu_ld=$lt_with_gnu_ld
21673 # Flag that allows shared libraries with undefined symbols to be built.
21674 allow_undefined_flag=$lt_allow_undefined_flag
21676 # Flag that enforces no undefined symbols.
21677 no_undefined_flag=$lt_no_undefined_flag
21679 # Flag to hardcode \$libdir into a binary during linking.
21680 # This must work even if \$libdir does not exist
21681 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21683 # Whether we need a single "-rpath" flag with a separated argument.
21684 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21686 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21687 # DIR into the resulting binary.
21688 hardcode_direct=$hardcode_direct
21690 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21691 # DIR into the resulting binary and the resulting library dependency is
21692 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21693 # library is relocated.
21694 hardcode_direct_absolute=$hardcode_direct_absolute
21696 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21697 # into the resulting binary.
21698 hardcode_minus_L=$hardcode_minus_L
21700 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21701 # into the resulting binary.
21702 hardcode_shlibpath_var=$hardcode_shlibpath_var
21704 # Set to "yes" if building a shared library automatically hardcodes DIR
21705 # into the library and all subsequent libraries and executables linked
21707 hardcode_automatic=$hardcode_automatic
21709 # Set to yes if linker adds runtime paths of dependent libraries
21710 # to runtime path list.
21711 inherit_rpath=$inherit_rpath
21713 # Whether libtool must link a program against all its dependency libraries.
21714 link_all_deplibs=$link_all_deplibs
21716 # Set to "yes" if exported symbols are required.
21717 always_export_symbols=$always_export_symbols
21719 # The commands to list exported symbols.
21720 export_symbols_cmds=$lt_export_symbols_cmds
21722 # Symbols that should not be listed in the preloaded symbols.
21723 exclude_expsyms=$lt_exclude_expsyms
21725 # Symbols that must always be exported.
21726 include_expsyms=$lt_include_expsyms
21728 # Commands necessary for linking programs (against libraries) with templates.
21729 prelink_cmds=$lt_prelink_cmds
21731 # Commands necessary for finishing linking programs.
21732 postlink_cmds=$lt_postlink_cmds
21734 # Specify filename containing input files.
21735 file_list_spec=$lt_file_list_spec
21737 # How to hardcode a shared library path into an executable.
21738 hardcode_action=$hardcode_action
21740 # The directories searched by this compiler when creating a shared library.
21741 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21743 # Dependencies to place before and after the objects being linked to
21744 # create a shared library.
21745 predep_objects=$lt_predep_objects
21746 postdep_objects=$lt_postdep_objects
21747 predeps=$lt_predeps
21748 postdeps=$lt_postdeps
21750 # The library search path used internally by the compiler when linking
21751 # a shared library.
21752 compiler_lib_search_path=$lt_compiler_lib_search_path
21754 # ### END LIBTOOL CONFIG
21760 cat <<\_LT_EOF
>> "$cfgfile"
21761 # AIX sometimes has problems with the GCC collect2 program. For some
21762 # reason, if we set the COLLECT_NAMES environment variable, the problems
21763 # vanish in a puff of smoke.
21764 if test "X${COLLECT_NAMES+set}" != Xset
; then
21766 export COLLECT_NAMES
21773 ltmain
="$ac_aux_dir/ltmain.sh"
21776 # We use sed instead of cat because bash on DJGPP gets confused if
21777 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21778 # text mode, it properly converts lines to CR/LF. This bash problem
21779 # is reportedly fixed, but why not run on old versions too?
21780 sed '$q' "$ltmain" >> "$cfgfile" \
21781 ||
(rm -f "$cfgfile"; exit 1)
21783 if test x
"$xsi_shell" = xyes
; then
21784 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21788 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21789 \ * ) func_dirname_result="${3}" ;;\
21791 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21792 && mv -f "$cfgfile.tmp" "$cfgfile" \
21793 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21794 test 0 -eq $? || _lt_function_replace_fail
=:
21797 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21800 \ func_basename_result="${1##*/}"\
21801 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21802 && mv -f "$cfgfile.tmp" "$cfgfile" \
21803 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21804 test 0 -eq $? || _lt_function_replace_fail
=:
21807 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21808 func_dirname_and_basename ()\
21811 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21812 \ * ) func_dirname_result="${3}" ;;\
21814 \ func_basename_result="${1##*/}"\
21815 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21816 && mv -f "$cfgfile.tmp" "$cfgfile" \
21817 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21818 test 0 -eq $? || _lt_function_replace_fail
=:
21821 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21824 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21825 \ # positional parameters, so assign one to ordinary parameter first.\
21826 \ func_stripname_result=${3}\
21827 \ func_stripname_result=${func_stripname_result#"${1}"}\
21828 \ func_stripname_result=${func_stripname_result%"${2}"}\
21829 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21830 && mv -f "$cfgfile.tmp" "$cfgfile" \
21831 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21832 test 0 -eq $? || _lt_function_replace_fail
=:
21835 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21836 func_split_long_opt ()\
21838 \ func_split_long_opt_name=${1%%=*}\
21839 \ func_split_long_opt_arg=${1#*=}\
21840 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21841 && mv -f "$cfgfile.tmp" "$cfgfile" \
21842 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21843 test 0 -eq $? || _lt_function_replace_fail
=:
21846 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21847 func_split_short_opt ()\
21849 \ func_split_short_opt_arg=${1#??}\
21850 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21851 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21852 && mv -f "$cfgfile.tmp" "$cfgfile" \
21853 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21854 test 0 -eq $? || _lt_function_replace_fail
=:
21857 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21861 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21862 \ *) func_lo2o_result=${1} ;;\
21864 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21865 && mv -f "$cfgfile.tmp" "$cfgfile" \
21866 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21867 test 0 -eq $? || _lt_function_replace_fail
=:
21870 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21873 func_xform_result=${1%.*}.lo\
21874 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21875 && mv -f "$cfgfile.tmp" "$cfgfile" \
21876 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21877 test 0 -eq $? || _lt_function_replace_fail
=:
21880 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21883 func_arith_result=$(( $* ))\
21884 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21885 && mv -f "$cfgfile.tmp" "$cfgfile" \
21886 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21887 test 0 -eq $? || _lt_function_replace_fail
=:
21890 sed -e '/^func_len ()$/,/^} # func_len /c\
21893 func_len_result=${#1}\
21894 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21895 && mv -f "$cfgfile.tmp" "$cfgfile" \
21896 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21897 test 0 -eq $? || _lt_function_replace_fail
=:
21901 if test x
"$lt_shell_append" = xyes
; then
21902 sed -e '/^func_append ()$/,/^} # func_append /c\
21905 eval "${1}+=\\${2}"\
21906 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21907 && mv -f "$cfgfile.tmp" "$cfgfile" \
21908 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21909 test 0 -eq $? || _lt_function_replace_fail
=:
21912 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21913 func_append_quoted ()\
21915 \ func_quote_for_eval "${2}"\
21916 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21917 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21918 && mv -f "$cfgfile.tmp" "$cfgfile" \
21919 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21920 test 0 -eq $? || _lt_function_replace_fail
=:
21923 # Save a `func_append' function call where possible by direct use of '+='
21924 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21925 && mv -f "$cfgfile.tmp" "$cfgfile" \
21926 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21927 test 0 -eq $? || _lt_function_replace_fail
=:
21929 # Save a `func_append' function call even when '+=' is not available
21930 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21931 && mv -f "$cfgfile.tmp" "$cfgfile" \
21932 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21933 test 0 -eq $? || _lt_function_replace_fail
=:
21936 if test x
"$_lt_function_replace_fail" = x
":"; then
21937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21938 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21942 mv -f "$cfgfile" "$ofile" ||
21943 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21947 cat <<_LT_EOF >> "$ofile"
21949 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21951 # The linker used to build libraries.
21954 # How to create reloadable object files.
21955 reload_flag=$lt_reload_flag_CXX
21956 reload_cmds=$lt_reload_cmds_CXX
21958 # Commands used to build an old-style archive.
21959 old_archive_cmds=$lt_old_archive_cmds_CXX
21961 # A language specific compiler.
21962 CC=$lt_compiler_CXX
21964 # Is the compiler the GNU compiler?
21967 # Compiler flag to turn off builtin functions.
21968 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21970 # Additional compiler flags for building library objects.
21971 pic_flag=$lt_lt_prog_compiler_pic_CXX
21973 # How to pass a linker flag through the compiler.
21974 wl=$lt_lt_prog_compiler_wl_CXX
21976 # Compiler flag to prevent dynamic linking.
21977 link_static_flag=$lt_lt_prog_compiler_static_CXX
21979 # Does compiler simultaneously support -c and -o options?
21980 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21982 # Whether or not to add -lc for building shared libraries.
21983 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21985 # Whether or not to disallow shared libs when runtime libs are static.
21986 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21988 # Compiler flag to allow reflexive dlopens.
21989 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21991 # Compiler flag to generate shared objects directly from archives.
21992 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21994 # Whether the compiler copes with passing no objects directly.
21995 compiler_needs_object=$lt_compiler_needs_object_CXX
21997 # Create an old-style archive from a shared archive.
21998 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22000 # Create a temporary old-style archive to link instead of a shared archive.
22001 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22003 # Commands used to build a shared archive.
22004 archive_cmds=$lt_archive_cmds_CXX
22005 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22007 # Commands used to build a loadable module if different from building
22008 # a shared archive.
22009 module_cmds=$lt_module_cmds_CXX
22010 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22012 # Whether we are building with GNU ld or not.
22013 with_gnu_ld=$lt_with_gnu_ld_CXX
22015 # Flag that allows shared libraries with undefined symbols to be built.
22016 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22018 # Flag that enforces no undefined symbols.
22019 no_undefined_flag=$lt_no_undefined_flag_CXX
22021 # Flag to hardcode \$libdir into a binary during linking.
22022 # This must work even if \$libdir does not exist
22023 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22025 # Whether we need a single "-rpath" flag with a separated argument.
22026 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22028 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22029 # DIR into the resulting binary.
22030 hardcode_direct=$hardcode_direct_CXX
22032 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22033 # DIR into the resulting binary and the resulting library dependency is
22034 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22035 # library is relocated.
22036 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22038 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22039 # into the resulting binary.
22040 hardcode_minus_L=$hardcode_minus_L_CXX
22042 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22043 # into the resulting binary.
22044 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22046 # Set to "yes" if building a shared library automatically hardcodes DIR
22047 # into the library and all subsequent libraries and executables linked
22049 hardcode_automatic=$hardcode_automatic_CXX
22051 # Set to yes if linker adds runtime paths of dependent libraries
22052 # to runtime path list.
22053 inherit_rpath=$inherit_rpath_CXX
22055 # Whether libtool must link a program against all its dependency libraries.
22056 link_all_deplibs=$link_all_deplibs_CXX
22058 # Set to "yes" if exported symbols are required.
22059 always_export_symbols=$always_export_symbols_CXX
22061 # The commands to list exported symbols.
22062 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22064 # Symbols that should not be listed in the preloaded symbols.
22065 exclude_expsyms=$lt_exclude_expsyms_CXX
22067 # Symbols that must always be exported.
22068 include_expsyms=$lt_include_expsyms_CXX
22070 # Commands necessary for linking programs (against libraries) with templates.
22071 prelink_cmds=$lt_prelink_cmds_CXX
22073 # Commands necessary for finishing linking programs.
22074 postlink_cmds=$lt_postlink_cmds_CXX
22076 # Specify filename containing input files.
22077 file_list_spec=$lt_file_list_spec_CXX
22079 # How to hardcode a shared library path into an executable.
22080 hardcode_action=$hardcode_action_CXX
22082 # The directories searched by this compiler when creating a shared library.
22083 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22085 # Dependencies to place before and after the objects being linked to
22086 # create a shared library.
22087 predep_objects=$lt_predep_objects_CXX
22088 postdep_objects=$lt_postdep_objects_CXX
22089 predeps=$lt_predeps_CXX
22090 postdeps=$lt_postdeps_CXX
22092 # The library search path used internally by the compiler when linking
22093 # a shared library.
22094 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22096 # ### END LIBTOOL TAG CONFIG: CXX
22100 "ac_config.h":C
) sed s
/PACKAGE
/TANGO_PACKAGE
/g
<ac_config.h.tmp
>ac_config.h
;;
22108 ac_clean_files
=$ac_clean_files_save
22110 test $ac_write_fail = 0 ||
22111 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22114 # configure is writing to config.log, and then calls config.status.
22115 # config.status does its own redirection, appending to config.log.
22116 # Unfortunately, on DOS this fails, as config.log is still kept open
22117 # by configure, so config.status won't be able to write to it; its
22118 # output is simply discarded. So we exec the FD to /dev/null,
22119 # effectively closing config.log, so it can be properly (re)opened and
22120 # appended to by config.status. When coming back to configure, we
22121 # need to make the FD available again.
22122 if test "$no_create" != yes; then
22124 ac_config_status_args
=
22125 test "$silent" = yes &&
22126 ac_config_status_args
="$ac_config_status_args --quiet"
22128 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22130 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22131 # would make configure fail if this is the last instruction.
22132 $ac_cs_success || as_fn_exit
1
22136 # CONFIG_SUBDIRS section.
22138 if test "$no_recursion" != yes; then
22140 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
22141 # so they do not pile up.
22142 ac_sub_configure_args
=
22144 eval "set x $ac_configure_args"
22148 if test -n "$ac_prev"; then
22153 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
22154 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
22155 ac_prev
=cache_file
;;
22156 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
22157 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
22160 --config-cache |
-C)
22162 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
22164 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
22166 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
22168 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
22170 --disable-option-checking)
22174 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22176 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
22180 # Always prepend --prefix to ensure using the same prefix
22181 # in subdir configurations.
22182 ac_arg
="--prefix=$prefix"
22184 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22186 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
22189 if test "$silent" = yes; then
22190 ac_sub_configure_args
="--silent $ac_sub_configure_args"
22193 # Always prepend --disable-option-checking to silence warnings, since
22194 # different subdirs can have different --enable and --with options.
22195 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
22198 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
22200 # Do not complain, so a configure script can configure whichever
22201 # parts of a large source tree are present.
22202 test -d "$srcdir/$ac_dir" ||
continue
22204 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22205 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
22206 $as_echo "$ac_msg" >&6
22207 as_dir
="$ac_dir"; as_fn_mkdir_p
22211 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22213 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22214 # A ".." for each directory in $ac_dir_suffix.
22215 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22216 case $ac_top_builddir_sub in
22217 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22218 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22221 ac_abs_top_builddir
=$ac_pwd
22222 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22223 # for backward compatibility:
22224 ac_top_builddir
=$ac_top_build_prefix
22227 .
) # We are building in place.
22229 ac_top_srcdir
=$ac_top_builddir_sub
22230 ac_abs_top_srcdir
=$ac_pwd ;;
22231 [\\/]* | ?
:[\\/]* ) # Absolute name.
22232 ac_srcdir
=$srcdir$ac_dir_suffix;
22233 ac_top_srcdir
=$srcdir
22234 ac_abs_top_srcdir
=$srcdir ;;
22235 *) # Relative name.
22236 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22237 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22238 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22240 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22245 # Check for guested configure; otherwise get Cygnus style configure.
22246 if test -f "$ac_srcdir/configure.gnu"; then
22247 ac_sub_configure
=$ac_srcdir/configure.gnu
22248 elif test -f "$ac_srcdir/configure"; then
22249 ac_sub_configure
=$ac_srcdir/configure
22250 elif test -f "$ac_srcdir/configure.in"; then
22251 # This should be Cygnus configure.
22252 ac_sub_configure
=$ac_aux_dir/configure
22254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
22255 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22259 # The recursion is here.
22260 if test -n "$ac_sub_configure"; then
22261 # Make the cache file name correct relative to the subdirectory.
22262 case $cache_file in
22263 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
22264 *) # Relative name.
22265 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
22268 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
22269 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22270 # The eval makes quoting arguments work.
22271 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22272 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22273 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
22279 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22281 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22286 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
22287 Configuration ($PACKAGE):
22289 Source code location: ${srcdir}
22290 Version: ${VERSION}
22291 Compiler: ${ac_ct_CC},${ac_ct_CXX}
22293 OMNIORB PATH: ${OMNI_ROOT}
22294 OMNIORB VERSION: ${OMNI_VERSION}
22296 ZMQ PATH: ${ZMQ_ROOT}
22297 ZMQ VERSION: ${ZMQ_VERSION}
22299 JAVA PATH: ${with_java}
22300 JAVA VERSION: ${JAVA_VERSION}
22302 ${DB_NAME} CLIENT LIB: ${DB_LDFLAGS} ${DB_LDLIBS}
22303 ${DB_NAME} VERSION: ${DB_VERSION}
22304 ${DB_NAME} CONNECTION: ${MYSQL_CONNECTION}
22307 libraries: ${enable_lib}
22308 java application: ${enable_java}
22309 access control server: ${enable_dbserver}
22310 database server: ${enable_dbserver}
22311 database schema create: ${enable_db_schema_create}
22313 Please check whether the configuration I detected matches what you
22314 would like to have.
22318 Configuration ($PACKAGE):
22320 Source code location: ${srcdir}
22321 Version: ${VERSION}
22322 Compiler: ${ac_ct_CC},${ac_ct_CXX}
22324 OMNIORB PATH: ${OMNI_ROOT}
22325 OMNIORB VERSION: ${OMNI_VERSION}
22327 ZMQ PATH: ${ZMQ_ROOT}
22328 ZMQ VERSION: ${ZMQ_VERSION}
22330 JAVA PATH: ${with_java}
22331 JAVA VERSION: ${JAVA_VERSION}
22333 ${DB_NAME} CLIENT LIB: ${DB_LDFLAGS} ${DB_LDLIBS}
22334 ${DB_NAME} VERSION: ${DB_VERSION}
22335 ${DB_NAME} CONNECTION: ${MYSQL_CONNECTION}
22338 libraries: ${enable_lib}
22339 java application: ${enable_java}
22340 access control server: ${enable_dbserver}
22341 database server: ${enable_dbserver}
22342 database schema create: ${enable_db_schema_create}
22344 Please check whether the configuration I detected matches what you
22345 would like to have.