2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for lightdm 1.4.0.
6
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## -------------------- ##
12
## M4sh Initialization. ##
13
## -------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in #(
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
42
# but without wasting forks for bash or zsh.
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
44
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46
as_echo_n='print -rn --'
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
as_echo_n='/usr/ucb/echo -n'
55
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
expr "X$arg" : "X\\(.*\\)$as_nl";
61
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
as_echo_n='sh -c $as_echo_n_body as_echo'
69
as_echo='sh -c $as_echo_body as_echo'
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
75
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83
# We need space, tab and new line, in precisely that order. Quoting is
84
# there to prevent editors from complaining about space-tab.
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86
# splitting by setting IFS to empty value.)
89
# Find who we are. Look in the path if we contain no directory separator.
92
*[\\/]* ) as_myself=$0 ;;
93
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97
test -z "$as_dir" && as_dir=.
98
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104
# We did not find ourselves, most probably we were run as `sh COMMAND'
105
# in which case we are not to be found in the path.
106
if test "x$as_myself" = x; then
109
if test ! -f "$as_myself"; then
110
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114
# Unset variables that we do not need and which cause bugs (e.g. in
115
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116
# suppresses any "Segmentation fault" message there. '((' could
117
# trigger a bug in pdksh 5.2.14.
118
for as_var in BASH_ENV ENV MAIL MAILPATH
119
do eval test x\${$as_var+set} = xset \
120
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
# Use a proper internal environment variable to ensure we don't fall
136
# into an infinite loop, continuously re-executing ourselves.
137
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138
_as_can_reexec=no; export _as_can_reexec;
139
# We cannot yet assume a decent shell, so we have to provide a
140
# neutralization value for shells without unset; and this also
141
# works around shells that cannot unset nonexistent variables.
142
# Preserve -v and -x to the replacement shell.
145
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147
*v*x* | *x*v* ) as_opts=-vx ;;
152
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153
# Admittedly, this is quite paranoid, since all the known shells bail
154
# out after a failed `exec'.
155
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158
# We don't want this to propagate to other subprocesses.
159
{ _as_can_reexec=; unset _as_can_reexec;}
160
if test "x$CONFIG_SHELL" = x; then
161
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165
# is contrary to our usage. Disable this feature.
166
alias -g '\${1+\"\$@\"}'='\"\$@\"'
169
case \`(set -o) 2>/dev/null\` in #(
177
as_required="as_fn_return () { (exit \$1); }
178
as_fn_success () { as_fn_return 0; }
179
as_fn_failure () { as_fn_return 1; }
180
as_fn_ret_success () { return 0; }
181
as_fn_ret_failure () { return 1; }
184
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
exitcode=1; echo positional parameters were not saved.
193
test x\$exitcode = x0 || exit 1
195
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204
PATH=/empty FPATH=/empty; export PATH FPATH
205
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207
test \$(( 1 + 1 )) = 2 || exit 1"
208
if (eval "$as_required") 2>/dev/null; then :
213
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221
test -z "$as_dir" && as_dir=.
225
for as_base in sh bash ksh sh5; do
226
# Try only shells that exist, to save several forks.
227
as_shell=$as_dir/$as_base
228
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230
CONFIG_SHELL=$as_shell as_have_required=yes
231
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
239
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241
CONFIG_SHELL=$SHELL as_have_required=yes
246
if test "x$CONFIG_SHELL" != x; then :
248
# We cannot yet assume a decent shell, so we have to provide a
249
# neutralization value for shells without unset; and this also
250
# works around shells that cannot unset nonexistent variables.
251
# Preserve -v and -x to the replacement shell.
254
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256
*v*x* | *x*v* ) as_opts=-vx ;;
261
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262
# Admittedly, this is quite paranoid, since all the known shells bail
263
# out after a failed `exec'.
264
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268
if test x$as_have_required = xno; then :
269
$as_echo "$0: This script requires a shell more modern than all"
270
$as_echo "$0: the shells that I found on your system."
271
if test x${ZSH_VERSION+set} = xset ; then
272
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
275
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276
$0: including any error possibly output before this
277
$0: message. Then install a modern shell, or manually run
278
$0: the script under such a shell if you do have one."
284
SHELL=${CONFIG_SHELL-/bin/sh}
286
# Unset more variables known to interfere with behavior of common tools.
287
CLICOLOR_FORCE= GREP_OPTIONS=
288
unset CLICOLOR_FORCE GREP_OPTIONS
290
## --------------------- ##
291
## M4sh Shell Functions. ##
292
## --------------------- ##
295
# Portably unset VAR.
298
{ eval $1=; unset $1;}
302
# as_fn_set_status STATUS
303
# -----------------------
304
# Set $? to STATUS, without forking.
312
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322
# Create "$as_dir" as a directory, including parents if necessary.
327
-*) as_dir=./$as_dir;;
329
test -d "$as_dir" || eval $as_mkdir_p || {
333
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336
as_dirs="'$as_qdir' $as_dirs"
337
as_dir=`$as_dirname -- "$as_dir" ||
338
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339
X"$as_dir" : 'X\(//\)[^/]' \| \
340
X"$as_dir" : 'X\(//\)$' \| \
341
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342
$as_echo X"$as_dir" |
343
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360
test -d "$as_dir" && break
362
test -z "$as_dirs" || eval "mkdir $as_dirs"
363
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
# as_fn_executable_p FILE
369
# -----------------------
370
# Test if FILE is an executable regular file.
371
as_fn_executable_p ()
373
test -f "$1" && test -x "$1"
374
} # as_fn_executable_p
375
# as_fn_append VAR VALUE
376
# ----------------------
377
# Append the text in VALUE to the end of the definition contained in VAR. Take
378
# advantage of any shell optimizations that allow amortized linear growth over
379
# repeated appends, instead of the typical quadratic growth present in naive
381
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382
eval 'as_fn_append ()
395
# Perform arithmetic evaluation on the ARGs, and store the result in the
396
# global $as_val. Take advantage of shells that can avoid forks. The arguments
397
# must be portable across $(()) and expr.
398
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406
as_val=`expr "$@" || test $? -eq 1`
411
# as_fn_error STATUS ERROR [LINENO LOG_FD]
412
# ----------------------------------------
413
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415
# script with STATUS, using 1 if that was 0.
418
as_status=$1; test $as_status -eq 0 && as_status=1
420
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423
$as_echo "$as_me: error: $2" >&2
424
as_fn_exit $as_status
427
if expr a : '\(a\)' >/dev/null 2>&1 &&
428
test "X`expr 00001 : '.*\(...\)'`" = X001; then
434
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446
as_me=`$as_basename -- "$0" ||
447
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448
X"$0" : 'X\(//\)$' \| \
449
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451
sed '/^.*\/\([^/][^/]*\)\/*$/{
465
# Avoid depending upon Character Ranges.
466
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469
as_cr_digits='0123456789'
470
as_cr_alnum=$as_cr_Letters$as_cr_digits
473
as_lineno_1=$LINENO as_lineno_1a=$LINENO
474
as_lineno_2=$LINENO as_lineno_2a=$LINENO
475
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493
chmod +x "$as_me.lineno" ||
494
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497
# already done that, so ensure we don't try to do so again and fall
498
# in an infinite loop. This has already happened in practice.
499
_as_can_reexec=no; export _as_can_reexec
500
# Don't try to exec as it changes $[0], causing all sort of problems
501
# (the dirname of $[0] is not the place where we might find the
502
# original and so on. Autoconf is especially sensitive to this).
504
# Exit status is that of the last command.
508
ECHO_C= ECHO_N= ECHO_T=
509
case `echo -n x` in #(((((
511
case `echo 'xy\c'` in
512
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
514
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
521
rm -f conf$$ conf$$.exe conf$$.file
522
if test -d conf$$.dir; then
523
rm -f conf$$.dir/conf$$.file
526
mkdir conf$$.dir 2>/dev/null
528
if (echo >conf$$.file) 2>/dev/null; then
529
if ln -s conf$$.file conf$$ 2>/dev/null; then
531
# ... but there are two gotchas:
532
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534
# In both cases, we have to default to `cp -pR'.
535
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
537
elif ln conf$$.file conf$$ 2>/dev/null; then
545
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546
rmdir conf$$.dir 2>/dev/null
548
if mkdir -p . 2>/dev/null; then
549
as_mkdir_p='mkdir -p "$as_dir"'
551
test -d ./-p && rmdir ./-p
556
as_executable_p=as_fn_executable_p
558
# Sed expression to map a string onto a valid CPP name.
559
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561
# Sed expression to map a string onto a valid variable name.
562
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564
SHELL=${CONFIG_SHELL-/bin/sh}
567
test -n "$DJDIR" || exec 7<&0 </dev/null
571
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572
# so uname gets run too.
573
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
ac_default_prefix=/usr/local
580
ac_config_libobj_dir=.
587
# Identity of this package.
588
PACKAGE_NAME='lightdm'
589
PACKAGE_TARNAME='lightdm'
590
PACKAGE_VERSION='1.4.0'
591
PACKAGE_STRING='lightdm 1.4.0'
595
# Factoring default headers for most tests.
596
ac_includes_default="\
598
#ifdef HAVE_SYS_TYPES_H
599
# include <sys/types.h>
601
#ifdef HAVE_SYS_STAT_H
602
# include <sys/stat.h>
608
# ifdef HAVE_STDLIB_H
613
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618
#ifdef HAVE_STRINGS_H
619
# include <strings.h>
621
#ifdef HAVE_INTTYPES_H
622
# include <inttypes.h>
631
ac_subst_vars='am__EXEEXT_FALSE
644
INTLTOOL_SERVICE_RULE
646
INTLTOOL_SCHEMAS_RULE
648
INTLTOOL_XML_NOMERGE_RULE
653
INTLTOOL_SOUNDLIST_RULE
660
INTLTOOL_DIRECTORY_RULE
661
INTLTOOL_DESKTOP_RULE
662
intltool__v_merge_options_0
663
intltool__v_merge_options_
664
INTLTOOL_V_MERGE_OPTIONS
676
GTK_DOC_USE_REBASE_FALSE
677
GTK_DOC_USE_REBASE_TRUE
678
GTK_DOC_USE_LIBTOOL_FALSE
679
GTK_DOC_USE_LIBTOOL_TRUE
680
GTK_DOC_BUILD_PDF_FALSE
681
GTK_DOC_BUILD_PDF_TRUE
682
GTK_DOC_BUILD_HTML_FALSE
683
GTK_DOC_BUILD_HTML_TRUE
698
COMPILE_LIBLIGHTDM_QT_FALSE
699
COMPILE_LIBLIGHTDM_QT_TRUE
704
COMPILE_LIBLIGHTDM_GOBJECT_FALSE
705
COMPILE_LIBLIGHTDM_GOBJECT_TRUE
706
LIBLIGHTDM_GOBJECT_LIBS
707
LIBLIGHTDM_GOBJECT_CFLAGS
721
HAVE_INTROSPECTION_FALSE
722
HAVE_INTROSPECTION_TRUE
723
INTROSPECTION_MAKEFILE
726
INTROSPECTION_TYPELIBDIR
728
INTROSPECTION_GENERATE
729
INTROSPECTION_COMPILER
730
INTROSPECTION_SCANNER
739
MAINTAINER_MODE_FALSE
803
INSTALL_STRIP_PROGRAM
845
program_transform_name
858
enable_option_checking
863
enable_dependency_tracking
867
enable_maintainer_mode
870
enable_compile_warnings
872
enable_liblightdm_gobject
885
ac_precious_vars='build_alias
913
LIBLIGHTDM_GOBJECT_CFLAGS
914
LIBLIGHTDM_GOBJECT_LIBS
923
# Initialize some variables set by options.
925
ac_init_version=false
926
ac_unrecognized_opts=
928
# The variables have the same names as the options, with
929
# dashes changed to underlines.
937
program_transform_name=s,x,x,
945
# Installation directory options.
946
# These are left unexpanded so users can "make install exec_prefix=/foo"
947
# and all the variables that are supposed to be based on exec_prefix
948
# by default will actually change.
949
# Use braces instead of parens because sh, perl, etc. also accept them.
950
# (The list follows the same order as the GNU Coding Standards.)
951
bindir='${exec_prefix}/bin'
952
sbindir='${exec_prefix}/sbin'
953
libexecdir='${exec_prefix}/libexec'
954
datarootdir='${prefix}/share'
955
datadir='${datarootdir}'
956
sysconfdir='${prefix}/etc'
957
sharedstatedir='${prefix}/com'
958
localstatedir='${prefix}/var'
959
includedir='${prefix}/include'
960
oldincludedir='/usr/include'
961
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
962
infodir='${datarootdir}/info'
967
libdir='${exec_prefix}/lib'
968
localedir='${datarootdir}/locale'
969
mandir='${datarootdir}/man'
975
# If the previous option needs an argument, assign it.
976
if test -n "$ac_prev"; then
977
eval $ac_prev=\$ac_option
983
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
988
# Accept the important Cygnus configure options, so we can diagnose typos.
990
case $ac_dashdash$ac_option in
994
-bindir | --bindir | --bindi | --bind | --bin | --bi)
996
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
999
-build | --build | --buil | --bui | --bu)
1000
ac_prev=build_alias ;;
1001
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1002
build_alias=$ac_optarg ;;
1004
-cache-file | --cache-file | --cache-fil | --cache-fi \
1005
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1006
ac_prev=cache_file ;;
1007
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1008
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1009
cache_file=$ac_optarg ;;
1011
--config-cache | -C)
1012
cache_file=config.cache ;;
1014
-datadir | --datadir | --datadi | --datad)
1016
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1017
datadir=$ac_optarg ;;
1019
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1020
| --dataroo | --dataro | --datar)
1021
ac_prev=datarootdir ;;
1022
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1023
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1024
datarootdir=$ac_optarg ;;
1026
-disable-* | --disable-*)
1027
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1028
# Reject names that are not valid shell variable names.
1029
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030
as_fn_error $? "invalid feature name: $ac_useropt"
1031
ac_useropt_orig=$ac_useropt
1032
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033
case $ac_user_opts in
1035
"enable_$ac_useropt"
1037
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1038
ac_unrecognized_sep=', ';;
1040
eval enable_$ac_useropt=no ;;
1042
-docdir | --docdir | --docdi | --doc | --do)
1044
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1045
docdir=$ac_optarg ;;
1047
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1049
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1050
dvidir=$ac_optarg ;;
1052
-enable-* | --enable-*)
1053
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1054
# Reject names that are not valid shell variable names.
1055
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056
as_fn_error $? "invalid feature name: $ac_useropt"
1057
ac_useropt_orig=$ac_useropt
1058
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059
case $ac_user_opts in
1061
"enable_$ac_useropt"
1063
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1064
ac_unrecognized_sep=', ';;
1066
eval enable_$ac_useropt=\$ac_optarg ;;
1068
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1069
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1070
| --exec | --exe | --ex)
1071
ac_prev=exec_prefix ;;
1072
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1073
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1074
| --exec=* | --exe=* | --ex=*)
1075
exec_prefix=$ac_optarg ;;
1077
-gas | --gas | --ga | --g)
1078
# Obsolete; use --with-gas.
1081
-help | --help | --hel | --he | -h)
1082
ac_init_help=long ;;
1083
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1084
ac_init_help=recursive ;;
1085
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1086
ac_init_help=short ;;
1088
-host | --host | --hos | --ho)
1089
ac_prev=host_alias ;;
1090
-host=* | --host=* | --hos=* | --ho=*)
1091
host_alias=$ac_optarg ;;
1093
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1095
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1097
htmldir=$ac_optarg ;;
1099
-includedir | --includedir | --includedi | --included | --include \
1100
| --includ | --inclu | --incl | --inc)
1101
ac_prev=includedir ;;
1102
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1103
| --includ=* | --inclu=* | --incl=* | --inc=*)
1104
includedir=$ac_optarg ;;
1106
-infodir | --infodir | --infodi | --infod | --info | --inf)
1108
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1109
infodir=$ac_optarg ;;
1111
-libdir | --libdir | --libdi | --libd)
1113
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1114
libdir=$ac_optarg ;;
1116
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1117
| --libexe | --libex | --libe)
1118
ac_prev=libexecdir ;;
1119
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1120
| --libexe=* | --libex=* | --libe=*)
1121
libexecdir=$ac_optarg ;;
1123
-localedir | --localedir | --localedi | --localed | --locale)
1124
ac_prev=localedir ;;
1125
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1126
localedir=$ac_optarg ;;
1128
-localstatedir | --localstatedir | --localstatedi | --localstated \
1129
| --localstate | --localstat | --localsta | --localst | --locals)
1130
ac_prev=localstatedir ;;
1131
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1132
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1133
localstatedir=$ac_optarg ;;
1135
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1137
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1138
mandir=$ac_optarg ;;
1140
-nfp | --nfp | --nf)
1141
# Obsolete; use --without-fp.
1144
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1145
| --no-cr | --no-c | -n)
1148
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1149
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1152
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1153
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1154
| --oldin | --oldi | --old | --ol | --o)
1155
ac_prev=oldincludedir ;;
1156
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1157
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1158
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1159
oldincludedir=$ac_optarg ;;
1161
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1163
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1164
prefix=$ac_optarg ;;
1166
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1167
| --program-pre | --program-pr | --program-p)
1168
ac_prev=program_prefix ;;
1169
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1170
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1171
program_prefix=$ac_optarg ;;
1173
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1174
| --program-suf | --program-su | --program-s)
1175
ac_prev=program_suffix ;;
1176
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1177
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1178
program_suffix=$ac_optarg ;;
1180
-program-transform-name | --program-transform-name \
1181
| --program-transform-nam | --program-transform-na \
1182
| --program-transform-n | --program-transform- \
1183
| --program-transform | --program-transfor \
1184
| --program-transfo | --program-transf \
1185
| --program-trans | --program-tran \
1186
| --progr-tra | --program-tr | --program-t)
1187
ac_prev=program_transform_name ;;
1188
-program-transform-name=* | --program-transform-name=* \
1189
| --program-transform-nam=* | --program-transform-na=* \
1190
| --program-transform-n=* | --program-transform-=* \
1191
| --program-transform=* | --program-transfor=* \
1192
| --program-transfo=* | --program-transf=* \
1193
| --program-trans=* | --program-tran=* \
1194
| --progr-tra=* | --program-tr=* | --program-t=*)
1195
program_transform_name=$ac_optarg ;;
1197
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1199
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1200
pdfdir=$ac_optarg ;;
1202
-psdir | --psdir | --psdi | --psd | --ps)
1204
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1207
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1208
| -silent | --silent | --silen | --sile | --sil)
1211
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1213
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1215
sbindir=$ac_optarg ;;
1217
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1218
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1219
| --sharedst | --shareds | --shared | --share | --shar \
1221
ac_prev=sharedstatedir ;;
1222
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1223
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1224
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1226
sharedstatedir=$ac_optarg ;;
1228
-site | --site | --sit)
1230
-site=* | --site=* | --sit=*)
1233
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1235
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1236
srcdir=$ac_optarg ;;
1238
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1239
| --syscon | --sysco | --sysc | --sys | --sy)
1240
ac_prev=sysconfdir ;;
1241
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1242
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1243
sysconfdir=$ac_optarg ;;
1245
-target | --target | --targe | --targ | --tar | --ta | --t)
1246
ac_prev=target_alias ;;
1247
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1248
target_alias=$ac_optarg ;;
1250
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1253
-version | --version | --versio | --versi | --vers | -V)
1254
ac_init_version=: ;;
1257
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1258
# Reject names that are not valid shell variable names.
1259
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1260
as_fn_error $? "invalid package name: $ac_useropt"
1261
ac_useropt_orig=$ac_useropt
1262
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1263
case $ac_user_opts in
1267
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1268
ac_unrecognized_sep=', ';;
1270
eval with_$ac_useropt=\$ac_optarg ;;
1272
-without-* | --without-*)
1273
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1274
# Reject names that are not valid shell variable names.
1275
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1276
as_fn_error $? "invalid package name: $ac_useropt"
1277
ac_useropt_orig=$ac_useropt
1278
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279
case $ac_user_opts in
1283
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1284
ac_unrecognized_sep=', ';;
1286
eval with_$ac_useropt=no ;;
1289
# Obsolete; use --with-x.
1292
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1293
| --x-incl | --x-inc | --x-in | --x-i)
1294
ac_prev=x_includes ;;
1295
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1296
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1297
x_includes=$ac_optarg ;;
1299
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1300
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1301
ac_prev=x_libraries ;;
1302
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1303
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1304
x_libraries=$ac_optarg ;;
1306
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1307
Try \`$0 --help' for more information"
1311
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1312
# Reject names that are not valid shell variable names.
1313
case $ac_envvar in #(
1314
'' | [0-9]* | *[!_$as_cr_alnum]* )
1315
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1317
eval $ac_envvar=\$ac_optarg
1318
export $ac_envvar ;;
1321
# FIXME: should be removed in autoconf 3.0.
1322
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1323
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1324
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1325
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1331
if test -n "$ac_prev"; then
1332
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1333
as_fn_error $? "missing argument to $ac_option"
1336
if test -n "$ac_unrecognized_opts"; then
1337
case $enable_option_checking in
1339
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1340
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1344
# Check all directory arguments for consistency.
1345
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1346
datadir sysconfdir sharedstatedir localstatedir includedir \
1347
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1348
libdir localedir mandir
1350
eval ac_val=\$$ac_var
1351
# Remove trailing slashes.
1354
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1355
eval $ac_var=\$ac_val;;
1357
# Be sure to have absolute directory names.
1359
[\\/$]* | ?:[\\/]* ) continue;;
1360
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1362
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1365
# There might be people who depend on the old broken behavior: `$host'
1366
# used to hold the argument of --host etc.
1367
# FIXME: To remove some day.
1370
target=$target_alias
1372
# FIXME: To remove some day.
1373
if test "x$host_alias" != x; then
1374
if test "x$build_alias" = x; then
1375
cross_compiling=maybe
1376
elif test "x$build_alias" != "x$host_alias"; then
1382
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1384
test "$silent" = yes && exec 6>/dev/null
1387
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1388
ac_ls_di=`ls -di .` &&
1389
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1390
as_fn_error $? "working directory cannot be determined"
1391
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1392
as_fn_error $? "pwd does not report name of working directory"
1395
# Find the source files, if location was not specified.
1396
if test -z "$srcdir"; then
1397
ac_srcdir_defaulted=yes
1398
# Try the directory containing this script, then the parent directory.
1399
ac_confdir=`$as_dirname -- "$as_myself" ||
1400
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1401
X"$as_myself" : 'X\(//\)[^/]' \| \
1402
X"$as_myself" : 'X\(//\)$' \| \
1403
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1404
$as_echo X"$as_myself" |
1405
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1423
if test ! -r "$srcdir/$ac_unique_file"; then
1427
ac_srcdir_defaulted=no
1429
if test ! -r "$srcdir/$ac_unique_file"; then
1430
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1431
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1433
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1435
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1437
# When building in place, set srcdir=.
1438
if test "$ac_abs_confdir" = "$ac_pwd"; then
1441
# Remove unnecessary trailing slashes from srcdir.
1442
# Double slashes in file names in object file debugging info
1443
# mess up M-x gdb in Emacs.
1445
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447
for ac_var in $ac_precious_vars; do
1448
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1449
eval ac_env_${ac_var}_value=\$${ac_var}
1450
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1451
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1455
# Report the --help message.
1457
if test "$ac_init_help" = "long"; then
1458
# Omit some internal or obsolete options to make the list less imposing.
1459
# This message is too long to be a string in the A/UX 3.1 sh.
1461
\`configure' configures lightdm 1.4.0 to adapt to many kinds of systems.
1463
Usage: $0 [OPTION]... [VAR=VALUE]...
1465
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1466
VAR=VALUE. See below for descriptions of some of the useful variables.
1468
Defaults for the options are specified in brackets.
1471
-h, --help display this help and exit
1472
--help=short display options specific to this package
1473
--help=recursive display the short help of all the included packages
1474
-V, --version display version information and exit
1475
-q, --quiet, --silent do not print \`checking ...' messages
1476
--cache-file=FILE cache test results in FILE [disabled]
1477
-C, --config-cache alias for \`--cache-file=config.cache'
1478
-n, --no-create do not create output files
1479
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1481
Installation directories:
1482
--prefix=PREFIX install architecture-independent files in PREFIX
1483
[$ac_default_prefix]
1484
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1487
By default, \`make install' will install all the files in
1488
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1489
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1490
for instance \`--prefix=\$HOME'.
1492
For better control, use the options below.
1494
Fine tuning of the installation directories:
1495
--bindir=DIR user executables [EPREFIX/bin]
1496
--sbindir=DIR system admin executables [EPREFIX/sbin]
1497
--libexecdir=DIR program executables [EPREFIX/libexec]
1498
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1499
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1500
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1501
--libdir=DIR object code libraries [EPREFIX/lib]
1502
--includedir=DIR C header files [PREFIX/include]
1503
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1504
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1505
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1506
--infodir=DIR info documentation [DATAROOTDIR/info]
1507
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1508
--mandir=DIR man documentation [DATAROOTDIR/man]
1509
--docdir=DIR documentation root [DATAROOTDIR/doc/lightdm]
1510
--htmldir=DIR html documentation [DOCDIR]
1511
--dvidir=DIR dvi documentation [DOCDIR]
1512
--pdfdir=DIR pdf documentation [DOCDIR]
1513
--psdir=DIR ps documentation [DOCDIR]
1519
--program-prefix=PREFIX prepend PREFIX to installed program names
1520
--program-suffix=SUFFIX append SUFFIX to installed program names
1521
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1524
--build=BUILD configure for building on BUILD [guessed]
1525
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1529
if test -n "$ac_init_help"; then
1530
case $ac_init_help in
1531
short | recursive ) echo "Configuration of lightdm 1.4.0:";;
1536
--disable-option-checking ignore unrecognized --enable/--with options
1537
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1538
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1539
--enable-shared[=PKGS] build shared libraries [default=yes]
1540
--enable-static[=PKGS] build static libraries [default=yes]
1541
--enable-fast-install[=PKGS]
1542
optimize for fast installation [default=yes]
1543
--disable-dependency-tracking speeds up one-time build
1544
--enable-dependency-tracking do not reject slow dependency extractors
1545
--disable-libtool-lock avoid locking (might break parallel builds)
1546
--enable-maintainer-mode enable make rules and dependencies not useful
1547
(and sometimes confusing) to the casual installer
1548
--enable-silent-rules less verbose build output (undo: `make V=1')
1549
--disable-silent-rules verbose build output (undo: `make V=0')
1550
--enable-introspection=[no/auto/yes]
1551
Enable introspection for this build
1552
--enable-compile-warnings=[no/minimum/yes/maximum/error]
1553
Turn on compiler warnings
1554
--enable-iso-c Try to warn if code is not ISO C
1555
--enable-liblightdm-gobject
1556
Enable LightDM client gobject libraries
1558
--enable-liblightdm-qt Enable LightDM client QT libraries [[default=auto]]
1559
--disable-tests Disable tests building
1560
--enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1561
--enable-gtk-doc-html build documentation in html format [[default=yes]]
1562
--enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1563
--disable-nls do not use Native Language Support
1566
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1567
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1568
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1570
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1571
--with-sysroot=DIR Search for dependent libraries within DIR
1572
(or the compiler's sysroot if not specified).
1573
--with-user-session=<name>
1574
Session to use for user accounts
1575
--with-greeter-session=<session>
1577
--with-greeter-user=<username>
1578
User to run greeter as
1579
--with-html-dir=PATH path to installed docs
1580
--with-help-dir=DIR path where help files are installed
1582
Some influential environment variables:
1583
CC C compiler command
1584
CFLAGS C compiler flags
1585
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1586
nonstandard directory <lib dir>
1587
LIBS libraries to pass to the linker, e.g. -l<library>
1588
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1589
you have headers in a nonstandard directory <include dir>
1591
CXX C++ compiler command
1592
CXXFLAGS C++ compiler flags
1593
CXXCPP C++ preprocessor
1594
PKG_CONFIG path to pkg-config utility
1596
directories to add to pkg-config's search path
1598
path overriding pkg-config's built-in search path
1600
C compiler flags for LIGHTDM, overriding pkg-config
1602
linker flags for LIGHTDM, overriding pkg-config
1603
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1604
GLIB_LIBS linker flags for GLIB, overriding pkg-config
1605
GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1606
GIO_LIBS linker flags for GIO, overriding pkg-config
1608
C compiler flags for GIO_UNIX, overriding pkg-config
1610
linker flags for GIO_UNIX, overriding pkg-config
1612
C compiler flags for GOBJECT, overriding pkg-config
1614
linker flags for GOBJECT, overriding pkg-config
1615
XCB_CFLAGS C compiler flags for XCB, overriding pkg-config
1616
XCB_LIBS linker flags for XCB, overriding pkg-config
1617
LIBLIGHTDM_GOBJECT_CFLAGS
1618
C compiler flags for LIBLIGHTDM_GOBJECT, overriding pkg-config
1619
LIBLIGHTDM_GOBJECT_LIBS
1620
linker flags for LIBLIGHTDM_GOBJECT, overriding pkg-config
1621
LIBLIGHTDM_QT_CFLAGS
1622
C compiler flags for LIBLIGHTDM_QT, overriding pkg-config
1624
linker flags for LIBLIGHTDM_QT, overriding pkg-config
1626
C compiler flags for GTKDOC_DEPS, overriding pkg-config
1628
linker flags for GTKDOC_DEPS, overriding pkg-config
1629
ITSTOOL Path to the `itstool` command
1630
XMLLINT Path to the `xmllint` command
1632
Use these variables to override the choices made by `configure' or to help
1633
it to find libraries and programs with nonstandard names/locations.
1635
Report bugs to the package provider.
1640
if test "$ac_init_help" = "recursive"; then
1641
# If there are subdirs, report their specific --help.
1642
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1643
test -d "$ac_dir" ||
1644
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1649
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1651
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1652
# A ".." for each directory in $ac_dir_suffix.
1653
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1654
case $ac_top_builddir_sub in
1655
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1659
ac_abs_top_builddir=$ac_pwd
1660
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1661
# for backward compatibility:
1662
ac_top_builddir=$ac_top_build_prefix
1665
.) # We are building in place.
1667
ac_top_srcdir=$ac_top_builddir_sub
1668
ac_abs_top_srcdir=$ac_pwd ;;
1669
[\\/]* | ?:[\\/]* ) # Absolute name.
1670
ac_srcdir=$srcdir$ac_dir_suffix;
1671
ac_top_srcdir=$srcdir
1672
ac_abs_top_srcdir=$srcdir ;;
1674
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1675
ac_top_srcdir=$ac_top_build_prefix$srcdir
1676
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1678
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1680
cd "$ac_dir" || { ac_status=$?; continue; }
1681
# Check for guested configure.
1682
if test -f "$ac_srcdir/configure.gnu"; then
1684
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685
elif test -f "$ac_srcdir/configure"; then
1687
$SHELL "$ac_srcdir/configure" --help=recursive
1689
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1691
cd "$ac_pwd" || { ac_status=$?; break; }
1695
test -n "$ac_init_help" && exit $ac_status
1696
if $ac_init_version; then
1698
lightdm configure 1.4.0
1699
generated by GNU Autoconf 2.69
1701
Copyright (C) 2012 Free Software Foundation, Inc.
1702
This configure script is free software; the Free Software Foundation
1703
gives unlimited permission to copy, distribute and modify it.
1708
## ------------------------ ##
1709
## Autoconf initialization. ##
1710
## ------------------------ ##
1712
# ac_fn_c_try_compile LINENO
1713
# --------------------------
1714
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1715
ac_fn_c_try_compile ()
1717
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718
rm -f conftest.$ac_objext
1719
if { { ac_try="$ac_compile"
1721
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722
*) ac_try_echo=$ac_try;;
1724
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725
$as_echo "$ac_try_echo"; } >&5
1726
(eval "$ac_compile") 2>conftest.err
1728
if test -s conftest.err; then
1729
grep -v '^ *+' conftest.err >conftest.er1
1730
cat conftest.er1 >&5
1731
mv -f conftest.er1 conftest.err
1733
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734
test $ac_status = 0; } && {
1735
test -z "$ac_c_werror_flag" ||
1736
test ! -s conftest.err
1737
} && test -s conftest.$ac_objext; then :
1740
$as_echo "$as_me: failed program was:" >&5
1741
sed 's/^/| /' conftest.$ac_ext >&5
1745
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746
as_fn_set_status $ac_retval
1748
} # ac_fn_c_try_compile
1750
# ac_fn_c_try_link LINENO
1751
# -----------------------
1752
# Try to link conftest.$ac_ext, and return whether this succeeded.
1755
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756
rm -f conftest.$ac_objext conftest$ac_exeext
1757
if { { ac_try="$ac_link"
1759
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760
*) ac_try_echo=$ac_try;;
1762
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763
$as_echo "$ac_try_echo"; } >&5
1764
(eval "$ac_link") 2>conftest.err
1766
if test -s conftest.err; then
1767
grep -v '^ *+' conftest.err >conftest.er1
1768
cat conftest.er1 >&5
1769
mv -f conftest.er1 conftest.err
1771
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772
test $ac_status = 0; } && {
1773
test -z "$ac_c_werror_flag" ||
1774
test ! -s conftest.err
1775
} && test -s conftest$ac_exeext && {
1776
test "$cross_compiling" = yes ||
1777
test -x conftest$ac_exeext
1781
$as_echo "$as_me: failed program was:" >&5
1782
sed 's/^/| /' conftest.$ac_ext >&5
1786
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1787
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1788
# interfere with the next link command; also delete a directory that is
1789
# left behind by Apple's compiler. We do this before executing the actions.
1790
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792
as_fn_set_status $ac_retval
1794
} # ac_fn_c_try_link
1796
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797
# -------------------------------------------------------
1798
# Tests whether HEADER exists and can be compiled using the include files in
1799
# INCLUDES, setting the cache variable VAR accordingly.
1800
ac_fn_c_check_header_compile ()
1802
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804
$as_echo_n "checking for $2... " >&6; }
1805
if eval \${$3+:} false; then :
1806
$as_echo_n "(cached) " >&6
1808
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809
/* end confdefs.h. */
1813
if ac_fn_c_try_compile "$LINENO"; then :
1818
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822
$as_echo "$ac_res" >&6; }
1823
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825
} # ac_fn_c_check_header_compile
1827
# ac_fn_c_try_cpp LINENO
1828
# ----------------------
1829
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1832
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833
if { { ac_try="$ac_cpp conftest.$ac_ext"
1835
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836
*) ac_try_echo=$ac_try;;
1838
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839
$as_echo "$ac_try_echo"; } >&5
1840
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1842
if test -s conftest.err; then
1843
grep -v '^ *+' conftest.err >conftest.er1
1844
cat conftest.er1 >&5
1845
mv -f conftest.er1 conftest.err
1847
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848
test $ac_status = 0; } > conftest.i && {
1849
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1850
test ! -s conftest.err
1854
$as_echo "$as_me: failed program was:" >&5
1855
sed 's/^/| /' conftest.$ac_ext >&5
1859
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860
as_fn_set_status $ac_retval
1864
# ac_fn_c_try_run LINENO
1865
# ----------------------
1866
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1867
# that executables *can* be run.
1870
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871
if { { ac_try="$ac_link"
1873
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874
*) ac_try_echo=$ac_try;;
1876
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877
$as_echo "$ac_try_echo"; } >&5
1878
(eval "$ac_link") 2>&5
1880
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1882
{ { case "(($ac_try" in
1883
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884
*) ac_try_echo=$ac_try;;
1886
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887
$as_echo "$ac_try_echo"; } >&5
1888
(eval "$ac_try") 2>&5
1890
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891
test $ac_status = 0; }; }; then :
1894
$as_echo "$as_me: program exited with status $ac_status" >&5
1895
$as_echo "$as_me: failed program was:" >&5
1896
sed 's/^/| /' conftest.$ac_ext >&5
1898
ac_retval=$ac_status
1900
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1902
as_fn_set_status $ac_retval
1906
# ac_fn_c_check_func LINENO FUNC VAR
1907
# ----------------------------------
1908
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1909
ac_fn_c_check_func ()
1911
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913
$as_echo_n "checking for $2... " >&6; }
1914
if eval \${$3+:} false; then :
1915
$as_echo_n "(cached) " >&6
1917
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918
/* end confdefs.h. */
1919
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1920
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1921
#define $2 innocuous_$2
1923
/* System header to define __stub macros and hopefully few prototypes,
1924
which can conflict with char $2 (); below.
1925
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1926
<limits.h> exists even on freestanding compilers. */
1929
# include <limits.h>
1931
# include <assert.h>
1936
/* Override any GCC internal prototype to avoid an error.
1937
Use char because int might match the return type of a GCC
1938
builtin and then its argument prototype would still apply. */
1943
/* The GNU C library defines this for functions which it implements
1944
to always fail with ENOSYS. Some functions are actually named
1945
something starting with __ and the normal name is an alias. */
1946
#if defined __stub_$2 || defined __stub___$2
1958
if ac_fn_c_try_link "$LINENO"; then :
1963
rm -f core conftest.err conftest.$ac_objext \
1964
conftest$ac_exeext conftest.$ac_ext
1967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1968
$as_echo "$ac_res" >&6; }
1969
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971
} # ac_fn_c_check_func
1973
# ac_fn_cxx_try_compile LINENO
1974
# ----------------------------
1975
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1976
ac_fn_cxx_try_compile ()
1978
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979
rm -f conftest.$ac_objext
1980
if { { ac_try="$ac_compile"
1982
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1983
*) ac_try_echo=$ac_try;;
1985
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986
$as_echo "$ac_try_echo"; } >&5
1987
(eval "$ac_compile") 2>conftest.err
1989
if test -s conftest.err; then
1990
grep -v '^ *+' conftest.err >conftest.er1
1991
cat conftest.er1 >&5
1992
mv -f conftest.er1 conftest.err
1994
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1995
test $ac_status = 0; } && {
1996
test -z "$ac_cxx_werror_flag" ||
1997
test ! -s conftest.err
1998
} && test -s conftest.$ac_objext; then :
2001
$as_echo "$as_me: failed program was:" >&5
2002
sed 's/^/| /' conftest.$ac_ext >&5
2006
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007
as_fn_set_status $ac_retval
2009
} # ac_fn_cxx_try_compile
2011
# ac_fn_cxx_try_cpp LINENO
2012
# ------------------------
2013
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2014
ac_fn_cxx_try_cpp ()
2016
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017
if { { ac_try="$ac_cpp conftest.$ac_ext"
2019
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2020
*) ac_try_echo=$ac_try;;
2022
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2023
$as_echo "$ac_try_echo"; } >&5
2024
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2026
if test -s conftest.err; then
2027
grep -v '^ *+' conftest.err >conftest.er1
2028
cat conftest.er1 >&5
2029
mv -f conftest.er1 conftest.err
2031
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2032
test $ac_status = 0; } > conftest.i && {
2033
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2034
test ! -s conftest.err
2038
$as_echo "$as_me: failed program was:" >&5
2039
sed 's/^/| /' conftest.$ac_ext >&5
2043
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2044
as_fn_set_status $ac_retval
2046
} # ac_fn_cxx_try_cpp
2048
# ac_fn_cxx_try_link LINENO
2049
# -------------------------
2050
# Try to link conftest.$ac_ext, and return whether this succeeded.
2051
ac_fn_cxx_try_link ()
2053
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2054
rm -f conftest.$ac_objext conftest$ac_exeext
2055
if { { ac_try="$ac_link"
2057
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2058
*) ac_try_echo=$ac_try;;
2060
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2061
$as_echo "$ac_try_echo"; } >&5
2062
(eval "$ac_link") 2>conftest.err
2064
if test -s conftest.err; then
2065
grep -v '^ *+' conftest.err >conftest.er1
2066
cat conftest.er1 >&5
2067
mv -f conftest.er1 conftest.err
2069
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2070
test $ac_status = 0; } && {
2071
test -z "$ac_cxx_werror_flag" ||
2072
test ! -s conftest.err
2073
} && test -s conftest$ac_exeext && {
2074
test "$cross_compiling" = yes ||
2075
test -x conftest$ac_exeext
2079
$as_echo "$as_me: failed program was:" >&5
2080
sed 's/^/| /' conftest.$ac_ext >&5
2084
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2085
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2086
# interfere with the next link command; also delete a directory that is
2087
# left behind by Apple's compiler. We do this before executing the actions.
2088
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2089
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090
as_fn_set_status $ac_retval
2092
} # ac_fn_cxx_try_link
2094
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2095
# -------------------------------------------------------
2096
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2097
# the include files in INCLUDES and setting the cache variable VAR
2099
ac_fn_c_check_header_mongrel ()
2101
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2102
if eval \${$3+:} false; then :
2103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2104
$as_echo_n "checking for $2... " >&6; }
2105
if eval \${$3+:} false; then :
2106
$as_echo_n "(cached) " >&6
2109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2110
$as_echo "$ac_res" >&6; }
2112
# Is the header compilable?
2113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2114
$as_echo_n "checking $2 usability... " >&6; }
2115
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2116
/* end confdefs.h. */
2120
if ac_fn_c_try_compile "$LINENO"; then :
2121
ac_header_compiler=yes
2123
ac_header_compiler=no
2125
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2127
$as_echo "$ac_header_compiler" >&6; }
2129
# Is the header present?
2130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2131
$as_echo_n "checking $2 presence... " >&6; }
2132
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133
/* end confdefs.h. */
2136
if ac_fn_c_try_cpp "$LINENO"; then :
2137
ac_header_preproc=yes
2139
ac_header_preproc=no
2141
rm -f conftest.err conftest.i conftest.$ac_ext
2142
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2143
$as_echo "$ac_header_preproc" >&6; }
2145
# So? What about this header?
2146
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2148
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2149
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2150
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2151
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2154
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2155
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2156
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2157
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2158
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2159
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2160
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2161
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2162
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2163
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2166
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2167
$as_echo_n "checking for $2... " >&6; }
2168
if eval \${$3+:} false; then :
2169
$as_echo_n "(cached) " >&6
2171
eval "$3=\$ac_header_compiler"
2174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2175
$as_echo "$ac_res" >&6; }
2177
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2179
} # ac_fn_c_check_header_mongrel
2180
cat >config.log <<_ACEOF
2181
This file contains any messages produced by compilers while
2182
running configure, to aid debugging if configure makes a mistake.
2184
It was created by lightdm $as_me 1.4.0, which was
2185
generated by GNU Autoconf 2.69. Invocation command line was
2197
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2198
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2199
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2200
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2201
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2203
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2204
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2206
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2207
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2208
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2209
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2210
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2211
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2212
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2216
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2220
test -z "$as_dir" && as_dir=.
2221
$as_echo "PATH: $as_dir"
2237
# Keep a trace of the command line.
2238
# Strip out --no-create and --no-recursion so they do not pile up.
2239
# Strip out --silent because we don't want to record it for future runs.
2240
# Also quote any args containing shell meta-characters.
2241
# Make two passes to allow for proper duplicate-argument suppression.
2245
ac_must_keep_next=false
2251
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2252
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2253
| -silent | --silent | --silen | --sile | --sil)
2256
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2259
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2261
as_fn_append ac_configure_args1 " '$ac_arg'"
2262
if test $ac_must_keep_next = true; then
2263
ac_must_keep_next=false # Got value, back to normal.
2266
*=* | --config-cache | -C | -disable-* | --disable-* \
2267
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2268
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2269
| -with-* | --with-* | -without-* | --without-* | --x)
2270
case "$ac_configure_args0 " in
2271
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2274
-* ) ac_must_keep_next=true ;;
2277
as_fn_append ac_configure_args " '$ac_arg'"
2282
{ ac_configure_args0=; unset ac_configure_args0;}
2283
{ ac_configure_args1=; unset ac_configure_args1;}
2285
# When interrupted or exit'd, cleanup temporary files, and complete
2286
# config.log. We remove comments because anyway the quotes in there
2287
# would cause problems or look ugly.
2288
# WARNING: Use '\'' to represent an apostrophe within the trap.
2289
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2290
trap 'exit_status=$?
2291
# Save into config.log some information that might help in debugging.
2295
$as_echo "## ---------------- ##
2296
## Cache variables. ##
2297
## ---------------- ##"
2299
# The following way of writing the cache mishandles newlines in values,
2301
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2302
eval ac_val=\$$ac_var
2306
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2307
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2310
_ | IFS | as_nl) ;; #(
2311
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2312
*) { eval $ac_var=; unset $ac_var;} ;;
2317
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2318
*${as_nl}ac_space=\ *)
2320
"s/'\''/'\''\\\\'\'''\''/g;
2321
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2324
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2331
$as_echo "## ----------------- ##
2332
## Output variables. ##
2333
## ----------------- ##"
2335
for ac_var in $ac_subst_vars
2337
eval ac_val=\$$ac_var
2339
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2341
$as_echo "$ac_var='\''$ac_val'\''"
2345
if test -n "$ac_subst_files"; then
2346
$as_echo "## ------------------- ##
2347
## File substitutions. ##
2348
## ------------------- ##"
2350
for ac_var in $ac_subst_files
2352
eval ac_val=\$$ac_var
2354
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2356
$as_echo "$ac_var='\''$ac_val'\''"
2361
if test -s confdefs.h; then
2362
$as_echo "## ----------- ##
2369
test "$ac_signal" != 0 &&
2370
$as_echo "$as_me: caught signal $ac_signal"
2371
$as_echo "$as_me: exit $exit_status"
2373
rm -f core *.core core.conftest.* &&
2374
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2377
for ac_signal in 1 2 13 15; do
2378
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2382
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2383
rm -f -r conftest* confdefs.h
2385
$as_echo "/* confdefs.h */" > confdefs.h
2387
# Predefined preprocessor variables.
2389
cat >>confdefs.h <<_ACEOF
2390
#define PACKAGE_NAME "$PACKAGE_NAME"
2393
cat >>confdefs.h <<_ACEOF
2394
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2397
cat >>confdefs.h <<_ACEOF
2398
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2401
cat >>confdefs.h <<_ACEOF
2402
#define PACKAGE_STRING "$PACKAGE_STRING"
2405
cat >>confdefs.h <<_ACEOF
2406
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2409
cat >>confdefs.h <<_ACEOF
2410
#define PACKAGE_URL "$PACKAGE_URL"
2414
# Let the site file select an alternate cache file if it wants to.
2415
# Prefer an explicitly selected file to automatically selected ones.
2418
if test -n "$CONFIG_SITE"; then
2419
# We do not want a PATH search for config.site.
2420
case $CONFIG_SITE in #((
2421
-*) ac_site_file1=./$CONFIG_SITE;;
2422
*/*) ac_site_file1=$CONFIG_SITE;;
2423
*) ac_site_file1=./$CONFIG_SITE;;
2425
elif test "x$prefix" != xNONE; then
2426
ac_site_file1=$prefix/share/config.site
2427
ac_site_file2=$prefix/etc/config.site
2429
ac_site_file1=$ac_default_prefix/share/config.site
2430
ac_site_file2=$ac_default_prefix/etc/config.site
2432
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2434
test "x$ac_site_file" = xNONE && continue
2435
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2436
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2437
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2438
sed 's/^/| /' "$ac_site_file" >&5
2440
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2441
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442
as_fn_error $? "failed to load site script $ac_site_file
2443
See \`config.log' for more details" "$LINENO" 5; }
2447
if test -r "$cache_file"; then
2448
# Some versions of bash will fail to source /dev/null (special files
2449
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2450
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2451
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2452
$as_echo "$as_me: loading cache $cache_file" >&6;}
2454
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2455
*) . "./$cache_file";;
2459
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2460
$as_echo "$as_me: creating cache $cache_file" >&6;}
2464
# Check that the precious variables saved in the cache have kept the same
2466
ac_cache_corrupted=false
2467
for ac_var in $ac_precious_vars; do
2468
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2469
eval ac_new_set=\$ac_env_${ac_var}_set
2470
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2471
eval ac_new_val=\$ac_env_${ac_var}_value
2472
case $ac_old_set,$ac_new_set in
2474
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2475
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2476
ac_cache_corrupted=: ;;
2478
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2479
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2480
ac_cache_corrupted=: ;;
2483
if test "x$ac_old_val" != "x$ac_new_val"; then
2484
# differences in whitespace do not lead to failure.
2485
ac_old_val_w=`echo x $ac_old_val`
2486
ac_new_val_w=`echo x $ac_new_val`
2487
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2488
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2489
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2490
ac_cache_corrupted=:
2492
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2493
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2494
eval $ac_var=\$ac_old_val
2496
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2497
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2498
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2499
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2502
# Pass precious variables to config.status.
2503
if test "$ac_new_set" = set; then
2505
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2506
*) ac_arg=$ac_var=$ac_new_val ;;
2508
case " $ac_configure_args " in
2509
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2510
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2514
if $ac_cache_corrupted; then
2515
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2516
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2517
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2518
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2519
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2521
## -------------------- ##
2522
## Main body of script. ##
2523
## -------------------- ##
2526
ac_cpp='$CPP $CPPFLAGS'
2527
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2528
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2529
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2533
ac_config_headers="$ac_config_headers config.h"
2535
am__api_version='1.11'
2538
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2539
if test -f "$ac_dir/install-sh"; then
2541
ac_install_sh="$ac_aux_dir/install-sh -c"
2543
elif test -f "$ac_dir/install.sh"; then
2545
ac_install_sh="$ac_aux_dir/install.sh -c"
2547
elif test -f "$ac_dir/shtool"; then
2549
ac_install_sh="$ac_aux_dir/shtool install -c"
2553
if test -z "$ac_aux_dir"; then
2554
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2557
# These three variables are undocumented and unsupported,
2558
# and are intended to be withdrawn in a future Autoconf release.
2559
# They can cause serious problems if a builder's source tree is in a directory
2560
# whose full name contains unusual characters.
2561
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2562
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2563
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2566
# Find a good install program. We prefer a C program (faster),
2567
# so one script is as good as another. But avoid the broken or
2568
# incompatible versions:
2569
# SysV /etc/install, /usr/sbin/install
2570
# SunOS /usr/etc/install
2571
# IRIX /sbin/install
2573
# AmigaOS /C/install, which installs bootblocks on floppy discs
2574
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2575
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2576
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2577
# OS/2's system install, which has a completely different semantic
2578
# ./install, which can be erroneously created by make from ./install.sh.
2579
# Reject install programs that cannot install multiple files.
2580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2581
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2582
if test -z "$INSTALL"; then
2583
if ${ac_cv_path_install+:} false; then :
2584
$as_echo_n "(cached) " >&6
2586
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590
test -z "$as_dir" && as_dir=.
2591
# Account for people who put trailing slashes in PATH elements.
2592
case $as_dir/ in #((
2593
./ | .// | /[cC]/* | \
2594
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2595
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2598
# OSF1 and SCO ODT 3.0 have their own names for install.
2599
# Don't use installbsd from OSF since it installs stuff as root
2601
for ac_prog in ginstall scoinst install; do
2602
for ac_exec_ext in '' $ac_executable_extensions; do
2603
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2604
if test $ac_prog = install &&
2605
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2606
# AIX install. It has an incompatible calling convention.
2608
elif test $ac_prog = install &&
2609
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2610
# program-specific install script used by HP pwplus--don't use.
2613
rm -rf conftest.one conftest.two conftest.dir
2614
echo one > conftest.one
2615
echo two > conftest.two
2617
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2618
test -s conftest.one && test -s conftest.two &&
2619
test -s conftest.dir/conftest.one &&
2620
test -s conftest.dir/conftest.two
2622
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2635
rm -rf conftest.one conftest.two conftest.dir
2638
if test "${ac_cv_path_install+set}" = set; then
2639
INSTALL=$ac_cv_path_install
2641
# As a last resort, use the slow shell script. Don't cache a
2642
# value for INSTALL within a source directory, because that will
2643
# break other packages using the cache if that directory is
2644
# removed, or if the value is a relative name.
2645
INSTALL=$ac_install_sh
2648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2649
$as_echo "$INSTALL" >&6; }
2651
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2652
# It thinks the first close brace ends the variable substitution.
2653
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2655
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2657
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2660
$as_echo_n "checking whether build environment is sane... " >&6; }
2663
echo timestamp > conftest.file
2664
# Reject unsafe characters in $srcdir or the absolute working directory
2665
# name. Accept space and tab only in the latter.
2669
*[\\\"\#\$\&\'\`$am_lf]*)
2670
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2673
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2674
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2677
# Do `set' in a subshell so we don't clobber the current shell's
2678
# arguments. Must try -L first in case configure is actually a
2679
# symlink; some systems play weird games with the mod time of symlinks
2680
# (eg FreeBSD returns the mod time of the symlink's containing
2683
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2684
if test "$*" = "X"; then
2686
set X `ls -t "$srcdir/configure" conftest.file`
2689
if test "$*" != "X $srcdir/configure conftest.file" \
2690
&& test "$*" != "X conftest.file $srcdir/configure"; then
2692
# If neither matched, then we have a broken ls. This can happen
2693
# if, for instance, CONFIG_SHELL is bash and it inherits a
2694
# broken ls alias from the environment. This has actually
2695
# happened. Such a system could not be considered "sane".
2696
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2697
alias in your environment" "$LINENO" 5
2700
test "$2" = conftest.file
2706
as_fn_error $? "newly created file is older than distributed files!
2707
Check your system clock" "$LINENO" 5
2709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2710
$as_echo "yes" >&6; }
2711
test "$program_prefix" != NONE &&
2712
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2713
# Use a double $ so make ignores it.
2714
test "$program_suffix" != NONE &&
2715
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2716
# Double any \ or $.
2717
# By default was `s,x,x', remove it if useless.
2718
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2719
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2721
# expand $ac_aux_dir to an absolute path
2722
am_aux_dir=`cd $ac_aux_dir && pwd`
2724
if test x"${MISSING+set}" != xset; then
2727
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2729
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2732
# Use eval to expand $SHELL
2733
if eval "$MISSING --run true"; then
2734
am_missing_run="$MISSING --run "
2737
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2738
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2741
if test x"${install_sh}" != xset; then
2744
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2746
install_sh="\${SHELL} $am_aux_dir/install-sh"
2750
# Installed binaries are usually stripped using `strip' when the user
2751
# run `make install-strip'. However `strip' might not be the right
2752
# tool to use in cross-compilation environments, therefore Automake
2753
# will honor the `STRIP' environment variable to overrule this program.
2754
if test "$cross_compiling" != no; then
2755
if test -n "$ac_tool_prefix"; then
2756
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2757
set dummy ${ac_tool_prefix}strip; ac_word=$2
2758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2759
$as_echo_n "checking for $ac_word... " >&6; }
2760
if ${ac_cv_prog_STRIP+:} false; then :
2761
$as_echo_n "(cached) " >&6
2763
if test -n "$STRIP"; then
2764
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2766
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770
test -z "$as_dir" && as_dir=.
2771
for ac_exec_ext in '' $ac_executable_extensions; do
2772
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2773
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2774
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2783
STRIP=$ac_cv_prog_STRIP
2784
if test -n "$STRIP"; then
2785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2786
$as_echo "$STRIP" >&6; }
2788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2789
$as_echo "no" >&6; }
2794
if test -z "$ac_cv_prog_STRIP"; then
2796
# Extract the first word of "strip", so it can be a program name with args.
2797
set dummy strip; ac_word=$2
2798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2799
$as_echo_n "checking for $ac_word... " >&6; }
2800
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2801
$as_echo_n "(cached) " >&6
2803
if test -n "$ac_ct_STRIP"; then
2804
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2806
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810
test -z "$as_dir" && as_dir=.
2811
for ac_exec_ext in '' $ac_executable_extensions; do
2812
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2813
ac_cv_prog_ac_ct_STRIP="strip"
2814
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2823
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2824
if test -n "$ac_ct_STRIP"; then
2825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2826
$as_echo "$ac_ct_STRIP" >&6; }
2828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2829
$as_echo "no" >&6; }
2832
if test "x$ac_ct_STRIP" = x; then
2835
case $cross_compiling:$ac_tool_warned in
2837
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2838
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2839
ac_tool_warned=yes ;;
2844
STRIP="$ac_cv_prog_STRIP"
2848
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2851
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2852
if test -z "$MKDIR_P"; then
2853
if ${ac_cv_path_mkdir+:} false; then :
2854
$as_echo_n "(cached) " >&6
2856
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2860
test -z "$as_dir" && as_dir=.
2861
for ac_prog in mkdir gmkdir; do
2862
for ac_exec_ext in '' $ac_executable_extensions; do
2863
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2864
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2865
'mkdir (GNU coreutils) '* | \
2866
'mkdir (coreutils) '* | \
2867
'mkdir (fileutils) '4.1*)
2868
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2878
test -d ./--version && rmdir ./--version
2879
if test "${ac_cv_path_mkdir+set}" = set; then
2880
MKDIR_P="$ac_cv_path_mkdir -p"
2882
# As a last resort, use the slow shell script. Don't cache a
2883
# value for MKDIR_P within a source directory, because that will
2884
# break other packages using the cache if that directory is
2885
# removed, or if the value is a relative name.
2886
MKDIR_P="$ac_install_sh -d"
2889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2890
$as_echo "$MKDIR_P" >&6; }
2894
[\\/$]* | ?:[\\/]*) ;;
2895
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2898
for ac_prog in gawk mawk nawk awk
2900
# Extract the first word of "$ac_prog", so it can be a program name with args.
2901
set dummy $ac_prog; ac_word=$2
2902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2903
$as_echo_n "checking for $ac_word... " >&6; }
2904
if ${ac_cv_prog_AWK+:} false; then :
2905
$as_echo_n "(cached) " >&6
2907
if test -n "$AWK"; then
2908
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2910
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2914
test -z "$as_dir" && as_dir=.
2915
for ac_exec_ext in '' $ac_executable_extensions; do
2916
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2917
ac_cv_prog_AWK="$ac_prog"
2918
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2928
if test -n "$AWK"; then
2929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2930
$as_echo "$AWK" >&6; }
2932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2933
$as_echo "no" >&6; }
2937
test -n "$AWK" && break
2940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2941
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2943
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2944
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2945
$as_echo_n "(cached) " >&6
2947
cat >conftest.make <<\_ACEOF
2950
@echo '@@@%%%=$(MAKE)=@@@%%%'
2952
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2953
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2955
eval ac_cv_prog_make_${ac_make}_set=yes;;
2957
eval ac_cv_prog_make_${ac_make}_set=no;;
2961
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2963
$as_echo "yes" >&6; }
2966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967
$as_echo "no" >&6; }
2968
SET_MAKE="MAKE=${MAKE-make}"
2971
rm -rf .tst 2>/dev/null
2972
mkdir .tst 2>/dev/null
2973
if test -d .tst; then
2978
rmdir .tst 2>/dev/null
2980
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2981
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2982
# is not polluted with repeated "-I."
2983
am__isrc=' -I$(srcdir)'
2984
# test to see if srcdir already configured
2985
if test -f $srcdir/config.status; then
2986
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2990
# test whether we have cygpath
2991
if test -z "$CYGPATH_W"; then
2992
if (cygpath --version) >/dev/null 2>/dev/null; then
2993
CYGPATH_W='cygpath -w'
3000
# Define the identity of the package.
3005
cat >>confdefs.h <<_ACEOF
3006
#define PACKAGE "$PACKAGE"
3010
cat >>confdefs.h <<_ACEOF
3011
#define VERSION "$VERSION"
3014
# Some tools Automake needs.
3016
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3019
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3022
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3025
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3028
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3030
# We need awk for the "check" target. The system "awk" is bad on
3032
# Always define AMTAR for backward compatibility. Yes, it's still used
3033
# in the wild :-( We should find a proper way to deprecate it ...
3036
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3044
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3045
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3050
macro_version='2.4.2'
3051
macro_revision='1.3337'
3065
ltmain="$ac_aux_dir/ltmain.sh"
3067
# Make sure we can run config.sub.
3068
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3069
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3072
$as_echo_n "checking build system type... " >&6; }
3073
if ${ac_cv_build+:} false; then :
3074
$as_echo_n "(cached) " >&6
3076
ac_build_alias=$build_alias
3077
test "x$ac_build_alias" = x &&
3078
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3079
test "x$ac_build_alias" = x &&
3080
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3081
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3082
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3086
$as_echo "$ac_cv_build" >&6; }
3087
case $ac_cv_build in
3089
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3092
ac_save_IFS=$IFS; IFS='-'
3098
# Remember, the first character of IFS is used to create $*,
3099
# except with old shells:
3102
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3106
$as_echo_n "checking host system type... " >&6; }
3107
if ${ac_cv_host+:} false; then :
3108
$as_echo_n "(cached) " >&6
3110
if test "x$host_alias" = x; then
3111
ac_cv_host=$ac_cv_build
3113
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3114
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3119
$as_echo "$ac_cv_host" >&6; }
3122
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3125
ac_save_IFS=$IFS; IFS='-'
3131
# Remember, the first character of IFS is used to create $*,
3132
# except with old shells:
3135
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3138
# Backslashify metacharacters that are still active within
3139
# double-quoted strings.
3140
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3142
# Same as above, but do not quote variable references.
3143
double_quote_subst='s/\(["`\\]\)/\\\1/g'
3145
# Sed substitution to delay expansion of an escaped shell variable in a
3146
# double_quote_subst'ed string.
3147
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3149
# Sed substitution to delay expansion of an escaped single quote.
3150
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3152
# Sed substitution to avoid accidental globbing in evaled expressions
3153
no_glob_subst='s/\*/\\\*/g'
3155
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3156
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3157
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3160
$as_echo_n "checking how to print strings... " >&6; }
3161
# Test print first, because it will be a builtin if present.
3162
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3163
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3165
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3168
# Use this function as a fallback that always works.
3169
func_fallback_echo ()
3171
eval 'cat <<_LTECHO_EOF
3175
ECHO='func_fallback_echo'
3178
# func_echo_all arg...
3179
# Invoke $ECHO with all args, space-separated.
3186
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3187
$as_echo "printf" >&6; } ;;
3188
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3189
$as_echo "print -r" >&6; } ;;
3190
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3191
$as_echo "cat" >&6; } ;;
3207
DEPDIR="${am__leading_dot}deps"
3209
ac_config_commands="$ac_config_commands depfiles"
3212
am_make=${MAKE-make}
3213
cat > confinc << 'END'
3215
@echo this is the am__doit target
3218
# If we don't find an include directive, just comment out the code.
3219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3220
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3224
# First try GNU make style include.
3225
echo "include confinc" > confmf
3226
# Ignore all kinds of additional output from `make'.
3227
case `$am_make -s -f confmf 2> /dev/null` in #(
3228
*the\ am__doit\ target*)
3234
# Now try BSD make style include.
3235
if test "$am__include" = "#"; then
3236
echo '.include "confinc"' > confmf
3237
case `$am_make -s -f confmf 2> /dev/null` in #(
3238
*the\ am__doit\ target*)
3239
am__include=.include
3247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3248
$as_echo "$_am_result" >&6; }
3249
rm -f confinc confmf
3251
# Check whether --enable-dependency-tracking was given.
3252
if test "${enable_dependency_tracking+set}" = set; then :
3253
enableval=$enable_dependency_tracking;
3256
if test "x$enable_dependency_tracking" != xno; then
3257
am_depcomp="$ac_aux_dir/depcomp"
3261
if test "x$enable_dependency_tracking" != xno; then
3271
ac_cpp='$CPP $CPPFLAGS'
3272
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3273
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3274
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3275
if test -n "$ac_tool_prefix"; then
3276
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3277
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3279
$as_echo_n "checking for $ac_word... " >&6; }
3280
if ${ac_cv_prog_CC+:} false; then :
3281
$as_echo_n "(cached) " >&6
3283
if test -n "$CC"; then
3284
ac_cv_prog_CC="$CC" # Let the user override the test.
3286
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3290
test -z "$as_dir" && as_dir=.
3291
for ac_exec_ext in '' $ac_executable_extensions; do
3292
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3293
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3294
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304
if test -n "$CC"; then
3305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3306
$as_echo "$CC" >&6; }
3308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3309
$as_echo "no" >&6; }
3314
if test -z "$ac_cv_prog_CC"; then
3316
# Extract the first word of "gcc", so it can be a program name with args.
3317
set dummy gcc; ac_word=$2
3318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3319
$as_echo_n "checking for $ac_word... " >&6; }
3320
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3321
$as_echo_n "(cached) " >&6
3323
if test -n "$ac_ct_CC"; then
3324
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3326
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3330
test -z "$as_dir" && as_dir=.
3331
for ac_exec_ext in '' $ac_executable_extensions; do
3332
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3333
ac_cv_prog_ac_ct_CC="gcc"
3334
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3343
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3344
if test -n "$ac_ct_CC"; then
3345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3346
$as_echo "$ac_ct_CC" >&6; }
3348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3349
$as_echo "no" >&6; }
3352
if test "x$ac_ct_CC" = x; then
3355
case $cross_compiling:$ac_tool_warned in
3357
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3358
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3359
ac_tool_warned=yes ;;
3367
if test -z "$CC"; then
3368
if test -n "$ac_tool_prefix"; then
3369
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3370
set dummy ${ac_tool_prefix}cc; ac_word=$2
3371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3372
$as_echo_n "checking for $ac_word... " >&6; }
3373
if ${ac_cv_prog_CC+:} false; then :
3374
$as_echo_n "(cached) " >&6
3376
if test -n "$CC"; then
3377
ac_cv_prog_CC="$CC" # Let the user override the test.
3379
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383
test -z "$as_dir" && as_dir=.
3384
for ac_exec_ext in '' $ac_executable_extensions; do
3385
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3386
ac_cv_prog_CC="${ac_tool_prefix}cc"
3387
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397
if test -n "$CC"; then
3398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3399
$as_echo "$CC" >&6; }
3401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402
$as_echo "no" >&6; }
3408
if test -z "$CC"; then
3409
# Extract the first word of "cc", so it can be a program name with args.
3410
set dummy cc; ac_word=$2
3411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3412
$as_echo_n "checking for $ac_word... " >&6; }
3413
if ${ac_cv_prog_CC+:} false; then :
3414
$as_echo_n "(cached) " >&6
3416
if test -n "$CC"; then
3417
ac_cv_prog_CC="$CC" # Let the user override the test.
3420
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3424
test -z "$as_dir" && as_dir=.
3425
for ac_exec_ext in '' $ac_executable_extensions; do
3426
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3427
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3428
ac_prog_rejected=yes
3432
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439
if test $ac_prog_rejected = yes; then
3440
# We found a bogon in the path, so make sure we never use it.
3441
set dummy $ac_cv_prog_CC
3443
if test $# != 0; then
3444
# We chose a different compiler from the bogus one.
3445
# However, it has the same basename, so the bogon will be chosen
3446
# first if we set CC to just the basename; use the full file name.
3448
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3454
if test -n "$CC"; then
3455
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3456
$as_echo "$CC" >&6; }
3458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3459
$as_echo "no" >&6; }
3464
if test -z "$CC"; then
3465
if test -n "$ac_tool_prefix"; then
3466
for ac_prog in cl.exe
3468
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3469
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3471
$as_echo_n "checking for $ac_word... " >&6; }
3472
if ${ac_cv_prog_CC+:} false; then :
3473
$as_echo_n "(cached) " >&6
3475
if test -n "$CC"; then
3476
ac_cv_prog_CC="$CC" # Let the user override the test.
3478
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3482
test -z "$as_dir" && as_dir=.
3483
for ac_exec_ext in '' $ac_executable_extensions; do
3484
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3485
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3486
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496
if test -n "$CC"; then
3497
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3498
$as_echo "$CC" >&6; }
3500
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501
$as_echo "no" >&6; }
3505
test -n "$CC" && break
3508
if test -z "$CC"; then
3510
for ac_prog in cl.exe
3512
# Extract the first word of "$ac_prog", so it can be a program name with args.
3513
set dummy $ac_prog; ac_word=$2
3514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3515
$as_echo_n "checking for $ac_word... " >&6; }
3516
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3517
$as_echo_n "(cached) " >&6
3519
if test -n "$ac_ct_CC"; then
3520
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3522
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3526
test -z "$as_dir" && as_dir=.
3527
for ac_exec_ext in '' $ac_executable_extensions; do
3528
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3529
ac_cv_prog_ac_ct_CC="$ac_prog"
3530
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3539
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3540
if test -n "$ac_ct_CC"; then
3541
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3542
$as_echo "$ac_ct_CC" >&6; }
3544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545
$as_echo "no" >&6; }
3549
test -n "$ac_ct_CC" && break
3552
if test "x$ac_ct_CC" = x; then
3555
case $cross_compiling:$ac_tool_warned in
3557
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3558
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3559
ac_tool_warned=yes ;;
3568
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3569
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3570
as_fn_error $? "no acceptable C compiler found in \$PATH
3571
See \`config.log' for more details" "$LINENO" 5; }
3573
# Provide some information about the compiler.
3574
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3577
for ac_option in --version -v -V -qversion; do
3578
{ { ac_try="$ac_compiler $ac_option >&5"
3580
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3581
*) ac_try_echo=$ac_try;;
3583
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3584
$as_echo "$ac_try_echo"; } >&5
3585
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3587
if test -s conftest.err; then
3589
... rest of stderr output deleted ...
3590
10q' conftest.err >conftest.er1
3591
cat conftest.er1 >&5
3593
rm -f conftest.er1 conftest.err
3594
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3595
test $ac_status = 0; }
3598
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599
/* end confdefs.h. */
3609
ac_clean_files_save=$ac_clean_files
3610
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3611
# Try to create an executable without -o first, disregard a.out.
3612
# It will help us diagnose broken compilers, and finding out an intuition
3614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3615
$as_echo_n "checking whether the C compiler works... " >&6; }
3616
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3618
# The possible output files:
3619
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3622
for ac_file in $ac_files
3625
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3626
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3631
if { { ac_try="$ac_link_default"
3633
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634
*) ac_try_echo=$ac_try;;
3636
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3637
$as_echo "$ac_try_echo"; } >&5
3638
(eval "$ac_link_default") 2>&5
3640
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3641
test $ac_status = 0; }; then :
3642
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3643
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3644
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3645
# so that the user can short-circuit this test for compilers unknown to
3647
for ac_file in $ac_files ''
3649
test -f "$ac_file" || continue
3651
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3654
# We found the default executable, but exeext='' is most
3658
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3660
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3662
# We set ac_cv_exeext here because the later test for it is not
3663
# safe: cross compilers may not add the suffix if given an `-o'
3664
# argument, so we may need to know it at that point already.
3665
# Even if this section looks crufty: it has the advantage of
3672
test "$ac_cv_exeext" = no && ac_cv_exeext=
3677
if test -z "$ac_file"; then :
3678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3679
$as_echo "no" >&6; }
3680
$as_echo "$as_me: failed program was:" >&5
3681
sed 's/^/| /' conftest.$ac_ext >&5
3683
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685
as_fn_error 77 "C compiler cannot create executables
3686
See \`config.log' for more details" "$LINENO" 5; }
3688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3689
$as_echo "yes" >&6; }
3691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3692
$as_echo_n "checking for C compiler default output file name... " >&6; }
3693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3694
$as_echo "$ac_file" >&6; }
3695
ac_exeext=$ac_cv_exeext
3697
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3698
ac_clean_files=$ac_clean_files_save
3699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3700
$as_echo_n "checking for suffix of executables... " >&6; }
3701
if { { ac_try="$ac_link"
3703
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3704
*) ac_try_echo=$ac_try;;
3706
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3707
$as_echo "$ac_try_echo"; } >&5
3708
(eval "$ac_link") 2>&5
3710
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3711
test $ac_status = 0; }; then :
3712
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3713
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3714
# work properly (i.e., refer to `conftest.exe'), while it won't with
3716
for ac_file in conftest.exe conftest conftest.*; do
3717
test -f "$ac_file" || continue
3719
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3720
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3726
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3727
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3728
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3729
See \`config.log' for more details" "$LINENO" 5; }
3731
rm -f conftest conftest$ac_cv_exeext
3732
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3733
$as_echo "$ac_cv_exeext" >&6; }
3735
rm -f conftest.$ac_ext
3736
EXEEXT=$ac_cv_exeext
3738
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739
/* end confdefs.h. */
3744
FILE *f = fopen ("conftest.out", "w");
3745
return ferror (f) || fclose (f) != 0;
3751
ac_clean_files="$ac_clean_files conftest.out"
3752
# Check that the compiler produces executables we can run. If not, either
3753
# the compiler is broken, or we cross compile.
3754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3755
$as_echo_n "checking whether we are cross compiling... " >&6; }
3756
if test "$cross_compiling" != yes; then
3757
{ { ac_try="$ac_link"
3759
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760
*) ac_try_echo=$ac_try;;
3762
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3763
$as_echo "$ac_try_echo"; } >&5
3764
(eval "$ac_link") 2>&5
3766
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3767
test $ac_status = 0; }
3768
if { ac_try='./conftest$ac_cv_exeext'
3769
{ { case "(($ac_try" in
3770
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3771
*) ac_try_echo=$ac_try;;
3773
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3774
$as_echo "$ac_try_echo"; } >&5
3775
(eval "$ac_try") 2>&5
3777
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3778
test $ac_status = 0; }; }; then
3781
if test "$cross_compiling" = maybe; then
3784
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3785
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3786
as_fn_error $? "cannot run C compiled programs.
3787
If you meant to cross compile, use \`--host'.
3788
See \`config.log' for more details" "$LINENO" 5; }
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3793
$as_echo "$cross_compiling" >&6; }
3795
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3796
ac_clean_files=$ac_clean_files_save
3797
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3798
$as_echo_n "checking for suffix of object files... " >&6; }
3799
if ${ac_cv_objext+:} false; then :
3800
$as_echo_n "(cached) " >&6
3802
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803
/* end confdefs.h. */
3813
rm -f conftest.o conftest.obj
3814
if { { ac_try="$ac_compile"
3816
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3817
*) ac_try_echo=$ac_try;;
3819
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3820
$as_echo "$ac_try_echo"; } >&5
3821
(eval "$ac_compile") 2>&5
3823
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3824
test $ac_status = 0; }; then :
3825
for ac_file in conftest.o conftest.obj conftest.*; do
3826
test -f "$ac_file" || continue;
3828
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3829
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3834
$as_echo "$as_me: failed program was:" >&5
3835
sed 's/^/| /' conftest.$ac_ext >&5
3837
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3838
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3839
as_fn_error $? "cannot compute suffix of object files: cannot compile
3840
See \`config.log' for more details" "$LINENO" 5; }
3842
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3845
$as_echo "$ac_cv_objext" >&6; }
3846
OBJEXT=$ac_cv_objext
3848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3849
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3850
if ${ac_cv_c_compiler_gnu+:} false; then :
3851
$as_echo_n "(cached) " >&6
3853
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854
/* end confdefs.h. */
3867
if ac_fn_c_try_compile "$LINENO"; then :
3872
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3873
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3877
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3878
if test $ac_compiler_gnu = yes; then
3883
ac_test_CFLAGS=${CFLAGS+set}
3884
ac_save_CFLAGS=$CFLAGS
3885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3886
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3887
if ${ac_cv_prog_cc_g+:} false; then :
3888
$as_echo_n "(cached) " >&6
3890
ac_save_c_werror_flag=$ac_c_werror_flag
3891
ac_c_werror_flag=yes
3894
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895
/* end confdefs.h. */
3905
if ac_fn_c_try_compile "$LINENO"; then :
3909
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910
/* end confdefs.h. */
3920
if ac_fn_c_try_compile "$LINENO"; then :
3923
ac_c_werror_flag=$ac_save_c_werror_flag
3925
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926
/* end confdefs.h. */
3936
if ac_fn_c_try_compile "$LINENO"; then :
3939
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3941
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3943
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3944
ac_c_werror_flag=$ac_save_c_werror_flag
3946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3947
$as_echo "$ac_cv_prog_cc_g" >&6; }
3948
if test "$ac_test_CFLAGS" = set; then
3949
CFLAGS=$ac_save_CFLAGS
3950
elif test $ac_cv_prog_cc_g = yes; then
3951
if test "$GCC" = yes; then
3957
if test "$GCC" = yes; then
3963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3964
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3965
if ${ac_cv_prog_cc_c89+:} false; then :
3966
$as_echo_n "(cached) " >&6
3968
ac_cv_prog_cc_c89=no
3970
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971
/* end confdefs.h. */
3975
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3976
struct buf { int x; };
3977
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3978
static char *e (p, i)
3984
static char *f (char * (*g) (char **, int), char **p, ...)
3989
s = g (p, va_arg (v,int));
3994
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3995
function prototypes and stuff, but not '\xHH' hex character constants.
3996
These don't provoke an error unfortunately, instead are silently treated
3997
as 'x'. The following induces an error, until -std is added to get
3998
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3999
array size at least. It's necessary to write '\x00'==0 to get something
4000
that's true only with -std. */
4001
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4003
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4004
inside strings and character constants. */
4006
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4008
int test (int i, double x);
4009
struct s1 {int (*f) (int a);};
4010
struct s2 {int (*f) (double a);};
4011
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4017
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4022
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4023
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4025
CC="$ac_save_CC $ac_arg"
4026
if ac_fn_c_try_compile "$LINENO"; then :
4027
ac_cv_prog_cc_c89=$ac_arg
4029
rm -f core conftest.err conftest.$ac_objext
4030
test "x$ac_cv_prog_cc_c89" != "xno" && break
4032
rm -f conftest.$ac_ext
4037
case "x$ac_cv_prog_cc_c89" in
4039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4040
$as_echo "none needed" >&6; } ;;
4042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4043
$as_echo "unsupported" >&6; } ;;
4045
CC="$CC $ac_cv_prog_cc_c89"
4046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4047
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4049
if test "x$ac_cv_prog_cc_c89" != xno; then :
4054
ac_cpp='$CPP $CPPFLAGS'
4055
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4056
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4057
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4059
depcc="$CC" am_compiler_list=
4061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4062
$as_echo_n "checking dependency style of $depcc... " >&6; }
4063
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4064
$as_echo_n "(cached) " >&6
4066
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4067
# We make a subdir and do the tests there. Otherwise we can end up
4068
# making bogus files that we don't know about and never remove. For
4069
# instance it was reported that on HP-UX the gcc test will end up
4070
# making a dummy file named `D' -- because `-MD' means `put the output
4074
# Copy depcomp to subdir because otherwise we won't find it if we're
4075
# using a relative directory.
4076
cp "$am_depcomp" conftest.dir
4078
# We will build objects and dependencies in a subdirectory because
4079
# it helps to detect inapplicable dependency modes. For instance
4080
# both Tru64's cc and ICC support -MD to output dependencies as a
4081
# side effect of compilation, but ICC will put the dependencies in
4082
# the current directory while Tru64 will put them in the object
4086
am_cv_CC_dependencies_compiler_type=none
4087
if test "$am_compiler_list" = ""; then
4088
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4091
case " $depcc " in #(
4092
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4095
for depmode in $am_compiler_list; do
4096
# Setup a source with many dependencies, because some compilers
4097
# like to wrap large dependency lists on column 80 (with \), and
4098
# we should not choose a depcomp mode which is confused by this.
4100
# We need to recreate these files for each test, as the compiler may
4101
# overwrite some of them when testing with obscure command lines.
4102
# This happens at least with the AIX C compiler.
4104
for i in 1 2 3 4 5 6; do
4105
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4106
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4107
# Solaris 8's {/usr,}/bin/sh.
4108
touch sub/conftst$i.h
4110
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4112
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4113
# mode. It turns out that the SunPro C++ compiler does not properly
4114
# handle `-M -o', and we need to detect this. Also, some Intel
4115
# versions had trouble with output in subdirs
4116
am__obj=sub/conftest.${OBJEXT-o}
4117
am__minus_obj="-o $am__obj"
4120
# This depmode causes a compiler race in universal mode.
4121
test "$am__universal" = false || continue
4124
# after this tag, mechanisms are not by side-effect, so they'll
4125
# only be used when explicitly requested
4126
if test "x$enable_dependency_tracking" = xyes; then
4132
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4133
# This compiler won't grok `-c -o', but also, the minuso test has
4134
# not run yet. These depmodes are late enough in the game, and
4135
# so weak that their functioning should not be impacted.
4136
am__obj=conftest.${OBJEXT-o}
4141
if depmode=$depmode \
4142
source=sub/conftest.c object=$am__obj \
4143
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4144
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4145
>/dev/null 2>conftest.err &&
4146
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4147
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4148
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4149
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4150
# icc doesn't choke on unknown options, it will just issue warnings
4151
# or remarks (even with -Werror). So we grep stderr for any message
4152
# that says an option was ignored or not supported.
4153
# When given -MP, icc 7.0 and 7.1 complain thusly:
4154
# icc: Command line warning: ignoring option '-M'; no argument required
4155
# The diagnosis changed in icc 8.0:
4156
# icc: Command line remark: option '-MP' not supported
4157
if (grep 'ignoring option' conftest.err ||
4158
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4159
am_cv_CC_dependencies_compiler_type=$depmode
4168
am_cv_CC_dependencies_compiler_type=none
4172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4173
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4174
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4177
test "x$enable_dependency_tracking" != xno \
4178
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4180
am__fastdepCC_FALSE='#'
4182
am__fastdepCC_TRUE='#'
4183
am__fastdepCC_FALSE=
4187
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4188
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4189
if ${ac_cv_path_SED+:} false; then :
4190
$as_echo_n "(cached) " >&6
4192
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4193
for ac_i in 1 2 3 4 5 6 7; do
4194
ac_script="$ac_script$as_nl$ac_script"
4196
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4197
{ ac_script=; unset ac_script;}
4198
if test -z "$SED"; then
4199
ac_path_SED_found=false
4200
# Loop through the user's path and test for each of PROGNAME-LIST
4201
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205
test -z "$as_dir" && as_dir=.
4206
for ac_prog in sed gsed; do
4207
for ac_exec_ext in '' $ac_executable_extensions; do
4208
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4209
as_fn_executable_p "$ac_path_SED" || continue
4210
# Check for GNU ac_path_SED and select it if it is found.
4211
# Check for GNU $ac_path_SED
4212
case `"$ac_path_SED" --version 2>&1` in
4214
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4217
$as_echo_n 0123456789 >"conftest.in"
4220
cat "conftest.in" "conftest.in" >"conftest.tmp"
4221
mv "conftest.tmp" "conftest.in"
4222
cp "conftest.in" "conftest.nl"
4223
$as_echo '' >> "conftest.nl"
4224
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4225
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4226
as_fn_arith $ac_count + 1 && ac_count=$as_val
4227
if test $ac_count -gt ${ac_path_SED_max-0}; then
4228
# Best one so far, save it but keep looking for a better one
4229
ac_cv_path_SED="$ac_path_SED"
4230
ac_path_SED_max=$ac_count
4232
# 10*(2^10) chars as input seems more than enough
4233
test $ac_count -gt 10 && break
4235
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4238
$ac_path_SED_found && break 3
4243
if test -z "$ac_cv_path_SED"; then
4244
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4252
$as_echo "$ac_cv_path_SED" >&6; }
4253
SED="$ac_cv_path_SED"
4256
test -z "$SED" && SED=sed
4257
Xsed="$SED -e 1s/^X//"
4269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4270
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4271
if ${ac_cv_path_GREP+:} false; then :
4272
$as_echo_n "(cached) " >&6
4274
if test -z "$GREP"; then
4275
ac_path_GREP_found=false
4276
# Loop through the user's path and test for each of PROGNAME-LIST
4277
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4278
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4281
test -z "$as_dir" && as_dir=.
4282
for ac_prog in grep ggrep; do
4283
for ac_exec_ext in '' $ac_executable_extensions; do
4284
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4285
as_fn_executable_p "$ac_path_GREP" || continue
4286
# Check for GNU ac_path_GREP and select it if it is found.
4287
# Check for GNU $ac_path_GREP
4288
case `"$ac_path_GREP" --version 2>&1` in
4290
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4293
$as_echo_n 0123456789 >"conftest.in"
4296
cat "conftest.in" "conftest.in" >"conftest.tmp"
4297
mv "conftest.tmp" "conftest.in"
4298
cp "conftest.in" "conftest.nl"
4299
$as_echo 'GREP' >> "conftest.nl"
4300
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4301
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4302
as_fn_arith $ac_count + 1 && ac_count=$as_val
4303
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4304
# Best one so far, save it but keep looking for a better one
4305
ac_cv_path_GREP="$ac_path_GREP"
4306
ac_path_GREP_max=$ac_count
4308
# 10*(2^10) chars as input seems more than enough
4309
test $ac_count -gt 10 && break
4311
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4314
$ac_path_GREP_found && break 3
4319
if test -z "$ac_cv_path_GREP"; then
4320
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4323
ac_cv_path_GREP=$GREP
4327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4328
$as_echo "$ac_cv_path_GREP" >&6; }
4329
GREP="$ac_cv_path_GREP"
4332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4333
$as_echo_n "checking for egrep... " >&6; }
4334
if ${ac_cv_path_EGREP+:} false; then :
4335
$as_echo_n "(cached) " >&6
4337
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4338
then ac_cv_path_EGREP="$GREP -E"
4340
if test -z "$EGREP"; then
4341
ac_path_EGREP_found=false
4342
# Loop through the user's path and test for each of PROGNAME-LIST
4343
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4344
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4347
test -z "$as_dir" && as_dir=.
4348
for ac_prog in egrep; do
4349
for ac_exec_ext in '' $ac_executable_extensions; do
4350
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4351
as_fn_executable_p "$ac_path_EGREP" || continue
4352
# Check for GNU ac_path_EGREP and select it if it is found.
4353
# Check for GNU $ac_path_EGREP
4354
case `"$ac_path_EGREP" --version 2>&1` in
4356
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4359
$as_echo_n 0123456789 >"conftest.in"
4362
cat "conftest.in" "conftest.in" >"conftest.tmp"
4363
mv "conftest.tmp" "conftest.in"
4364
cp "conftest.in" "conftest.nl"
4365
$as_echo 'EGREP' >> "conftest.nl"
4366
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4367
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4368
as_fn_arith $ac_count + 1 && ac_count=$as_val
4369
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4370
# Best one so far, save it but keep looking for a better one
4371
ac_cv_path_EGREP="$ac_path_EGREP"
4372
ac_path_EGREP_max=$ac_count
4374
# 10*(2^10) chars as input seems more than enough
4375
test $ac_count -gt 10 && break
4377
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4380
$ac_path_EGREP_found && break 3
4385
if test -z "$ac_cv_path_EGREP"; then
4386
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4389
ac_cv_path_EGREP=$EGREP
4394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4395
$as_echo "$ac_cv_path_EGREP" >&6; }
4396
EGREP="$ac_cv_path_EGREP"
4399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4400
$as_echo_n "checking for fgrep... " >&6; }
4401
if ${ac_cv_path_FGREP+:} false; then :
4402
$as_echo_n "(cached) " >&6
4404
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4405
then ac_cv_path_FGREP="$GREP -F"
4407
if test -z "$FGREP"; then
4408
ac_path_FGREP_found=false
4409
# Loop through the user's path and test for each of PROGNAME-LIST
4410
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4414
test -z "$as_dir" && as_dir=.
4415
for ac_prog in fgrep; do
4416
for ac_exec_ext in '' $ac_executable_extensions; do
4417
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4418
as_fn_executable_p "$ac_path_FGREP" || continue
4419
# Check for GNU ac_path_FGREP and select it if it is found.
4420
# Check for GNU $ac_path_FGREP
4421
case `"$ac_path_FGREP" --version 2>&1` in
4423
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4426
$as_echo_n 0123456789 >"conftest.in"
4429
cat "conftest.in" "conftest.in" >"conftest.tmp"
4430
mv "conftest.tmp" "conftest.in"
4431
cp "conftest.in" "conftest.nl"
4432
$as_echo 'FGREP' >> "conftest.nl"
4433
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4434
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4435
as_fn_arith $ac_count + 1 && ac_count=$as_val
4436
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4437
# Best one so far, save it but keep looking for a better one
4438
ac_cv_path_FGREP="$ac_path_FGREP"
4439
ac_path_FGREP_max=$ac_count
4441
# 10*(2^10) chars as input seems more than enough
4442
test $ac_count -gt 10 && break
4444
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4447
$ac_path_FGREP_found && break 3
4452
if test -z "$ac_cv_path_FGREP"; then
4453
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4456
ac_cv_path_FGREP=$FGREP
4461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4462
$as_echo "$ac_cv_path_FGREP" >&6; }
4463
FGREP="$ac_cv_path_FGREP"
4466
test -z "$GREP" && GREP=grep
4486
# Check whether --with-gnu-ld was given.
4487
if test "${with_gnu_ld+set}" = set; then :
4488
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4494
if test "$GCC" = yes; then
4495
# Check if gcc -print-prog-name=ld gives a path.
4496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4497
$as_echo_n "checking for ld used by $CC... " >&6; }
4500
# gcc leaves a trailing carriage return which upsets mingw
4501
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4503
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4506
# Accept absolute paths.
4508
re_direlt='/[^/][^/]*/\.\./'
4509
# Canonicalize the pathname of ld
4510
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4511
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4512
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4514
test -z "$LD" && LD="$ac_prog"
4517
# If it fails, then pretend we aren't using GCC.
4521
# If it is relative, then search for the first ld in PATH.
4525
elif test "$with_gnu_ld" = yes; then
4526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4527
$as_echo_n "checking for GNU ld... " >&6; }
4529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4530
$as_echo_n "checking for non-GNU ld... " >&6; }
4532
if ${lt_cv_path_LD+:} false; then :
4533
$as_echo_n "(cached) " >&6
4535
if test -z "$LD"; then
4536
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4537
for ac_dir in $PATH; do
4539
test -z "$ac_dir" && ac_dir=.
4540
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4541
lt_cv_path_LD="$ac_dir/$ac_prog"
4542
# Check to see if the program is GNU ld. I'd rather use --version,
4543
# but apparently some variants of GNU ld only accept -v.
4544
# Break only if it was the GNU/non-GNU ld that we prefer.
4545
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4546
*GNU* | *'with BFD'*)
4547
test "$with_gnu_ld" != no && break
4550
test "$with_gnu_ld" != yes && break
4557
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4562
if test -n "$LD"; then
4563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4564
$as_echo "$LD" >&6; }
4566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567
$as_echo "no" >&6; }
4569
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4571
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4572
if ${lt_cv_prog_gnu_ld+:} false; then :
4573
$as_echo_n "(cached) " >&6
4575
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4576
case `$LD -v 2>&1 </dev/null` in
4577
*GNU* | *'with BFD'*)
4578
lt_cv_prog_gnu_ld=yes
4581
lt_cv_prog_gnu_ld=no
4585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4586
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4587
with_gnu_ld=$lt_cv_prog_gnu_ld
4597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4598
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4599
if ${lt_cv_path_NM+:} false; then :
4600
$as_echo_n "(cached) " >&6
4602
if test -n "$NM"; then
4603
# Let the user override the test.
4606
lt_nm_to_check="${ac_tool_prefix}nm"
4607
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4608
lt_nm_to_check="$lt_nm_to_check nm"
4610
for lt_tmp_nm in $lt_nm_to_check; do
4611
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4612
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4614
test -z "$ac_dir" && ac_dir=.
4615
tmp_nm="$ac_dir/$lt_tmp_nm"
4616
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4617
# Check to see if the nm accepts a BSD-compat flag.
4618
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4619
# nm: unknown option "B" ignored
4620
# Tru64's nm complains that /dev/null is an invalid object file
4621
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4622
*/dev/null* | *'Invalid file or object type'*)
4623
lt_cv_path_NM="$tmp_nm -B"
4627
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4629
lt_cv_path_NM="$tmp_nm -p"
4633
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4634
continue # so that we can try to find one that supports BSD flags
4643
: ${lt_cv_path_NM=no}
4646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4647
$as_echo "$lt_cv_path_NM" >&6; }
4648
if test "$lt_cv_path_NM" != "no"; then
4651
# Didn't find any BSD compatible name lister, look for dumpbin.
4652
if test -n "$DUMPBIN"; then :
4653
# Let the user override the test.
4655
if test -n "$ac_tool_prefix"; then
4656
for ac_prog in dumpbin "link -dump"
4658
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4659
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661
$as_echo_n "checking for $ac_word... " >&6; }
4662
if ${ac_cv_prog_DUMPBIN+:} false; then :
4663
$as_echo_n "(cached) " >&6
4665
if test -n "$DUMPBIN"; then
4666
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4668
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672
test -z "$as_dir" && as_dir=.
4673
for ac_exec_ext in '' $ac_executable_extensions; do
4674
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4675
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4676
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4685
DUMPBIN=$ac_cv_prog_DUMPBIN
4686
if test -n "$DUMPBIN"; then
4687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4688
$as_echo "$DUMPBIN" >&6; }
4690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691
$as_echo "no" >&6; }
4695
test -n "$DUMPBIN" && break
4698
if test -z "$DUMPBIN"; then
4699
ac_ct_DUMPBIN=$DUMPBIN
4700
for ac_prog in dumpbin "link -dump"
4702
# Extract the first word of "$ac_prog", so it can be a program name with args.
4703
set dummy $ac_prog; ac_word=$2
4704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705
$as_echo_n "checking for $ac_word... " >&6; }
4706
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4707
$as_echo_n "(cached) " >&6
4709
if test -n "$ac_ct_DUMPBIN"; then
4710
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4712
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716
test -z "$as_dir" && as_dir=.
4717
for ac_exec_ext in '' $ac_executable_extensions; do
4718
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4719
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4720
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4729
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4730
if test -n "$ac_ct_DUMPBIN"; then
4731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4732
$as_echo "$ac_ct_DUMPBIN" >&6; }
4734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735
$as_echo "no" >&6; }
4739
test -n "$ac_ct_DUMPBIN" && break
4742
if test "x$ac_ct_DUMPBIN" = x; then
4745
case $cross_compiling:$ac_tool_warned in
4747
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4748
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4749
ac_tool_warned=yes ;;
4751
DUMPBIN=$ac_ct_DUMPBIN
4755
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4757
DUMPBIN="$DUMPBIN -symbols"
4765
if test "$DUMPBIN" != ":"; then
4769
test -z "$NM" && NM=nm
4776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4777
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4778
if ${lt_cv_nm_interface+:} false; then :
4779
$as_echo_n "(cached) " >&6
4781
lt_cv_nm_interface="BSD nm"
4782
echo "int some_variable = 0;" > conftest.$ac_ext
4783
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4784
(eval "$ac_compile" 2>conftest.err)
4785
cat conftest.err >&5
4786
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4787
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4788
cat conftest.err >&5
4789
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
4790
cat conftest.out >&5
4791
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4792
lt_cv_nm_interface="MS dumpbin"
4796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4797
$as_echo "$lt_cv_nm_interface" >&6; }
4799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4800
$as_echo_n "checking whether ln -s works... " >&6; }
4802
if test "$LN_S" = "ln -s"; then
4803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4804
$as_echo "yes" >&6; }
4806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4807
$as_echo "no, using $LN_S" >&6; }
4810
# find the maximum length of command line arguments
4811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4812
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4813
if ${lt_cv_sys_max_cmd_len+:} false; then :
4814
$as_echo_n "(cached) " >&6
4821
# On DJGPP, this test can blow up pretty badly due to problems in libc
4822
# (any single argument exceeding 2000 bytes causes a buffer overrun
4823
# during glob expansion). Even if it were fixed, the result of this
4824
# check would be larger than it should be.
4825
lt_cv_sys_max_cmd_len=12288; # 12K is about right
4829
# Under GNU Hurd, this test is not required because there is
4830
# no limit to the length of command line arguments.
4831
# Libtool will interpret -1 as no limit whatsoever
4832
lt_cv_sys_max_cmd_len=-1;
4835
cygwin* | mingw* | cegcc*)
4836
# On Win9x/ME, this test blows up -- it succeeds, but takes
4837
# about 5 minutes as the teststring grows exponentially.
4838
# Worse, since 9x/ME are not pre-emptively multitasking,
4839
# you end up with a "frozen" computer, even though with patience
4840
# the test eventually succeeds (with a max line length of 256k).
4841
# Instead, let's just punt: use the minimum linelength reported by
4842
# all of the supported platforms: 8192 (on NT/2K/XP).
4843
lt_cv_sys_max_cmd_len=8192;
4847
# On MiNT this can take a long time and run out of memory.
4848
lt_cv_sys_max_cmd_len=8192;
4852
# On AmigaOS with pdksh, this test takes hours, literally.
4853
# So we just punt and use a minimum line length of 8192.
4854
lt_cv_sys_max_cmd_len=8192;
4857
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4858
# This has been around since 386BSD, at least. Likely further.
4859
if test -x /sbin/sysctl; then
4860
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4861
elif test -x /usr/sbin/sysctl; then
4862
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4864
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4866
# And add a safety zone
4867
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4868
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4872
# We know the value 262144 and hardcode it with a safety zone (like BSD)
4873
lt_cv_sys_max_cmd_len=196608
4877
# The test takes a long time on OS/2.
4878
lt_cv_sys_max_cmd_len=8192
4882
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4883
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4884
# nice to cause kernel panics so lets avoid the loop below.
4885
# First set a reasonable default.
4886
lt_cv_sys_max_cmd_len=16384
4888
if test -x /sbin/sysconfig; then
4889
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4890
*1*) lt_cv_sys_max_cmd_len=-1 ;;
4895
lt_cv_sys_max_cmd_len=102400
4897
sysv5* | sco5v6* | sysv4.2uw2*)
4898
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4899
if test -n "$kargmax"; then
4900
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4902
lt_cv_sys_max_cmd_len=32768
4906
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4907
if test -n "$lt_cv_sys_max_cmd_len"; then
4908
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4909
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4911
# Make teststring a little bigger before we do anything with it.
4912
# a 1K string should be a reasonable start.
4913
for i in 1 2 3 4 5 6 7 8 ; do
4914
teststring=$teststring$teststring
4916
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4917
# If test is not a shell built-in, we'll probably end up computing a
4918
# maximum length that is only half of the actual maximum length, but
4920
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4921
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
4922
test $i != 17 # 1/2 MB should be enough
4925
teststring=$teststring$teststring
4927
# Only check the string length outside the loop.
4928
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4930
# Add a significant safety factor because C++ compilers can tack on
4931
# massive amounts of additional arguments before passing them to the
4932
# linker. It appears as though 1/2 is a usable value.
4933
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4940
if test -n $lt_cv_sys_max_cmd_len ; then
4941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4942
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4945
$as_echo "none" >&6; }
4947
max_cmd_len=$lt_cv_sys_max_cmd_len
4958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4959
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4960
# Try some XSI features
4963
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4965
&& eval 'test $(( 1 + 1 )) -eq 2 \
4966
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4969
$as_echo "$xsi_shell" >&6; }
4972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4973
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4975
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4977
&& lt_shell_append=yes
4978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4979
$as_echo "$lt_shell_append" >&6; }
4982
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4992
# test EBCDIC or ASCII
4993
case `echo X|tr X '\101'` in
4994
A) # ASCII based system
4995
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4996
lt_SP2NL='tr \040 \012'
4997
lt_NL2SP='tr \015\012 \040\040'
4999
*) # EBCDIC based system
5000
lt_SP2NL='tr \100 \n'
5001
lt_NL2SP='tr \r\n \100\100'
5013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5014
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5015
if ${lt_cv_to_host_file_cmd+:} false; then :
5016
$as_echo_n "(cached) " >&6
5021
*-*-mingw* ) # actually msys
5022
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5025
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5027
* ) # otherwise, assume *nix
5028
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5034
*-*-mingw* ) # actually msys
5035
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5038
lt_cv_to_host_file_cmd=func_convert_file_noop
5040
* ) # otherwise, assume *nix
5041
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5045
* ) # unhandled hosts (and "normal" native builds)
5046
lt_cv_to_host_file_cmd=func_convert_file_noop
5052
to_host_file_cmd=$lt_cv_to_host_file_cmd
5053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5054
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5061
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5062
if ${lt_cv_to_tool_file_cmd+:} false; then :
5063
$as_echo_n "(cached) " >&6
5065
#assume ordinary cross tools, or native build.
5066
lt_cv_to_tool_file_cmd=func_convert_file_noop
5070
*-*-mingw* ) # actually msys
5071
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5079
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5081
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5088
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5089
if ${lt_cv_ld_reload_flag+:} false; then :
5090
$as_echo_n "(cached) " >&6
5092
lt_cv_ld_reload_flag='-r'
5094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5095
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5096
reload_flag=$lt_cv_ld_reload_flag
5097
case $reload_flag in
5099
*) reload_flag=" $reload_flag" ;;
5101
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5103
cygwin* | mingw* | pw32* | cegcc*)
5104
if test "$GCC" != yes; then
5109
if test "$GCC" = yes; then
5110
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5112
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5125
if test -n "$ac_tool_prefix"; then
5126
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5127
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5129
$as_echo_n "checking for $ac_word... " >&6; }
5130
if ${ac_cv_prog_OBJDUMP+:} false; then :
5131
$as_echo_n "(cached) " >&6
5133
if test -n "$OBJDUMP"; then
5134
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5136
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140
test -z "$as_dir" && as_dir=.
5141
for ac_exec_ext in '' $ac_executable_extensions; do
5142
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5143
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5144
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153
OBJDUMP=$ac_cv_prog_OBJDUMP
5154
if test -n "$OBJDUMP"; then
5155
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5156
$as_echo "$OBJDUMP" >&6; }
5158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159
$as_echo "no" >&6; }
5164
if test -z "$ac_cv_prog_OBJDUMP"; then
5165
ac_ct_OBJDUMP=$OBJDUMP
5166
# Extract the first word of "objdump", so it can be a program name with args.
5167
set dummy objdump; ac_word=$2
5168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169
$as_echo_n "checking for $ac_word... " >&6; }
5170
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5171
$as_echo_n "(cached) " >&6
5173
if test -n "$ac_ct_OBJDUMP"; then
5174
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5176
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180
test -z "$as_dir" && as_dir=.
5181
for ac_exec_ext in '' $ac_executable_extensions; do
5182
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5183
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5184
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5194
if test -n "$ac_ct_OBJDUMP"; then
5195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5196
$as_echo "$ac_ct_OBJDUMP" >&6; }
5198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199
$as_echo "no" >&6; }
5202
if test "x$ac_ct_OBJDUMP" = x; then
5205
case $cross_compiling:$ac_tool_warned in
5207
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5208
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5209
ac_tool_warned=yes ;;
5211
OBJDUMP=$ac_ct_OBJDUMP
5214
OBJDUMP="$ac_cv_prog_OBJDUMP"
5217
test -z "$OBJDUMP" && OBJDUMP=objdump
5227
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5228
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5229
if ${lt_cv_deplibs_check_method+:} false; then :
5230
$as_echo_n "(cached) " >&6
5232
lt_cv_file_magic_cmd='$MAGIC_CMD'
5233
lt_cv_file_magic_test_file=
5234
lt_cv_deplibs_check_method='unknown'
5235
# Need to set the preceding variable on all platforms that support
5236
# interlibrary dependencies.
5237
# 'none' -- dependencies not supported.
5238
# `unknown' -- same as none, but documents that we really don't know.
5239
# 'pass_all' -- all dependencies passed with no checks.
5240
# 'test_compile' -- check by making test program.
5241
# 'file_magic [[regex]]' -- check by looking for files in library path
5242
# which responds to the $file_magic_cmd with a given extended regex.
5243
# If you have `file' or equivalent on your system and you're not sure
5244
# whether `pass_all' will *always* work, you probably want this one.
5248
lt_cv_deplibs_check_method=pass_all
5252
lt_cv_deplibs_check_method=pass_all
5256
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5257
lt_cv_file_magic_cmd='/usr/bin/file -L'
5258
lt_cv_file_magic_test_file=/shlib/libc.so
5262
# func_win32_libid is a shell function defined in ltmain.sh
5263
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5264
lt_cv_file_magic_cmd='func_win32_libid'
5268
# Base MSYS/MinGW do not provide the 'file' command needed by
5269
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5270
# unless we find 'file', for example because we are cross-compiling.
5271
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5272
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5273
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5274
lt_cv_file_magic_cmd='func_win32_libid'
5276
# Keep this pattern in sync with the one in func_win32_libid.
5277
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5278
lt_cv_file_magic_cmd='$OBJDUMP -f'
5283
# use the weaker test based on 'objdump'. See mingw*.
5284
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5285
lt_cv_file_magic_cmd='$OBJDUMP -f'
5288
darwin* | rhapsody*)
5289
lt_cv_deplibs_check_method=pass_all
5292
freebsd* | dragonfly*)
5293
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5296
# Not sure whether the presence of OpenBSD here was a mistake.
5297
# Let's accept both of them until this is cleared up.
5298
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5299
lt_cv_file_magic_cmd=/usr/bin/file
5300
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5304
lt_cv_deplibs_check_method=pass_all
5309
lt_cv_deplibs_check_method=pass_all
5313
lt_cv_deplibs_check_method=pass_all
5316
hpux10.20* | hpux11*)
5317
lt_cv_file_magic_cmd=/usr/bin/file
5320
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5321
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5324
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]'
5325
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5328
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5329
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5335
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5336
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5339
irix5* | irix6* | nonstopux*)
5341
*-32|*"-32 ") libmagic=32-bit;;
5342
*-n32|*"-n32 ") libmagic=N32;;
5343
*-64|*"-64 ") libmagic=64-bit;;
5344
*) libmagic=never-match;;
5346
lt_cv_deplibs_check_method=pass_all
5349
# This must be glibc/ELF.
5350
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5351
lt_cv_deplibs_check_method=pass_all
5354
netbsd* | netbsdelf*-gnu)
5355
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5356
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5358
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5363
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5364
lt_cv_file_magic_cmd=/usr/bin/file
5365
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5369
lt_cv_deplibs_check_method=pass_all
5373
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5374
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5376
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5380
osf3* | osf4* | osf5*)
5381
lt_cv_deplibs_check_method=pass_all
5385
lt_cv_deplibs_check_method=pass_all
5389
lt_cv_deplibs_check_method=pass_all
5392
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5393
lt_cv_deplibs_check_method=pass_all
5397
case $host_vendor in
5399
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]'
5400
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5403
lt_cv_deplibs_check_method=pass_all
5406
lt_cv_file_magic_cmd='/bin/file'
5407
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5410
lt_cv_file_magic_cmd='/bin/file'
5411
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5412
lt_cv_file_magic_test_file=/lib/libc.so
5415
lt_cv_deplibs_check_method=pass_all
5418
lt_cv_deplibs_check_method=pass_all
5424
lt_cv_deplibs_check_method=pass_all
5429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5430
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5434
if test "$build" = "$host"; then
5437
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5440
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5446
file_magic_cmd=$lt_cv_file_magic_cmd
5447
deplibs_check_method=$lt_cv_deplibs_check_method
5448
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5471
if test -n "$ac_tool_prefix"; then
5472
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5473
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475
$as_echo_n "checking for $ac_word... " >&6; }
5476
if ${ac_cv_prog_DLLTOOL+:} false; then :
5477
$as_echo_n "(cached) " >&6
5479
if test -n "$DLLTOOL"; then
5480
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5482
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486
test -z "$as_dir" && as_dir=.
5487
for ac_exec_ext in '' $ac_executable_extensions; do
5488
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5489
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5490
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5499
DLLTOOL=$ac_cv_prog_DLLTOOL
5500
if test -n "$DLLTOOL"; then
5501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5502
$as_echo "$DLLTOOL" >&6; }
5504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505
$as_echo "no" >&6; }
5510
if test -z "$ac_cv_prog_DLLTOOL"; then
5511
ac_ct_DLLTOOL=$DLLTOOL
5512
# Extract the first word of "dlltool", so it can be a program name with args.
5513
set dummy dlltool; ac_word=$2
5514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515
$as_echo_n "checking for $ac_word... " >&6; }
5516
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5517
$as_echo_n "(cached) " >&6
5519
if test -n "$ac_ct_DLLTOOL"; then
5520
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5522
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5526
test -z "$as_dir" && as_dir=.
5527
for ac_exec_ext in '' $ac_executable_extensions; do
5528
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5530
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5540
if test -n "$ac_ct_DLLTOOL"; then
5541
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5542
$as_echo "$ac_ct_DLLTOOL" >&6; }
5544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545
$as_echo "no" >&6; }
5548
if test "x$ac_ct_DLLTOOL" = x; then
5551
case $cross_compiling:$ac_tool_warned in
5553
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5554
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5555
ac_tool_warned=yes ;;
5557
DLLTOOL=$ac_ct_DLLTOOL
5560
DLLTOOL="$ac_cv_prog_DLLTOOL"
5563
test -z "$DLLTOOL" && DLLTOOL=dlltool
5574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5575
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5576
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5577
$as_echo_n "(cached) " >&6
5579
lt_cv_sharedlib_from_linklib_cmd='unknown'
5582
cygwin* | mingw* | pw32* | cegcc*)
5583
# two different shell functions defined in ltmain.sh
5584
# decide which to use based on capabilities of $DLLTOOL
5585
case `$DLLTOOL --help 2>&1` in
5586
*--identify-strict*)
5587
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5590
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5595
# fallback: assume linklib IS sharedlib
5596
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5602
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5603
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5604
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5613
if test -n "$ac_tool_prefix"; then
5616
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5617
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619
$as_echo_n "checking for $ac_word... " >&6; }
5620
if ${ac_cv_prog_AR+:} false; then :
5621
$as_echo_n "(cached) " >&6
5623
if test -n "$AR"; then
5624
ac_cv_prog_AR="$AR" # Let the user override the test.
5626
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630
test -z "$as_dir" && as_dir=.
5631
for ac_exec_ext in '' $ac_executable_extensions; do
5632
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5633
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5634
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644
if test -n "$AR"; then
5645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5646
$as_echo "$AR" >&6; }
5648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649
$as_echo "no" >&6; }
5653
test -n "$AR" && break
5656
if test -z "$AR"; then
5660
# Extract the first word of "$ac_prog", so it can be a program name with args.
5661
set dummy $ac_prog; ac_word=$2
5662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663
$as_echo_n "checking for $ac_word... " >&6; }
5664
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5665
$as_echo_n "(cached) " >&6
5667
if test -n "$ac_ct_AR"; then
5668
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5670
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674
test -z "$as_dir" && as_dir=.
5675
for ac_exec_ext in '' $ac_executable_extensions; do
5676
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5677
ac_cv_prog_ac_ct_AR="$ac_prog"
5678
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5687
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5688
if test -n "$ac_ct_AR"; then
5689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5690
$as_echo "$ac_ct_AR" >&6; }
5692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693
$as_echo "no" >&6; }
5697
test -n "$ac_ct_AR" && break
5700
if test "x$ac_ct_AR" = x; then
5703
case $cross_compiling:$ac_tool_warned in
5705
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5706
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5707
ac_tool_warned=yes ;;
5726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5727
$as_echo_n "checking for archiver @FILE support... " >&6; }
5728
if ${lt_cv_ar_at_file+:} false; then :
5729
$as_echo_n "(cached) " >&6
5732
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5733
/* end confdefs.h. */
5743
if ac_fn_c_try_compile "$LINENO"; then :
5744
echo conftest.$ac_objext > conftest.lst
5745
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5746
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5747
(eval $lt_ar_try) 2>&5
5749
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5750
test $ac_status = 0; }
5751
if test "$ac_status" -eq 0; then
5752
# Ensure the archiver fails upon bogus file names.
5753
rm -f conftest.$ac_objext libconftest.a
5754
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5755
(eval $lt_ar_try) 2>&5
5757
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5758
test $ac_status = 0; }
5759
if test "$ac_status" -ne 0; then
5763
rm -f conftest.* libconftest.a
5766
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5770
$as_echo "$lt_cv_ar_at_file" >&6; }
5772
if test "x$lt_cv_ar_at_file" = xno; then
5775
archiver_list_spec=$lt_cv_ar_at_file
5784
if test -n "$ac_tool_prefix"; then
5785
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5786
set dummy ${ac_tool_prefix}strip; ac_word=$2
5787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788
$as_echo_n "checking for $ac_word... " >&6; }
5789
if ${ac_cv_prog_STRIP+:} false; then :
5790
$as_echo_n "(cached) " >&6
5792
if test -n "$STRIP"; then
5793
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5795
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799
test -z "$as_dir" && as_dir=.
5800
for ac_exec_ext in '' $ac_executable_extensions; do
5801
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5802
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5803
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812
STRIP=$ac_cv_prog_STRIP
5813
if test -n "$STRIP"; then
5814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5815
$as_echo "$STRIP" >&6; }
5817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818
$as_echo "no" >&6; }
5823
if test -z "$ac_cv_prog_STRIP"; then
5825
# Extract the first word of "strip", so it can be a program name with args.
5826
set dummy strip; ac_word=$2
5827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828
$as_echo_n "checking for $ac_word... " >&6; }
5829
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5830
$as_echo_n "(cached) " >&6
5832
if test -n "$ac_ct_STRIP"; then
5833
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5835
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839
test -z "$as_dir" && as_dir=.
5840
for ac_exec_ext in '' $ac_executable_extensions; do
5841
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5842
ac_cv_prog_ac_ct_STRIP="strip"
5843
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5853
if test -n "$ac_ct_STRIP"; then
5854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5855
$as_echo "$ac_ct_STRIP" >&6; }
5857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858
$as_echo "no" >&6; }
5861
if test "x$ac_ct_STRIP" = x; then
5864
case $cross_compiling:$ac_tool_warned in
5866
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5867
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5868
ac_tool_warned=yes ;;
5873
STRIP="$ac_cv_prog_STRIP"
5876
test -z "$STRIP" && STRIP=:
5883
if test -n "$ac_tool_prefix"; then
5884
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5885
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887
$as_echo_n "checking for $ac_word... " >&6; }
5888
if ${ac_cv_prog_RANLIB+:} false; then :
5889
$as_echo_n "(cached) " >&6
5891
if test -n "$RANLIB"; then
5892
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5894
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5898
test -z "$as_dir" && as_dir=.
5899
for ac_exec_ext in '' $ac_executable_extensions; do
5900
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5901
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5902
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5911
RANLIB=$ac_cv_prog_RANLIB
5912
if test -n "$RANLIB"; then
5913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5914
$as_echo "$RANLIB" >&6; }
5916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917
$as_echo "no" >&6; }
5922
if test -z "$ac_cv_prog_RANLIB"; then
5923
ac_ct_RANLIB=$RANLIB
5924
# Extract the first word of "ranlib", so it can be a program name with args.
5925
set dummy ranlib; ac_word=$2
5926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927
$as_echo_n "checking for $ac_word... " >&6; }
5928
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5929
$as_echo_n "(cached) " >&6
5931
if test -n "$ac_ct_RANLIB"; then
5932
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5934
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938
test -z "$as_dir" && as_dir=.
5939
for ac_exec_ext in '' $ac_executable_extensions; do
5940
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5941
ac_cv_prog_ac_ct_RANLIB="ranlib"
5942
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5951
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5952
if test -n "$ac_ct_RANLIB"; then
5953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5954
$as_echo "$ac_ct_RANLIB" >&6; }
5956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957
$as_echo "no" >&6; }
5960
if test "x$ac_ct_RANLIB" = x; then
5963
case $cross_compiling:$ac_tool_warned in
5965
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5966
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5967
ac_tool_warned=yes ;;
5969
RANLIB=$ac_ct_RANLIB
5972
RANLIB="$ac_cv_prog_RANLIB"
5975
test -z "$RANLIB" && RANLIB=:
5982
# Determine commands to create old-style static archives.
5983
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5984
old_postinstall_cmds='chmod 644 $oldlib'
5985
old_postuninstall_cmds=
5987
if test -n "$RANLIB"; then
5990
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5993
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5996
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6001
lock_old_archive_extraction=yes ;;
6003
lock_old_archive_extraction=no ;;
6044
# If no C compiler was specified, use CC.
6047
# If no C compiler flags were specified, use CFLAGS.
6048
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6050
# Allow CC to be a program name with arguments.
6054
# Check for command to grab the raw symbol name followed by C symbol from nm.
6055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6056
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6057
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6058
$as_echo_n "(cached) " >&6
6061
# These are sane defaults that work on at least a few old systems.
6062
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6064
# Character class describing NM global symbol codes.
6065
symcode='[BCDEGRST]'
6067
# Regexp to match symbols that can be accessed directly from C.
6068
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6070
# Define system-specific variables.
6075
cygwin* | mingw* | pw32* | cegcc*)
6076
symcode='[ABCDGISTW]'
6079
if test "$host_cpu" = ia64; then
6080
symcode='[ABCDEGRST]'
6084
symcode='[BCDEGRST]'
6087
symcode='[BCDEGQRST]'
6098
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6106
# If we're using GNU nm, then use its standard symbol codes.
6107
case `$NM -V 2>&1` in
6108
*GNU* | *'with BFD'*)
6109
symcode='[ABCDGIRSTW]' ;;
6112
# Transform an extracted symbol line into a proper C declaration.
6113
# Some systems (esp. on ia64) link data and code symbols differently,
6114
# so use this general approach.
6115
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6117
# Transform an extracted symbol line into symbol name and symbol address
6118
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6119
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'"
6121
# Handle CRLF in mingw tool chain
6125
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6129
# Try without a prefix underscore, then with it.
6130
for ac_symprfx in "" "_"; do
6132
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6133
symxfrm="\\1 $ac_symprfx\\2 \\2"
6135
# Write the raw and C identifiers.
6136
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6137
# Fake it for dumpbin and say T for any non-static function
6138
# and D for any global variable.
6139
# Also find C++ and __fastcall symbols from MSVC++,
6140
# which start with @ or ?.
6141
lt_cv_sys_global_symbol_pipe="$AWK '"\
6142
" {last_section=section; section=\$ 3};"\
6143
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6144
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6145
" \$ 0!~/External *\|/{next};"\
6146
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6147
" {if(hide[section]) next};"\
6148
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6149
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6150
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6151
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6152
" ' prfx=^$ac_symprfx"
6154
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6156
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6158
# Check to see that the pipe works correctly.
6162
cat > conftest.$ac_ext <<_LT_EOF
6167
void nm_test_func(void);
6168
void nm_test_func(void){}
6172
int main(){nm_test_var='a';nm_test_func();return(0);}
6175
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6176
(eval $ac_compile) 2>&5
6178
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6179
test $ac_status = 0; }; then
6180
# Now try to grab the symbols.
6182
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6183
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6185
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6186
test $ac_status = 0; } && test -s "$nlist"; then
6187
# Try sorting and uniquifying the output.
6188
if sort "$nlist" | uniq > "$nlist"T; then
6189
mv -f "$nlist"T "$nlist"
6194
# Make sure that we snagged all the symbols we need.
6195
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6196
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6197
cat <<_LT_EOF > conftest.$ac_ext
6198
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6199
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6200
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6201
relocations are performed -- see ld's documentation on pseudo-relocs. */
6202
# define LT_DLSYM_CONST
6203
#elif defined(__osf__)
6204
/* This system does not cope well with relocations in const data. */
6205
# define LT_DLSYM_CONST
6207
# define LT_DLSYM_CONST const
6215
# Now generate the symbol file.
6216
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6218
cat <<_LT_EOF >> conftest.$ac_ext
6220
/* The mapping between symbol names and symbols. */
6221
LT_DLSYM_CONST struct {
6225
lt__PROGRAM__LTX_preloaded_symbols[] =
6227
{ "@PROGRAM@", (void *) 0 },
6229
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6230
cat <<\_LT_EOF >> conftest.$ac_ext
6234
/* This works around a problem in FreeBSD linker */
6235
#ifdef FREEBSD_WORKAROUND
6236
static const void *lt_preloaded_setup() {
6237
return lt__PROGRAM__LTX_preloaded_symbols;
6245
# Now try linking the two files.
6246
mv conftest.$ac_objext conftstm.$ac_objext
6247
lt_globsym_save_LIBS=$LIBS
6248
lt_globsym_save_CFLAGS=$CFLAGS
6249
LIBS="conftstm.$ac_objext"
6250
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6251
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6252
(eval $ac_link) 2>&5
6254
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6255
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6258
LIBS=$lt_globsym_save_LIBS
6259
CFLAGS=$lt_globsym_save_CFLAGS
6261
echo "cannot find nm_test_func in $nlist" >&5
6264
echo "cannot find nm_test_var in $nlist" >&5
6267
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6270
echo "$progname: failed program was:" >&5
6271
cat conftest.$ac_ext >&5
6273
rm -rf conftest* conftst*
6275
# Do not use the global_symbol_pipe unless it works.
6276
if test "$pipe_works" = yes; then
6279
lt_cv_sys_global_symbol_pipe=
6285
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6286
lt_cv_sys_global_symbol_to_cdecl=
6288
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6290
$as_echo "failed" >&6; }
6292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6293
$as_echo "ok" >&6; }
6296
# Response file support.
6297
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6298
nm_file_list_spec='@'
6299
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6300
nm_file_list_spec='@'
6329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6330
$as_echo_n "checking for sysroot... " >&6; }
6332
# Check whether --with-sysroot was given.
6333
if test "${with_sysroot+set}" = set; then :
6334
withval=$with_sysroot;
6341
case ${with_sysroot} in #(
6343
if test "$GCC" = yes; then
6344
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6348
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6354
$as_echo "${with_sysroot}" >&6; }
6355
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6360
$as_echo "${lt_sysroot:-no}" >&6; }
6366
# Check whether --enable-libtool-lock was given.
6367
if test "${enable_libtool_lock+set}" = set; then :
6368
enableval=$enable_libtool_lock;
6371
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6373
# Some flags need to be propagated to the compiler or linker for good
6377
# Find out which ABI we are using.
6378
echo 'int i;' > conftest.$ac_ext
6379
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6380
(eval $ac_compile) 2>&5
6382
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6383
test $ac_status = 0; }; then
6384
case `/usr/bin/file conftest.$ac_objext` in
6396
# Find out which ABI we are using.
6397
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6398
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6399
(eval $ac_compile) 2>&5
6401
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6402
test $ac_status = 0; }; then
6403
if test "$lt_cv_prog_gnu_ld" = yes; then
6404
case `/usr/bin/file conftest.$ac_objext` in
6406
LD="${LD-ld} -melf32bsmip"
6409
LD="${LD-ld} -melf32bmipn32"
6412
LD="${LD-ld} -melf64bmip"
6416
case `/usr/bin/file conftest.$ac_objext` in
6432
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6433
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6434
# Find out which ABI we are using.
6435
echo 'int i;' > conftest.$ac_ext
6436
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6437
(eval $ac_compile) 2>&5
6439
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6440
test $ac_status = 0; }; then
6441
case `/usr/bin/file conftest.o` in
6444
x86_64-*kfreebsd*-gnu)
6445
LD="${LD-ld} -m elf_i386_fbsd"
6448
LD="${LD-ld} -m elf_i386"
6450
ppc64-*linux*|powerpc64-*linux*)
6451
LD="${LD-ld} -m elf32ppclinux"
6454
LD="${LD-ld} -m elf_s390"
6457
LD="${LD-ld} -m elf32_sparc"
6463
x86_64-*kfreebsd*-gnu)
6464
LD="${LD-ld} -m elf_x86_64_fbsd"
6467
LD="${LD-ld} -m elf_x86_64"
6469
ppc*-*linux*|powerpc*-*linux*)
6470
LD="${LD-ld} -m elf64ppc"
6472
s390*-*linux*|s390*-*tpf*)
6473
LD="${LD-ld} -m elf64_s390"
6476
LD="${LD-ld} -m elf64_sparc"
6486
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6487
SAVE_CFLAGS="$CFLAGS"
6488
CFLAGS="$CFLAGS -belf"
6489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6490
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6491
if ${lt_cv_cc_needs_belf+:} false; then :
6492
$as_echo_n "(cached) " >&6
6495
ac_cpp='$CPP $CPPFLAGS'
6496
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6497
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6498
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6500
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6501
/* end confdefs.h. */
6511
if ac_fn_c_try_link "$LINENO"; then :
6512
lt_cv_cc_needs_belf=yes
6514
lt_cv_cc_needs_belf=no
6516
rm -f core conftest.err conftest.$ac_objext \
6517
conftest$ac_exeext conftest.$ac_ext
6519
ac_cpp='$CPP $CPPFLAGS'
6520
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6521
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6522
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6526
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6527
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6528
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6529
CFLAGS="$SAVE_CFLAGS"
6533
# Find out which ABI we are using.
6534
echo 'int i;' > conftest.$ac_ext
6535
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6536
(eval $ac_compile) 2>&5
6538
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6539
test $ac_status = 0; }; then
6540
case `/usr/bin/file conftest.o` in
6542
case $lt_cv_prog_gnu_ld in
6546
LD="${LD-ld} -m elf_x86_64"
6549
LD="${LD-ld} -m elf64_sparc"
6552
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6553
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6558
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6570
need_locks="$enable_libtool_lock"
6572
if test -n "$ac_tool_prefix"; then
6573
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6574
set dummy ${ac_tool_prefix}mt; ac_word=$2
6575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6576
$as_echo_n "checking for $ac_word... " >&6; }
6577
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6578
$as_echo_n "(cached) " >&6
6580
if test -n "$MANIFEST_TOOL"; then
6581
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6583
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6587
test -z "$as_dir" && as_dir=.
6588
for ac_exec_ext in '' $ac_executable_extensions; do
6589
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6590
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6591
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6600
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6601
if test -n "$MANIFEST_TOOL"; then
6602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6603
$as_echo "$MANIFEST_TOOL" >&6; }
6605
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6606
$as_echo "no" >&6; }
6611
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6612
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6613
# Extract the first word of "mt", so it can be a program name with args.
6614
set dummy mt; ac_word=$2
6615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6616
$as_echo_n "checking for $ac_word... " >&6; }
6617
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6618
$as_echo_n "(cached) " >&6
6620
if test -n "$ac_ct_MANIFEST_TOOL"; then
6621
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6623
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6627
test -z "$as_dir" && as_dir=.
6628
for ac_exec_ext in '' $ac_executable_extensions; do
6629
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6630
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6631
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6640
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6641
if test -n "$ac_ct_MANIFEST_TOOL"; then
6642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6643
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6646
$as_echo "no" >&6; }
6649
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6652
case $cross_compiling:$ac_tool_warned in
6654
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6655
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6656
ac_tool_warned=yes ;;
6658
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6661
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6664
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6666
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6667
if ${lt_cv_path_mainfest_tool+:} false; then :
6668
$as_echo_n "(cached) " >&6
6670
lt_cv_path_mainfest_tool=no
6671
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6672
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6673
cat conftest.err >&5
6674
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6675
lt_cv_path_mainfest_tool=yes
6679
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6680
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6681
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6691
rhapsody* | darwin*)
6692
if test -n "$ac_tool_prefix"; then
6693
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6694
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6696
$as_echo_n "checking for $ac_word... " >&6; }
6697
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6698
$as_echo_n "(cached) " >&6
6700
if test -n "$DSYMUTIL"; then
6701
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6703
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707
test -z "$as_dir" && as_dir=.
6708
for ac_exec_ext in '' $ac_executable_extensions; do
6709
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6710
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6711
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6720
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6721
if test -n "$DSYMUTIL"; then
6722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6723
$as_echo "$DSYMUTIL" >&6; }
6725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6726
$as_echo "no" >&6; }
6731
if test -z "$ac_cv_prog_DSYMUTIL"; then
6732
ac_ct_DSYMUTIL=$DSYMUTIL
6733
# Extract the first word of "dsymutil", so it can be a program name with args.
6734
set dummy dsymutil; ac_word=$2
6735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6736
$as_echo_n "checking for $ac_word... " >&6; }
6737
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6738
$as_echo_n "(cached) " >&6
6740
if test -n "$ac_ct_DSYMUTIL"; then
6741
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6743
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747
test -z "$as_dir" && as_dir=.
6748
for ac_exec_ext in '' $ac_executable_extensions; do
6749
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6750
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6751
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6760
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6761
if test -n "$ac_ct_DSYMUTIL"; then
6762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6763
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6766
$as_echo "no" >&6; }
6769
if test "x$ac_ct_DSYMUTIL" = x; then
6772
case $cross_compiling:$ac_tool_warned in
6774
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6775
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6776
ac_tool_warned=yes ;;
6778
DSYMUTIL=$ac_ct_DSYMUTIL
6781
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6784
if test -n "$ac_tool_prefix"; then
6785
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6786
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6788
$as_echo_n "checking for $ac_word... " >&6; }
6789
if ${ac_cv_prog_NMEDIT+:} false; then :
6790
$as_echo_n "(cached) " >&6
6792
if test -n "$NMEDIT"; then
6793
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6795
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6799
test -z "$as_dir" && as_dir=.
6800
for ac_exec_ext in '' $ac_executable_extensions; do
6801
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6802
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6803
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6812
NMEDIT=$ac_cv_prog_NMEDIT
6813
if test -n "$NMEDIT"; then
6814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6815
$as_echo "$NMEDIT" >&6; }
6817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6818
$as_echo "no" >&6; }
6823
if test -z "$ac_cv_prog_NMEDIT"; then
6824
ac_ct_NMEDIT=$NMEDIT
6825
# Extract the first word of "nmedit", so it can be a program name with args.
6826
set dummy nmedit; ac_word=$2
6827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6828
$as_echo_n "checking for $ac_word... " >&6; }
6829
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6830
$as_echo_n "(cached) " >&6
6832
if test -n "$ac_ct_NMEDIT"; then
6833
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6835
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839
test -z "$as_dir" && as_dir=.
6840
for ac_exec_ext in '' $ac_executable_extensions; do
6841
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6842
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6843
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6852
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6853
if test -n "$ac_ct_NMEDIT"; then
6854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6855
$as_echo "$ac_ct_NMEDIT" >&6; }
6857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6858
$as_echo "no" >&6; }
6861
if test "x$ac_ct_NMEDIT" = x; then
6864
case $cross_compiling:$ac_tool_warned in
6866
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6867
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6868
ac_tool_warned=yes ;;
6870
NMEDIT=$ac_ct_NMEDIT
6873
NMEDIT="$ac_cv_prog_NMEDIT"
6876
if test -n "$ac_tool_prefix"; then
6877
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6878
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880
$as_echo_n "checking for $ac_word... " >&6; }
6881
if ${ac_cv_prog_LIPO+:} false; then :
6882
$as_echo_n "(cached) " >&6
6884
if test -n "$LIPO"; then
6885
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6887
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6891
test -z "$as_dir" && as_dir=.
6892
for ac_exec_ext in '' $ac_executable_extensions; do
6893
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6894
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6895
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6904
LIPO=$ac_cv_prog_LIPO
6905
if test -n "$LIPO"; then
6906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6907
$as_echo "$LIPO" >&6; }
6909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910
$as_echo "no" >&6; }
6915
if test -z "$ac_cv_prog_LIPO"; then
6917
# Extract the first word of "lipo", so it can be a program name with args.
6918
set dummy lipo; ac_word=$2
6919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6920
$as_echo_n "checking for $ac_word... " >&6; }
6921
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6922
$as_echo_n "(cached) " >&6
6924
if test -n "$ac_ct_LIPO"; then
6925
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6927
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931
test -z "$as_dir" && as_dir=.
6932
for ac_exec_ext in '' $ac_executable_extensions; do
6933
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6934
ac_cv_prog_ac_ct_LIPO="lipo"
6935
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6944
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6945
if test -n "$ac_ct_LIPO"; then
6946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6947
$as_echo "$ac_ct_LIPO" >&6; }
6949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6950
$as_echo "no" >&6; }
6953
if test "x$ac_ct_LIPO" = x; then
6956
case $cross_compiling:$ac_tool_warned in
6958
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6959
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6960
ac_tool_warned=yes ;;
6965
LIPO="$ac_cv_prog_LIPO"
6968
if test -n "$ac_tool_prefix"; then
6969
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6970
set dummy ${ac_tool_prefix}otool; ac_word=$2
6971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6972
$as_echo_n "checking for $ac_word... " >&6; }
6973
if ${ac_cv_prog_OTOOL+:} false; then :
6974
$as_echo_n "(cached) " >&6
6976
if test -n "$OTOOL"; then
6977
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6979
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6983
test -z "$as_dir" && as_dir=.
6984
for ac_exec_ext in '' $ac_executable_extensions; do
6985
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6986
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6987
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6996
OTOOL=$ac_cv_prog_OTOOL
6997
if test -n "$OTOOL"; then
6998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6999
$as_echo "$OTOOL" >&6; }
7001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7002
$as_echo "no" >&6; }
7007
if test -z "$ac_cv_prog_OTOOL"; then
7009
# Extract the first word of "otool", so it can be a program name with args.
7010
set dummy otool; ac_word=$2
7011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7012
$as_echo_n "checking for $ac_word... " >&6; }
7013
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7014
$as_echo_n "(cached) " >&6
7016
if test -n "$ac_ct_OTOOL"; then
7017
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7019
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7023
test -z "$as_dir" && as_dir=.
7024
for ac_exec_ext in '' $ac_executable_extensions; do
7025
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7026
ac_cv_prog_ac_ct_OTOOL="otool"
7027
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7036
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7037
if test -n "$ac_ct_OTOOL"; then
7038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7039
$as_echo "$ac_ct_OTOOL" >&6; }
7041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7042
$as_echo "no" >&6; }
7045
if test "x$ac_ct_OTOOL" = x; then
7048
case $cross_compiling:$ac_tool_warned in
7050
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7051
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7052
ac_tool_warned=yes ;;
7057
OTOOL="$ac_cv_prog_OTOOL"
7060
if test -n "$ac_tool_prefix"; then
7061
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7062
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7064
$as_echo_n "checking for $ac_word... " >&6; }
7065
if ${ac_cv_prog_OTOOL64+:} false; then :
7066
$as_echo_n "(cached) " >&6
7068
if test -n "$OTOOL64"; then
7069
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7071
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7075
test -z "$as_dir" && as_dir=.
7076
for ac_exec_ext in '' $ac_executable_extensions; do
7077
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7078
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7079
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7088
OTOOL64=$ac_cv_prog_OTOOL64
7089
if test -n "$OTOOL64"; then
7090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7091
$as_echo "$OTOOL64" >&6; }
7093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7094
$as_echo "no" >&6; }
7099
if test -z "$ac_cv_prog_OTOOL64"; then
7100
ac_ct_OTOOL64=$OTOOL64
7101
# Extract the first word of "otool64", so it can be a program name with args.
7102
set dummy otool64; ac_word=$2
7103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104
$as_echo_n "checking for $ac_word... " >&6; }
7105
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7106
$as_echo_n "(cached) " >&6
7108
if test -n "$ac_ct_OTOOL64"; then
7109
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7115
test -z "$as_dir" && as_dir=.
7116
for ac_exec_ext in '' $ac_executable_extensions; do
7117
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7118
ac_cv_prog_ac_ct_OTOOL64="otool64"
7119
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7128
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7129
if test -n "$ac_ct_OTOOL64"; then
7130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7131
$as_echo "$ac_ct_OTOOL64" >&6; }
7133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134
$as_echo "no" >&6; }
7137
if test "x$ac_ct_OTOOL64" = x; then
7140
case $cross_compiling:$ac_tool_warned in
7142
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7143
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7144
ac_tool_warned=yes ;;
7146
OTOOL64=$ac_ct_OTOOL64
7149
OTOOL64="$ac_cv_prog_OTOOL64"
7178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7179
$as_echo_n "checking for -single_module linker flag... " >&6; }
7180
if ${lt_cv_apple_cc_single_mod+:} false; then :
7181
$as_echo_n "(cached) " >&6
7183
lt_cv_apple_cc_single_mod=no
7184
if test -z "${LT_MULTI_MODULE}"; then
7185
# By default we will add the -single_module flag. You can override
7186
# by either setting the environment variable LT_MULTI_MODULE
7187
# non-empty at configure time, or by adding -multi_module to the
7189
rm -rf libconftest.dylib*
7190
echo "int foo(void){return 1;}" > conftest.c
7191
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7192
-dynamiclib -Wl,-single_module conftest.c" >&5
7193
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7194
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7196
# If there is a non-empty error log, and "single_module"
7197
# appears in it, assume the flag caused a linker warning
7198
if test -s conftest.err && $GREP single_module conftest.err; then
7199
cat conftest.err >&5
7200
# Otherwise, if the output was created with a 0 exit code from
7201
# the compiler, it worked.
7202
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7203
lt_cv_apple_cc_single_mod=yes
7205
cat conftest.err >&5
7207
rm -rf libconftest.dylib*
7211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7212
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7215
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7216
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7217
$as_echo_n "(cached) " >&6
7219
lt_cv_ld_exported_symbols_list=no
7220
save_LDFLAGS=$LDFLAGS
7221
echo "_main" > conftest.sym
7222
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7223
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7224
/* end confdefs.h. */
7234
if ac_fn_c_try_link "$LINENO"; then :
7235
lt_cv_ld_exported_symbols_list=yes
7237
lt_cv_ld_exported_symbols_list=no
7239
rm -f core conftest.err conftest.$ac_objext \
7240
conftest$ac_exeext conftest.$ac_ext
7241
LDFLAGS="$save_LDFLAGS"
7244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7245
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7248
$as_echo_n "checking for -force_load linker flag... " >&6; }
7249
if ${lt_cv_ld_force_load+:} false; then :
7250
$as_echo_n "(cached) " >&6
7252
lt_cv_ld_force_load=no
7253
cat > conftest.c << _LT_EOF
7254
int forced_loaded() { return 2;}
7256
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7257
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7258
echo "$AR cru libconftest.a conftest.o" >&5
7259
$AR cru libconftest.a conftest.o 2>&5
7260
echo "$RANLIB libconftest.a" >&5
7261
$RANLIB libconftest.a 2>&5
7262
cat > conftest.c << _LT_EOF
7263
int main() { return 0;}
7265
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7266
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7268
if test -s conftest.err && $GREP force_load conftest.err; then
7269
cat conftest.err >&5
7270
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7271
lt_cv_ld_force_load=yes
7273
cat conftest.err >&5
7275
rm -f conftest.err libconftest.a conftest conftest.c
7276
rm -rf conftest.dSYM
7279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7280
$as_echo "$lt_cv_ld_force_load" >&6; }
7282
rhapsody* | darwin1.[012])
7283
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7285
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7286
darwin*) # darwin 5.x on
7287
# if running on 10.5 or later, the deployment target defaults
7288
# to the OS version, if on x86, and 10.4, the deployment
7289
# target defaults to 10.4. Don't you love it?
7290
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7291
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7292
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7294
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7296
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7300
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7301
_lt_dar_single_mod='$single_module'
7303
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7304
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7306
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7308
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7309
_lt_dsymutil='~$DSYMUTIL $lib || :'
7317
ac_cpp='$CPP $CPPFLAGS'
7318
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7319
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7320
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7322
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7323
# On Suns, sometimes $CPP names a directory.
7324
if test -n "$CPP" && test -d "$CPP"; then
7327
if test -z "$CPP"; then
7328
if ${ac_cv_prog_CPP+:} false; then :
7329
$as_echo_n "(cached) " >&6
7331
# Double quotes because CPP needs to be expanded
7332
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7335
for ac_c_preproc_warn_flag in '' yes
7337
# Use a header file that comes with gcc, so configuring glibc
7338
# with a fresh cross-compiler works.
7339
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7340
# <limits.h> exists even on freestanding compilers.
7341
# On the NeXT, cc -E runs the code through the compiler's parser,
7342
# not just through cpp. "Syntax error" is here to catch this case.
7343
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7344
/* end confdefs.h. */
7346
# include <limits.h>
7348
# include <assert.h>
7352
if ac_fn_c_try_cpp "$LINENO"; then :
7355
# Broken: fails on valid input.
7358
rm -f conftest.err conftest.i conftest.$ac_ext
7360
# OK, works on sane cases. Now check whether nonexistent headers
7361
# can be detected and how.
7362
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7363
/* end confdefs.h. */
7364
#include <ac_nonexistent.h>
7366
if ac_fn_c_try_cpp "$LINENO"; then :
7367
# Broken: success on invalid input.
7370
# Passes both tests.
7374
rm -f conftest.err conftest.i conftest.$ac_ext
7377
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7378
rm -f conftest.i conftest.err conftest.$ac_ext
7379
if $ac_preproc_ok; then :
7391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7392
$as_echo "$CPP" >&6; }
7394
for ac_c_preproc_warn_flag in '' yes
7396
# Use a header file that comes with gcc, so configuring glibc
7397
# with a fresh cross-compiler works.
7398
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7399
# <limits.h> exists even on freestanding compilers.
7400
# On the NeXT, cc -E runs the code through the compiler's parser,
7401
# not just through cpp. "Syntax error" is here to catch this case.
7402
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7403
/* end confdefs.h. */
7405
# include <limits.h>
7407
# include <assert.h>
7411
if ac_fn_c_try_cpp "$LINENO"; then :
7414
# Broken: fails on valid input.
7417
rm -f conftest.err conftest.i conftest.$ac_ext
7419
# OK, works on sane cases. Now check whether nonexistent headers
7420
# can be detected and how.
7421
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7422
/* end confdefs.h. */
7423
#include <ac_nonexistent.h>
7425
if ac_fn_c_try_cpp "$LINENO"; then :
7426
# Broken: success on invalid input.
7429
# Passes both tests.
7433
rm -f conftest.err conftest.i conftest.$ac_ext
7436
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7437
rm -f conftest.i conftest.err conftest.$ac_ext
7438
if $ac_preproc_ok; then :
7441
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7442
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7443
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7444
See \`config.log' for more details" "$LINENO" 5; }
7448
ac_cpp='$CPP $CPPFLAGS'
7449
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7450
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7451
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7455
$as_echo_n "checking for ANSI C header files... " >&6; }
7456
if ${ac_cv_header_stdc+:} false; then :
7457
$as_echo_n "(cached) " >&6
7459
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7460
/* end confdefs.h. */
7474
if ac_fn_c_try_compile "$LINENO"; then :
7475
ac_cv_header_stdc=yes
7477
ac_cv_header_stdc=no
7479
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7481
if test $ac_cv_header_stdc = yes; then
7482
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7483
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7484
/* end confdefs.h. */
7488
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7489
$EGREP "memchr" >/dev/null 2>&1; then :
7492
ac_cv_header_stdc=no
7498
if test $ac_cv_header_stdc = yes; then
7499
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7500
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7501
/* end confdefs.h. */
7505
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7506
$EGREP "free" >/dev/null 2>&1; then :
7509
ac_cv_header_stdc=no
7515
if test $ac_cv_header_stdc = yes; then
7516
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7517
if test "$cross_compiling" = yes; then :
7520
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7521
/* end confdefs.h. */
7524
#if ((' ' & 0x0FF) == 0x020)
7525
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7526
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7528
# define ISLOWER(c) \
7529
(('a' <= (c) && (c) <= 'i') \
7530
|| ('j' <= (c) && (c) <= 'r') \
7531
|| ('s' <= (c) && (c) <= 'z'))
7532
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7535
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7540
for (i = 0; i < 256; i++)
7541
if (XOR (islower (i), ISLOWER (i))
7542
|| toupper (i) != TOUPPER (i))
7547
if ac_fn_c_try_run "$LINENO"; then :
7550
ac_cv_header_stdc=no
7552
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7553
conftest.$ac_objext conftest.beam conftest.$ac_ext
7558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7559
$as_echo "$ac_cv_header_stdc" >&6; }
7560
if test $ac_cv_header_stdc = yes; then
7562
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7566
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7567
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7568
inttypes.h stdint.h unistd.h
7570
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7571
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7573
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7574
cat >>confdefs.h <<_ACEOF
7575
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7583
for ac_header in dlfcn.h
7585
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7587
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7588
cat >>confdefs.h <<_ACEOF
7589
#define HAVE_DLFCN_H 1
7610
# Check whether --enable-shared was given.
7611
if test "${enable_shared+set}" = set; then :
7612
enableval=$enable_shared; p=${PACKAGE-default}
7614
yes) enable_shared=yes ;;
7615
no) enable_shared=no ;;
7618
# Look at the argument we got. We use all the common list separators.
7619
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7620
for pkg in $enableval; do
7622
if test "X$pkg" = "X$p"; then
7641
# Check whether --enable-static was given.
7642
if test "${enable_static+set}" = set; then :
7643
enableval=$enable_static; p=${PACKAGE-default}
7645
yes) enable_static=yes ;;
7646
no) enable_static=no ;;
7649
# Look at the argument we got. We use all the common list separators.
7650
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7651
for pkg in $enableval; do
7653
if test "X$pkg" = "X$p"; then
7673
# Check whether --with-pic was given.
7674
if test "${with_pic+set}" = set; then :
7675
withval=$with_pic; lt_p=${PACKAGE-default}
7677
yes|no) pic_mode=$withval ;;
7680
# Look at the argument we got. We use all the common list separators.
7681
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7682
for lt_pkg in $withval; do
7684
if test "X$lt_pkg" = "X$lt_p"; then
7696
test -z "$pic_mode" && pic_mode=default
7704
# Check whether --enable-fast-install was given.
7705
if test "${enable_fast_install+set}" = set; then :
7706
enableval=$enable_fast_install; p=${PACKAGE-default}
7708
yes) enable_fast_install=yes ;;
7709
no) enable_fast_install=no ;;
7711
enable_fast_install=no
7712
# Look at the argument we got. We use all the common list separators.
7713
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7714
for pkg in $enableval; do
7716
if test "X$pkg" = "X$p"; then
7717
enable_fast_install=yes
7724
enable_fast_install=yes
7737
# This can be used to rebuild libtool when needed
7738
LIBTOOL_DEPS="$ltmain"
7740
# Always use our own libtool.
7741
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7772
test -z "$LN_S" && LN_S="ln -s"
7787
if test -n "${ZSH_VERSION+set}" ; then
7788
setopt NO_GLOB_SUBST
7791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7792
$as_echo_n "checking for objdir... " >&6; }
7793
if ${lt_cv_objdir+:} false; then :
7794
$as_echo_n "(cached) " >&6
7796
rm -f .libs 2>/dev/null
7797
mkdir .libs 2>/dev/null
7798
if test -d .libs; then
7801
# MS-DOS does not allow filenames that begin with a dot.
7804
rmdir .libs 2>/dev/null
7806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7807
$as_echo "$lt_cv_objdir" >&6; }
7808
objdir=$lt_cv_objdir
7814
cat >>confdefs.h <<_ACEOF
7815
#define LT_OBJDIR "$lt_cv_objdir/"
7823
# AIX sometimes has problems with the GCC collect2 program. For some
7824
# reason, if we set the COLLECT_NAMES environment variable, the problems
7825
# vanish in a puff of smoke.
7826
if test "X${COLLECT_NAMES+set}" != Xset; then
7828
export COLLECT_NAMES
7835
can_build_shared=yes
7837
# All known linkers require a `.a' archive for static linking (except MSVC,
7838
# which needs '.lib').
7841
with_gnu_ld="$lt_cv_prog_gnu_ld"
7844
old_CFLAGS="$CFLAGS"
7846
# Set sane defaults for various variables
7847
test -z "$CC" && CC=cc
7848
test -z "$LTCC" && LTCC=$CC
7849
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7850
test -z "$LD" && LD=ld
7851
test -z "$ac_objext" && ac_objext=o
7853
for cc_temp in $compiler""; do
7855
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7856
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7861
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7864
# Only perform the check for file, if the check method requires it
7865
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7866
case $deplibs_check_method in
7868
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7870
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7871
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7872
$as_echo_n "(cached) " >&6
7876
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7879
lt_save_MAGIC_CMD="$MAGIC_CMD"
7880
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7881
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7882
for ac_dir in $ac_dummy; do
7884
test -z "$ac_dir" && ac_dir=.
7885
if test -f $ac_dir/${ac_tool_prefix}file; then
7886
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7887
if test -n "$file_magic_test_file"; then
7888
case $deplibs_check_method in
7890
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7891
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7892
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7893
$EGREP "$file_magic_regex" > /dev/null; then
7898
*** Warning: the command libtool uses to detect shared libraries,
7899
*** $file_magic_cmd, produces output that libtool cannot recognize.
7900
*** The result is that libtool may fail to recognize shared libraries
7901
*** as such. This will affect the creation of libtool libraries that
7902
*** depend on shared libraries, but programs linked with such libtool
7903
*** libraries will work regardless of this problem. Nevertheless, you
7904
*** may want to report the problem to your system manager and/or to
7905
*** bug-libtool@gnu.org
7915
MAGIC_CMD="$lt_save_MAGIC_CMD"
7920
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7921
if test -n "$MAGIC_CMD"; then
7922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7923
$as_echo "$MAGIC_CMD" >&6; }
7925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7926
$as_echo "no" >&6; }
7933
if test -z "$lt_cv_path_MAGIC_CMD"; then
7934
if test -n "$ac_tool_prefix"; then
7935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7936
$as_echo_n "checking for file... " >&6; }
7937
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7938
$as_echo_n "(cached) " >&6
7942
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7945
lt_save_MAGIC_CMD="$MAGIC_CMD"
7946
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7947
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7948
for ac_dir in $ac_dummy; do
7950
test -z "$ac_dir" && ac_dir=.
7951
if test -f $ac_dir/file; then
7952
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7953
if test -n "$file_magic_test_file"; then
7954
case $deplibs_check_method in
7956
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7957
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7958
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7959
$EGREP "$file_magic_regex" > /dev/null; then
7964
*** Warning: the command libtool uses to detect shared libraries,
7965
*** $file_magic_cmd, produces output that libtool cannot recognize.
7966
*** The result is that libtool may fail to recognize shared libraries
7967
*** as such. This will affect the creation of libtool libraries that
7968
*** depend on shared libraries, but programs linked with such libtool
7969
*** libraries will work regardless of this problem. Nevertheless, you
7970
*** may want to report the problem to your system manager and/or to
7971
*** bug-libtool@gnu.org
7981
MAGIC_CMD="$lt_save_MAGIC_CMD"
7986
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7987
if test -n "$MAGIC_CMD"; then
7988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7989
$as_echo "$MAGIC_CMD" >&6; }
7991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7992
$as_echo "no" >&6; }
8005
# Use C for the default configuration in the libtool script
8009
ac_cpp='$CPP $CPPFLAGS'
8010
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8011
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8012
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8015
# Source file extension for C test sources.
8018
# Object file extension for compiled C test sources.
8022
# Code to be used in simple compile tests
8023
lt_simple_compile_test_code="int some_variable = 0;"
8025
# Code to be used in simple link tests
8026
lt_simple_link_test_code='int main(){return(0);}'
8034
# If no C compiler was specified, use CC.
8037
# If no C compiler flags were specified, use CFLAGS.
8038
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8040
# Allow CC to be a program name with arguments.
8043
# Save the default compiler, since it gets overwritten when the other
8044
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8045
compiler_DEFAULT=$CC
8047
# save warnings/boilerplate of simple test code
8048
ac_outfile=conftest.$ac_objext
8049
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8050
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8051
_lt_compiler_boilerplate=`cat conftest.err`
8054
ac_outfile=conftest.$ac_objext
8055
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8056
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8057
_lt_linker_boilerplate=`cat conftest.err`
8061
if test -n "$compiler"; then
8063
lt_prog_compiler_no_builtin_flag=
8065
if test "$GCC" = yes; then
8066
case $cc_basename in
8068
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8070
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8074
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8075
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8076
$as_echo_n "(cached) " >&6
8078
lt_cv_prog_compiler_rtti_exceptions=no
8079
ac_outfile=conftest.$ac_objext
8080
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8081
lt_compiler_flag="-fno-rtti -fno-exceptions"
8082
# Insert the option either (1) after the last *FLAGS variable, or
8083
# (2) before a word containing "conftest.", or (3) at the end.
8084
# Note that $ac_compile itself does not contain backslashes and begins
8085
# with a dollar sign (not a hyphen), so the echo should work correctly.
8086
# The option is referenced via a variable to avoid confusing sed.
8087
lt_compile=`echo "$ac_compile" | $SED \
8088
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8089
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8090
-e 's:$: $lt_compiler_flag:'`
8091
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8092
(eval "$lt_compile" 2>conftest.err)
8094
cat conftest.err >&5
8095
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096
if (exit $ac_status) && test -s "$ac_outfile"; then
8097
# The compiler can only warn and ignore the option if not recognized
8098
# So say no if there are warnings other than the usual output.
8099
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8100
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8101
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8102
lt_cv_prog_compiler_rtti_exceptions=yes
8108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8109
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8111
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8112
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8124
lt_prog_compiler_wl=
8125
lt_prog_compiler_pic=
8126
lt_prog_compiler_static=
8129
if test "$GCC" = yes; then
8130
lt_prog_compiler_wl='-Wl,'
8131
lt_prog_compiler_static='-static'
8135
# All AIX code is PIC.
8136
if test "$host_cpu" = ia64; then
8137
# AIX 5 now supports IA64 processor
8138
lt_prog_compiler_static='-Bstatic'
8145
# see comment about AmigaOS4 .so support
8146
lt_prog_compiler_pic='-fPIC'
8149
# FIXME: we need at least 68020 code to build shared libraries, but
8150
# adding the `-m68020' flag to GCC prevents building anything better,
8152
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8157
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8158
# PIC is the default for these OSes.
8161
mingw* | cygwin* | pw32* | os2* | cegcc*)
8162
# This hack is so that the source file can tell whether it is being
8163
# built for inclusion in a dll (and should export symbols for example).
8164
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8165
# (--disable-auto-import) libraries
8166
lt_prog_compiler_pic='-DDLL_EXPORT'
8169
darwin* | rhapsody*)
8170
# PIC is the default on this platform
8171
# Common symbols not allowed in MH_DYLIB files
8172
lt_prog_compiler_pic='-fno-common'
8176
# PIC is the default for Haiku.
8177
# The "-static" flag exists, but is broken.
8178
lt_prog_compiler_static=
8182
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8183
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8184
# sets the default TLS model and affects inlining.
8190
lt_prog_compiler_pic='-fPIC'
8196
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8197
# Instead, we relocate shared libraries at runtime.
8201
# Just because we use GCC doesn't mean we suddenly get shared libraries
8202
# on systems that don't support them.
8203
lt_prog_compiler_can_build_shared=no
8208
# QNX uses GNU C++, but need to define -shared option too, otherwise
8210
lt_prog_compiler_pic='-fPIC -shared'
8214
if test -d /usr/nec; then
8215
lt_prog_compiler_pic=-Kconform_pic
8220
lt_prog_compiler_pic='-fPIC'
8224
case $cc_basename in
8225
nvcc*) # Cuda Compiler Driver 2.2
8226
lt_prog_compiler_wl='-Xlinker '
8227
if test -n "$lt_prog_compiler_pic"; then
8228
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8233
# PORTME Check for flag to pass linker flags through the system compiler.
8236
lt_prog_compiler_wl='-Wl,'
8237
if test "$host_cpu" = ia64; then
8238
# AIX 5 now supports IA64 processor
8239
lt_prog_compiler_static='-Bstatic'
8241
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8245
mingw* | cygwin* | pw32* | os2* | cegcc*)
8246
# This hack is so that the source file can tell whether it is being
8247
# built for inclusion in a dll (and should export symbols for example).
8248
lt_prog_compiler_pic='-DDLL_EXPORT'
8251
hpux9* | hpux10* | hpux11*)
8252
lt_prog_compiler_wl='-Wl,'
8253
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8260
lt_prog_compiler_pic='+Z'
8263
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8264
lt_prog_compiler_static='${wl}-a ${wl}archive'
8267
irix5* | irix6* | nonstopux*)
8268
lt_prog_compiler_wl='-Wl,'
8269
# PIC (with -KPIC) is the default.
8270
lt_prog_compiler_static='-non_shared'
8273
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8274
case $cc_basename in
8275
# old Intel for x86_64 which still supported -KPIC.
8277
lt_prog_compiler_wl='-Wl,'
8278
lt_prog_compiler_pic='-KPIC'
8279
lt_prog_compiler_static='-static'
8281
# icc used to be incompatible with GCC.
8282
# ICC 10 doesn't accept -KPIC any more.
8284
lt_prog_compiler_wl='-Wl,'
8285
lt_prog_compiler_pic='-fPIC'
8286
lt_prog_compiler_static='-static'
8288
# Lahey Fortran 8.1.
8290
lt_prog_compiler_wl='-Wl,'
8291
lt_prog_compiler_pic='--shared'
8292
lt_prog_compiler_static='--static'
8295
# NAG Fortran compiler
8296
lt_prog_compiler_wl='-Wl,-Wl,,'
8297
lt_prog_compiler_pic='-PIC'
8298
lt_prog_compiler_static='-Bstatic'
8300
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8301
# Portland Group compilers (*not* the Pentium gcc compiler,
8302
# which looks to be a dead project)
8303
lt_prog_compiler_wl='-Wl,'
8304
lt_prog_compiler_pic='-fpic'
8305
lt_prog_compiler_static='-Bstatic'
8308
lt_prog_compiler_wl='-Wl,'
8309
# All Alpha code is PIC.
8310
lt_prog_compiler_static='-non_shared'
8312
xl* | bgxl* | bgf* | mpixl*)
8313
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8314
lt_prog_compiler_wl='-Wl,'
8315
lt_prog_compiler_pic='-qpic'
8316
lt_prog_compiler_static='-qstaticlink'
8319
case `$CC -V 2>&1 | sed 5q` in
8320
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8321
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8322
lt_prog_compiler_pic='-KPIC'
8323
lt_prog_compiler_static='-Bstatic'
8324
lt_prog_compiler_wl=''
8326
*Sun\ F* | *Sun*Fortran*)
8327
lt_prog_compiler_pic='-KPIC'
8328
lt_prog_compiler_static='-Bstatic'
8329
lt_prog_compiler_wl='-Qoption ld '
8333
lt_prog_compiler_pic='-KPIC'
8334
lt_prog_compiler_static='-Bstatic'
8335
lt_prog_compiler_wl='-Wl,'
8337
*Intel*\ [CF]*Compiler*)
8338
lt_prog_compiler_wl='-Wl,'
8339
lt_prog_compiler_pic='-fPIC'
8340
lt_prog_compiler_static='-static'
8343
lt_prog_compiler_wl='-Wl,'
8344
lt_prog_compiler_pic='-fpic'
8345
lt_prog_compiler_static='-Bstatic'
8353
lt_prog_compiler_pic='-KPIC'
8354
lt_prog_compiler_static='-Bstatic'
8358
# QNX uses GNU C++, but need to define -shared option too, otherwise
8360
lt_prog_compiler_pic='-fPIC -shared'
8363
osf3* | osf4* | osf5*)
8364
lt_prog_compiler_wl='-Wl,'
8365
# All OSF/1 code is PIC.
8366
lt_prog_compiler_static='-non_shared'
8370
lt_prog_compiler_static='-non_shared'
8374
lt_prog_compiler_pic='-KPIC'
8375
lt_prog_compiler_static='-Bstatic'
8376
case $cc_basename in
8377
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8378
lt_prog_compiler_wl='-Qoption ld ';;
8380
lt_prog_compiler_wl='-Wl,';;
8385
lt_prog_compiler_wl='-Qoption ld '
8386
lt_prog_compiler_pic='-PIC'
8387
lt_prog_compiler_static='-Bstatic'
8390
sysv4 | sysv4.2uw2* | sysv4.3*)
8391
lt_prog_compiler_wl='-Wl,'
8392
lt_prog_compiler_pic='-KPIC'
8393
lt_prog_compiler_static='-Bstatic'
8397
if test -d /usr/nec ;then
8398
lt_prog_compiler_pic='-Kconform_pic'
8399
lt_prog_compiler_static='-Bstatic'
8403
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8404
lt_prog_compiler_wl='-Wl,'
8405
lt_prog_compiler_pic='-KPIC'
8406
lt_prog_compiler_static='-Bstatic'
8410
lt_prog_compiler_wl='-Wl,'
8411
lt_prog_compiler_can_build_shared=no
8415
lt_prog_compiler_pic='-pic'
8416
lt_prog_compiler_static='-Bstatic'
8420
lt_prog_compiler_can_build_shared=no
8426
# For platforms which do not support PIC, -DPIC is meaningless:
8428
lt_prog_compiler_pic=
8431
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8436
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8437
if ${lt_cv_prog_compiler_pic+:} false; then :
8438
$as_echo_n "(cached) " >&6
8440
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8443
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8444
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8447
# Check to make sure the PIC flag actually works.
8449
if test -n "$lt_prog_compiler_pic"; then
8450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8451
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8452
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8453
$as_echo_n "(cached) " >&6
8455
lt_cv_prog_compiler_pic_works=no
8456
ac_outfile=conftest.$ac_objext
8457
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8458
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8459
# Insert the option either (1) after the last *FLAGS variable, or
8460
# (2) before a word containing "conftest.", or (3) at the end.
8461
# Note that $ac_compile itself does not contain backslashes and begins
8462
# with a dollar sign (not a hyphen), so the echo should work correctly.
8463
# The option is referenced via a variable to avoid confusing sed.
8464
lt_compile=`echo "$ac_compile" | $SED \
8465
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8466
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8467
-e 's:$: $lt_compiler_flag:'`
8468
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8469
(eval "$lt_compile" 2>conftest.err)
8471
cat conftest.err >&5
8472
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473
if (exit $ac_status) && test -s "$ac_outfile"; then
8474
# The compiler can only warn and ignore the option if not recognized
8475
# So say no if there are warnings other than the usual output.
8476
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8477
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8478
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8479
lt_cv_prog_compiler_pic_works=yes
8485
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8486
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8488
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8489
case $lt_prog_compiler_pic in
8491
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8494
lt_prog_compiler_pic=
8495
lt_prog_compiler_can_build_shared=no
8511
# Check to make sure the static flag actually works.
8513
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8515
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8516
if ${lt_cv_prog_compiler_static_works+:} false; then :
8517
$as_echo_n "(cached) " >&6
8519
lt_cv_prog_compiler_static_works=no
8520
save_LDFLAGS="$LDFLAGS"
8521
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8522
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8523
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8524
# The linker can only warn and ignore the option if not recognized
8525
# So say no if there are warnings
8526
if test -s conftest.err; then
8527
# Append any errors to the config.log.
8528
cat conftest.err 1>&5
8529
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8530
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8531
if diff conftest.exp conftest.er2 >/dev/null; then
8532
lt_cv_prog_compiler_static_works=yes
8535
lt_cv_prog_compiler_static_works=yes
8539
LDFLAGS="$save_LDFLAGS"
8542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8543
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8545
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8548
lt_prog_compiler_static=
8557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8558
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8559
if ${lt_cv_prog_compiler_c_o+:} false; then :
8560
$as_echo_n "(cached) " >&6
8562
lt_cv_prog_compiler_c_o=no
8563
$RM -r conftest 2>/dev/null
8567
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8569
lt_compiler_flag="-o out/conftest2.$ac_objext"
8570
# Insert the option either (1) after the last *FLAGS variable, or
8571
# (2) before a word containing "conftest.", or (3) at the end.
8572
# Note that $ac_compile itself does not contain backslashes and begins
8573
# with a dollar sign (not a hyphen), so the echo should work correctly.
8574
lt_compile=`echo "$ac_compile" | $SED \
8575
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8576
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8577
-e 's:$: $lt_compiler_flag:'`
8578
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8579
(eval "$lt_compile" 2>out/conftest.err)
8581
cat out/conftest.err >&5
8582
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8585
# The compiler can only warn and ignore the option if not recognized
8586
# So say no if there are warnings
8587
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8588
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8589
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8590
lt_cv_prog_compiler_c_o=yes
8595
# SGI C++ compiler will create directory out/ii_files/ for
8596
# template instantiation
8597
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8598
$RM out/* && rmdir out
8604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8605
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8613
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8614
if ${lt_cv_prog_compiler_c_o+:} false; then :
8615
$as_echo_n "(cached) " >&6
8617
lt_cv_prog_compiler_c_o=no
8618
$RM -r conftest 2>/dev/null
8622
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8624
lt_compiler_flag="-o out/conftest2.$ac_objext"
8625
# Insert the option either (1) after the last *FLAGS variable, or
8626
# (2) before a word containing "conftest.", or (3) at the end.
8627
# Note that $ac_compile itself does not contain backslashes and begins
8628
# with a dollar sign (not a hyphen), so the echo should work correctly.
8629
lt_compile=`echo "$ac_compile" | $SED \
8630
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8631
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8632
-e 's:$: $lt_compiler_flag:'`
8633
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8634
(eval "$lt_compile" 2>out/conftest.err)
8636
cat out/conftest.err >&5
8637
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8640
# The compiler can only warn and ignore the option if not recognized
8641
# So say no if there are warnings
8642
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8643
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8644
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8645
lt_cv_prog_compiler_c_o=yes
8650
# SGI C++ compiler will create directory out/ii_files/ for
8651
# template instantiation
8652
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8653
$RM out/* && rmdir out
8659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8660
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8665
hard_links="nottested"
8666
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8667
# do not overwrite the value of need_locks provided by the user
8668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8669
$as_echo_n "checking if we can lock with hard links... " >&6; }
8672
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8674
ln conftest.a conftest.b 2>&5 || hard_links=no
8675
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8677
$as_echo "$hard_links" >&6; }
8678
if test "$hard_links" = no; then
8679
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8680
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8693
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8696
allow_undefined_flag=
8697
always_export_symbols=no
8699
archive_expsym_cmds=
8700
compiler_needs_object=no
8701
enable_shared_with_static_runtimes=no
8702
export_dynamic_flag_spec=
8703
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8704
hardcode_automatic=no
8706
hardcode_direct_absolute=no
8707
hardcode_libdir_flag_spec=
8708
hardcode_libdir_separator=
8710
hardcode_shlibpath_var=unsupported
8712
link_all_deplibs=unknown
8715
old_archive_from_new_cmds=
8716
old_archive_from_expsyms_cmds=
8717
thread_safe_flag_spec=
8718
whole_archive_flag_spec=
8719
# include_expsyms should be a list of space-separated symbols to be *always*
8720
# included in the symbol list
8722
# exclude_expsyms can be an extended regexp of symbols to exclude
8723
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8724
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8725
# as well as any symbol that contains `d'.
8726
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8727
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8728
# platforms (ab)use it in PIC code, but their linkers get confused if
8729
# the symbol is explicitly referenced. Since portable code cannot
8730
# rely on this symbol name, it's probably fine to never include it in
8731
# preloaded symbol tables.
8732
# Exclude shared library initialization/finalization symbols.
8733
extract_expsyms_cmds=
8736
cygwin* | mingw* | pw32* | cegcc*)
8737
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8738
# When not using gcc, we currently assume that we are using
8739
# Microsoft Visual C++.
8740
if test "$GCC" != yes; then
8745
# we just hope/assume this is gcc and not c89 (= MSVC++)
8751
linux* | k*bsd*-gnu | gnu*)
8758
# On some targets, GNU ld is compatible enough with the native linker
8759
# that we're better off using the native interface for both.
8760
lt_use_gnu_ld_interface=no
8761
if test "$with_gnu_ld" = yes; then
8764
# The AIX port of GNU ld has always aspired to compatibility
8765
# with the native linker. However, as the warning in the GNU ld
8766
# block says, versions before 2.19.5* couldn't really create working
8767
# shared libraries, regardless of the interface used.
8768
case `$LD -v 2>&1` in
8769
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8770
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8771
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
8773
lt_use_gnu_ld_interface=yes
8778
lt_use_gnu_ld_interface=yes
8783
if test "$lt_use_gnu_ld_interface" = yes; then
8784
# If archive_cmds runs LD, not CC, wlarc should be empty
8787
# Set some defaults for GNU ld with shared library support. These
8788
# are reset later if shared libraries are not supported. Putting them
8789
# here allows them to be overridden if necessary.
8790
runpath_var=LD_RUN_PATH
8791
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8792
export_dynamic_flag_spec='${wl}--export-dynamic'
8793
# ancient GNU ld didn't support --whole-archive et. al.
8794
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8795
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8797
whole_archive_flag_spec=
8799
supports_anon_versioning=no
8800
case `$LD -v 2>&1` in
8801
*GNU\ gold*) supports_anon_versioning=yes ;;
8802
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8803
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8804
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8805
*\ 2.11.*) ;; # other 2.11 versions
8806
*) supports_anon_versioning=yes ;;
8809
# See if GNU ld supports shared libraries.
8812
# On AIX/PPC, the GNU linker is very broken
8813
if test "$host_cpu" != ia64; then
8817
*** Warning: the GNU linker, at least up to release 2.19, is reported
8818
*** to be unable to reliably create shared libraries on AIX.
8819
*** Therefore, libtool is disabling shared libraries support. If you
8820
*** really care for shared libraries, you may want to install binutils
8821
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8822
*** You will then need to restart the configuration process.
8831
# see comment about AmigaOS4 .so support
8832
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8833
archive_expsym_cmds=''
8836
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)'
8837
hardcode_libdir_flag_spec='-L$libdir'
8838
hardcode_minus_L=yes
8844
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8845
allow_undefined_flag=unsupported
8846
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8847
# support --undefined. This deserves some investigation. FIXME
8848
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8854
cygwin* | mingw* | pw32* | cegcc*)
8855
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8856
# as there is no search path for DLLs.
8857
hardcode_libdir_flag_spec='-L$libdir'
8858
export_dynamic_flag_spec='${wl}--export-all-symbols'
8859
allow_undefined_flag=unsupported
8860
always_export_symbols=no
8861
enable_shared_with_static_runtimes=yes
8862
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'
8863
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8865
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8866
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8867
# If the export-symbols file already is a .def file (1st line
8868
# is EXPORTS), use it as is; otherwise, prepend...
8869
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8870
cp $export_symbols $output_objdir/$soname.def;
8872
echo EXPORTS > $output_objdir/$soname.def;
8873
cat $export_symbols >> $output_objdir/$soname.def;
8875
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8882
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8883
link_all_deplibs=yes
8888
hardcode_shlibpath_var=no
8889
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8890
export_dynamic_flag_spec='${wl}-E'
8891
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8892
# Instead, shared libraries are loaded at an image base (0x10000000 by
8893
# default) and relocated if they conflict, which is a slow very memory
8894
# consuming and fragmenting process. To avoid this, we pick a random,
8895
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8896
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8897
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8898
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'
8901
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8903
if test "$host_os" = linux-dietlibc; then
8904
case $cc_basename in
8905
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8908
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8909
&& test "$tmp_diet" = no
8911
tmp_addflag=' $pic_flag'
8912
tmp_sharedflag='-shared'
8913
case $cc_basename,$host_cpu in
8914
pgcc*) # Portland Group C compiler
8915
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'
8916
tmp_addflag=' $pic_flag'
8918
pgf77* | pgf90* | pgf95* | pgfortran*)
8919
# Portland Group f77 and f90 compilers
8920
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'
8921
tmp_addflag=' $pic_flag -Mnomain' ;;
8922
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8923
tmp_addflag=' -i_dynamic' ;;
8924
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8925
tmp_addflag=' -i_dynamic -nofor_main' ;;
8926
ifc* | ifort*) # Intel Fortran compiler
8927
tmp_addflag=' -nofor_main' ;;
8928
lf95*) # Lahey Fortran 8.1
8929
whole_archive_flag_spec=
8930
tmp_sharedflag='--shared' ;;
8931
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8932
tmp_sharedflag='-qmkshrobj'
8934
nvcc*) # Cuda Compiler Driver 2.2
8935
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'
8936
compiler_needs_object=yes
8939
case `$CC -V 2>&1 | sed 5q` in
8940
*Sun\ C*) # Sun C 5.9
8941
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'
8942
compiler_needs_object=yes
8943
tmp_sharedflag='-G' ;;
8944
*Sun\ F*) # Sun Fortran 8.3
8945
tmp_sharedflag='-G' ;;
8947
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8949
if test "x$supports_anon_versioning" = xyes; then
8950
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8951
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8952
echo "local: *; };" >> $output_objdir/$libname.ver~
8953
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8956
case $cc_basename in
8957
xlf* | bgf* | bgxlf* | mpixlf*)
8958
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8959
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8960
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8961
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8962
if test "x$supports_anon_versioning" = xyes; then
8963
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8964
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8965
echo "local: *; };" >> $output_objdir/$libname.ver~
8966
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8975
netbsd* | netbsdelf*-gnu)
8976
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8977
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8980
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8981
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8986
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8990
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8991
*** create shared libraries on Solaris systems. Therefore, libtool
8992
*** is disabling shared libraries support. We urge you to upgrade GNU
8993
*** binutils to release 2.9.1 or newer. Another option is to modify
8994
*** your PATH or compiler configuration so that the native linker is
8995
*** used, and then restart.
8998
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8999
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9000
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9006
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9007
case `$LD -v 2>&1` in
9008
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9012
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9013
*** reliably create shared libraries on SCO systems. Therefore, libtool
9014
*** is disabling shared libraries support. We urge you to upgrade GNU
9015
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9016
*** your PATH or compiler configuration so that the native linker is
9017
*** used, and then restart.
9022
# For security reasons, it is highly recommended that you always
9023
# use absolute paths for naming shared libraries, and exclude the
9024
# DT_RUNPATH tag from executables and libraries. But doing so
9025
# requires that you compile everything twice, which is a pain.
9026
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9027
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9028
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9029
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9038
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9041
hardcode_shlibpath_var=no
9045
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9046
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9047
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9054
if test "$ld_shlibs" = no; then
9056
hardcode_libdir_flag_spec=
9057
export_dynamic_flag_spec=
9058
whole_archive_flag_spec=
9061
# PORTME fill in a description of your system's linker (not GNU ld)
9064
allow_undefined_flag=unsupported
9065
always_export_symbols=yes
9066
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'
9067
# Note: this linker hardcodes the directories in LIBPATH if there
9068
# are no directories specified by -L.
9069
hardcode_minus_L=yes
9070
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9071
# Neither direct hardcoding nor static linking is supported with a
9073
hardcode_direct=unsupported
9078
if test "$host_cpu" = ia64; then
9079
# On IA64, the linker does run time linking by default, so we don't
9080
# have to do anything special.
9081
aix_use_runtimelinking=no
9082
exp_sym_flag='-Bexport'
9085
# If we're using GNU nm, then we don't want the "-C" option.
9086
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9087
# Also, AIX nm treats weak defined symbols like other global
9088
# defined symbols, whereas GNU nm marks them as "W".
9089
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9090
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'
9092
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'
9094
aix_use_runtimelinking=no
9096
# Test if we are trying to use run time linking or normal
9097
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9098
# need to do runtime linking.
9099
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9100
for ld_flag in $LDFLAGS; do
9101
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9102
aix_use_runtimelinking=yes
9109
exp_sym_flag='-bexport'
9110
no_entry_flag='-bnoentry'
9113
# When large executables or shared objects are built, AIX ld can
9114
# have problems creating the table of contents. If linking a library
9115
# or program results in "error TOC overflow" add -mminimal-toc to
9116
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9117
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9121
hardcode_direct_absolute=yes
9122
hardcode_libdir_separator=':'
9123
link_all_deplibs=yes
9124
file_list_spec='${wl}-f,'
9126
if test "$GCC" = yes; then
9127
case $host_os in aix4.[012]|aix4.[012].*)
9128
# We only want to do this on AIX 4.2 and lower, the check
9129
# below for broken collect2 doesn't work under 4.3+
9130
collect2name=`${CC} -print-prog-name=collect2`
9131
if test -f "$collect2name" &&
9132
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9134
# We have reworked collect2
9137
# We have old collect2
9138
hardcode_direct=unsupported
9139
# It fails to find uninstalled libraries when the uninstalled
9140
# path is not listed in the libpath. Setting hardcode_minus_L
9141
# to unsupported forces relinking
9142
hardcode_minus_L=yes
9143
hardcode_libdir_flag_spec='-L$libdir'
9144
hardcode_libdir_separator=
9148
shared_flag='-shared'
9149
if test "$aix_use_runtimelinking" = yes; then
9150
shared_flag="$shared_flag "'${wl}-G'
9155
if test "$host_cpu" = ia64; then
9156
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9157
# chokes on -Wl,-G. The following line is correct:
9160
if test "$aix_use_runtimelinking" = yes; then
9161
shared_flag='${wl}-G'
9163
shared_flag='${wl}-bM:SRE'
9168
export_dynamic_flag_spec='${wl}-bexpall'
9169
# It seems that -bexpall does not export symbols beginning with
9170
# underscore (_), so it is better to generate a list of symbols to export.
9171
always_export_symbols=yes
9172
if test "$aix_use_runtimelinking" = yes; then
9173
# Warning - without using the other runtime loading flags (-brtl),
9174
# -berok will link without error, but may produce a broken library.
9175
allow_undefined_flag='-berok'
9176
# Determine the default libpath from the value encoded in an
9178
if test "${lt_cv_aix_libpath+set}" = set; then
9179
aix_libpath=$lt_cv_aix_libpath
9181
if ${lt_cv_aix_libpath_+:} false; then :
9182
$as_echo_n "(cached) " >&6
9184
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9185
/* end confdefs.h. */
9195
if ac_fn_c_try_link "$LINENO"; then :
9197
lt_aix_libpath_sed='
9198
/Import File Strings/,/^$/ {
9200
s/^0 *\([^ ]*\) *$/\1/
9204
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9205
# Check for a 64-bit object if we didn't find anything.
9206
if test -z "$lt_cv_aix_libpath_"; then
9207
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9210
rm -f core conftest.err conftest.$ac_objext \
9211
conftest$ac_exeext conftest.$ac_ext
9212
if test -z "$lt_cv_aix_libpath_"; then
9213
lt_cv_aix_libpath_="/usr/lib:/lib"
9218
aix_libpath=$lt_cv_aix_libpath_
9221
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9222
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"
9224
if test "$host_cpu" = ia64; then
9225
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9226
allow_undefined_flag="-z nodefs"
9227
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"
9229
# Determine the default libpath from the value encoded in an
9231
if test "${lt_cv_aix_libpath+set}" = set; then
9232
aix_libpath=$lt_cv_aix_libpath
9234
if ${lt_cv_aix_libpath_+:} false; then :
9235
$as_echo_n "(cached) " >&6
9237
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9238
/* end confdefs.h. */
9248
if ac_fn_c_try_link "$LINENO"; then :
9250
lt_aix_libpath_sed='
9251
/Import File Strings/,/^$/ {
9253
s/^0 *\([^ ]*\) *$/\1/
9257
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9258
# Check for a 64-bit object if we didn't find anything.
9259
if test -z "$lt_cv_aix_libpath_"; then
9260
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9263
rm -f core conftest.err conftest.$ac_objext \
9264
conftest$ac_exeext conftest.$ac_ext
9265
if test -z "$lt_cv_aix_libpath_"; then
9266
lt_cv_aix_libpath_="/usr/lib:/lib"
9271
aix_libpath=$lt_cv_aix_libpath_
9274
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9275
# Warning - without using the other run time loading flags,
9276
# -berok will link without error, but may produce a broken library.
9277
no_undefined_flag=' ${wl}-bernotok'
9278
allow_undefined_flag=' ${wl}-berok'
9279
if test "$with_gnu_ld" = yes; then
9280
# We only use this code for GNU lds that support --whole-archive.
9281
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9283
# Exported symbols can be pulled into shared objects from archives
9284
whole_archive_flag_spec='$convenience'
9286
archive_cmds_need_lc=yes
9287
# This is similar to how AIX traditionally builds its shared libraries.
9288
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'
9296
# see comment about AmigaOS4 .so support
9297
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9298
archive_expsym_cmds=''
9301
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)'
9302
hardcode_libdir_flag_spec='-L$libdir'
9303
hardcode_minus_L=yes
9309
export_dynamic_flag_spec=-rdynamic
9312
cygwin* | mingw* | pw32* | cegcc*)
9313
# When not using gcc, we currently assume that we are using
9314
# Microsoft Visual C++.
9315
# hardcode_libdir_flag_spec is actually meaningless, as there is
9316
# no search path for DLLs.
9317
case $cc_basename in
9320
hardcode_libdir_flag_spec=' '
9321
allow_undefined_flag=unsupported
9322
always_export_symbols=yes
9324
# Tell ltmain to make .lib files, not .a files.
9326
# Tell ltmain to make .dll files, not .so files.
9328
# FIXME: Setting linknames here is a bad hack.
9329
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9330
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9331
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9333
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9335
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9337
# The linker will not automatically build a static lib if we build a DLL.
9338
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9339
enable_shared_with_static_runtimes=yes
9340
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9341
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9343
old_postinstall_cmds='chmod 644 $oldlib'
9344
postlink_cmds='lt_outputfile="@OUTPUT@"~
9345
lt_tool_outputfile="@TOOL_OUTPUT@"~
9346
case $lt_outputfile in
9349
lt_outputfile="$lt_outputfile.exe"
9350
lt_tool_outputfile="$lt_tool_outputfile.exe"
9353
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9354
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9355
$RM "$lt_outputfile.manifest";
9359
# Assume MSVC wrapper
9360
hardcode_libdir_flag_spec=' '
9361
allow_undefined_flag=unsupported
9362
# Tell ltmain to make .lib files, not .a files.
9364
# Tell ltmain to make .dll files, not .so files.
9366
# FIXME: Setting linknames here is a bad hack.
9367
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9368
# The linker will automatically build a .lib file if we build a DLL.
9369
old_archive_from_new_cmds='true'
9370
# FIXME: Should let the user specify the lib program.
9371
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9372
enable_shared_with_static_runtimes=yes
9377
darwin* | rhapsody*)
9380
archive_cmds_need_lc=no
9382
hardcode_automatic=yes
9383
hardcode_shlibpath_var=unsupported
9384
if test "$lt_cv_ld_force_load" = "yes"; then
9385
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\"`'
9388
whole_archive_flag_spec=''
9390
link_all_deplibs=yes
9391
allow_undefined_flag="$_lt_dar_allow_undefined"
9392
case $cc_basename in
9393
ifort*) _lt_dar_can_shared=yes ;;
9394
*) _lt_dar_can_shared=$GCC ;;
9396
if test "$_lt_dar_can_shared" = "yes"; then
9397
output_verbose_link_cmd=func_echo_all
9398
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9399
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9400
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}"
9401
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}"
9410
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9411
hardcode_libdir_flag_spec='-L$libdir'
9412
hardcode_shlibpath_var=no
9415
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9416
# support. Future versions do this automatically, but an explicit c++rt0.o
9417
# does not break anything, and helps significantly (at the cost of a little
9420
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9421
hardcode_libdir_flag_spec='-R$libdir'
9423
hardcode_shlibpath_var=no
9426
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9428
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9430
hardcode_minus_L=yes
9431
hardcode_shlibpath_var=no
9434
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9435
freebsd* | dragonfly*)
9436
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9437
hardcode_libdir_flag_spec='-R$libdir'
9439
hardcode_shlibpath_var=no
9443
if test "$GCC" = yes; then
9444
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'
9446
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'
9448
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9449
hardcode_libdir_separator=:
9452
# hardcode_minus_L: Not really in the search PATH,
9453
# but as the default location of the library.
9454
hardcode_minus_L=yes
9455
export_dynamic_flag_spec='${wl}-E'
9459
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9460
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9462
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9464
if test "$with_gnu_ld" = no; then
9465
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9466
hardcode_libdir_separator=:
9468
hardcode_direct_absolute=yes
9469
export_dynamic_flag_spec='${wl}-E'
9470
# hardcode_minus_L: Not really in the search PATH,
9471
# but as the default location of the library.
9472
hardcode_minus_L=yes
9477
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9480
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9483
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9486
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9492
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9495
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9499
# Older versions of the 11.00 compiler do not understand -b yet
9500
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9502
$as_echo_n "checking if $CC understands -b... " >&6; }
9503
if ${lt_cv_prog_compiler__b+:} false; then :
9504
$as_echo_n "(cached) " >&6
9506
lt_cv_prog_compiler__b=no
9507
save_LDFLAGS="$LDFLAGS"
9508
LDFLAGS="$LDFLAGS -b"
9509
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9510
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9511
# The linker can only warn and ignore the option if not recognized
9512
# So say no if there are warnings
9513
if test -s conftest.err; then
9514
# Append any errors to the config.log.
9515
cat conftest.err 1>&5
9516
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9517
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9518
if diff conftest.exp conftest.er2 >/dev/null; then
9519
lt_cv_prog_compiler__b=yes
9522
lt_cv_prog_compiler__b=yes
9526
LDFLAGS="$save_LDFLAGS"
9529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9530
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9532
if test x"$lt_cv_prog_compiler__b" = xyes; then
9533
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9535
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9541
if test "$with_gnu_ld" = no; then
9542
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9543
hardcode_libdir_separator=:
9548
hardcode_shlibpath_var=no
9552
hardcode_direct_absolute=yes
9553
export_dynamic_flag_spec='${wl}-E'
9555
# hardcode_minus_L: Not really in the search PATH,
9556
# but as the default location of the library.
9557
hardcode_minus_L=yes
9563
irix5* | irix6* | nonstopux*)
9564
if test "$GCC" = yes; then
9565
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'
9566
# Try to use the -exported_symbol ld option, if it does not
9567
# work, assume that -exports_file does not work either and
9568
# implicitly export all symbols.
9569
# This should be the same for all languages, so no per-tag cache variable.
9570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9571
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9572
if ${lt_cv_irix_exported_symbol+:} false; then :
9573
$as_echo_n "(cached) " >&6
9575
save_LDFLAGS="$LDFLAGS"
9576
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9577
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9578
/* end confdefs.h. */
9579
int foo (void) { return 0; }
9581
if ac_fn_c_try_link "$LINENO"; then :
9582
lt_cv_irix_exported_symbol=yes
9584
lt_cv_irix_exported_symbol=no
9586
rm -f core conftest.err conftest.$ac_objext \
9587
conftest$ac_exeext conftest.$ac_ext
9588
LDFLAGS="$save_LDFLAGS"
9590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9591
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9592
if test "$lt_cv_irix_exported_symbol" = yes; then
9593
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'
9596
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'
9597
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'
9599
archive_cmds_need_lc='no'
9600
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9601
hardcode_libdir_separator=:
9603
link_all_deplibs=yes
9606
netbsd* | netbsdelf*-gnu)
9607
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9608
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9610
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9612
hardcode_libdir_flag_spec='-R$libdir'
9614
hardcode_shlibpath_var=no
9618
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9620
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9621
hardcode_libdir_separator=:
9622
hardcode_shlibpath_var=no
9629
if test -f /usr/libexec/ld.so; then
9631
hardcode_shlibpath_var=no
9632
hardcode_direct_absolute=yes
9633
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9634
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9635
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9636
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9637
export_dynamic_flag_spec='${wl}-E'
9640
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9641
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9642
hardcode_libdir_flag_spec='-R$libdir'
9645
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9646
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9656
hardcode_libdir_flag_spec='-L$libdir'
9657
hardcode_minus_L=yes
9658
allow_undefined_flag=unsupported
9659
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'
9660
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9664
if test "$GCC" = yes; then
9665
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9666
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'
9668
allow_undefined_flag=' -expect_unresolved \*'
9669
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'
9671
archive_cmds_need_lc='no'
9672
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9673
hardcode_libdir_separator=:
9676
osf4* | osf5*) # as osf3* with the addition of -msym flag
9677
if test "$GCC" = yes; then
9678
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9679
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'
9680
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9682
allow_undefined_flag=' -expect_unresolved \*'
9683
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'
9684
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~
9685
$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'
9687
# Both c and cxx compiler support -rpath directly
9688
hardcode_libdir_flag_spec='-rpath $libdir'
9690
archive_cmds_need_lc='no'
9691
hardcode_libdir_separator=:
9695
no_undefined_flag=' -z defs'
9696
if test "$GCC" = yes; then
9698
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9699
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9700
$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'
9702
case `$CC -V 2>&1` in
9705
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9706
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9707
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9711
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9712
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9713
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9717
hardcode_libdir_flag_spec='-R$libdir'
9718
hardcode_shlibpath_var=no
9720
solaris2.[0-5] | solaris2.[0-5].*) ;;
9722
# The compiler driver will combine and reorder linker options,
9723
# but understands `-z linker_flag'. GCC discards it without `$wl',
9724
# but is careful enough not to reorder.
9725
# Supported since Solaris 2.6 (maybe 2.5.1?)
9726
if test "$GCC" = yes; then
9727
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9729
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9733
link_all_deplibs=yes
9737
if test "x$host_vendor" = xsequent; then
9738
# Use $CC to link under sequent, because it throws in some extra .o
9739
# files that make .init and .fini sections work.
9740
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9742
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9744
hardcode_libdir_flag_spec='-L$libdir'
9746
hardcode_minus_L=yes
9747
hardcode_shlibpath_var=no
9751
case $host_vendor in
9753
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9754
hardcode_direct=yes # is this really true???
9757
## LD is ld it makes a PLAMLIB
9758
## CC just makes a GrossModule.
9759
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9760
reload_cmds='$CC -r -o $output$reload_objs'
9764
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9765
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9768
runpath_var='LD_RUN_PATH'
9769
hardcode_shlibpath_var=no
9773
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9774
hardcode_shlibpath_var=no
9775
export_dynamic_flag_spec='-Bexport'
9779
if test -d /usr/nec; then
9780
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9781
hardcode_shlibpath_var=no
9782
runpath_var=LD_RUN_PATH
9783
hardcode_runpath_var=yes
9788
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9789
no_undefined_flag='${wl}-z,text'
9790
archive_cmds_need_lc=no
9791
hardcode_shlibpath_var=no
9792
runpath_var='LD_RUN_PATH'
9794
if test "$GCC" = yes; then
9795
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9796
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9798
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9799
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9803
sysv5* | sco3.2v5* | sco5v6*)
9804
# Note: We can NOT use -z defs as we might desire, because we do not
9805
# link with -lc, and that would cause any symbols used from libc to
9806
# always be unresolved, which means just about no library would
9807
# ever link correctly. If we're not using GNU ld we use -z text
9808
# though, which does catch some bad symbols but isn't as heavy-handed
9810
no_undefined_flag='${wl}-z,text'
9811
allow_undefined_flag='${wl}-z,nodefs'
9812
archive_cmds_need_lc=no
9813
hardcode_shlibpath_var=no
9814
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9815
hardcode_libdir_separator=':'
9816
link_all_deplibs=yes
9817
export_dynamic_flag_spec='${wl}-Bexport'
9818
runpath_var='LD_RUN_PATH'
9820
if test "$GCC" = yes; then
9821
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9822
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9824
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9825
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9830
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9831
hardcode_libdir_flag_spec='-L$libdir'
9832
hardcode_shlibpath_var=no
9840
if test x$host_vendor = xsni; then
9842
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9843
export_dynamic_flag_spec='${wl}-Blargedynsym'
9849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9850
$as_echo "$ld_shlibs" >&6; }
9851
test "$ld_shlibs" = no && can_build_shared=no
9853
with_gnu_ld=$with_gnu_ld
9870
# Do we need to explicitly link libc?
9872
case "x$archive_cmds_need_lc" in
9874
# Assume -lc should be added
9875
archive_cmds_need_lc=yes
9877
if test "$enable_shared" = yes && test "$GCC" = yes; then
9878
case $archive_cmds in
9880
# FIXME: we may have to deal with multi-command sequences.
9883
# Test whether the compiler implicitly links with -lc since on some
9884
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9885
# to ld, don't add -lc before -lgcc.
9886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9887
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9888
if ${lt_cv_archive_cmds_need_lc+:} false; then :
9889
$as_echo_n "(cached) " >&6
9892
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9894
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9895
(eval $ac_compile) 2>&5
9897
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9898
test $ac_status = 0; } 2>conftest.err; then
9901
libobjs=conftest.$ac_objext
9903
wl=$lt_prog_compiler_wl
9904
pic_flag=$lt_prog_compiler_pic
9910
lt_save_allow_undefined_flag=$allow_undefined_flag
9911
allow_undefined_flag=
9912
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9913
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9915
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9916
test $ac_status = 0; }
9918
lt_cv_archive_cmds_need_lc=no
9920
lt_cv_archive_cmds_need_lc=yes
9922
allow_undefined_flag=$lt_save_allow_undefined_flag
9924
cat conftest.err 1>&5
9929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9930
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9931
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10090
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10092
if test "$GCC" = yes; then
10094
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10095
*) lt_awk_arg="/^libraries:/" ;;
10098
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10099
*) lt_sed_strip_eq="s,=/,/,g" ;;
10101
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10102
case $lt_search_path_spec in
10104
# if the path contains ";" then we assume it to be the separator
10105
# otherwise default to the standard path separator (i.e. ":") - it is
10106
# assumed that no part of a normal pathname contains ";" but that should
10107
# okay in the real world where ";" in dirpaths is itself problematic.
10108
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10111
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10114
# Ok, now we have the path, separated by spaces, we can step through it
10115
# and add multilib dir if necessary.
10116
lt_tmp_lt_search_path_spec=
10117
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10118
for lt_sys_path in $lt_search_path_spec; do
10119
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10120
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10122
test -d "$lt_sys_path" && \
10123
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10126
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10127
BEGIN {RS=" "; FS="/|\n";} {
10130
for (lt_i = NF; lt_i > 0; lt_i--) {
10131
if ($lt_i != "" && $lt_i != ".") {
10132
if ($lt_i == "..") {
10135
if (lt_count == 0) {
10136
lt_foo="/" $lt_i lt_foo;
10143
if (lt_foo != "") { lt_freq[lt_foo]++; }
10144
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10146
# AWK program above erroneously prepends '/' to C:/dos/paths
10149
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10150
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10152
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10154
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10156
library_names_spec=
10157
libname_spec='lib$name'
10161
postuninstall_cmds=
10165
shlibpath_overrides_runpath=unknown
10167
dynamic_linker="$host_os ld.so"
10168
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10169
need_lib_prefix=unknown
10170
hardcode_into_libs=no
10172
# when you set need_version to no, make sure it does not cause -set_version
10173
# flags to be left without arguments
10174
need_version=unknown
10178
version_type=linux # correct to gnu/linux during the next big refactor
10179
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10180
shlibpath_var=LIBPATH
10182
# AIX 3 has no versioning support, so we append a major version to the name.
10183
soname_spec='${libname}${release}${shared_ext}$major'
10187
version_type=linux # correct to gnu/linux during the next big refactor
10190
hardcode_into_libs=yes
10191
if test "$host_cpu" = ia64; then
10192
# AIX 5 supports IA64
10193
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10194
shlibpath_var=LD_LIBRARY_PATH
10196
# With GCC up to 2.95.x, collect2 would create an import file
10197
# for dependence libraries. The import file would start with
10198
# the line `#! .'. This would cause the generated library to
10199
# depend on `.', always an invalid library. This was fixed in
10200
# development snapshots of GCC prior to 3.0.
10202
aix4 | aix4.[01] | aix4.[01].*)
10203
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10205
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10208
can_build_shared=no
10212
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10213
# soname into executable. Probably we can add versioning support to
10214
# collect2, so additional links can be useful in future.
10215
if test "$aix_use_runtimelinking" = yes; then
10216
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10217
# instead of lib<name>.a to let people know that these are not
10218
# typical AIX shared libraries.
10219
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10221
# We preserve .a as extension for shared libraries through AIX4.2
10222
# and later when we are not doing run time linking.
10223
library_names_spec='${libname}${release}.a $libname.a'
10224
soname_spec='${libname}${release}${shared_ext}$major'
10226
shlibpath_var=LIBPATH
10233
# Since July 2007 AmigaOS4 officially supports .so libraries.
10234
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10235
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10238
library_names_spec='$libname.ixlibrary $libname.a'
10239
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10240
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'
10246
library_names_spec='${libname}${shared_ext}'
10247
dynamic_linker="$host_os ld.so"
10248
shlibpath_var=LIBRARY_PATH
10252
version_type=linux # correct to gnu/linux during the next big refactor
10254
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10255
soname_spec='${libname}${release}${shared_ext}$major'
10256
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10257
shlibpath_var=LD_LIBRARY_PATH
10258
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10259
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10260
# the default ld.so.conf also contains /usr/contrib/lib and
10261
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10262
# libtool to hard-code these into programs
10265
cygwin* | mingw* | pw32* | cegcc*)
10266
version_type=windows
10271
case $GCC,$cc_basename in
10274
library_names_spec='$libname.dll.a'
10275
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10276
postinstall_cmds='base_file=`basename \${file}`~
10277
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10278
dldir=$destdir/`dirname \$dlpath`~
10279
test -d \$dldir || mkdir -p \$dldir~
10280
$install_prog $dir/$dlname \$dldir/$dlname~
10281
chmod a+x \$dldir/$dlname~
10282
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10283
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10285
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10286
dlpath=$dir/\$dldll~
10288
shlibpath_overrides_runpath=yes
10292
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10293
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10295
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10298
# MinGW DLLs use traditional 'lib' prefix
10299
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10302
# pw32 DLLs use 'pw' prefix rather than 'lib'
10303
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10306
dynamic_linker='Win32 ld.exe'
10311
libname_spec='$name'
10312
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10313
library_names_spec='${libname}.dll.lib'
10317
sys_lib_search_path_spec=
10320
for lt_path in $LIB
10323
# Let DOS variable expansion print the short 8.3 style file name.
10324
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10325
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10328
# Convert to MSYS style.
10329
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10332
# Convert to unix form, then to dos form, then back to unix form
10333
# but this time dos style (no spaces!) so that the unix form looks
10334
# like /cygdrive/c/PROGRA~1:/cygdr...
10335
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10336
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10337
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10340
sys_lib_search_path_spec="$LIB"
10341
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10342
# It is most probably a Windows format PATH.
10343
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10345
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10347
# FIXME: find the short name or the path components, as spaces are
10348
# common. (e.g. "Program Files" -> "PROGRA~1")
10352
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10353
postinstall_cmds='base_file=`basename \${file}`~
10354
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10355
dldir=$destdir/`dirname \$dlpath`~
10356
test -d \$dldir || mkdir -p \$dldir~
10357
$install_prog $dir/$dlname \$dldir/$dlname'
10358
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10359
dlpath=$dir/\$dldll~
10361
shlibpath_overrides_runpath=yes
10362
dynamic_linker='Win32 link.exe'
10366
# Assume MSVC wrapper
10367
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10368
dynamic_linker='Win32 ld.exe'
10371
# FIXME: first we should search . and the directory the executable is in
10375
darwin* | rhapsody*)
10376
dynamic_linker="$host_os dyld"
10377
version_type=darwin
10380
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10381
soname_spec='${libname}${release}${major}$shared_ext'
10382
shlibpath_overrides_runpath=yes
10383
shlibpath_var=DYLD_LIBRARY_PATH
10384
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10386
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10387
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10391
version_type=linux # correct to gnu/linux during the next big refactor
10394
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10395
soname_spec='${libname}${release}${shared_ext}$major'
10396
shlibpath_var=LD_LIBRARY_PATH
10399
freebsd* | dragonfly*)
10400
# DragonFly does not have aout. When/if they implement a new
10401
# versioning mechanism, adjust this.
10402
if test -x /usr/bin/objformat; then
10403
objformat=`/usr/bin/objformat`
10406
freebsd[23].*) objformat=aout ;;
10407
*) objformat=elf ;;
10410
version_type=freebsd-$objformat
10411
case $version_type in
10413
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10418
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10422
shlibpath_var=LD_LIBRARY_PATH
10425
shlibpath_overrides_runpath=yes
10427
freebsd3.[01]* | freebsdelf3.[01]*)
10428
shlibpath_overrides_runpath=yes
10429
hardcode_into_libs=yes
10431
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10432
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10433
shlibpath_overrides_runpath=no
10434
hardcode_into_libs=yes
10436
*) # from 4.6 on, and DragonFly
10437
shlibpath_overrides_runpath=yes
10438
hardcode_into_libs=yes
10444
version_type=linux # correct to gnu/linux during the next big refactor
10447
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10448
soname_spec='${libname}${release}${shared_ext}$major'
10449
shlibpath_var=LD_LIBRARY_PATH
10450
shlibpath_overrides_runpath=no
10451
hardcode_into_libs=yes
10455
version_type=linux # correct to gnu/linux during the next big refactor
10458
dynamic_linker="$host_os runtime_loader"
10459
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10460
soname_spec='${libname}${release}${shared_ext}$major'
10461
shlibpath_var=LIBRARY_PATH
10462
shlibpath_overrides_runpath=yes
10463
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10464
hardcode_into_libs=yes
10467
hpux9* | hpux10* | hpux11*)
10468
# Give a soname corresponding to the major version so that dld.sl refuses to
10469
# link against other versions.
10476
hardcode_into_libs=yes
10477
dynamic_linker="$host_os dld.so"
10478
shlibpath_var=LD_LIBRARY_PATH
10479
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10480
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10481
soname_spec='${libname}${release}${shared_ext}$major'
10482
if test "X$HPUX_IA64_MODE" = X32; then
10483
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10485
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10487
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10491
hardcode_into_libs=yes
10492
dynamic_linker="$host_os dld.sl"
10493
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10494
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10495
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10496
soname_spec='${libname}${release}${shared_ext}$major'
10497
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10498
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10502
dynamic_linker="$host_os dld.sl"
10503
shlibpath_var=SHLIB_PATH
10504
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10505
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10506
soname_spec='${libname}${release}${shared_ext}$major'
10509
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10510
postinstall_cmds='chmod 555 $lib'
10511
# or fails outright, so override atomically:
10512
install_override_mode=555
10516
version_type=linux # correct to gnu/linux during the next big refactor
10519
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10520
soname_spec='${libname}${release}${shared_ext}$major'
10521
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10522
shlibpath_var=LD_LIBRARY_PATH
10523
shlibpath_overrides_runpath=no
10524
hardcode_into_libs=yes
10527
irix5* | irix6* | nonstopux*)
10529
nonstopux*) version_type=nonstopux ;;
10531
if test "$lt_cv_prog_gnu_ld" = yes; then
10532
version_type=linux # correct to gnu/linux during the next big refactor
10539
soname_spec='${libname}${release}${shared_ext}$major'
10540
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10542
irix5* | nonstopux*)
10543
libsuff= shlibsuff=
10546
case $LD in # libtool.m4 will add one of these switches to LD
10547
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10548
libsuff= shlibsuff= libmagic=32-bit;;
10549
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10550
libsuff=32 shlibsuff=N32 libmagic=N32;;
10551
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10552
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10553
*) libsuff= shlibsuff= libmagic=never-match;;
10557
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10558
shlibpath_overrides_runpath=no
10559
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10560
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10561
hardcode_into_libs=yes
10564
# No shared lib support for Linux oldld, aout, or coff.
10565
linux*oldld* | linux*aout* | linux*coff*)
10569
# This must be glibc/ELF.
10570
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10571
version_type=linux # correct to gnu/linux during the next big refactor
10574
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10575
soname_spec='${libname}${release}${shared_ext}$major'
10576
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10577
shlibpath_var=LD_LIBRARY_PATH
10578
shlibpath_overrides_runpath=no
10580
# Some binutils ld are patched to set DT_RUNPATH
10581
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10582
$as_echo_n "(cached) " >&6
10584
lt_cv_shlibpath_overrides_runpath=no
10585
save_LDFLAGS=$LDFLAGS
10586
save_libdir=$libdir
10587
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10588
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10589
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590
/* end confdefs.h. */
10600
if ac_fn_c_try_link "$LINENO"; then :
10601
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10602
lt_cv_shlibpath_overrides_runpath=yes
10605
rm -f core conftest.err conftest.$ac_objext \
10606
conftest$ac_exeext conftest.$ac_ext
10607
LDFLAGS=$save_LDFLAGS
10608
libdir=$save_libdir
10612
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10614
# This implies no fast_install, which is unacceptable.
10615
# Some rework will be needed to allow for fast_install
10616
# before this can be enabled.
10617
hardcode_into_libs=yes
10619
# Append ld.so.conf contents to the search path
10620
if test -f /etc/ld.so.conf; then
10621
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' ' '`
10622
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10625
# We used to test for /lib/ld.so.1 and disable shared libraries on
10626
# powerpc, because MkLinux only supported shared libraries with the
10627
# GNU dynamic linker. Since this was broken with cross compilers,
10628
# most powerpc-linux boxes support dynamic linking these days and
10629
# people can always --disable-shared, the test was removed, and we
10630
# assume the GNU/Linux dynamic linker is in use.
10631
dynamic_linker='GNU/Linux ld.so'
10638
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10639
soname_spec='${libname}${release}${shared_ext}$major'
10640
shlibpath_var=LD_LIBRARY_PATH
10641
shlibpath_overrides_runpath=no
10642
hardcode_into_libs=yes
10643
dynamic_linker='NetBSD ld.elf_so'
10650
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10651
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10652
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10653
dynamic_linker='NetBSD (a.out) ld.so'
10655
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10656
soname_spec='${libname}${release}${shared_ext}$major'
10657
dynamic_linker='NetBSD ld.elf_so'
10659
shlibpath_var=LD_LIBRARY_PATH
10660
shlibpath_overrides_runpath=yes
10661
hardcode_into_libs=yes
10665
version_type=linux # correct to gnu/linux during the next big refactor
10666
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10667
shlibpath_var=LD_LIBRARY_PATH
10668
shlibpath_overrides_runpath=yes
10675
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676
soname_spec='${libname}${release}${shared_ext}$major'
10677
shlibpath_var=LD_LIBRARY_PATH
10678
shlibpath_overrides_runpath=no
10679
hardcode_into_libs=yes
10680
dynamic_linker='ldqnx.so'
10685
sys_lib_dlsearch_path_spec="/usr/lib"
10687
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10689
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10690
*) need_version=no ;;
10692
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10693
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10694
shlibpath_var=LD_LIBRARY_PATH
10695
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10697
openbsd2.[89] | openbsd2.[89].*)
10698
shlibpath_overrides_runpath=no
10701
shlibpath_overrides_runpath=yes
10705
shlibpath_overrides_runpath=yes
10710
libname_spec='$name'
10713
library_names_spec='$libname${shared_ext} $libname.a'
10714
dynamic_linker='OS/2 ld.exe'
10715
shlibpath_var=LIBPATH
10718
osf3* | osf4* | osf5*)
10722
soname_spec='${libname}${release}${shared_ext}$major'
10723
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10724
shlibpath_var=LD_LIBRARY_PATH
10725
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10726
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10734
version_type=linux # correct to gnu/linux during the next big refactor
10737
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10738
soname_spec='${libname}${release}${shared_ext}$major'
10739
shlibpath_var=LD_LIBRARY_PATH
10740
shlibpath_overrides_runpath=yes
10741
hardcode_into_libs=yes
10742
# ldd complains unless libraries are executable
10743
postinstall_cmds='chmod +x $lib'
10748
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10749
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10750
shlibpath_var=LD_LIBRARY_PATH
10751
shlibpath_overrides_runpath=yes
10752
if test "$with_gnu_ld" = yes; then
10759
version_type=linux # correct to gnu/linux during the next big refactor
10760
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10761
soname_spec='${libname}${release}${shared_ext}$major'
10762
shlibpath_var=LD_LIBRARY_PATH
10763
case $host_vendor in
10765
shlibpath_overrides_runpath=no
10767
runpath_var=LD_RUN_PATH
10775
shlibpath_overrides_runpath=no
10776
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10782
if test -d /usr/nec ;then
10783
version_type=linux # correct to gnu/linux during the next big refactor
10784
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10785
soname_spec='$libname${shared_ext}.$major'
10786
shlibpath_var=LD_LIBRARY_PATH
10790
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10791
version_type=freebsd-elf
10794
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10795
soname_spec='${libname}${release}${shared_ext}$major'
10796
shlibpath_var=LD_LIBRARY_PATH
10797
shlibpath_overrides_runpath=yes
10798
hardcode_into_libs=yes
10799
if test "$with_gnu_ld" = yes; then
10800
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10802
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10805
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10809
sys_lib_dlsearch_path_spec='/usr/lib'
10813
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10814
version_type=linux # correct to gnu/linux during the next big refactor
10817
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818
shlibpath_var=LD_LIBRARY_PATH
10819
shlibpath_overrides_runpath=no
10820
hardcode_into_libs=yes
10824
version_type=linux # correct to gnu/linux during the next big refactor
10825
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826
soname_spec='${libname}${release}${shared_ext}$major'
10827
shlibpath_var=LD_LIBRARY_PATH
10834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10835
$as_echo "$dynamic_linker" >&6; }
10836
test "$dynamic_linker" = no && can_build_shared=no
10838
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10839
if test "$GCC" = yes; then
10840
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10843
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10844
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10846
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10847
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10942
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10944
if test -n "$hardcode_libdir_flag_spec" ||
10945
test -n "$runpath_var" ||
10946
test "X$hardcode_automatic" = "Xyes" ; then
10948
# We can hardcode non-existent directories.
10949
if test "$hardcode_direct" != no &&
10950
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10951
# have to relink, otherwise we might link with an installed library
10952
# when we should be linking with a yet-to-be-installed one
10953
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10954
test "$hardcode_minus_L" != no; then
10955
# Linking always hardcodes the temporary library directory.
10956
hardcode_action=relink
10958
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10959
hardcode_action=immediate
10962
# We cannot hardcode anything, or else we can only hardcode existing
10964
hardcode_action=unsupported
10966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10967
$as_echo "$hardcode_action" >&6; }
10969
if test "$hardcode_action" = relink ||
10970
test "$inherit_rpath" = yes; then
10971
# Fast installation is not supported
10972
enable_fast_install=no
10973
elif test "$shlibpath_overrides_runpath" = yes ||
10974
test "$enable_shared" = no; then
10975
# Fast installation is not necessary
10976
enable_fast_install=needless
10984
if test "x$enable_dlopen" != xyes; then
10985
enable_dlopen=unknown
10986
enable_dlopen_self=unknown
10987
enable_dlopen_self_static=unknown
10994
lt_cv_dlopen="load_add_on"
10996
lt_cv_dlopen_self=yes
10999
mingw* | pw32* | cegcc*)
11000
lt_cv_dlopen="LoadLibrary"
11005
lt_cv_dlopen="dlopen"
11010
# if libdl is installed we need to link against it
11011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11012
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11013
if ${ac_cv_lib_dl_dlopen+:} false; then :
11014
$as_echo_n "(cached) " >&6
11016
ac_check_lib_save_LIBS=$LIBS
11018
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11019
/* end confdefs.h. */
11021
/* Override any GCC internal prototype to avoid an error.
11022
Use char because int might match the return type of a GCC
11023
builtin and then its argument prototype would still apply. */
11036
if ac_fn_c_try_link "$LINENO"; then :
11037
ac_cv_lib_dl_dlopen=yes
11039
ac_cv_lib_dl_dlopen=no
11041
rm -f core conftest.err conftest.$ac_objext \
11042
conftest$ac_exeext conftest.$ac_ext
11043
LIBS=$ac_check_lib_save_LIBS
11045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11046
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11047
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11048
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11051
lt_cv_dlopen="dyld"
11053
lt_cv_dlopen_self=yes
11060
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11061
if test "x$ac_cv_func_shl_load" = xyes; then :
11062
lt_cv_dlopen="shl_load"
11064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11065
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11066
if ${ac_cv_lib_dld_shl_load+:} false; then :
11067
$as_echo_n "(cached) " >&6
11069
ac_check_lib_save_LIBS=$LIBS
11071
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072
/* end confdefs.h. */
11074
/* Override any GCC internal prototype to avoid an error.
11075
Use char because int might match the return type of a GCC
11076
builtin and then its argument prototype would still apply. */
11084
return shl_load ();
11089
if ac_fn_c_try_link "$LINENO"; then :
11090
ac_cv_lib_dld_shl_load=yes
11092
ac_cv_lib_dld_shl_load=no
11094
rm -f core conftest.err conftest.$ac_objext \
11095
conftest$ac_exeext conftest.$ac_ext
11096
LIBS=$ac_check_lib_save_LIBS
11098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11099
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11100
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11101
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11103
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11104
if test "x$ac_cv_func_dlopen" = xyes; then :
11105
lt_cv_dlopen="dlopen"
11107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11108
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11109
if ${ac_cv_lib_dl_dlopen+:} false; then :
11110
$as_echo_n "(cached) " >&6
11112
ac_check_lib_save_LIBS=$LIBS
11114
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115
/* end confdefs.h. */
11117
/* Override any GCC internal prototype to avoid an error.
11118
Use char because int might match the return type of a GCC
11119
builtin and then its argument prototype would still apply. */
11132
if ac_fn_c_try_link "$LINENO"; then :
11133
ac_cv_lib_dl_dlopen=yes
11135
ac_cv_lib_dl_dlopen=no
11137
rm -f core conftest.err conftest.$ac_objext \
11138
conftest$ac_exeext conftest.$ac_ext
11139
LIBS=$ac_check_lib_save_LIBS
11141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11142
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11143
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11144
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11147
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11148
if ${ac_cv_lib_svld_dlopen+:} false; then :
11149
$as_echo_n "(cached) " >&6
11151
ac_check_lib_save_LIBS=$LIBS
11152
LIBS="-lsvld $LIBS"
11153
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11154
/* end confdefs.h. */
11156
/* Override any GCC internal prototype to avoid an error.
11157
Use char because int might match the return type of a GCC
11158
builtin and then its argument prototype would still apply. */
11171
if ac_fn_c_try_link "$LINENO"; then :
11172
ac_cv_lib_svld_dlopen=yes
11174
ac_cv_lib_svld_dlopen=no
11176
rm -f core conftest.err conftest.$ac_objext \
11177
conftest$ac_exeext conftest.$ac_ext
11178
LIBS=$ac_check_lib_save_LIBS
11180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11181
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11182
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11183
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11185
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11186
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11187
if ${ac_cv_lib_dld_dld_link+:} false; then :
11188
$as_echo_n "(cached) " >&6
11190
ac_check_lib_save_LIBS=$LIBS
11192
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193
/* end confdefs.h. */
11195
/* Override any GCC internal prototype to avoid an error.
11196
Use char because int might match the return type of a GCC
11197
builtin and then its argument prototype would still apply. */
11205
return dld_link ();
11210
if ac_fn_c_try_link "$LINENO"; then :
11211
ac_cv_lib_dld_dld_link=yes
11213
ac_cv_lib_dld_dld_link=no
11215
rm -f core conftest.err conftest.$ac_objext \
11216
conftest$ac_exeext conftest.$ac_ext
11217
LIBS=$ac_check_lib_save_LIBS
11219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11220
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11221
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11222
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11243
if test "x$lt_cv_dlopen" != xno; then
11249
case $lt_cv_dlopen in
11251
save_CPPFLAGS="$CPPFLAGS"
11252
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11254
save_LDFLAGS="$LDFLAGS"
11255
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11258
LIBS="$lt_cv_dlopen_libs $LIBS"
11260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11261
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11262
if ${lt_cv_dlopen_self+:} false; then :
11263
$as_echo_n "(cached) " >&6
11265
if test "$cross_compiling" = yes; then :
11266
lt_cv_dlopen_self=cross
11268
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11269
lt_status=$lt_dlunknown
11270
cat > conftest.$ac_ext <<_LT_EOF
11271
#line $LINENO "configure"
11272
#include "confdefs.h"
11281
# define LT_DLGLOBAL RTLD_GLOBAL
11284
# define LT_DLGLOBAL DL_GLOBAL
11286
# define LT_DLGLOBAL 0
11290
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11291
find out it does not work in some platform. */
11292
#ifndef LT_DLLAZY_OR_NOW
11294
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11297
# define LT_DLLAZY_OR_NOW DL_LAZY
11300
# define LT_DLLAZY_OR_NOW RTLD_NOW
11303
# define LT_DLLAZY_OR_NOW DL_NOW
11305
# define LT_DLLAZY_OR_NOW 0
11312
/* When -fvisbility=hidden is used, assume the code has been annotated
11313
correspondingly for the symbols needed. */
11314
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11315
int fnord () __attribute__((visibility("default")));
11318
int fnord () { return 42; }
11321
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11322
int status = $lt_dlunknown;
11326
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11329
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11330
else puts (dlerror ());
11332
/* dlclose (self); */
11340
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11341
(eval $ac_link) 2>&5
11343
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11344
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11345
(./conftest; exit; ) >&5 2>/dev/null
11347
case x$lt_status in
11348
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11349
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11350
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11353
# compilation failed
11354
lt_cv_dlopen_self=no
11361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11362
$as_echo "$lt_cv_dlopen_self" >&6; }
11364
if test "x$lt_cv_dlopen_self" = xyes; then
11365
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11367
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11368
if ${lt_cv_dlopen_self_static+:} false; then :
11369
$as_echo_n "(cached) " >&6
11371
if test "$cross_compiling" = yes; then :
11372
lt_cv_dlopen_self_static=cross
11374
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11375
lt_status=$lt_dlunknown
11376
cat > conftest.$ac_ext <<_LT_EOF
11377
#line $LINENO "configure"
11378
#include "confdefs.h"
11387
# define LT_DLGLOBAL RTLD_GLOBAL
11390
# define LT_DLGLOBAL DL_GLOBAL
11392
# define LT_DLGLOBAL 0
11396
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11397
find out it does not work in some platform. */
11398
#ifndef LT_DLLAZY_OR_NOW
11400
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11403
# define LT_DLLAZY_OR_NOW DL_LAZY
11406
# define LT_DLLAZY_OR_NOW RTLD_NOW
11409
# define LT_DLLAZY_OR_NOW DL_NOW
11411
# define LT_DLLAZY_OR_NOW 0
11418
/* When -fvisbility=hidden is used, assume the code has been annotated
11419
correspondingly for the symbols needed. */
11420
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11421
int fnord () __attribute__((visibility("default")));
11424
int fnord () { return 42; }
11427
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11428
int status = $lt_dlunknown;
11432
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11435
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11436
else puts (dlerror ());
11438
/* dlclose (self); */
11446
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11447
(eval $ac_link) 2>&5
11449
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11450
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11451
(./conftest; exit; ) >&5 2>/dev/null
11453
case x$lt_status in
11454
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11455
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11456
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11459
# compilation failed
11460
lt_cv_dlopen_self_static=no
11467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11468
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11471
CPPFLAGS="$save_CPPFLAGS"
11472
LDFLAGS="$save_LDFLAGS"
11477
case $lt_cv_dlopen_self in
11478
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11479
*) enable_dlopen_self=unknown ;;
11482
case $lt_cv_dlopen_self_static in
11483
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11484
*) enable_dlopen_self_static=unknown ;;
11506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11507
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11508
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11509
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11510
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11512
$as_echo "yes" >&6; }
11514
# FIXME - insert some real tests, host_os isn't really good enough
11517
if test -n "$STRIP" ; then
11518
striplib="$STRIP -x"
11519
old_striplib="$STRIP -S"
11520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11521
$as_echo "yes" >&6; }
11523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11524
$as_echo "no" >&6; }
11528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11529
$as_echo "no" >&6; }
11545
# Report which library types will actually be built
11546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11547
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11549
$as_echo "$can_build_shared" >&6; }
11551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11552
$as_echo_n "checking whether to build shared libraries... " >&6; }
11553
test "$can_build_shared" = "no" && enable_shared=no
11555
# On AIX, shared libraries and static libraries use the same namespace, and
11556
# are all built from PIC.
11559
test "$enable_shared" = yes && enable_static=no
11560
if test -n "$RANLIB"; then
11561
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11562
postinstall_cmds='$RANLIB $lib'
11567
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11568
test "$enable_shared" = yes && enable_static=no
11572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11573
$as_echo "$enable_shared" >&6; }
11575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11576
$as_echo_n "checking whether to build static libraries... " >&6; }
11577
# Make sure either enable_shared or enable_static is yes.
11578
test "$enable_shared" = yes || enable_static=yes
11579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11580
$as_echo "$enable_static" >&6; }
11587
ac_cpp='$CPP $CPPFLAGS'
11588
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11589
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11590
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11608
ac_config_commands="$ac_config_commands libtool"
11613
# Only expand once:
11616
if test "x$CC" != xcc; then
11617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11618
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11621
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11623
set dummy $CC; ac_cc=`$as_echo "$2" |
11624
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11625
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
11626
$as_echo_n "(cached) " >&6
11628
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11629
/* end confdefs.h. */
11639
# Make sure it works both with $CC and with simple cc.
11640
# We do the test twice because some compilers refuse to overwrite an
11641
# existing .o file with -o, though they will create one.
11642
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11644
if { { case "(($ac_try" in
11645
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11646
*) ac_try_echo=$ac_try;;
11648
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11649
$as_echo "$ac_try_echo"; } >&5
11650
(eval "$ac_try") 2>&5
11652
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11653
test $ac_status = 0; } &&
11654
test -f conftest2.$ac_objext && { { case "(($ac_try" in
11655
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11656
*) ac_try_echo=$ac_try;;
11658
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11659
$as_echo "$ac_try_echo"; } >&5
11660
(eval "$ac_try") 2>&5
11662
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11663
test $ac_status = 0; };
11665
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11666
if test "x$CC" != xcc; then
11667
# Test first that cc exists at all.
11668
if { ac_try='cc -c conftest.$ac_ext >&5'
11669
{ { case "(($ac_try" in
11670
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11671
*) ac_try_echo=$ac_try;;
11673
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11674
$as_echo "$ac_try_echo"; } >&5
11675
(eval "$ac_try") 2>&5
11677
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11678
test $ac_status = 0; }; }; then
11679
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11681
if { { case "(($ac_try" in
11682
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11683
*) ac_try_echo=$ac_try;;
11685
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11686
$as_echo "$ac_try_echo"; } >&5
11687
(eval "$ac_try") 2>&5
11689
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11690
test $ac_status = 0; } &&
11691
test -f conftest2.$ac_objext && { { case "(($ac_try" in
11692
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11693
*) ac_try_echo=$ac_try;;
11695
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11696
$as_echo "$ac_try_echo"; } >&5
11697
(eval "$ac_try") 2>&5
11699
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11700
test $ac_status = 0; };
11705
# cc exists but doesn't like -o.
11706
eval ac_cv_prog_cc_${ac_cc}_c_o=no
11711
eval ac_cv_prog_cc_${ac_cc}_c_o=no
11713
rm -f core conftest*
11716
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11718
$as_echo "yes" >&6; }
11720
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11721
$as_echo "no" >&6; }
11723
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11727
# FIXME: we rely on the cache variable name because
11728
# there is no other way.
11730
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11731
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11732
if test "$am_t" != yes; then
11733
# Losing compiler, so override with the script.
11734
# FIXME: It is wrong to rewrite CC.
11735
# But if we don't then we get into trouble of one sort or another.
11736
# A longer-term fix would be to have automake use am__CC in this case,
11737
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11738
CC="$am_aux_dir/compile $CC"
11743
ac_cpp='$CXXCPP $CPPFLAGS'
11744
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11745
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11746
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11747
if test -z "$CXX"; then
11748
if test -n "$CCC"; then
11751
if test -n "$ac_tool_prefix"; then
11752
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11754
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11755
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11757
$as_echo_n "checking for $ac_word... " >&6; }
11758
if ${ac_cv_prog_CXX+:} false; then :
11759
$as_echo_n "(cached) " >&6
11761
if test -n "$CXX"; then
11762
ac_cv_prog_CXX="$CXX" # Let the user override the test.
11764
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11765
for as_dir in $PATH
11768
test -z "$as_dir" && as_dir=.
11769
for ac_exec_ext in '' $ac_executable_extensions; do
11770
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11771
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11772
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11781
CXX=$ac_cv_prog_CXX
11782
if test -n "$CXX"; then
11783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11784
$as_echo "$CXX" >&6; }
11786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787
$as_echo "no" >&6; }
11791
test -n "$CXX" && break
11794
if test -z "$CXX"; then
11796
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11798
# Extract the first word of "$ac_prog", so it can be a program name with args.
11799
set dummy $ac_prog; ac_word=$2
11800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11801
$as_echo_n "checking for $ac_word... " >&6; }
11802
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
11803
$as_echo_n "(cached) " >&6
11805
if test -n "$ac_ct_CXX"; then
11806
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11808
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11809
for as_dir in $PATH
11812
test -z "$as_dir" && as_dir=.
11813
for ac_exec_ext in '' $ac_executable_extensions; do
11814
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11815
ac_cv_prog_ac_ct_CXX="$ac_prog"
11816
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11825
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11826
if test -n "$ac_ct_CXX"; then
11827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11828
$as_echo "$ac_ct_CXX" >&6; }
11830
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11831
$as_echo "no" >&6; }
11835
test -n "$ac_ct_CXX" && break
11838
if test "x$ac_ct_CXX" = x; then
11841
case $cross_compiling:$ac_tool_warned in
11843
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11844
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11845
ac_tool_warned=yes ;;
11853
# Provide some information about the compiler.
11854
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11857
for ac_option in --version -v -V -qversion; do
11858
{ { ac_try="$ac_compiler $ac_option >&5"
11859
case "(($ac_try" in
11860
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11861
*) ac_try_echo=$ac_try;;
11863
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11864
$as_echo "$ac_try_echo"; } >&5
11865
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
11867
if test -s conftest.err; then
11869
... rest of stderr output deleted ...
11870
10q' conftest.err >conftest.er1
11871
cat conftest.er1 >&5
11873
rm -f conftest.er1 conftest.err
11874
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11875
test $ac_status = 0; }
11878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11879
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11880
if ${ac_cv_cxx_compiler_gnu+:} false; then :
11881
$as_echo_n "(cached) " >&6
11883
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11884
/* end confdefs.h. */
11897
if ac_fn_cxx_try_compile "$LINENO"; then :
11898
ac_compiler_gnu=yes
11902
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11903
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11907
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11908
if test $ac_compiler_gnu = yes; then
11913
ac_test_CXXFLAGS=${CXXFLAGS+set}
11914
ac_save_CXXFLAGS=$CXXFLAGS
11915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11916
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
11917
if ${ac_cv_prog_cxx_g+:} false; then :
11918
$as_echo_n "(cached) " >&6
11920
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11921
ac_cxx_werror_flag=yes
11922
ac_cv_prog_cxx_g=no
11924
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925
/* end confdefs.h. */
11935
if ac_fn_cxx_try_compile "$LINENO"; then :
11936
ac_cv_prog_cxx_g=yes
11939
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11940
/* end confdefs.h. */
11950
if ac_fn_cxx_try_compile "$LINENO"; then :
11953
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11955
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11956
/* end confdefs.h. */
11966
if ac_fn_cxx_try_compile "$LINENO"; then :
11967
ac_cv_prog_cxx_g=yes
11969
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11971
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11973
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11974
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11977
$as_echo "$ac_cv_prog_cxx_g" >&6; }
11978
if test "$ac_test_CXXFLAGS" = set; then
11979
CXXFLAGS=$ac_save_CXXFLAGS
11980
elif test $ac_cv_prog_cxx_g = yes; then
11981
if test "$GXX" = yes; then
11987
if test "$GXX" = yes; then
11994
ac_cpp='$CPP $CPPFLAGS'
11995
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11996
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11997
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11999
depcc="$CXX" am_compiler_list=
12001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12002
$as_echo_n "checking dependency style of $depcc... " >&6; }
12003
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12004
$as_echo_n "(cached) " >&6
12006
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12007
# We make a subdir and do the tests there. Otherwise we can end up
12008
# making bogus files that we don't know about and never remove. For
12009
# instance it was reported that on HP-UX the gcc test will end up
12010
# making a dummy file named `D' -- because `-MD' means `put the output
12012
rm -rf conftest.dir
12014
# Copy depcomp to subdir because otherwise we won't find it if we're
12015
# using a relative directory.
12016
cp "$am_depcomp" conftest.dir
12018
# We will build objects and dependencies in a subdirectory because
12019
# it helps to detect inapplicable dependency modes. For instance
12020
# both Tru64's cc and ICC support -MD to output dependencies as a
12021
# side effect of compilation, but ICC will put the dependencies in
12022
# the current directory while Tru64 will put them in the object
12026
am_cv_CXX_dependencies_compiler_type=none
12027
if test "$am_compiler_list" = ""; then
12028
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12030
am__universal=false
12031
case " $depcc " in #(
12032
*\ -arch\ *\ -arch\ *) am__universal=true ;;
12035
for depmode in $am_compiler_list; do
12036
# Setup a source with many dependencies, because some compilers
12037
# like to wrap large dependency lists on column 80 (with \), and
12038
# we should not choose a depcomp mode which is confused by this.
12040
# We need to recreate these files for each test, as the compiler may
12041
# overwrite some of them when testing with obscure command lines.
12042
# This happens at least with the AIX C compiler.
12044
for i in 1 2 3 4 5 6; do
12045
echo '#include "conftst'$i'.h"' >> sub/conftest.c
12046
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12047
# Solaris 8's {/usr,}/bin/sh.
12048
touch sub/conftst$i.h
12050
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12052
# We check with `-c' and `-o' for the sake of the "dashmstdout"
12053
# mode. It turns out that the SunPro C++ compiler does not properly
12054
# handle `-M -o', and we need to detect this. Also, some Intel
12055
# versions had trouble with output in subdirs
12056
am__obj=sub/conftest.${OBJEXT-o}
12057
am__minus_obj="-o $am__obj"
12060
# This depmode causes a compiler race in universal mode.
12061
test "$am__universal" = false || continue
12064
# after this tag, mechanisms are not by side-effect, so they'll
12065
# only be used when explicitly requested
12066
if test "x$enable_dependency_tracking" = xyes; then
12072
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12073
# This compiler won't grok `-c -o', but also, the minuso test has
12074
# not run yet. These depmodes are late enough in the game, and
12075
# so weak that their functioning should not be impacted.
12076
am__obj=conftest.${OBJEXT-o}
12081
if depmode=$depmode \
12082
source=sub/conftest.c object=$am__obj \
12083
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12084
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12085
>/dev/null 2>conftest.err &&
12086
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12087
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12088
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12089
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12090
# icc doesn't choke on unknown options, it will just issue warnings
12091
# or remarks (even with -Werror). So we grep stderr for any message
12092
# that says an option was ignored or not supported.
12093
# When given -MP, icc 7.0 and 7.1 complain thusly:
12094
# icc: Command line warning: ignoring option '-M'; no argument required
12095
# The diagnosis changed in icc 8.0:
12096
# icc: Command line remark: option '-MP' not supported
12097
if (grep 'ignoring option' conftest.err ||
12098
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12099
am_cv_CXX_dependencies_compiler_type=$depmode
12106
rm -rf conftest.dir
12108
am_cv_CXX_dependencies_compiler_type=none
12112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12113
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12114
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12117
test "x$enable_dependency_tracking" != xno \
12118
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12119
am__fastdepCXX_TRUE=
12120
am__fastdepCXX_FALSE='#'
12122
am__fastdepCXX_TRUE='#'
12123
am__fastdepCXX_FALSE=
12129
func_stripname_cnf ()
12132
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12133
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12135
} # func_stripname_cnf
12137
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12138
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12139
(test "X$CXX" != "Xg++"))) ; then
12141
ac_cpp='$CXXCPP $CPPFLAGS'
12142
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12143
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12144
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12145
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12146
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12147
if test -z "$CXXCPP"; then
12148
if ${ac_cv_prog_CXXCPP+:} false; then :
12149
$as_echo_n "(cached) " >&6
12151
# Double quotes because CXXCPP needs to be expanded
12152
for CXXCPP in "$CXX -E" "/lib/cpp"
12154
ac_preproc_ok=false
12155
for ac_cxx_preproc_warn_flag in '' yes
12157
# Use a header file that comes with gcc, so configuring glibc
12158
# with a fresh cross-compiler works.
12159
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12160
# <limits.h> exists even on freestanding compilers.
12161
# On the NeXT, cc -E runs the code through the compiler's parser,
12162
# not just through cpp. "Syntax error" is here to catch this case.
12163
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164
/* end confdefs.h. */
12166
# include <limits.h>
12168
# include <assert.h>
12172
if ac_fn_cxx_try_cpp "$LINENO"; then :
12175
# Broken: fails on valid input.
12178
rm -f conftest.err conftest.i conftest.$ac_ext
12180
# OK, works on sane cases. Now check whether nonexistent headers
12181
# can be detected and how.
12182
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12183
/* end confdefs.h. */
12184
#include <ac_nonexistent.h>
12186
if ac_fn_cxx_try_cpp "$LINENO"; then :
12187
# Broken: success on invalid input.
12190
# Passes both tests.
12194
rm -f conftest.err conftest.i conftest.$ac_ext
12197
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12198
rm -f conftest.i conftest.err conftest.$ac_ext
12199
if $ac_preproc_ok; then :
12204
ac_cv_prog_CXXCPP=$CXXCPP
12207
CXXCPP=$ac_cv_prog_CXXCPP
12209
ac_cv_prog_CXXCPP=$CXXCPP
12211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12212
$as_echo "$CXXCPP" >&6; }
12213
ac_preproc_ok=false
12214
for ac_cxx_preproc_warn_flag in '' yes
12216
# Use a header file that comes with gcc, so configuring glibc
12217
# with a fresh cross-compiler works.
12218
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12219
# <limits.h> exists even on freestanding compilers.
12220
# On the NeXT, cc -E runs the code through the compiler's parser,
12221
# not just through cpp. "Syntax error" is here to catch this case.
12222
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12223
/* end confdefs.h. */
12225
# include <limits.h>
12227
# include <assert.h>
12231
if ac_fn_cxx_try_cpp "$LINENO"; then :
12234
# Broken: fails on valid input.
12237
rm -f conftest.err conftest.i conftest.$ac_ext
12239
# OK, works on sane cases. Now check whether nonexistent headers
12240
# can be detected and how.
12241
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12242
/* end confdefs.h. */
12243
#include <ac_nonexistent.h>
12245
if ac_fn_cxx_try_cpp "$LINENO"; then :
12246
# Broken: success on invalid input.
12249
# Passes both tests.
12253
rm -f conftest.err conftest.i conftest.$ac_ext
12256
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12257
rm -f conftest.i conftest.err conftest.$ac_ext
12258
if $ac_preproc_ok; then :
12261
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12262
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12263
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12264
See \`config.log' for more details" "$LINENO" 5; }
12268
ac_cpp='$CPP $CPPFLAGS'
12269
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12270
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12271
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12274
_lt_caught_CXX_error=yes
12278
ac_cpp='$CXXCPP $CPPFLAGS'
12279
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12280
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12281
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12283
archive_cmds_need_lc_CXX=no
12284
allow_undefined_flag_CXX=
12285
always_export_symbols_CXX=no
12286
archive_expsym_cmds_CXX=
12287
compiler_needs_object_CXX=no
12288
export_dynamic_flag_spec_CXX=
12289
hardcode_direct_CXX=no
12290
hardcode_direct_absolute_CXX=no
12291
hardcode_libdir_flag_spec_CXX=
12292
hardcode_libdir_separator_CXX=
12293
hardcode_minus_L_CXX=no
12294
hardcode_shlibpath_var_CXX=unsupported
12295
hardcode_automatic_CXX=no
12296
inherit_rpath_CXX=no
12298
module_expsym_cmds_CXX=
12299
link_all_deplibs_CXX=unknown
12300
old_archive_cmds_CXX=$old_archive_cmds
12301
reload_flag_CXX=$reload_flag
12302
reload_cmds_CXX=$reload_cmds
12303
no_undefined_flag_CXX=
12304
whole_archive_flag_spec_CXX=
12305
enable_shared_with_static_runtimes_CXX=no
12307
# Source file extension for C++ test sources.
12310
# Object file extension for compiled C++ test sources.
12314
# No sense in running all these tests if we already determined that
12315
# the CXX compiler isn't working. Some variables (like enable_shared)
12316
# are currently assumed to apply to all compilers on this platform,
12317
# and will be corrupted by setting them based on a non-working compiler.
12318
if test "$_lt_caught_CXX_error" != yes; then
12319
# Code to be used in simple compile tests
12320
lt_simple_compile_test_code="int some_variable = 0;"
12322
# Code to be used in simple link tests
12323
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12325
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12332
# If no C compiler was specified, use CC.
12335
# If no C compiler flags were specified, use CFLAGS.
12336
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12338
# Allow CC to be a program name with arguments.
12342
# save warnings/boilerplate of simple test code
12343
ac_outfile=conftest.$ac_objext
12344
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12345
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12346
_lt_compiler_boilerplate=`cat conftest.err`
12349
ac_outfile=conftest.$ac_objext
12350
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12351
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12352
_lt_linker_boilerplate=`cat conftest.err`
12356
# Allow CC to be a program name with arguments.
12358
lt_save_CFLAGS=$CFLAGS
12362
lt_save_with_gnu_ld=$with_gnu_ld
12363
lt_save_path_LD=$lt_cv_path_LD
12364
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12365
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12367
$as_unset lt_cv_prog_gnu_ld
12369
if test -n "${lt_cv_path_LDCXX+set}"; then
12370
lt_cv_path_LD=$lt_cv_path_LDCXX
12372
$as_unset lt_cv_path_LD
12374
test -z "${LDCXX+set}" || LD=$LDCXX
12379
for cc_temp in $compiler""; do
12381
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12382
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12387
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12390
if test -n "$compiler"; then
12391
# We don't want -fno-exception when compiling C++ code, so set the
12392
# no_builtin_flag separately
12393
if test "$GXX" = yes; then
12394
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12396
lt_prog_compiler_no_builtin_flag_CXX=
12399
if test "$GXX" = yes; then
12400
# Set up default GNU C++ configuration
12404
# Check whether --with-gnu-ld was given.
12405
if test "${with_gnu_ld+set}" = set; then :
12406
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12412
if test "$GCC" = yes; then
12413
# Check if gcc -print-prog-name=ld gives a path.
12414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12415
$as_echo_n "checking for ld used by $CC... " >&6; }
12418
# gcc leaves a trailing carriage return which upsets mingw
12419
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12421
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12424
# Accept absolute paths.
12426
re_direlt='/[^/][^/]*/\.\./'
12427
# Canonicalize the pathname of ld
12428
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12429
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12430
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12432
test -z "$LD" && LD="$ac_prog"
12435
# If it fails, then pretend we aren't using GCC.
12439
# If it is relative, then search for the first ld in PATH.
12440
with_gnu_ld=unknown
12443
elif test "$with_gnu_ld" = yes; then
12444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12445
$as_echo_n "checking for GNU ld... " >&6; }
12447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12448
$as_echo_n "checking for non-GNU ld... " >&6; }
12450
if ${lt_cv_path_LD+:} false; then :
12451
$as_echo_n "(cached) " >&6
12453
if test -z "$LD"; then
12454
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12455
for ac_dir in $PATH; do
12457
test -z "$ac_dir" && ac_dir=.
12458
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12459
lt_cv_path_LD="$ac_dir/$ac_prog"
12460
# Check to see if the program is GNU ld. I'd rather use --version,
12461
# but apparently some variants of GNU ld only accept -v.
12462
# Break only if it was the GNU/non-GNU ld that we prefer.
12463
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12464
*GNU* | *'with BFD'*)
12465
test "$with_gnu_ld" != no && break
12468
test "$with_gnu_ld" != yes && break
12475
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12479
LD="$lt_cv_path_LD"
12480
if test -n "$LD"; then
12481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12482
$as_echo "$LD" >&6; }
12484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12485
$as_echo "no" >&6; }
12487
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12489
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12490
if ${lt_cv_prog_gnu_ld+:} false; then :
12491
$as_echo_n "(cached) " >&6
12493
# I'd rather use --version here, but apparently some GNU lds only accept -v.
12494
case `$LD -v 2>&1 </dev/null` in
12495
*GNU* | *'with BFD'*)
12496
lt_cv_prog_gnu_ld=yes
12499
lt_cv_prog_gnu_ld=no
12503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12504
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12505
with_gnu_ld=$lt_cv_prog_gnu_ld
12513
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12514
# archiving commands below assume that GNU ld is being used.
12515
if test "$with_gnu_ld" = yes; then
12516
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12517
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'
12519
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12520
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12522
# If archive_cmds runs LD, not CC, wlarc should be empty
12523
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12524
# investigate it a little bit more. (MM)
12527
# ancient GNU ld didn't support --whole-archive et. al.
12528
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12529
$GREP 'no-whole-archive' > /dev/null; then
12530
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12532
whole_archive_flag_spec_CXX=
12538
# A generic and very simple default shared library creation
12539
# command for GNU C++ for the case where it uses the native
12540
# linker, instead of GNU ld. If possible, this setting should
12541
# overridden to take advantage of the native linker features on
12542
# the platform it is being used on.
12543
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12546
# Commands to make compiler produce verbose output that lists
12547
# what "hidden" libraries, object files and flags are used when
12548
# linking a shared library.
12549
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12557
# PORTME: fill in a description of your system's C++ link characteristics
12558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12559
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12563
# FIXME: insert proper C++ library support
12567
if test "$host_cpu" = ia64; then
12568
# On IA64, the linker does run time linking by default, so we don't
12569
# have to do anything special.
12570
aix_use_runtimelinking=no
12571
exp_sym_flag='-Bexport'
12574
aix_use_runtimelinking=no
12576
# Test if we are trying to use run time linking or normal
12577
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12578
# need to do runtime linking.
12579
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12580
for ld_flag in $LDFLAGS; do
12583
aix_use_runtimelinking=yes
12591
exp_sym_flag='-bexport'
12592
no_entry_flag='-bnoentry'
12595
# When large executables or shared objects are built, AIX ld can
12596
# have problems creating the table of contents. If linking a library
12597
# or program results in "error TOC overflow" add -mminimal-toc to
12598
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12599
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12601
archive_cmds_CXX=''
12602
hardcode_direct_CXX=yes
12603
hardcode_direct_absolute_CXX=yes
12604
hardcode_libdir_separator_CXX=':'
12605
link_all_deplibs_CXX=yes
12606
file_list_spec_CXX='${wl}-f,'
12608
if test "$GXX" = yes; then
12609
case $host_os in aix4.[012]|aix4.[012].*)
12610
# We only want to do this on AIX 4.2 and lower, the check
12611
# below for broken collect2 doesn't work under 4.3+
12612
collect2name=`${CC} -print-prog-name=collect2`
12613
if test -f "$collect2name" &&
12614
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12616
# We have reworked collect2
12619
# We have old collect2
12620
hardcode_direct_CXX=unsupported
12621
# It fails to find uninstalled libraries when the uninstalled
12622
# path is not listed in the libpath. Setting hardcode_minus_L
12623
# to unsupported forces relinking
12624
hardcode_minus_L_CXX=yes
12625
hardcode_libdir_flag_spec_CXX='-L$libdir'
12626
hardcode_libdir_separator_CXX=
12629
shared_flag='-shared'
12630
if test "$aix_use_runtimelinking" = yes; then
12631
shared_flag="$shared_flag "'${wl}-G'
12635
if test "$host_cpu" = ia64; then
12636
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12637
# chokes on -Wl,-G. The following line is correct:
12640
if test "$aix_use_runtimelinking" = yes; then
12641
shared_flag='${wl}-G'
12643
shared_flag='${wl}-bM:SRE'
12648
export_dynamic_flag_spec_CXX='${wl}-bexpall'
12649
# It seems that -bexpall does not export symbols beginning with
12650
# underscore (_), so it is better to generate a list of symbols to
12652
always_export_symbols_CXX=yes
12653
if test "$aix_use_runtimelinking" = yes; then
12654
# Warning - without using the other runtime loading flags (-brtl),
12655
# -berok will link without error, but may produce a broken library.
12656
allow_undefined_flag_CXX='-berok'
12657
# Determine the default libpath from the value encoded in an empty
12659
if test "${lt_cv_aix_libpath+set}" = set; then
12660
aix_libpath=$lt_cv_aix_libpath
12662
if ${lt_cv_aix_libpath__CXX+:} false; then :
12663
$as_echo_n "(cached) " >&6
12665
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12666
/* end confdefs.h. */
12676
if ac_fn_cxx_try_link "$LINENO"; then :
12678
lt_aix_libpath_sed='
12679
/Import File Strings/,/^$/ {
12681
s/^0 *\([^ ]*\) *$/\1/
12685
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12686
# Check for a 64-bit object if we didn't find anything.
12687
if test -z "$lt_cv_aix_libpath__CXX"; then
12688
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12691
rm -f core conftest.err conftest.$ac_objext \
12692
conftest$ac_exeext conftest.$ac_ext
12693
if test -z "$lt_cv_aix_libpath__CXX"; then
12694
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12699
aix_libpath=$lt_cv_aix_libpath__CXX
12702
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12704
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"
12706
if test "$host_cpu" = ia64; then
12707
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12708
allow_undefined_flag_CXX="-z nodefs"
12709
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"
12711
# Determine the default libpath from the value encoded in an
12712
# empty executable.
12713
if test "${lt_cv_aix_libpath+set}" = set; then
12714
aix_libpath=$lt_cv_aix_libpath
12716
if ${lt_cv_aix_libpath__CXX+:} false; then :
12717
$as_echo_n "(cached) " >&6
12719
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12720
/* end confdefs.h. */
12730
if ac_fn_cxx_try_link "$LINENO"; then :
12732
lt_aix_libpath_sed='
12733
/Import File Strings/,/^$/ {
12735
s/^0 *\([^ ]*\) *$/\1/
12739
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12740
# Check for a 64-bit object if we didn't find anything.
12741
if test -z "$lt_cv_aix_libpath__CXX"; then
12742
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12745
rm -f core conftest.err conftest.$ac_objext \
12746
conftest$ac_exeext conftest.$ac_ext
12747
if test -z "$lt_cv_aix_libpath__CXX"; then
12748
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12753
aix_libpath=$lt_cv_aix_libpath__CXX
12756
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12757
# Warning - without using the other run time loading flags,
12758
# -berok will link without error, but may produce a broken library.
12759
no_undefined_flag_CXX=' ${wl}-bernotok'
12760
allow_undefined_flag_CXX=' ${wl}-berok'
12761
if test "$with_gnu_ld" = yes; then
12762
# We only use this code for GNU lds that support --whole-archive.
12763
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12765
# Exported symbols can be pulled into shared objects from archives
12766
whole_archive_flag_spec_CXX='$convenience'
12768
archive_cmds_need_lc_CXX=yes
12769
# This is similar to how AIX traditionally builds its shared
12771
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'
12777
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12778
allow_undefined_flag_CXX=unsupported
12779
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12780
# support --undefined. This deserves some investigation. FIXME
12781
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12788
case $cc_basename in
12790
# FIXME: insert proper C++ library support
12796
cygwin* | mingw* | pw32* | cegcc*)
12797
case $GXX,$cc_basename in
12800
# hardcode_libdir_flag_spec is actually meaningless, as there is
12801
# no search path for DLLs.
12802
hardcode_libdir_flag_spec_CXX=' '
12803
allow_undefined_flag_CXX=unsupported
12804
always_export_symbols_CXX=yes
12805
file_list_spec_CXX='@'
12806
# Tell ltmain to make .lib files, not .a files.
12808
# Tell ltmain to make .dll files, not .so files.
12810
# FIXME: Setting linknames here is a bad hack.
12811
archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12812
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12813
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12815
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12817
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12819
# The linker will not automatically build a static lib if we build a DLL.
12820
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12821
enable_shared_with_static_runtimes_CXX=yes
12823
old_postinstall_cmds_CXX='chmod 644 $oldlib'
12824
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12825
lt_tool_outputfile="@TOOL_OUTPUT@"~
12826
case $lt_outputfile in
12829
lt_outputfile="$lt_outputfile.exe"
12830
lt_tool_outputfile="$lt_tool_outputfile.exe"
12833
func_to_tool_file "$lt_outputfile"~
12834
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12835
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12836
$RM "$lt_outputfile.manifest";
12841
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12842
# as there is no search path for DLLs.
12843
hardcode_libdir_flag_spec_CXX='-L$libdir'
12844
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12845
allow_undefined_flag_CXX=unsupported
12846
always_export_symbols_CXX=no
12847
enable_shared_with_static_runtimes_CXX=yes
12849
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12850
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'
12851
# If the export-symbols file already is a .def file (1st line
12852
# is EXPORTS), use it as is; otherwise, prepend...
12853
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12854
cp $export_symbols $output_objdir/$soname.def;
12856
echo EXPORTS > $output_objdir/$soname.def;
12857
cat $export_symbols >> $output_objdir/$soname.def;
12859
$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'
12866
darwin* | rhapsody*)
12869
archive_cmds_need_lc_CXX=no
12870
hardcode_direct_CXX=no
12871
hardcode_automatic_CXX=yes
12872
hardcode_shlibpath_var_CXX=unsupported
12873
if test "$lt_cv_ld_force_load" = "yes"; then
12874
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\"`'
12877
whole_archive_flag_spec_CXX=''
12879
link_all_deplibs_CXX=yes
12880
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12881
case $cc_basename in
12882
ifort*) _lt_dar_can_shared=yes ;;
12883
*) _lt_dar_can_shared=$GCC ;;
12885
if test "$_lt_dar_can_shared" = "yes"; then
12886
output_verbose_link_cmd=func_echo_all
12887
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}"
12888
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12889
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}"
12890
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}"
12891
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12892
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}"
12893
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}"
12903
case $cc_basename in
12905
# FIXME: insert proper C++ library support
12909
# Green Hills C++ Compiler
12910
# FIXME: insert proper C++ library support
12914
# FIXME: insert proper C++ library support
12921
# C++ shared libraries reported to be fairly broken before
12927
archive_cmds_need_lc_CXX=no
12930
freebsd* | dragonfly*)
12931
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12940
archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12941
link_all_deplibs_CXX=yes
12945
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12946
hardcode_libdir_separator_CXX=:
12947
export_dynamic_flag_spec_CXX='${wl}-E'
12948
hardcode_direct_CXX=yes
12949
hardcode_minus_L_CXX=yes # Not in the search PATH,
12950
# but as the default
12951
# location of the library.
12953
case $cc_basename in
12955
# FIXME: insert proper C++ library support
12959
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'
12960
# Commands to make compiler produce verbose output that lists
12961
# what "hidden" libraries, object files and flags are used when
12962
# linking a shared library.
12964
# There doesn't appear to be a way to prevent this compiler from
12965
# explicitly linking system object files so we need to strip them
12966
# from the output so that they don't get included in the library
12968
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"'
12971
if test "$GXX" = yes; then
12972
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'
12974
# FIXME: insert proper C++ library support
12982
if test $with_gnu_ld = no; then
12983
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12984
hardcode_libdir_separator_CXX=:
12990
export_dynamic_flag_spec_CXX='${wl}-E'
12996
hardcode_direct_CXX=no
12997
hardcode_shlibpath_var_CXX=no
13000
hardcode_direct_CXX=yes
13001
hardcode_direct_absolute_CXX=yes
13002
hardcode_minus_L_CXX=yes # Not in the search PATH,
13003
# but as the default
13004
# location of the library.
13008
case $cc_basename in
13010
# FIXME: insert proper C++ library support
13016
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13019
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13022
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13025
# Commands to make compiler produce verbose output that lists
13026
# what "hidden" libraries, object files and flags are used when
13027
# linking a shared library.
13029
# There doesn't appear to be a way to prevent this compiler from
13030
# explicitly linking system object files so we need to strip them
13031
# from the output so that they don't get included in the library
13033
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"'
13036
if test "$GXX" = yes; then
13037
if test $with_gnu_ld = no; then
13040
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13043
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13046
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'
13051
# FIXME: insert proper C++ library support
13059
hardcode_direct_CXX=no
13060
hardcode_shlibpath_var_CXX=no
13061
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13062
export_dynamic_flag_spec_CXX='${wl}-E'
13063
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13064
# Instead, shared libraries are loaded at an image base (0x10000000 by
13065
# default) and relocated if they conflict, which is a slow very memory
13066
# consuming and fragmenting process. To avoid this, we pick a random,
13067
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13068
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
13069
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'
13070
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'
13073
case $cc_basename in
13076
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'
13078
# Archives containing C++ object files must be created using
13079
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
13080
# necessary to make sure instantiated templates are included
13082
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13085
if test "$GXX" = yes; then
13086
if test "$with_gnu_ld" = no; then
13087
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'
13089
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'
13092
link_all_deplibs_CXX=yes
13095
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13096
hardcode_libdir_separator_CXX=:
13097
inherit_rpath_CXX=yes
13100
linux* | k*bsd*-gnu | kopensolaris*-gnu)
13101
case $cc_basename in
13103
# Kuck and Associates, Inc. (KAI) C++ Compiler
13105
# KCC will only create a shared library if the output file
13106
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13107
# to its proper name (with version) after linking.
13108
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'
13109
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'
13110
# Commands to make compiler produce verbose output that lists
13111
# what "hidden" libraries, object files and flags are used when
13112
# linking a shared library.
13114
# There doesn't appear to be a way to prevent this compiler from
13115
# explicitly linking system object files so we need to strip them
13116
# from the output so that they don't get included in the library
13118
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"'
13120
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13121
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13123
# Archives containing C++ object files must be created using
13124
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
13125
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13130
# version 8.0 and above of icpc choke on multiply defined symbols
13131
# if we add $predep_objects and $postdep_objects, however 7.1 and
13132
# earlier do not add the objects themselves.
13133
case `$CC -V 2>&1` in
13135
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13136
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'
13138
*) # Version 8.0 or newer
13141
ia64*) tmp_idyn=' -i_dynamic';;
13143
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13144
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'
13147
archive_cmds_need_lc_CXX=no
13148
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13149
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13150
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13153
# Portland Group C++ compiler
13155
*pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13156
prelink_cmds_CXX='tpldir=Template.dir~
13158
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13159
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13160
old_archive_cmds_CXX='tpldir=Template.dir~
13162
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13163
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13165
archive_cmds_CXX='tpldir=Template.dir~
13167
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13168
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13169
archive_expsym_cmds_CXX='tpldir=Template.dir~
13171
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13172
$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'
13174
*) # Version 6 and above use weak symbols
13175
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13176
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'
13180
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13181
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13182
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'
13186
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13187
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'
13189
runpath_var=LD_RUN_PATH
13190
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13191
hardcode_libdir_separator_CXX=:
13193
# Commands to make compiler produce verbose output that lists
13194
# what "hidden" libraries, object files and flags are used when
13195
# linking a shared library.
13197
# There doesn't appear to be a way to prevent this compiler from
13198
# explicitly linking system object files so we need to strip them
13199
# from the output so that they don't get included in the library
13201
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'
13203
xl* | mpixl* | bgxl*)
13204
# IBM XL 8.0 on PPC, with GNU ld
13205
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13206
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13207
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13208
if test "x$supports_anon_versioning" = xyes; then
13209
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13210
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13211
echo "local: *; };" >> $output_objdir/$libname.ver~
13212
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13216
case `$CC -V 2>&1 | sed 5q` in
13219
no_undefined_flag_CXX=' -zdefs'
13220
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13221
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'
13222
hardcode_libdir_flag_spec_CXX='-R$libdir'
13223
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'
13224
compiler_needs_object_CXX=yes
13226
# Not sure whether something based on
13227
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13229
output_verbose_link_cmd='func_echo_all'
13231
# Archives containing C++ object files must be created using
13232
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13233
# necessary to make sure instantiated templates are included
13235
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13243
# FIXME: insert proper C++ library support
13248
# FIXME: insert proper C++ library support
13253
case $cc_basename in
13255
# FIXME: insert proper C++ library support
13259
# FIXME: insert proper C++ library support
13266
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13267
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13269
hardcode_libdir_flag_spec_CXX='-R$libdir'
13270
hardcode_direct_CXX=yes
13271
hardcode_shlibpath_var_CXX=no
13273
# Workaround some broken pre-1.5 toolchains
13274
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13282
# C++ shared libraries are fairly broken
13287
if test -f /usr/libexec/ld.so; then
13288
hardcode_direct_CXX=yes
13289
hardcode_shlibpath_var_CXX=no
13290
hardcode_direct_absolute_CXX=yes
13291
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13292
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13293
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13294
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13295
export_dynamic_flag_spec_CXX='${wl}-E'
13296
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13298
output_verbose_link_cmd=func_echo_all
13304
osf3* | osf4* | osf5*)
13305
case $cc_basename in
13307
# Kuck and Associates, Inc. (KAI) C++ Compiler
13309
# KCC will only create a shared library if the output file
13310
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13311
# to its proper name (with version) after linking.
13312
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'
13314
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13315
hardcode_libdir_separator_CXX=:
13317
# Archives containing C++ object files must be created using
13318
# the KAI C++ compiler.
13320
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13321
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13325
# Rational C++ 2.4.1
13326
# FIXME: insert proper C++ library support
13332
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13333
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'
13334
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13337
allow_undefined_flag_CXX=' -expect_unresolved \*'
13338
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'
13339
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13340
echo "-hidden">> $lib.exp~
13341
$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~
13343
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13347
hardcode_libdir_separator_CXX=:
13349
# Commands to make compiler produce verbose output that lists
13350
# what "hidden" libraries, object files and flags are used when
13351
# linking a shared library.
13353
# There doesn't appear to be a way to prevent this compiler from
13354
# explicitly linking system object files so we need to strip them
13355
# from the output so that they don't get included in the library
13357
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"'
13360
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13361
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13364
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'
13367
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'
13371
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13372
hardcode_libdir_separator_CXX=:
13374
# Commands to make compiler produce verbose output that lists
13375
# what "hidden" libraries, object files and flags are used when
13376
# linking a shared library.
13377
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13380
# FIXME: insert proper C++ library support
13388
# FIXME: insert proper C++ library support
13393
case $cc_basename in
13396
# FIXME: insert proper C++ library support
13401
# FIXME: insert proper C++ library support
13405
# FIXME: insert proper C++ library support
13412
case $cc_basename in
13414
# Sun C++ 4.2, 5.x and Centerline C++
13415
archive_cmds_need_lc_CXX=yes
13416
no_undefined_flag_CXX=' -zdefs'
13417
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13418
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13419
$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'
13421
hardcode_libdir_flag_spec_CXX='-R$libdir'
13422
hardcode_shlibpath_var_CXX=no
13424
solaris2.[0-5] | solaris2.[0-5].*) ;;
13426
# The compiler driver will combine and reorder linker options,
13427
# but understands `-z linker_flag'.
13428
# Supported since Solaris 2.6 (maybe 2.5.1?)
13429
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13432
link_all_deplibs_CXX=yes
13434
output_verbose_link_cmd='func_echo_all'
13436
# Archives containing C++ object files must be created using
13437
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13438
# necessary to make sure instantiated templates are included
13440
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13443
# Green Hills C++ Compiler
13444
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13446
# The C++ compiler must be used to create the archive.
13447
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13450
# GNU C++ compiler with Solaris linker
13451
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13452
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13453
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13454
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13455
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13456
$CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13458
# Commands to make compiler produce verbose output that lists
13459
# what "hidden" libraries, object files and flags are used when
13460
# linking a shared library.
13461
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13463
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13465
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13466
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13467
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13469
# Commands to make compiler produce verbose output that lists
13470
# what "hidden" libraries, object files and flags are used when
13471
# linking a shared library.
13472
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13475
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13477
solaris2.[0-5] | solaris2.[0-5].*) ;;
13479
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13487
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13488
no_undefined_flag_CXX='${wl}-z,text'
13489
archive_cmds_need_lc_CXX=no
13490
hardcode_shlibpath_var_CXX=no
13491
runpath_var='LD_RUN_PATH'
13493
case $cc_basename in
13495
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13496
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13499
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13500
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13505
sysv5* | sco3.2v5* | sco5v6*)
13506
# Note: We can NOT use -z defs as we might desire, because we do not
13507
# link with -lc, and that would cause any symbols used from libc to
13508
# always be unresolved, which means just about no library would
13509
# ever link correctly. If we're not using GNU ld we use -z text
13510
# though, which does catch some bad symbols but isn't as heavy-handed
13512
no_undefined_flag_CXX='${wl}-z,text'
13513
allow_undefined_flag_CXX='${wl}-z,nodefs'
13514
archive_cmds_need_lc_CXX=no
13515
hardcode_shlibpath_var_CXX=no
13516
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13517
hardcode_libdir_separator_CXX=':'
13518
link_all_deplibs_CXX=yes
13519
export_dynamic_flag_spec_CXX='${wl}-Bexport'
13520
runpath_var='LD_RUN_PATH'
13522
case $cc_basename in
13524
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13525
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13526
old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13527
'"$old_archive_cmds_CXX"
13528
reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13529
'"$reload_cmds_CXX"
13532
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13533
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13539
case $cc_basename in
13541
# NonStop-UX NCC 3.20
13542
# FIXME: insert proper C++ library support
13546
# FIXME: insert proper C++ library support
13553
# FIXME: insert proper C++ library support
13558
# FIXME: insert proper C++ library support
13563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13564
$as_echo "$ld_shlibs_CXX" >&6; }
13565
test "$ld_shlibs_CXX" = no && can_build_shared=no
13571
## There is no encapsulation within the following macros, do not change
13572
## the running order or otherwise move them around unless you know exactly
13573
## what you are doing...
13574
# Dependencies to place before and after the object being linked:
13575
predep_objects_CXX=
13576
postdep_objects_CXX=
13579
compiler_lib_search_path_CXX=
13581
cat > conftest.$ac_ext <<_LT_EOF
13585
Foo (void) { a = 0; }
13592
_lt_libdeps_save_CFLAGS=$CFLAGS
13593
case "$CC $CFLAGS " in #(
13594
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13595
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13596
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13599
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13600
(eval $ac_compile) 2>&5
13602
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13603
test $ac_status = 0; }; then
13604
# Parse the compiler output and extract the necessary
13605
# objects, libraries and library flags.
13607
# Sentinel used to keep track of whether or not we are before
13608
# the conftest object file.
13609
pre_test_object_deps_done=no
13611
for p in `eval "$output_verbose_link_cmd"`; do
13612
case ${prev}${p} in
13615
# Some compilers place space between "-{L,R}" and the path.
13616
# Remove the space.
13617
if test $p = "-L" ||
13618
test $p = "-R"; then
13623
# Expand the sysroot to ease extracting the directories later.
13624
if test -z "$prev"; then
13626
-L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13627
-R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13628
-l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13632
=*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13634
if test "$pre_test_object_deps_done" = no; then
13637
# Internal compiler library paths should come after those
13638
# provided the user. The postdeps already come after the
13639
# user supplied libs so there is no need to process them.
13640
if test -z "$compiler_lib_search_path_CXX"; then
13641
compiler_lib_search_path_CXX="${prev}${p}"
13643
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13646
# The "-l" case would never come before the object being
13647
# linked, so don't bother handling this case.
13650
if test -z "$postdeps_CXX"; then
13651
postdeps_CXX="${prev}${p}"
13653
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13659
*.lto.$objext) ;; # Ignore GCC LTO objects
13661
# This assumes that the test object file only shows up
13662
# once in the compiler output.
13663
if test "$p" = "conftest.$objext"; then
13664
pre_test_object_deps_done=yes
13668
if test "$pre_test_object_deps_done" = no; then
13669
if test -z "$predep_objects_CXX"; then
13670
predep_objects_CXX="$p"
13672
predep_objects_CXX="$predep_objects_CXX $p"
13675
if test -z "$postdep_objects_CXX"; then
13676
postdep_objects_CXX="$p"
13678
postdep_objects_CXX="$postdep_objects_CXX $p"
13683
*) ;; # Ignore the rest.
13691
echo "libtool.m4: error: problem compiling CXX test program"
13694
$RM -f confest.$objext
13695
CFLAGS=$_lt_libdeps_save_CFLAGS
13697
# PORTME: override above test on systems where it is broken
13700
# Interix 3.5 installs completely hosed .la files for C++, so rather than
13701
# hack all around it, let's just trust "g++" to DTRT.
13702
predep_objects_CXX=
13703
postdep_objects_CXX=
13708
case `$CC -V 2>&1 | sed 5q` in
13712
# The more standards-conforming stlport4 library is
13713
# incompatible with the Cstd library. Avoid specifying
13714
# it if it's in CXXFLAGS. Ignore libCrun as
13715
# -library=stlport4 depends on it.
13716
case " $CXX $CXXFLAGS " in
13717
*" -library=stlport4 "*)
13718
solaris_use_stlport4=yes
13722
if test "$solaris_use_stlport4" != yes; then
13723
postdeps_CXX='-library=Cstd -library=Crun'
13730
case $cc_basename in
13732
# The more standards-conforming stlport4 library is
13733
# incompatible with the Cstd library. Avoid specifying
13734
# it if it's in CXXFLAGS. Ignore libCrun as
13735
# -library=stlport4 depends on it.
13736
case " $CXX $CXXFLAGS " in
13737
*" -library=stlport4 "*)
13738
solaris_use_stlport4=yes
13742
# Adding this requires a known-good setup of shared libraries for
13743
# Sun compiler versions before 5.6, else PIC objects from an old
13744
# archive will be linked into the output, leading to subtle bugs.
13745
if test "$solaris_use_stlport4" != yes; then
13746
postdeps_CXX='-library=Cstd -library=Crun'
13754
case " $postdeps_CXX " in
13755
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13757
compiler_lib_search_dirs_CXX=
13758
if test -n "${compiler_lib_search_path_CXX}"; then
13759
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13792
lt_prog_compiler_wl_CXX=
13793
lt_prog_compiler_pic_CXX=
13794
lt_prog_compiler_static_CXX=
13797
# C++ specific cases for pic, static, wl, etc.
13798
if test "$GXX" = yes; then
13799
lt_prog_compiler_wl_CXX='-Wl,'
13800
lt_prog_compiler_static_CXX='-static'
13804
# All AIX code is PIC.
13805
if test "$host_cpu" = ia64; then
13806
# AIX 5 now supports IA64 processor
13807
lt_prog_compiler_static_CXX='-Bstatic'
13814
# see comment about AmigaOS4 .so support
13815
lt_prog_compiler_pic_CXX='-fPIC'
13818
# FIXME: we need at least 68020 code to build shared libraries, but
13819
# adding the `-m68020' flag to GCC prevents building anything better,
13821
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13826
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13827
# PIC is the default for these OSes.
13829
mingw* | cygwin* | os2* | pw32* | cegcc*)
13830
# This hack is so that the source file can tell whether it is being
13831
# built for inclusion in a dll (and should export symbols for example).
13832
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13833
# (--disable-auto-import) libraries
13834
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13836
darwin* | rhapsody*)
13837
# PIC is the default on this platform
13838
# Common symbols not allowed in MH_DYLIB files
13839
lt_prog_compiler_pic_CXX='-fno-common'
13842
# DJGPP does not support shared libraries at all
13843
lt_prog_compiler_pic_CXX=
13846
# PIC is the default for Haiku.
13847
# The "-static" flag exists, but is broken.
13848
lt_prog_compiler_static_CXX=
13851
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13852
# Instead, we relocate shared libraries at runtime.
13855
if test -d /usr/nec; then
13856
lt_prog_compiler_pic_CXX=-Kconform_pic
13860
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13861
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13862
# sets the default TLS model and affects inlining.
13867
lt_prog_compiler_pic_CXX='-fPIC'
13872
# QNX uses GNU C++, but need to define -shared option too, otherwise
13873
# it will coredump.
13874
lt_prog_compiler_pic_CXX='-fPIC -shared'
13877
lt_prog_compiler_pic_CXX='-fPIC'
13883
# All AIX code is PIC.
13884
if test "$host_cpu" = ia64; then
13885
# AIX 5 now supports IA64 processor
13886
lt_prog_compiler_static_CXX='-Bstatic'
13888
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13892
case $cc_basename in
13894
# Green Hills C++ Compiler
13895
# _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"
13899
mingw* | cygwin* | os2* | pw32* | cegcc*)
13900
# This hack is so that the source file can tell whether it is being
13901
# built for inclusion in a dll (and should export symbols for example).
13902
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13905
case $cc_basename in
13907
lt_prog_compiler_pic_CXX='-KPIC'
13910
# Green Hills C++ Compiler
13911
lt_prog_compiler_pic_CXX='-pic'
13917
freebsd* | dragonfly*)
13918
# FreeBSD uses GNU C++
13920
hpux9* | hpux10* | hpux11*)
13921
case $cc_basename in
13923
lt_prog_compiler_wl_CXX='-Wl,'
13924
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13925
if test "$host_cpu" != ia64; then
13926
lt_prog_compiler_pic_CXX='+Z'
13930
lt_prog_compiler_wl_CXX='-Wl,'
13931
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13937
lt_prog_compiler_pic_CXX='+Z'
13946
# This is c89, which is MS Visual C++ (no shared libs)
13947
# Anyone wants to do a port?
13949
irix5* | irix6* | nonstopux*)
13950
case $cc_basename in
13952
lt_prog_compiler_wl_CXX='-Wl,'
13953
lt_prog_compiler_static_CXX='-non_shared'
13954
# CC pic flag -KPIC is the default.
13960
linux* | k*bsd*-gnu | kopensolaris*-gnu)
13961
case $cc_basename in
13964
lt_prog_compiler_wl_CXX='--backend -Wl,'
13965
lt_prog_compiler_pic_CXX='-fPIC'
13968
# old Intel C++ for x86_64 which still supported -KPIC.
13969
lt_prog_compiler_wl_CXX='-Wl,'
13970
lt_prog_compiler_pic_CXX='-KPIC'
13971
lt_prog_compiler_static_CXX='-static'
13974
# Intel C++, used to be incompatible with GCC.
13975
# ICC 10 doesn't accept -KPIC any more.
13976
lt_prog_compiler_wl_CXX='-Wl,'
13977
lt_prog_compiler_pic_CXX='-fPIC'
13978
lt_prog_compiler_static_CXX='-static'
13981
# Portland Group C++ compiler
13982
lt_prog_compiler_wl_CXX='-Wl,'
13983
lt_prog_compiler_pic_CXX='-fpic'
13984
lt_prog_compiler_static_CXX='-Bstatic'
13988
# Make sure the PIC flag is empty. It appears that all Alpha
13989
# Linux and Compaq Tru64 Unix objects are PIC.
13990
lt_prog_compiler_pic_CXX=
13991
lt_prog_compiler_static_CXX='-non_shared'
13993
xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13994
# IBM XL 8.0, 9.0 on PPC and BlueGene
13995
lt_prog_compiler_wl_CXX='-Wl,'
13996
lt_prog_compiler_pic_CXX='-qpic'
13997
lt_prog_compiler_static_CXX='-qstaticlink'
14000
case `$CC -V 2>&1 | sed 5q` in
14003
lt_prog_compiler_pic_CXX='-KPIC'
14004
lt_prog_compiler_static_CXX='-Bstatic'
14005
lt_prog_compiler_wl_CXX='-Qoption ld '
14016
case $cc_basename in
14018
lt_prog_compiler_pic_CXX='-W c,exportall'
14024
netbsd* | netbsdelf*-gnu)
14027
# QNX uses GNU C++, but need to define -shared option too, otherwise
14028
# it will coredump.
14029
lt_prog_compiler_pic_CXX='-fPIC -shared'
14031
osf3* | osf4* | osf5*)
14032
case $cc_basename in
14034
lt_prog_compiler_wl_CXX='--backend -Wl,'
14037
# Rational C++ 2.4.1
14038
lt_prog_compiler_pic_CXX='-pic'
14041
# Digital/Compaq C++
14042
lt_prog_compiler_wl_CXX='-Wl,'
14043
# Make sure the PIC flag is empty. It appears that all Alpha
14044
# Linux and Compaq Tru64 Unix objects are PIC.
14045
lt_prog_compiler_pic_CXX=
14046
lt_prog_compiler_static_CXX='-non_shared'
14055
case $cc_basename in
14057
# Sun C++ 4.2, 5.x and Centerline C++
14058
lt_prog_compiler_pic_CXX='-KPIC'
14059
lt_prog_compiler_static_CXX='-Bstatic'
14060
lt_prog_compiler_wl_CXX='-Qoption ld '
14063
# Green Hills C++ Compiler
14064
lt_prog_compiler_pic_CXX='-PIC'
14071
case $cc_basename in
14074
lt_prog_compiler_pic_CXX='-pic'
14075
lt_prog_compiler_static_CXX='-Bstatic'
14079
lt_prog_compiler_pic_CXX='-pic'
14085
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14086
case $cc_basename in
14088
lt_prog_compiler_wl_CXX='-Wl,'
14089
lt_prog_compiler_pic_CXX='-KPIC'
14090
lt_prog_compiler_static_CXX='-Bstatic'
14095
case $cc_basename in
14097
# NonStop-UX NCC 3.20
14098
lt_prog_compiler_pic_CXX='-KPIC'
14107
lt_prog_compiler_can_build_shared_CXX=no
14113
# For platforms which do not support PIC, -DPIC is meaningless:
14115
lt_prog_compiler_pic_CXX=
14118
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14122
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14123
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14124
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14125
$as_echo_n "(cached) " >&6
14127
lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14130
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14131
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14134
# Check to make sure the PIC flag actually works.
14136
if test -n "$lt_prog_compiler_pic_CXX"; then
14137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14138
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14139
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14140
$as_echo_n "(cached) " >&6
14142
lt_cv_prog_compiler_pic_works_CXX=no
14143
ac_outfile=conftest.$ac_objext
14144
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14145
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14146
# Insert the option either (1) after the last *FLAGS variable, or
14147
# (2) before a word containing "conftest.", or (3) at the end.
14148
# Note that $ac_compile itself does not contain backslashes and begins
14149
# with a dollar sign (not a hyphen), so the echo should work correctly.
14150
# The option is referenced via a variable to avoid confusing sed.
14151
lt_compile=`echo "$ac_compile" | $SED \
14152
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14153
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14154
-e 's:$: $lt_compiler_flag:'`
14155
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14156
(eval "$lt_compile" 2>conftest.err)
14158
cat conftest.err >&5
14159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160
if (exit $ac_status) && test -s "$ac_outfile"; then
14161
# The compiler can only warn and ignore the option if not recognized
14162
# So say no if there are warnings other than the usual output.
14163
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14164
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14165
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14166
lt_cv_prog_compiler_pic_works_CXX=yes
14172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14173
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14175
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14176
case $lt_prog_compiler_pic_CXX in
14178
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14181
lt_prog_compiler_pic_CXX=
14182
lt_prog_compiler_can_build_shared_CXX=no
14192
# Check to make sure the static flag actually works.
14194
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14196
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14197
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14198
$as_echo_n "(cached) " >&6
14200
lt_cv_prog_compiler_static_works_CXX=no
14201
save_LDFLAGS="$LDFLAGS"
14202
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14203
echo "$lt_simple_link_test_code" > conftest.$ac_ext
14204
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14205
# The linker can only warn and ignore the option if not recognized
14206
# So say no if there are warnings
14207
if test -s conftest.err; then
14208
# Append any errors to the config.log.
14209
cat conftest.err 1>&5
14210
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14211
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14212
if diff conftest.exp conftest.er2 >/dev/null; then
14213
lt_cv_prog_compiler_static_works_CXX=yes
14216
lt_cv_prog_compiler_static_works_CXX=yes
14220
LDFLAGS="$save_LDFLAGS"
14223
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14224
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14226
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14229
lt_prog_compiler_static_CXX=
14235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14236
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14237
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14238
$as_echo_n "(cached) " >&6
14240
lt_cv_prog_compiler_c_o_CXX=no
14241
$RM -r conftest 2>/dev/null
14245
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14247
lt_compiler_flag="-o out/conftest2.$ac_objext"
14248
# Insert the option either (1) after the last *FLAGS variable, or
14249
# (2) before a word containing "conftest.", or (3) at the end.
14250
# Note that $ac_compile itself does not contain backslashes and begins
14251
# with a dollar sign (not a hyphen), so the echo should work correctly.
14252
lt_compile=`echo "$ac_compile" | $SED \
14253
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14254
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14255
-e 's:$: $lt_compiler_flag:'`
14256
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14257
(eval "$lt_compile" 2>out/conftest.err)
14259
cat out/conftest.err >&5
14260
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14263
# The compiler can only warn and ignore the option if not recognized
14264
# So say no if there are warnings
14265
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14266
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14267
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14268
lt_cv_prog_compiler_c_o_CXX=yes
14273
# SGI C++ compiler will create directory out/ii_files/ for
14274
# template instantiation
14275
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14276
$RM out/* && rmdir out
14282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14283
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14288
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14289
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14290
$as_echo_n "(cached) " >&6
14292
lt_cv_prog_compiler_c_o_CXX=no
14293
$RM -r conftest 2>/dev/null
14297
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14299
lt_compiler_flag="-o out/conftest2.$ac_objext"
14300
# Insert the option either (1) after the last *FLAGS variable, or
14301
# (2) before a word containing "conftest.", or (3) at the end.
14302
# Note that $ac_compile itself does not contain backslashes and begins
14303
# with a dollar sign (not a hyphen), so the echo should work correctly.
14304
lt_compile=`echo "$ac_compile" | $SED \
14305
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14306
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14307
-e 's:$: $lt_compiler_flag:'`
14308
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14309
(eval "$lt_compile" 2>out/conftest.err)
14311
cat out/conftest.err >&5
14312
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14315
# The compiler can only warn and ignore the option if not recognized
14316
# So say no if there are warnings
14317
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14318
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14319
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14320
lt_cv_prog_compiler_c_o_CXX=yes
14325
# SGI C++ compiler will create directory out/ii_files/ for
14326
# template instantiation
14327
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14328
$RM out/* && rmdir out
14334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14335
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14340
hard_links="nottested"
14341
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14342
# do not overwrite the value of need_locks provided by the user
14343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14344
$as_echo_n "checking if we can lock with hard links... " >&6; }
14347
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14349
ln conftest.a conftest.b 2>&5 || hard_links=no
14350
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14352
$as_echo "$hard_links" >&6; }
14353
if test "$hard_links" = no; then
14354
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14355
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14365
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14367
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14368
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14371
# If we're using GNU nm, then we don't want the "-C" option.
14372
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14373
# Also, AIX nm treats weak defined symbols like other global defined
14374
# symbols, whereas GNU nm marks them as "W".
14375
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14376
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'
14378
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'
14382
export_symbols_cmds_CXX="$ltdll_cmds"
14384
cygwin* | mingw* | cegcc*)
14385
case $cc_basename in
14387
exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14390
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'
14391
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14395
linux* | k*bsd*-gnu | gnu*)
14396
link_all_deplibs_CXX=no
14399
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14404
$as_echo "$ld_shlibs_CXX" >&6; }
14405
test "$ld_shlibs_CXX" = no && can_build_shared=no
14407
with_gnu_ld_CXX=$with_gnu_ld
14415
# Do we need to explicitly link libc?
14417
case "x$archive_cmds_need_lc_CXX" in
14419
# Assume -lc should be added
14420
archive_cmds_need_lc_CXX=yes
14422
if test "$enable_shared" = yes && test "$GCC" = yes; then
14423
case $archive_cmds_CXX in
14425
# FIXME: we may have to deal with multi-command sequences.
14428
# Test whether the compiler implicitly links with -lc since on some
14429
# systems, -lgcc has to come before -lc. If gcc already passes -lc
14430
# to ld, don't add -lc before -lgcc.
14431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14432
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14433
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14434
$as_echo_n "(cached) " >&6
14437
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14439
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14440
(eval $ac_compile) 2>&5
14442
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14443
test $ac_status = 0; } 2>conftest.err; then
14446
libobjs=conftest.$ac_objext
14448
wl=$lt_prog_compiler_wl_CXX
14449
pic_flag=$lt_prog_compiler_pic_CXX
14455
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14456
allow_undefined_flag_CXX=
14457
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14458
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14460
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14461
test $ac_status = 0; }
14463
lt_cv_archive_cmds_need_lc_CXX=no
14465
lt_cv_archive_cmds_need_lc_CXX=yes
14467
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14469
cat conftest.err 1>&5
14474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14475
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14476
archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14545
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14547
library_names_spec=
14548
libname_spec='lib$name'
14552
postuninstall_cmds=
14556
shlibpath_overrides_runpath=unknown
14558
dynamic_linker="$host_os ld.so"
14559
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14560
need_lib_prefix=unknown
14561
hardcode_into_libs=no
14563
# when you set need_version to no, make sure it does not cause -set_version
14564
# flags to be left without arguments
14565
need_version=unknown
14569
version_type=linux # correct to gnu/linux during the next big refactor
14570
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14571
shlibpath_var=LIBPATH
14573
# AIX 3 has no versioning support, so we append a major version to the name.
14574
soname_spec='${libname}${release}${shared_ext}$major'
14578
version_type=linux # correct to gnu/linux during the next big refactor
14581
hardcode_into_libs=yes
14582
if test "$host_cpu" = ia64; then
14583
# AIX 5 supports IA64
14584
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14585
shlibpath_var=LD_LIBRARY_PATH
14587
# With GCC up to 2.95.x, collect2 would create an import file
14588
# for dependence libraries. The import file would start with
14589
# the line `#! .'. This would cause the generated library to
14590
# depend on `.', always an invalid library. This was fixed in
14591
# development snapshots of GCC prior to 3.0.
14593
aix4 | aix4.[01] | aix4.[01].*)
14594
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14596
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14599
can_build_shared=no
14603
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14604
# soname into executable. Probably we can add versioning support to
14605
# collect2, so additional links can be useful in future.
14606
if test "$aix_use_runtimelinking" = yes; then
14607
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14608
# instead of lib<name>.a to let people know that these are not
14609
# typical AIX shared libraries.
14610
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612
# We preserve .a as extension for shared libraries through AIX4.2
14613
# and later when we are not doing run time linking.
14614
library_names_spec='${libname}${release}.a $libname.a'
14615
soname_spec='${libname}${release}${shared_ext}$major'
14617
shlibpath_var=LIBPATH
14624
# Since July 2007 AmigaOS4 officially supports .so libraries.
14625
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14626
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14629
library_names_spec='$libname.ixlibrary $libname.a'
14630
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14631
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'
14637
library_names_spec='${libname}${shared_ext}'
14638
dynamic_linker="$host_os ld.so"
14639
shlibpath_var=LIBRARY_PATH
14643
version_type=linux # correct to gnu/linux during the next big refactor
14645
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14646
soname_spec='${libname}${release}${shared_ext}$major'
14647
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14648
shlibpath_var=LD_LIBRARY_PATH
14649
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14650
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14651
# the default ld.so.conf also contains /usr/contrib/lib and
14652
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14653
# libtool to hard-code these into programs
14656
cygwin* | mingw* | pw32* | cegcc*)
14657
version_type=windows
14662
case $GCC,$cc_basename in
14665
library_names_spec='$libname.dll.a'
14666
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14667
postinstall_cmds='base_file=`basename \${file}`~
14668
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14669
dldir=$destdir/`dirname \$dlpath`~
14670
test -d \$dldir || mkdir -p \$dldir~
14671
$install_prog $dir/$dlname \$dldir/$dlname~
14672
chmod a+x \$dldir/$dlname~
14673
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14674
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14676
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14677
dlpath=$dir/\$dldll~
14679
shlibpath_overrides_runpath=yes
14683
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14684
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14688
# MinGW DLLs use traditional 'lib' prefix
14689
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14692
# pw32 DLLs use 'pw' prefix rather than 'lib'
14693
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14696
dynamic_linker='Win32 ld.exe'
14701
libname_spec='$name'
14702
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14703
library_names_spec='${libname}.dll.lib'
14707
sys_lib_search_path_spec=
14710
for lt_path in $LIB
14713
# Let DOS variable expansion print the short 8.3 style file name.
14714
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14715
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14718
# Convert to MSYS style.
14719
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14722
# Convert to unix form, then to dos form, then back to unix form
14723
# but this time dos style (no spaces!) so that the unix form looks
14724
# like /cygdrive/c/PROGRA~1:/cygdr...
14725
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14726
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14727
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14730
sys_lib_search_path_spec="$LIB"
14731
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14732
# It is most probably a Windows format PATH.
14733
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14735
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14737
# FIXME: find the short name or the path components, as spaces are
14738
# common. (e.g. "Program Files" -> "PROGRA~1")
14742
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14743
postinstall_cmds='base_file=`basename \${file}`~
14744
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14745
dldir=$destdir/`dirname \$dlpath`~
14746
test -d \$dldir || mkdir -p \$dldir~
14747
$install_prog $dir/$dlname \$dldir/$dlname'
14748
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14749
dlpath=$dir/\$dldll~
14751
shlibpath_overrides_runpath=yes
14752
dynamic_linker='Win32 link.exe'
14756
# Assume MSVC wrapper
14757
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14758
dynamic_linker='Win32 ld.exe'
14761
# FIXME: first we should search . and the directory the executable is in
14765
darwin* | rhapsody*)
14766
dynamic_linker="$host_os dyld"
14767
version_type=darwin
14770
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14771
soname_spec='${libname}${release}${major}$shared_ext'
14772
shlibpath_overrides_runpath=yes
14773
shlibpath_var=DYLD_LIBRARY_PATH
14774
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14776
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14780
version_type=linux # correct to gnu/linux during the next big refactor
14783
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14784
soname_spec='${libname}${release}${shared_ext}$major'
14785
shlibpath_var=LD_LIBRARY_PATH
14788
freebsd* | dragonfly*)
14789
# DragonFly does not have aout. When/if they implement a new
14790
# versioning mechanism, adjust this.
14791
if test -x /usr/bin/objformat; then
14792
objformat=`/usr/bin/objformat`
14795
freebsd[23].*) objformat=aout ;;
14796
*) objformat=elf ;;
14799
version_type=freebsd-$objformat
14800
case $version_type in
14802
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14807
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14811
shlibpath_var=LD_LIBRARY_PATH
14814
shlibpath_overrides_runpath=yes
14816
freebsd3.[01]* | freebsdelf3.[01]*)
14817
shlibpath_overrides_runpath=yes
14818
hardcode_into_libs=yes
14820
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14821
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14822
shlibpath_overrides_runpath=no
14823
hardcode_into_libs=yes
14825
*) # from 4.6 on, and DragonFly
14826
shlibpath_overrides_runpath=yes
14827
hardcode_into_libs=yes
14833
version_type=linux # correct to gnu/linux during the next big refactor
14836
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14837
soname_spec='${libname}${release}${shared_ext}$major'
14838
shlibpath_var=LD_LIBRARY_PATH
14839
shlibpath_overrides_runpath=no
14840
hardcode_into_libs=yes
14844
version_type=linux # correct to gnu/linux during the next big refactor
14847
dynamic_linker="$host_os runtime_loader"
14848
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14849
soname_spec='${libname}${release}${shared_ext}$major'
14850
shlibpath_var=LIBRARY_PATH
14851
shlibpath_overrides_runpath=yes
14852
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14853
hardcode_into_libs=yes
14856
hpux9* | hpux10* | hpux11*)
14857
# Give a soname corresponding to the major version so that dld.sl refuses to
14858
# link against other versions.
14865
hardcode_into_libs=yes
14866
dynamic_linker="$host_os dld.so"
14867
shlibpath_var=LD_LIBRARY_PATH
14868
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14869
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14870
soname_spec='${libname}${release}${shared_ext}$major'
14871
if test "X$HPUX_IA64_MODE" = X32; then
14872
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14874
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14876
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14880
hardcode_into_libs=yes
14881
dynamic_linker="$host_os dld.sl"
14882
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14883
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14884
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14885
soname_spec='${libname}${release}${shared_ext}$major'
14886
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14887
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14891
dynamic_linker="$host_os dld.sl"
14892
shlibpath_var=SHLIB_PATH
14893
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14894
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14895
soname_spec='${libname}${release}${shared_ext}$major'
14898
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14899
postinstall_cmds='chmod 555 $lib'
14900
# or fails outright, so override atomically:
14901
install_override_mode=555
14905
version_type=linux # correct to gnu/linux during the next big refactor
14908
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14909
soname_spec='${libname}${release}${shared_ext}$major'
14910
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14911
shlibpath_var=LD_LIBRARY_PATH
14912
shlibpath_overrides_runpath=no
14913
hardcode_into_libs=yes
14916
irix5* | irix6* | nonstopux*)
14918
nonstopux*) version_type=nonstopux ;;
14920
if test "$lt_cv_prog_gnu_ld" = yes; then
14921
version_type=linux # correct to gnu/linux during the next big refactor
14928
soname_spec='${libname}${release}${shared_ext}$major'
14929
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14931
irix5* | nonstopux*)
14932
libsuff= shlibsuff=
14935
case $LD in # libtool.m4 will add one of these switches to LD
14936
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14937
libsuff= shlibsuff= libmagic=32-bit;;
14938
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14939
libsuff=32 shlibsuff=N32 libmagic=N32;;
14940
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14941
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14942
*) libsuff= shlibsuff= libmagic=never-match;;
14946
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14947
shlibpath_overrides_runpath=no
14948
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14949
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14950
hardcode_into_libs=yes
14953
# No shared lib support for Linux oldld, aout, or coff.
14954
linux*oldld* | linux*aout* | linux*coff*)
14958
# This must be glibc/ELF.
14959
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14960
version_type=linux # correct to gnu/linux during the next big refactor
14963
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14964
soname_spec='${libname}${release}${shared_ext}$major'
14965
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14966
shlibpath_var=LD_LIBRARY_PATH
14967
shlibpath_overrides_runpath=no
14969
# Some binutils ld are patched to set DT_RUNPATH
14970
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14971
$as_echo_n "(cached) " >&6
14973
lt_cv_shlibpath_overrides_runpath=no
14974
save_LDFLAGS=$LDFLAGS
14975
save_libdir=$libdir
14976
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14977
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14978
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979
/* end confdefs.h. */
14989
if ac_fn_cxx_try_link "$LINENO"; then :
14990
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14991
lt_cv_shlibpath_overrides_runpath=yes
14994
rm -f core conftest.err conftest.$ac_objext \
14995
conftest$ac_exeext conftest.$ac_ext
14996
LDFLAGS=$save_LDFLAGS
14997
libdir=$save_libdir
15001
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15003
# This implies no fast_install, which is unacceptable.
15004
# Some rework will be needed to allow for fast_install
15005
# before this can be enabled.
15006
hardcode_into_libs=yes
15008
# Append ld.so.conf contents to the search path
15009
if test -f /etc/ld.so.conf; then
15010
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' ' '`
15011
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15014
# We used to test for /lib/ld.so.1 and disable shared libraries on
15015
# powerpc, because MkLinux only supported shared libraries with the
15016
# GNU dynamic linker. Since this was broken with cross compilers,
15017
# most powerpc-linux boxes support dynamic linking these days and
15018
# people can always --disable-shared, the test was removed, and we
15019
# assume the GNU/Linux dynamic linker is in use.
15020
dynamic_linker='GNU/Linux ld.so'
15027
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15028
soname_spec='${libname}${release}${shared_ext}$major'
15029
shlibpath_var=LD_LIBRARY_PATH
15030
shlibpath_overrides_runpath=no
15031
hardcode_into_libs=yes
15032
dynamic_linker='NetBSD ld.elf_so'
15039
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15040
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15041
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15042
dynamic_linker='NetBSD (a.out) ld.so'
15044
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15045
soname_spec='${libname}${release}${shared_ext}$major'
15046
dynamic_linker='NetBSD ld.elf_so'
15048
shlibpath_var=LD_LIBRARY_PATH
15049
shlibpath_overrides_runpath=yes
15050
hardcode_into_libs=yes
15054
version_type=linux # correct to gnu/linux during the next big refactor
15055
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15056
shlibpath_var=LD_LIBRARY_PATH
15057
shlibpath_overrides_runpath=yes
15064
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15065
soname_spec='${libname}${release}${shared_ext}$major'
15066
shlibpath_var=LD_LIBRARY_PATH
15067
shlibpath_overrides_runpath=no
15068
hardcode_into_libs=yes
15069
dynamic_linker='ldqnx.so'
15074
sys_lib_dlsearch_path_spec="/usr/lib"
15076
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15078
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15079
*) need_version=no ;;
15081
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15082
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15083
shlibpath_var=LD_LIBRARY_PATH
15084
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15086
openbsd2.[89] | openbsd2.[89].*)
15087
shlibpath_overrides_runpath=no
15090
shlibpath_overrides_runpath=yes
15094
shlibpath_overrides_runpath=yes
15099
libname_spec='$name'
15102
library_names_spec='$libname${shared_ext} $libname.a'
15103
dynamic_linker='OS/2 ld.exe'
15104
shlibpath_var=LIBPATH
15107
osf3* | osf4* | osf5*)
15111
soname_spec='${libname}${release}${shared_ext}$major'
15112
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15113
shlibpath_var=LD_LIBRARY_PATH
15114
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15115
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15123
version_type=linux # correct to gnu/linux during the next big refactor
15126
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15127
soname_spec='${libname}${release}${shared_ext}$major'
15128
shlibpath_var=LD_LIBRARY_PATH
15129
shlibpath_overrides_runpath=yes
15130
hardcode_into_libs=yes
15131
# ldd complains unless libraries are executable
15132
postinstall_cmds='chmod +x $lib'
15137
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15138
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15139
shlibpath_var=LD_LIBRARY_PATH
15140
shlibpath_overrides_runpath=yes
15141
if test "$with_gnu_ld" = yes; then
15148
version_type=linux # correct to gnu/linux during the next big refactor
15149
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15150
soname_spec='${libname}${release}${shared_ext}$major'
15151
shlibpath_var=LD_LIBRARY_PATH
15152
case $host_vendor in
15154
shlibpath_overrides_runpath=no
15156
runpath_var=LD_RUN_PATH
15164
shlibpath_overrides_runpath=no
15165
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15171
if test -d /usr/nec ;then
15172
version_type=linux # correct to gnu/linux during the next big refactor
15173
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15174
soname_spec='$libname${shared_ext}.$major'
15175
shlibpath_var=LD_LIBRARY_PATH
15179
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15180
version_type=freebsd-elf
15183
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15184
soname_spec='${libname}${release}${shared_ext}$major'
15185
shlibpath_var=LD_LIBRARY_PATH
15186
shlibpath_overrides_runpath=yes
15187
hardcode_into_libs=yes
15188
if test "$with_gnu_ld" = yes; then
15189
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15191
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15194
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15198
sys_lib_dlsearch_path_spec='/usr/lib'
15202
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15203
version_type=linux # correct to gnu/linux during the next big refactor
15206
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15207
shlibpath_var=LD_LIBRARY_PATH
15208
shlibpath_overrides_runpath=no
15209
hardcode_into_libs=yes
15213
version_type=linux # correct to gnu/linux during the next big refactor
15214
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15215
soname_spec='${libname}${release}${shared_ext}$major'
15216
shlibpath_var=LD_LIBRARY_PATH
15223
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15224
$as_echo "$dynamic_linker" >&6; }
15225
test "$dynamic_linker" = no && can_build_shared=no
15227
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15228
if test "$GCC" = yes; then
15229
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15232
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15233
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15235
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15236
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15277
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15278
hardcode_action_CXX=
15279
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15280
test -n "$runpath_var_CXX" ||
15281
test "X$hardcode_automatic_CXX" = "Xyes" ; then
15283
# We can hardcode non-existent directories.
15284
if test "$hardcode_direct_CXX" != no &&
15285
# If the only mechanism to avoid hardcoding is shlibpath_var, we
15286
# have to relink, otherwise we might link with an installed library
15287
# when we should be linking with a yet-to-be-installed one
15288
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15289
test "$hardcode_minus_L_CXX" != no; then
15290
# Linking always hardcodes the temporary library directory.
15291
hardcode_action_CXX=relink
15293
# We can link without hardcoding, and we can hardcode nonexisting dirs.
15294
hardcode_action_CXX=immediate
15297
# We cannot hardcode anything, or else we can only hardcode existing
15299
hardcode_action_CXX=unsupported
15301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15302
$as_echo "$hardcode_action_CXX" >&6; }
15304
if test "$hardcode_action_CXX" = relink ||
15305
test "$inherit_rpath_CXX" = yes; then
15306
# Fast installation is not supported
15307
enable_fast_install=no
15308
elif test "$shlibpath_overrides_runpath" = yes ||
15309
test "$enable_shared" = no; then
15310
# Fast installation is not necessary
15311
enable_fast_install=needless
15320
fi # test -n "$compiler"
15323
CFLAGS=$lt_save_CFLAGS
15327
with_gnu_ld=$lt_save_with_gnu_ld
15328
lt_cv_path_LDCXX=$lt_cv_path_LD
15329
lt_cv_path_LD=$lt_save_path_LD
15330
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15331
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15332
fi # test "$_lt_caught_CXX_error" != yes
15335
ac_cpp='$CPP $CPPFLAGS'
15336
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15337
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15338
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
15344
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
15345
# Check whether --enable-maintainer-mode was given.
15346
if test "${enable_maintainer_mode+set}" = set; then :
15347
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
15349
USE_MAINTAINER_MODE=no
15352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
15353
$as_echo "$USE_MAINTAINER_MODE" >&6; }
15354
if test $USE_MAINTAINER_MODE = yes; then
15355
MAINTAINER_MODE_TRUE=
15356
MAINTAINER_MODE_FALSE='#'
15358
MAINTAINER_MODE_TRUE='#'
15359
MAINTAINER_MODE_FALSE=
15362
MAINT=$MAINTAINER_MODE_TRUE
15365
# Check whether --enable-silent-rules was given.
15366
if test "${enable_silent_rules+set}" = set; then :
15367
enableval=$enable_silent_rules;
15370
case $enable_silent_rules in
15371
yes) AM_DEFAULT_VERBOSITY=0;;
15372
no) AM_DEFAULT_VERBOSITY=1;;
15373
*) AM_DEFAULT_VERBOSITY=0;;
15375
am_make=${MAKE-make}
15376
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
15377
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
15378
if ${am_cv_make_support_nested_variables+:} false; then :
15379
$as_echo_n "(cached) " >&6
15381
if $as_echo 'TRUE=$(BAR$(V))
15387
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
15388
am_cv_make_support_nested_variables=yes
15390
am_cv_make_support_nested_variables=no
15393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
15394
$as_echo "$am_cv_make_support_nested_variables" >&6; }
15395
if test $am_cv_make_support_nested_variables = yes; then
15397
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
15399
AM_V=$AM_DEFAULT_VERBOSITY
15400
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
15412
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15413
if test -n "$ac_tool_prefix"; then
15414
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15415
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15417
$as_echo_n "checking for $ac_word... " >&6; }
15418
if ${ac_cv_path_PKG_CONFIG+:} false; then :
15419
$as_echo_n "(cached) " >&6
15421
case $PKG_CONFIG in
15423
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15426
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15427
for as_dir in $PATH
15430
test -z "$as_dir" && as_dir=.
15431
for ac_exec_ext in '' $ac_executable_extensions; do
15432
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15433
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15434
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15444
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15445
if test -n "$PKG_CONFIG"; then
15446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15447
$as_echo "$PKG_CONFIG" >&6; }
15449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15450
$as_echo "no" >&6; }
15455
if test -z "$ac_cv_path_PKG_CONFIG"; then
15456
ac_pt_PKG_CONFIG=$PKG_CONFIG
15457
# Extract the first word of "pkg-config", so it can be a program name with args.
15458
set dummy pkg-config; ac_word=$2
15459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15460
$as_echo_n "checking for $ac_word... " >&6; }
15461
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15462
$as_echo_n "(cached) " >&6
15464
case $ac_pt_PKG_CONFIG in
15466
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15469
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15470
for as_dir in $PATH
15473
test -z "$as_dir" && as_dir=.
15474
for ac_exec_ext in '' $ac_executable_extensions; do
15475
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15476
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15477
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15487
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15488
if test -n "$ac_pt_PKG_CONFIG"; then
15489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15490
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15493
$as_echo "no" >&6; }
15496
if test "x$ac_pt_PKG_CONFIG" = x; then
15499
case $cross_compiling:$ac_tool_warned in
15501
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15502
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15503
ac_tool_warned=yes ;;
15505
PKG_CONFIG=$ac_pt_PKG_CONFIG
15508
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15512
if test -n "$PKG_CONFIG"; then
15513
_pkg_min_version=0.9.0
15514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15515
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15516
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15518
$as_echo "yes" >&6; }
15520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15521
$as_echo "no" >&6; }
15528
# Check whether --enable-introspection was given.
15529
if test "${enable_introspection+set}" = set; then :
15530
enableval=$enable_introspection;
15532
enable_introspection=auto
15536
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
15537
$as_echo_n "checking for gobject-introspection... " >&6; }
15539
case $enable_introspection in #(
15541
found_introspection="no (disabled, use --enable-introspection to enable)"
15544
if test -n "$PKG_CONFIG" && \
15545
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
15546
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
15548
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15549
test $ac_status = 0; }; then
15552
as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
15554
if test -n "$PKG_CONFIG" && \
15555
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
15556
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
15558
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15559
test $ac_status = 0; }; then
15560
found_introspection=yes
15562
as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build lightdm" "$LINENO" 5
15566
if test -n "$PKG_CONFIG" && \
15567
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
15568
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
15570
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15571
test $ac_status = 0; }; then
15572
found_introspection=yes
15574
found_introspection=no
15576
enable_introspection=$found_introspection
15579
as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
15582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
15583
$as_echo "$found_introspection" >&6; }
15585
INTROSPECTION_SCANNER=
15586
INTROSPECTION_COMPILER=
15587
INTROSPECTION_GENERATE=
15588
INTROSPECTION_GIRDIR=
15589
INTROSPECTION_TYPELIBDIR=
15590
if test "x$found_introspection" = "xyes"; then
15591
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
15592
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
15593
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
15594
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
15595
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
15596
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
15597
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
15598
INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
15609
if test "x$found_introspection" = "xyes"; then
15610
HAVE_INTROSPECTION_TRUE=
15611
HAVE_INTROSPECTION_FALSE='#'
15613
HAVE_INTROSPECTION_TRUE='#'
15614
HAVE_INTROSPECTION_FALSE=
15622
# Check whether --enable-compile-warnings was given.
15623
if test "${enable_compile_warnings+set}" = set; then :
15624
enableval=$enable_compile_warnings;
15626
enable_compile_warnings="maximum"
15631
if test "x$GCC" != xyes; then
15632
enable_compile_warnings=no
15636
realsave_CFLAGS="$CFLAGS"
15638
case "$enable_compile_warnings" in
15643
warning_flags="-Wall"
15646
warning_flags="-Wall -Wmissing-prototypes"
15649
warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
15650
CFLAGS="$warning_flags $CFLAGS"
15651
for option in -Wno-sign-compare; do
15652
SAVE_CFLAGS="$CFLAGS"
15653
CFLAGS="$CFLAGS $option"
15654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
15655
$as_echo_n "checking whether gcc understands $option... " >&6; }
15656
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15657
/* end confdefs.h. */
15667
if ac_fn_c_try_compile "$LINENO"; then :
15672
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15673
CFLAGS="$SAVE_CFLAGS"
15674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
15675
$as_echo "$has_option" >&6; }
15676
if test $has_option = yes; then
15677
warning_flags="$warning_flags $option"
15683
if test "$enable_compile_warnings" = "error" ; then
15684
warning_flags="$warning_flags -Werror"
15688
as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
15691
CFLAGS="$realsave_CFLAGS"
15692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
15693
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
15694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
15695
$as_echo "$warning_flags" >&6; }
15697
# Check whether --enable-iso-c was given.
15698
if test "${enable_iso_c+set}" = set; then :
15699
enableval=$enable_iso_c;
15705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
15706
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
15708
if test "x$enable_iso_c" != "xno"; then
15709
if test "x$GCC" = "xyes"; then
15710
case " $CFLAGS " in
15711
*\ \ -ansi\ \ *) ;;
15712
*) complCFLAGS="$complCFLAGS -ansi" ;;
15714
case " $CFLAGS " in
15715
*\ \ -pedantic\ \ *) ;;
15716
*) complCFLAGS="$complCFLAGS -pedantic" ;;
15720
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
15721
$as_echo "$complCFLAGS" >&6; }
15723
WARN_CFLAGS="$warning_flags $complCFLAGS"
15728
for ac_header in security/pam_appl.h
15730
ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
15731
if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
15732
cat >>confdefs.h <<_ACEOF
15733
#define HAVE_SECURITY_PAM_APPL_H 1
15737
as_fn_error $? "PAM not found" "$LINENO" 5
15743
for ac_func in setresgid setresuid clearenv
15745
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15746
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15747
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15748
cat >>confdefs.h <<_ACEOF
15749
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIGHTDM" >&5
15759
$as_echo_n "checking for LIGHTDM... " >&6; }
15761
if test -n "$LIGHTDM_CFLAGS"; then
15762
pkg_cv_LIGHTDM_CFLAGS="$LIGHTDM_CFLAGS"
15763
elif test -n "$PKG_CONFIG"; then
15764
if test -n "$PKG_CONFIG" && \
15765
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15772
($PKG_CONFIG --exists --print-errors "
15780
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15781
test $ac_status = 0; }; then
15782
pkg_cv_LIGHTDM_CFLAGS=`$PKG_CONFIG --cflags "
15789
test "x$?" != "x0" && pkg_failed=yes
15796
if test -n "$LIGHTDM_LIBS"; then
15797
pkg_cv_LIGHTDM_LIBS="$LIGHTDM_LIBS"
15798
elif test -n "$PKG_CONFIG"; then
15799
if test -n "$PKG_CONFIG" && \
15800
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15807
($PKG_CONFIG --exists --print-errors "
15815
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15816
test $ac_status = 0; }; then
15817
pkg_cv_LIGHTDM_LIBS=`$PKG_CONFIG --libs "
15824
test "x$?" != "x0" && pkg_failed=yes
15834
if test $pkg_failed = yes; then
15835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15836
$as_echo "no" >&6; }
15838
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15839
_pkg_short_errors_supported=yes
15841
_pkg_short_errors_supported=no
15843
if test $_pkg_short_errors_supported = yes; then
15844
LIGHTDM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15852
LIGHTDM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15860
# Put the nasty error message in config.log where it belongs
15861
echo "$LIGHTDM_PKG_ERRORS" >&5
15863
as_fn_error $? "Package requirements (
15871
$LIGHTDM_PKG_ERRORS
15873
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15874
installed software in a non-standard prefix.
15876
Alternatively, you may set the environment variables LIGHTDM_CFLAGS
15877
and LIGHTDM_LIBS to avoid the need to call pkg-config.
15878
See the pkg-config man page for more details." "$LINENO" 5
15879
elif test $pkg_failed = untried; then
15880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15881
$as_echo "no" >&6; }
15882
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15883
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15884
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15885
is in your PATH or set the PKG_CONFIG environment variable to the full
15886
path to pkg-config.
15888
Alternatively, you may set the environment variables LIGHTDM_CFLAGS
15889
and LIGHTDM_LIBS to avoid the need to call pkg-config.
15890
See the pkg-config man page for more details.
15892
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15893
See \`config.log' for more details" "$LINENO" 5; }
15895
LIGHTDM_CFLAGS=$pkg_cv_LIGHTDM_CFLAGS
15896
LIGHTDM_LIBS=$pkg_cv_LIGHTDM_LIBS
15897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15898
$as_echo "yes" >&6; }
15904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
15905
$as_echo_n "checking for GLIB... " >&6; }
15907
if test -n "$GLIB_CFLAGS"; then
15908
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
15909
elif test -n "$PKG_CONFIG"; then
15910
if test -n "$PKG_CONFIG" && \
15911
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15914
($PKG_CONFIG --exists --print-errors "
15918
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15919
test $ac_status = 0; }; then
15920
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "
15923
test "x$?" != "x0" && pkg_failed=yes
15930
if test -n "$GLIB_LIBS"; then
15931
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
15932
elif test -n "$PKG_CONFIG"; then
15933
if test -n "$PKG_CONFIG" && \
15934
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15937
($PKG_CONFIG --exists --print-errors "
15941
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15942
test $ac_status = 0; }; then
15943
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "
15946
test "x$?" != "x0" && pkg_failed=yes
15956
if test $pkg_failed = yes; then
15957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15958
$as_echo "no" >&6; }
15960
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15961
_pkg_short_errors_supported=yes
15963
_pkg_short_errors_supported=no
15965
if test $_pkg_short_errors_supported = yes; then
15966
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15970
GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15974
# Put the nasty error message in config.log where it belongs
15975
echo "$GLIB_PKG_ERRORS" >&5
15977
as_fn_error $? "Package requirements (
15983
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15984
installed software in a non-standard prefix.
15986
Alternatively, you may set the environment variables GLIB_CFLAGS
15987
and GLIB_LIBS to avoid the need to call pkg-config.
15988
See the pkg-config man page for more details." "$LINENO" 5
15989
elif test $pkg_failed = untried; then
15990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15991
$as_echo "no" >&6; }
15992
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15993
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15994
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15995
is in your PATH or set the PKG_CONFIG environment variable to the full
15996
path to pkg-config.
15998
Alternatively, you may set the environment variables GLIB_CFLAGS
15999
and GLIB_LIBS to avoid the need to call pkg-config.
16000
See the pkg-config man page for more details.
16002
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16003
See \`config.log' for more details" "$LINENO" 5; }
16005
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
16006
GLIB_LIBS=$pkg_cv_GLIB_LIBS
16007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16008
$as_echo "yes" >&6; }
16014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
16015
$as_echo_n "checking for GIO... " >&6; }
16017
if test -n "$GIO_CFLAGS"; then
16018
pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
16019
elif test -n "$PKG_CONFIG"; then
16020
if test -n "$PKG_CONFIG" && \
16021
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16024
($PKG_CONFIG --exists --print-errors "
16028
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16029
test $ac_status = 0; }; then
16030
pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "
16033
test "x$?" != "x0" && pkg_failed=yes
16040
if test -n "$GIO_LIBS"; then
16041
pkg_cv_GIO_LIBS="$GIO_LIBS"
16042
elif test -n "$PKG_CONFIG"; then
16043
if test -n "$PKG_CONFIG" && \
16044
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16047
($PKG_CONFIG --exists --print-errors "
16051
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16052
test $ac_status = 0; }; then
16053
pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "
16056
test "x$?" != "x0" && pkg_failed=yes
16066
if test $pkg_failed = yes; then
16067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16068
$as_echo "no" >&6; }
16070
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16071
_pkg_short_errors_supported=yes
16073
_pkg_short_errors_supported=no
16075
if test $_pkg_short_errors_supported = yes; then
16076
GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16080
GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16084
# Put the nasty error message in config.log where it belongs
16085
echo "$GIO_PKG_ERRORS" >&5
16087
as_fn_error $? "Package requirements (
16093
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16094
installed software in a non-standard prefix.
16096
Alternatively, you may set the environment variables GIO_CFLAGS
16097
and GIO_LIBS to avoid the need to call pkg-config.
16098
See the pkg-config man page for more details." "$LINENO" 5
16099
elif test $pkg_failed = untried; then
16100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16101
$as_echo "no" >&6; }
16102
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16103
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16104
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16105
is in your PATH or set the PKG_CONFIG environment variable to the full
16106
path to pkg-config.
16108
Alternatively, you may set the environment variables GIO_CFLAGS
16109
and GIO_LIBS to avoid the need to call pkg-config.
16110
See the pkg-config man page for more details.
16112
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16113
See \`config.log' for more details" "$LINENO" 5; }
16115
GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
16116
GIO_LIBS=$pkg_cv_GIO_LIBS
16117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16118
$as_echo "yes" >&6; }
16124
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO_UNIX" >&5
16125
$as_echo_n "checking for GIO_UNIX... " >&6; }
16127
if test -n "$GIO_UNIX_CFLAGS"; then
16128
pkg_cv_GIO_UNIX_CFLAGS="$GIO_UNIX_CFLAGS"
16129
elif test -n "$PKG_CONFIG"; then
16130
if test -n "$PKG_CONFIG" && \
16131
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16134
($PKG_CONFIG --exists --print-errors "
16138
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16139
test $ac_status = 0; }; then
16140
pkg_cv_GIO_UNIX_CFLAGS=`$PKG_CONFIG --cflags "
16143
test "x$?" != "x0" && pkg_failed=yes
16150
if test -n "$GIO_UNIX_LIBS"; then
16151
pkg_cv_GIO_UNIX_LIBS="$GIO_UNIX_LIBS"
16152
elif test -n "$PKG_CONFIG"; then
16153
if test -n "$PKG_CONFIG" && \
16154
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16157
($PKG_CONFIG --exists --print-errors "
16161
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16162
test $ac_status = 0; }; then
16163
pkg_cv_GIO_UNIX_LIBS=`$PKG_CONFIG --libs "
16166
test "x$?" != "x0" && pkg_failed=yes
16176
if test $pkg_failed = yes; then
16177
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16178
$as_echo "no" >&6; }
16180
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16181
_pkg_short_errors_supported=yes
16183
_pkg_short_errors_supported=no
16185
if test $_pkg_short_errors_supported = yes; then
16186
GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16190
GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16194
# Put the nasty error message in config.log where it belongs
16195
echo "$GIO_UNIX_PKG_ERRORS" >&5
16197
as_fn_error $? "Package requirements (
16201
$GIO_UNIX_PKG_ERRORS
16203
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16204
installed software in a non-standard prefix.
16206
Alternatively, you may set the environment variables GIO_UNIX_CFLAGS
16207
and GIO_UNIX_LIBS to avoid the need to call pkg-config.
16208
See the pkg-config man page for more details." "$LINENO" 5
16209
elif test $pkg_failed = untried; then
16210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16211
$as_echo "no" >&6; }
16212
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16213
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16214
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16215
is in your PATH or set the PKG_CONFIG environment variable to the full
16216
path to pkg-config.
16218
Alternatively, you may set the environment variables GIO_UNIX_CFLAGS
16219
and GIO_UNIX_LIBS to avoid the need to call pkg-config.
16220
See the pkg-config man page for more details.
16222
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16223
See \`config.log' for more details" "$LINENO" 5; }
16225
GIO_UNIX_CFLAGS=$pkg_cv_GIO_UNIX_CFLAGS
16226
GIO_UNIX_LIBS=$pkg_cv_GIO_UNIX_LIBS
16227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16228
$as_echo "yes" >&6; }
16234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
16235
$as_echo_n "checking for GOBJECT... " >&6; }
16237
if test -n "$GOBJECT_CFLAGS"; then
16238
pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
16239
elif test -n "$PKG_CONFIG"; then
16240
if test -n "$PKG_CONFIG" && \
16241
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16244
($PKG_CONFIG --exists --print-errors "
16248
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16249
test $ac_status = 0; }; then
16250
pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "
16253
test "x$?" != "x0" && pkg_failed=yes
16260
if test -n "$GOBJECT_LIBS"; then
16261
pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
16262
elif test -n "$PKG_CONFIG"; then
16263
if test -n "$PKG_CONFIG" && \
16264
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16267
($PKG_CONFIG --exists --print-errors "
16271
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16272
test $ac_status = 0; }; then
16273
pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "
16276
test "x$?" != "x0" && pkg_failed=yes
16286
if test $pkg_failed = yes; then
16287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16288
$as_echo "no" >&6; }
16290
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16291
_pkg_short_errors_supported=yes
16293
_pkg_short_errors_supported=no
16295
if test $_pkg_short_errors_supported = yes; then
16296
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16300
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16304
# Put the nasty error message in config.log where it belongs
16305
echo "$GOBJECT_PKG_ERRORS" >&5
16307
as_fn_error $? "Package requirements (
16311
$GOBJECT_PKG_ERRORS
16313
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16314
installed software in a non-standard prefix.
16316
Alternatively, you may set the environment variables GOBJECT_CFLAGS
16317
and GOBJECT_LIBS to avoid the need to call pkg-config.
16318
See the pkg-config man page for more details." "$LINENO" 5
16319
elif test $pkg_failed = untried; then
16320
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16321
$as_echo "no" >&6; }
16322
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16323
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16324
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16325
is in your PATH or set the PKG_CONFIG environment variable to the full
16326
path to pkg-config.
16328
Alternatively, you may set the environment variables GOBJECT_CFLAGS
16329
and GOBJECT_LIBS to avoid the need to call pkg-config.
16330
See the pkg-config man page for more details.
16332
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16333
See \`config.log' for more details" "$LINENO" 5; }
16335
GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
16336
GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
16337
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16338
$as_echo "yes" >&6; }
16344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
16345
$as_echo_n "checking for XCB... " >&6; }
16347
if test -n "$XCB_CFLAGS"; then
16348
pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
16349
elif test -n "$PKG_CONFIG"; then
16350
if test -n "$PKG_CONFIG" && \
16351
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16354
($PKG_CONFIG --exists --print-errors "
16358
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16359
test $ac_status = 0; }; then
16360
pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "
16363
test "x$?" != "x0" && pkg_failed=yes
16370
if test -n "$XCB_LIBS"; then
16371
pkg_cv_XCB_LIBS="$XCB_LIBS"
16372
elif test -n "$PKG_CONFIG"; then
16373
if test -n "$PKG_CONFIG" && \
16374
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16377
($PKG_CONFIG --exists --print-errors "
16381
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16382
test $ac_status = 0; }; then
16383
pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "
16386
test "x$?" != "x0" && pkg_failed=yes
16396
if test $pkg_failed = yes; then
16397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16398
$as_echo "no" >&6; }
16400
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16401
_pkg_short_errors_supported=yes
16403
_pkg_short_errors_supported=no
16405
if test $_pkg_short_errors_supported = yes; then
16406
XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16410
XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16414
# Put the nasty error message in config.log where it belongs
16415
echo "$XCB_PKG_ERRORS" >&5
16417
as_fn_error $? "Package requirements (
16423
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16424
installed software in a non-standard prefix.
16426
Alternatively, you may set the environment variables XCB_CFLAGS
16427
and XCB_LIBS to avoid the need to call pkg-config.
16428
See the pkg-config man page for more details." "$LINENO" 5
16429
elif test $pkg_failed = untried; then
16430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16431
$as_echo "no" >&6; }
16432
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16433
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16434
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16435
is in your PATH or set the PKG_CONFIG environment variable to the full
16436
path to pkg-config.
16438
Alternatively, you may set the environment variables XCB_CFLAGS
16439
and XCB_LIBS to avoid the need to call pkg-config.
16440
See the pkg-config man page for more details.
16442
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16443
See \`config.log' for more details" "$LINENO" 5; }
16445
XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
16446
XCB_LIBS=$pkg_cv_XCB_LIBS
16447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16448
$as_echo "yes" >&6; }
16452
# Check whether --enable-liblightdm-gobject was given.
16453
if test "${enable_liblightdm_gobject+set}" = set; then :
16454
enableval=$enable_liblightdm_gobject; enable_liblightdm_gobject=$enableval
16456
enable_liblightdm_gobject="auto"
16459
compile_liblightdm_gobject=no
16460
if test x"$enable_liblightdm_gobject" = "xauto"; then
16463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLIGHTDM_GOBJECT" >&5
16464
$as_echo_n "checking for LIBLIGHTDM_GOBJECT... " >&6; }
16466
if test -n "$LIBLIGHTDM_GOBJECT_CFLAGS"; then
16467
pkg_cv_LIBLIGHTDM_GOBJECT_CFLAGS="$LIBLIGHTDM_GOBJECT_CFLAGS"
16468
elif test -n "$PKG_CONFIG"; then
16469
if test -n "$PKG_CONFIG" && \
16470
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16478
($PKG_CONFIG --exists --print-errors "
16487
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16488
test $ac_status = 0; }; then
16489
pkg_cv_LIBLIGHTDM_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "
16497
test "x$?" != "x0" && pkg_failed=yes
16504
if test -n "$LIBLIGHTDM_GOBJECT_LIBS"; then
16505
pkg_cv_LIBLIGHTDM_GOBJECT_LIBS="$LIBLIGHTDM_GOBJECT_LIBS"
16506
elif test -n "$PKG_CONFIG"; then
16507
if test -n "$PKG_CONFIG" && \
16508
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16516
($PKG_CONFIG --exists --print-errors "
16525
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16526
test $ac_status = 0; }; then
16527
pkg_cv_LIBLIGHTDM_GOBJECT_LIBS=`$PKG_CONFIG --libs "
16535
test "x$?" != "x0" && pkg_failed=yes
16545
if test $pkg_failed = yes; then
16546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16547
$as_echo "no" >&6; }
16549
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16550
_pkg_short_errors_supported=yes
16552
_pkg_short_errors_supported=no
16554
if test $_pkg_short_errors_supported = yes; then
16555
LIBLIGHTDM_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16564
LIBLIGHTDM_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16573
# Put the nasty error message in config.log where it belongs
16574
echo "$LIBLIGHTDM_GOBJECT_PKG_ERRORS" >&5
16576
compile_liblightdm_gobject=no
16577
elif test $pkg_failed = untried; then
16578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16579
$as_echo "no" >&6; }
16580
compile_liblightdm_gobject=no
16582
LIBLIGHTDM_GOBJECT_CFLAGS=$pkg_cv_LIBLIGHTDM_GOBJECT_CFLAGS
16583
LIBLIGHTDM_GOBJECT_LIBS=$pkg_cv_LIBLIGHTDM_GOBJECT_LIBS
16584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16585
$as_echo "yes" >&6; }
16586
compile_liblightdm_gobject=yes
16588
elif test x"$enable_liblightdm_gobject" = "xyes"; then
16591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLIGHTDM_GOBJECT" >&5
16592
$as_echo_n "checking for LIBLIGHTDM_GOBJECT... " >&6; }
16594
if test -n "$LIBLIGHTDM_GOBJECT_CFLAGS"; then
16595
pkg_cv_LIBLIGHTDM_GOBJECT_CFLAGS="$LIBLIGHTDM_GOBJECT_CFLAGS"
16596
elif test -n "$PKG_CONFIG"; then
16597
if test -n "$PKG_CONFIG" && \
16598
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16606
($PKG_CONFIG --exists --print-errors "
16615
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16616
test $ac_status = 0; }; then
16617
pkg_cv_LIBLIGHTDM_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "
16625
test "x$?" != "x0" && pkg_failed=yes
16632
if test -n "$LIBLIGHTDM_GOBJECT_LIBS"; then
16633
pkg_cv_LIBLIGHTDM_GOBJECT_LIBS="$LIBLIGHTDM_GOBJECT_LIBS"
16634
elif test -n "$PKG_CONFIG"; then
16635
if test -n "$PKG_CONFIG" && \
16636
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16644
($PKG_CONFIG --exists --print-errors "
16653
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16654
test $ac_status = 0; }; then
16655
pkg_cv_LIBLIGHTDM_GOBJECT_LIBS=`$PKG_CONFIG --libs "
16663
test "x$?" != "x0" && pkg_failed=yes
16673
if test $pkg_failed = yes; then
16674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16675
$as_echo "no" >&6; }
16677
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16678
_pkg_short_errors_supported=yes
16680
_pkg_short_errors_supported=no
16682
if test $_pkg_short_errors_supported = yes; then
16683
LIBLIGHTDM_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16692
LIBLIGHTDM_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16701
# Put the nasty error message in config.log where it belongs
16702
echo "$LIBLIGHTDM_GOBJECT_PKG_ERRORS" >&5
16704
as_fn_error $? "Package requirements (
16713
$LIBLIGHTDM_GOBJECT_PKG_ERRORS
16715
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16716
installed software in a non-standard prefix.
16718
Alternatively, you may set the environment variables LIBLIGHTDM_GOBJECT_CFLAGS
16719
and LIBLIGHTDM_GOBJECT_LIBS to avoid the need to call pkg-config.
16720
See the pkg-config man page for more details." "$LINENO" 5
16721
elif test $pkg_failed = untried; then
16722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16723
$as_echo "no" >&6; }
16724
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16725
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16726
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16727
is in your PATH or set the PKG_CONFIG environment variable to the full
16728
path to pkg-config.
16730
Alternatively, you may set the environment variables LIBLIGHTDM_GOBJECT_CFLAGS
16731
and LIBLIGHTDM_GOBJECT_LIBS to avoid the need to call pkg-config.
16732
See the pkg-config man page for more details.
16734
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16735
See \`config.log' for more details" "$LINENO" 5; }
16737
LIBLIGHTDM_GOBJECT_CFLAGS=$pkg_cv_LIBLIGHTDM_GOBJECT_CFLAGS
16738
LIBLIGHTDM_GOBJECT_LIBS=$pkg_cv_LIBLIGHTDM_GOBJECT_LIBS
16739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16740
$as_echo "yes" >&6; }
16743
compile_liblightdm_gobject=yes
16745
if test x"$compile_liblightdm_gobject" != "xno"; then
16746
COMPILE_LIBLIGHTDM_GOBJECT_TRUE=
16747
COMPILE_LIBLIGHTDM_GOBJECT_FALSE='#'
16749
COMPILE_LIBLIGHTDM_GOBJECT_TRUE='#'
16750
COMPILE_LIBLIGHTDM_GOBJECT_FALSE=
16754
# Check whether --enable-liblightdm-qt was given.
16755
if test "${enable_liblightdm_qt+set}" = set; then :
16756
enableval=$enable_liblightdm_qt; enable_liblightdm_qt=$enableval
16758
enable_liblightdm_qt="auto"
16761
compile_liblightdm_qt=no
16762
if test x"$enable_liblightdm_qt" = "xauto"; then
16765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLIGHTDM_QT" >&5
16766
$as_echo_n "checking for LIBLIGHTDM_QT... " >&6; }
16768
if test -n "$LIBLIGHTDM_QT_CFLAGS"; then
16769
pkg_cv_LIBLIGHTDM_QT_CFLAGS="$LIBLIGHTDM_QT_CFLAGS"
16770
elif test -n "$PKG_CONFIG"; then
16771
if test -n "$PKG_CONFIG" && \
16772
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16777
($PKG_CONFIG --exists --print-errors "
16783
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16784
test $ac_status = 0; }; then
16785
pkg_cv_LIBLIGHTDM_QT_CFLAGS=`$PKG_CONFIG --cflags "
16790
test "x$?" != "x0" && pkg_failed=yes
16797
if test -n "$LIBLIGHTDM_QT_LIBS"; then
16798
pkg_cv_LIBLIGHTDM_QT_LIBS="$LIBLIGHTDM_QT_LIBS"
16799
elif test -n "$PKG_CONFIG"; then
16800
if test -n "$PKG_CONFIG" && \
16801
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16806
($PKG_CONFIG --exists --print-errors "
16812
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16813
test $ac_status = 0; }; then
16814
pkg_cv_LIBLIGHTDM_QT_LIBS=`$PKG_CONFIG --libs "
16819
test "x$?" != "x0" && pkg_failed=yes
16829
if test $pkg_failed = yes; then
16830
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16831
$as_echo "no" >&6; }
16833
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16834
_pkg_short_errors_supported=yes
16836
_pkg_short_errors_supported=no
16838
if test $_pkg_short_errors_supported = yes; then
16839
LIBLIGHTDM_QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16845
LIBLIGHTDM_QT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16851
# Put the nasty error message in config.log where it belongs
16852
echo "$LIBLIGHTDM_QT_PKG_ERRORS" >&5
16854
compile_liblightdm_qt=no
16855
elif test $pkg_failed = untried; then
16856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16857
$as_echo "no" >&6; }
16858
compile_liblightdm_qt=no
16860
LIBLIGHTDM_QT_CFLAGS=$pkg_cv_LIBLIGHTDM_QT_CFLAGS
16861
LIBLIGHTDM_QT_LIBS=$pkg_cv_LIBLIGHTDM_QT_LIBS
16862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16863
$as_echo "yes" >&6; }
16864
compile_liblightdm_qt=yes
16866
QT4_BINDIR=`$PKG_CONFIG Qt --variable bindir`
16867
if test -n "$ac_tool_prefix"; then
16868
for ac_prog in moc-qt4 moc
16870
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16871
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16873
$as_echo_n "checking for $ac_word... " >&6; }
16874
if ${ac_cv_prog_MOC+:} false; then :
16875
$as_echo_n "(cached) " >&6
16877
if test -n "$MOC"; then
16878
ac_cv_prog_MOC="$MOC" # Let the user override the test.
16880
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16881
as_dummy="$QT4_BINDIR:$PATH"
16882
for as_dir in $as_dummy
16885
test -z "$as_dir" && as_dir=.
16886
for ac_exec_ext in '' $ac_executable_extensions; do
16887
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16888
ac_cv_prog_MOC="$ac_tool_prefix$ac_prog"
16889
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16898
MOC=$ac_cv_prog_MOC
16899
if test -n "$MOC"; then
16900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
16901
$as_echo "$MOC" >&6; }
16903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16904
$as_echo "no" >&6; }
16908
test -n "$MOC" && break
16911
if test -z "$MOC"; then
16913
for ac_prog in moc-qt4 moc
16915
# Extract the first word of "$ac_prog", so it can be a program name with args.
16916
set dummy $ac_prog; ac_word=$2
16917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16918
$as_echo_n "checking for $ac_word... " >&6; }
16919
if ${ac_cv_prog_ac_ct_MOC+:} false; then :
16920
$as_echo_n "(cached) " >&6
16922
if test -n "$ac_ct_MOC"; then
16923
ac_cv_prog_ac_ct_MOC="$ac_ct_MOC" # Let the user override the test.
16925
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16926
as_dummy="$QT4_BINDIR:$PATH"
16927
for as_dir in $as_dummy
16930
test -z "$as_dir" && as_dir=.
16931
for ac_exec_ext in '' $ac_executable_extensions; do
16932
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16933
ac_cv_prog_ac_ct_MOC="$ac_prog"
16934
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16943
ac_ct_MOC=$ac_cv_prog_ac_ct_MOC
16944
if test -n "$ac_ct_MOC"; then
16945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MOC" >&5
16946
$as_echo "$ac_ct_MOC" >&6; }
16948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16949
$as_echo "no" >&6; }
16953
test -n "$ac_ct_MOC" && break
16956
if test "x$ac_ct_MOC" = x; then
16959
case $cross_compiling:$ac_tool_warned in
16961
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16962
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16963
ac_tool_warned=yes ;;
16969
elif test x"$enable_liblightdm_qt" = "xyes"; then
16972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLIGHTDM_QT" >&5
16973
$as_echo_n "checking for LIBLIGHTDM_QT... " >&6; }
16975
if test -n "$LIBLIGHTDM_QT_CFLAGS"; then
16976
pkg_cv_LIBLIGHTDM_QT_CFLAGS="$LIBLIGHTDM_QT_CFLAGS"
16977
elif test -n "$PKG_CONFIG"; then
16978
if test -n "$PKG_CONFIG" && \
16979
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16983
($PKG_CONFIG --exists --print-errors "
16988
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16989
test $ac_status = 0; }; then
16990
pkg_cv_LIBLIGHTDM_QT_CFLAGS=`$PKG_CONFIG --cflags "
16994
test "x$?" != "x0" && pkg_failed=yes
17001
if test -n "$LIBLIGHTDM_QT_LIBS"; then
17002
pkg_cv_LIBLIGHTDM_QT_LIBS="$LIBLIGHTDM_QT_LIBS"
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 \"
17009
($PKG_CONFIG --exists --print-errors "
17014
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17015
test $ac_status = 0; }; then
17016
pkg_cv_LIBLIGHTDM_QT_LIBS=`$PKG_CONFIG --libs "
17020
test "x$?" != "x0" && pkg_failed=yes
17030
if test $pkg_failed = yes; then
17031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17032
$as_echo "no" >&6; }
17034
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17035
_pkg_short_errors_supported=yes
17037
_pkg_short_errors_supported=no
17039
if test $_pkg_short_errors_supported = yes; then
17040
LIBLIGHTDM_QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
17045
LIBLIGHTDM_QT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
17050
# Put the nasty error message in config.log where it belongs
17051
echo "$LIBLIGHTDM_QT_PKG_ERRORS" >&5
17053
as_fn_error $? "Package requirements (
17058
$LIBLIGHTDM_QT_PKG_ERRORS
17060
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17061
installed software in a non-standard prefix.
17063
Alternatively, you may set the environment variables LIBLIGHTDM_QT_CFLAGS
17064
and LIBLIGHTDM_QT_LIBS to avoid the need to call pkg-config.
17065
See the pkg-config man page for more details." "$LINENO" 5
17066
elif test $pkg_failed = untried; then
17067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17068
$as_echo "no" >&6; }
17069
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17070
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17071
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17072
is in your PATH or set the PKG_CONFIG environment variable to the full
17073
path to pkg-config.
17075
Alternatively, you may set the environment variables LIBLIGHTDM_QT_CFLAGS
17076
and LIBLIGHTDM_QT_LIBS to avoid the need to call pkg-config.
17077
See the pkg-config man page for more details.
17079
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17080
See \`config.log' for more details" "$LINENO" 5; }
17082
LIBLIGHTDM_QT_CFLAGS=$pkg_cv_LIBLIGHTDM_QT_CFLAGS
17083
LIBLIGHTDM_QT_LIBS=$pkg_cv_LIBLIGHTDM_QT_LIBS
17084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17085
$as_echo "yes" >&6; }
17088
QT4_BINDIR=`$PKG_CONFIG Qt --variable bindir`
17089
if test -n "$ac_tool_prefix"; then
17090
for ac_prog in moc-qt4 moc
17092
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17093
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17095
$as_echo_n "checking for $ac_word... " >&6; }
17096
if ${ac_cv_prog_MOC+:} false; then :
17097
$as_echo_n "(cached) " >&6
17099
if test -n "$MOC"; then
17100
ac_cv_prog_MOC="$MOC" # Let the user override the test.
17102
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17103
as_dummy="$QT4_BINDIR:$PATH"
17104
for as_dir in $as_dummy
17107
test -z "$as_dir" && as_dir=.
17108
for ac_exec_ext in '' $ac_executable_extensions; do
17109
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17110
ac_cv_prog_MOC="$ac_tool_prefix$ac_prog"
17111
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17120
MOC=$ac_cv_prog_MOC
17121
if test -n "$MOC"; then
17122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
17123
$as_echo "$MOC" >&6; }
17125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17126
$as_echo "no" >&6; }
17130
test -n "$MOC" && break
17133
if test -z "$MOC"; then
17135
for ac_prog in moc-qt4 moc
17137
# Extract the first word of "$ac_prog", so it can be a program name with args.
17138
set dummy $ac_prog; ac_word=$2
17139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17140
$as_echo_n "checking for $ac_word... " >&6; }
17141
if ${ac_cv_prog_ac_ct_MOC+:} false; then :
17142
$as_echo_n "(cached) " >&6
17144
if test -n "$ac_ct_MOC"; then
17145
ac_cv_prog_ac_ct_MOC="$ac_ct_MOC" # Let the user override the test.
17147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17148
as_dummy="$QT4_BINDIR:$PATH"
17149
for as_dir in $as_dummy
17152
test -z "$as_dir" && as_dir=.
17153
for ac_exec_ext in '' $ac_executable_extensions; do
17154
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17155
ac_cv_prog_ac_ct_MOC="$ac_prog"
17156
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17165
ac_ct_MOC=$ac_cv_prog_ac_ct_MOC
17166
if test -n "$ac_ct_MOC"; then
17167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MOC" >&5
17168
$as_echo "$ac_ct_MOC" >&6; }
17170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17171
$as_echo "no" >&6; }
17175
test -n "$ac_ct_MOC" && break
17178
if test "x$ac_ct_MOC" = x; then
17181
case $cross_compiling:$ac_tool_warned in
17183
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17184
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17185
ac_tool_warned=yes ;;
17191
compile_liblightdm_qt=yes
17193
if test x"$compile_liblightdm_qt" != "xno"; then
17194
COMPILE_LIBLIGHTDM_QT_TRUE=
17195
COMPILE_LIBLIGHTDM_QT_FALSE='#'
17197
COMPILE_LIBLIGHTDM_QT_TRUE='#'
17198
COMPILE_LIBLIGHTDM_QT_FALSE=
17202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build tests" >&5
17203
$as_echo_n "checking whether to build tests... " >&6; }
17204
# Check whether --enable-tests was given.
17205
if test "${enable_tests+set}" = set; then :
17206
enableval=$enable_tests;
17211
if test x"$enable_tests" != "xno"; then
17212
COMPILE_TESTS_TRUE=
17213
COMPILE_TESTS_FALSE='#'
17215
COMPILE_TESTS_TRUE='#'
17216
COMPILE_TESTS_FALSE=
17220
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
17221
set dummy glib-genmarshal; ac_word=$2
17222
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17223
$as_echo_n "checking for $ac_word... " >&6; }
17224
if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
17225
$as_echo_n "(cached) " >&6
17227
case $GLIB_GENMARSHAL in
17229
ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
17232
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17233
for as_dir in $PATH
17236
test -z "$as_dir" && as_dir=.
17237
for ac_exec_ext in '' $ac_executable_extensions; do
17238
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17239
ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
17240
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17250
GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
17251
if test -n "$GLIB_GENMARSHAL"; then
17252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
17253
$as_echo "$GLIB_GENMARSHAL" >&6; }
17255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17256
$as_echo "no" >&6; }
17262
USER_SESSION=default
17264
# Check whether --with-user-session was given.
17265
if test "${with_user_session+set}" = set; then :
17266
withval=$with_user_session; if test x$withval != x; then
17267
USER_SESSION="$withval"
17274
cat >>confdefs.h <<_ACEOF
17275
#define USER_SESSION "$USER_SESSION"
17279
GREETER_SESSION=default
17281
# Check whether --with-greeter-session was given.
17282
if test "${with_greeter_session+set}" = set; then :
17283
withval=$with_greeter_session; if test x$withval != x; then
17284
GREETER_SESSION="$withval"
17291
cat >>confdefs.h <<_ACEOF
17292
#define GREETER_SESSION "$GREETER_SESSION"
17296
GREETER_USER=lightdm
17298
# Check whether --with-greeter-user was given.
17299
if test "${with_greeter_user+set}" = set; then :
17300
withval=$with_greeter_user; if test x$withval != x; then
17301
GREETER_USER="$withval"
17308
cat >>confdefs.h <<_ACEOF
17309
#define GREETER_USER "$GREETER_USER"
17317
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
17318
set dummy gtkdoc-check; ac_word=$2
17319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17320
$as_echo_n "checking for $ac_word... " >&6; }
17321
if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
17322
$as_echo_n "(cached) " >&6
17324
case $GTKDOC_CHECK in
17326
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
17329
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17330
for as_dir in $PATH
17333
test -z "$as_dir" && as_dir=.
17334
for ac_exec_ext in '' $ac_executable_extensions; do
17335
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17336
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
17337
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17347
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
17348
if test -n "$GTKDOC_CHECK"; then
17349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
17350
$as_echo "$GTKDOC_CHECK" >&6; }
17352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17353
$as_echo "no" >&6; }
17357
for ac_prog in gtkdoc-rebase
17359
# Extract the first word of "$ac_prog", so it can be a program name with args.
17360
set dummy $ac_prog; ac_word=$2
17361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17362
$as_echo_n "checking for $ac_word... " >&6; }
17363
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
17364
$as_echo_n "(cached) " >&6
17366
case $GTKDOC_REBASE in
17368
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
17371
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17372
for as_dir in $PATH
17375
test -z "$as_dir" && as_dir=.
17376
for ac_exec_ext in '' $ac_executable_extensions; do
17377
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17378
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
17379
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17389
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
17390
if test -n "$GTKDOC_REBASE"; then
17391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
17392
$as_echo "$GTKDOC_REBASE" >&6; }
17394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17395
$as_echo "no" >&6; }
17399
test -n "$GTKDOC_REBASE" && break
17401
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
17403
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
17404
set dummy gtkdoc-mkpdf; ac_word=$2
17405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17406
$as_echo_n "checking for $ac_word... " >&6; }
17407
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
17408
$as_echo_n "(cached) " >&6
17410
case $GTKDOC_MKPDF in
17412
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
17415
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17416
for as_dir in $PATH
17419
test -z "$as_dir" && as_dir=.
17420
for ac_exec_ext in '' $ac_executable_extensions; do
17421
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17422
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
17423
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17433
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
17434
if test -n "$GTKDOC_MKPDF"; then
17435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
17436
$as_echo "$GTKDOC_MKPDF" >&6; }
17438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17439
$as_echo "no" >&6; }
17445
# Check whether --with-html-dir was given.
17446
if test "${with_html_dir+set}" = set; then :
17447
withval=$with_html_dir;
17449
with_html_dir='${datadir}/gtk-doc/html'
17452
HTML_DIR="$with_html_dir"
17455
# Check whether --enable-gtk-doc was given.
17456
if test "${enable_gtk_doc+set}" = set; then :
17457
enableval=$enable_gtk_doc;
17463
if test x$enable_gtk_doc = xyes; then
17464
if test -n "$PKG_CONFIG" && \
17465
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc\""; } >&5
17466
($PKG_CONFIG --exists --print-errors "gtk-doc") 2>&5
17468
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17469
test $ac_status = 0; }; then
17472
as_fn_error $? "gtk-doc not installed and --enable-gtk-doc requested" "$LINENO" 5
17474
if test "x$PACKAGE_NAME" != "xglib"; then
17477
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
17478
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
17480
if test -n "$GTKDOC_DEPS_CFLAGS"; then
17481
pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
17482
elif test -n "$PKG_CONFIG"; then
17483
if test -n "$PKG_CONFIG" && \
17484
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
17485
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
17487
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17488
test $ac_status = 0; }; then
17489
pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
17490
test "x$?" != "x0" && pkg_failed=yes
17497
if test -n "$GTKDOC_DEPS_LIBS"; then
17498
pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
17499
elif test -n "$PKG_CONFIG"; then
17500
if test -n "$PKG_CONFIG" && \
17501
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
17502
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
17504
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17505
test $ac_status = 0; }; then
17506
pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
17507
test "x$?" != "x0" && pkg_failed=yes
17517
if test $pkg_failed = yes; then
17518
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17519
$as_echo "no" >&6; }
17521
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17522
_pkg_short_errors_supported=yes
17524
_pkg_short_errors_supported=no
17526
if test $_pkg_short_errors_supported = yes; then
17527
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
17529
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
17531
# Put the nasty error message in config.log where it belongs
17532
echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
17534
as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
17536
$GTKDOC_DEPS_PKG_ERRORS
17538
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17539
installed software in a non-standard prefix.
17541
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
17542
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
17543
See the pkg-config man page for more details." "$LINENO" 5
17544
elif test $pkg_failed = untried; then
17545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17546
$as_echo "no" >&6; }
17547
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17548
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17549
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17550
is in your PATH or set the PKG_CONFIG environment variable to the full
17551
path to pkg-config.
17553
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
17554
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
17555
See the pkg-config man page for more details.
17557
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17558
See \`config.log' for more details" "$LINENO" 5; }
17560
GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
17561
GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
17562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17563
$as_echo "yes" >&6; }
17569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
17570
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
17571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
17572
$as_echo "$enable_gtk_doc" >&6; }
17574
# Check whether --enable-gtk-doc-html was given.
17575
if test "${enable_gtk_doc_html+set}" = set; then :
17576
enableval=$enable_gtk_doc_html;
17578
enable_gtk_doc_html=yes
17581
# Check whether --enable-gtk-doc-pdf was given.
17582
if test "${enable_gtk_doc_pdf+set}" = set; then :
17583
enableval=$enable_gtk_doc_pdf;
17585
enable_gtk_doc_pdf=no
17589
if test -z "$GTKDOC_MKPDF"; then
17590
enable_gtk_doc_pdf=no
17594
if test x$enable_gtk_doc = xyes; then
17595
ENABLE_GTK_DOC_TRUE=
17596
ENABLE_GTK_DOC_FALSE='#'
17598
ENABLE_GTK_DOC_TRUE='#'
17599
ENABLE_GTK_DOC_FALSE=
17602
if test x$enable_gtk_doc_html = xyes; then
17603
GTK_DOC_BUILD_HTML_TRUE=
17604
GTK_DOC_BUILD_HTML_FALSE='#'
17606
GTK_DOC_BUILD_HTML_TRUE='#'
17607
GTK_DOC_BUILD_HTML_FALSE=
17610
if test x$enable_gtk_doc_pdf = xyes; then
17611
GTK_DOC_BUILD_PDF_TRUE=
17612
GTK_DOC_BUILD_PDF_FALSE='#'
17614
GTK_DOC_BUILD_PDF_TRUE='#'
17615
GTK_DOC_BUILD_PDF_FALSE=
17618
if test -n "$LIBTOOL"; then
17619
GTK_DOC_USE_LIBTOOL_TRUE=
17620
GTK_DOC_USE_LIBTOOL_FALSE='#'
17622
GTK_DOC_USE_LIBTOOL_TRUE='#'
17623
GTK_DOC_USE_LIBTOOL_FALSE=
17626
if test -n "$GTKDOC_REBASE"; then
17627
GTK_DOC_USE_REBASE_TRUE=
17628
GTK_DOC_USE_REBASE_FALSE='#'
17630
GTK_DOC_USE_REBASE_TRUE='#'
17631
GTK_DOC_USE_REBASE_FALSE=
17641
# Check whether --with-help-dir was given.
17642
if test "${with_help_dir+set}" = set; then :
17643
withval=$with_help_dir;
17645
with_help_dir='${datadir}/help'
17648
HELP_DIR="$with_help_dir"
17652
# Extract the first word of "itstool", so it can be a program name with args.
17653
set dummy itstool; ac_word=$2
17654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17655
$as_echo_n "checking for $ac_word... " >&6; }
17656
if ${ac_cv_prog_ITSTOOL+:} false; then :
17657
$as_echo_n "(cached) " >&6
17659
if test -n "$ITSTOOL"; then
17660
ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
17662
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17663
for as_dir in $PATH
17666
test -z "$as_dir" && as_dir=.
17667
for ac_exec_ext in '' $ac_executable_extensions; do
17668
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17669
ac_cv_prog_ITSTOOL="itstool"
17670
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17679
ITSTOOL=$ac_cv_prog_ITSTOOL
17680
if test -n "$ITSTOOL"; then
17681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5
17682
$as_echo "$ITSTOOL" >&6; }
17684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17685
$as_echo "no" >&6; }
17689
if test x"$ITSTOOL" = x; then
17690
as_fn_error $? "itstool not found" "$LINENO" 5
17694
# Extract the first word of "xmllint", so it can be a program name with args.
17695
set dummy xmllint; ac_word=$2
17696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17697
$as_echo_n "checking for $ac_word... " >&6; }
17698
if ${ac_cv_prog_XMLLINT+:} false; then :
17699
$as_echo_n "(cached) " >&6
17701
if test -n "$XMLLINT"; then
17702
ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
17704
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17705
for as_dir in $PATH
17708
test -z "$as_dir" && as_dir=.
17709
for ac_exec_ext in '' $ac_executable_extensions; do
17710
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17711
ac_cv_prog_XMLLINT="xmllint"
17712
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17721
XMLLINT=$ac_cv_prog_XMLLINT
17722
if test -n "$XMLLINT"; then
17723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
17724
$as_echo "$XMLLINT" >&6; }
17726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17727
$as_echo "no" >&6; }
17731
if test x"$XMLLINT" = x; then
17732
as_fn_error $? "xmllint not found" "$LINENO" 5
17743
_HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
17744
_HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
17745
_HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
17746
_HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
17747
_HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
17748
_HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
17749
_HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
17750
_HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
17751
_HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
17753
_HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
17754
_HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
17755
_HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
17756
_HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V))
17757
_HELP_LC_VERBOSE_0 = @echo " GEN "$(dir $@);
17759
all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
17762
pot: $(_HELP_POTFILE)
17763
$(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
17764
$(AM_V_GEN)$(ITSTOOL) -o "$@" $(_HELP_C_FILES)
17767
repo: $(_HELP_POTFILE)
17768
$(AM_V_at)for po in $(_HELP_POFILES); do \
17769
if test "x$(_HELP_V)" = "x0"; then echo " GEN $${po}"; fi; \
17770
msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \
17774
$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
17775
$(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi
17776
$(AM_V_GEN)if ! test -f "$@"; then \
17777
(cd "$(dir $@)" && \
17778
$(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
17779
mv "$(notdir $@).tmp" "$(notdir $@)"); \
17781
(cd "$(dir $@)" && \
17782
$(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
17783
msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \
17784
rm "$(notdir $@).tmp"); \
17787
$(_HELP_MOFILES): %.mo: %.po
17788
$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
17789
$(AM_V_GEN)msgfmt -o "$@" "$<"
17791
$(_HELP_LC_FILES): $(_HELP_LINGUAS)
17792
$(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
17793
$(_HELP_LC_STAMPS): %.stamp: %.mo
17794
$(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
17795
$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
17796
$(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
17797
mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
17798
if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
17799
(cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
17803
mostlyclean-am: $(if $(HELP_ID),clean-help)
17805
rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
17808
EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
17809
EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp)
17810
EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po)
17811
EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
17813
distdir: distdir-help-files
17814
distdir-help-files:
17815
@for lc in C $(HELP_LINGUAS); do \
17816
$(MKDIR_P) "$(distdir)/$$lc"; \
17817
for file in $(HELP_FILES); do \
17818
if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
17819
cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \
17826
for lc in C $(_HELP_LINGUAS); do \
17827
if test -d "$$lc"; \
17832
xmlpath="$$lc:$(srcdir)/$$lc"; \
17834
for page in $(HELP_FILES); do \
17835
echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
17836
$(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
17841
.PHONY: install-help
17842
install-data-am: $(if $(HELP_ID),install-help)
17844
@for lc in C $(_HELP_LINGUAS); do \
17845
$(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
17847
@for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
17848
if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \
17849
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17850
if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
17851
echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \
17852
$(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \
17854
@for f in $(_HELP_C_EXTRA); do \
17855
lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
17856
if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
17857
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17858
if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
17859
echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \
17860
$(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \
17862
@for f in $(HELP_MEDIA); do \
17863
for lc in C $(_HELP_LINGUAS); do \
17864
if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \
17865
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17866
mdir=`dirname "$$f"`; \
17867
if test "x$mdir" = "x."; then mdir=""; fi; \
17868
if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \
17869
if test -f "$$d$$lc/$$f"; then \
17870
echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
17871
$(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
17872
elif test "x$$lc" != "xC"; then \
17873
echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
17874
$(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
17879
.PHONY: uninstall-help
17880
uninstall-am: $(if $(HELP_ID),uninstall-help)
17882
for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
17883
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17884
echo "rm -f $$helpdir`basename $$f`"; \
17885
rm -f "$$helpdir`basename $$f`"; \
17887
@for f in $(_HELP_C_EXTRA); do \
17888
lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
17889
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17890
echo "rm -f $$helpdir`basename $$f`"; \
17891
rm -f "$$helpdir`basename $$f`"; \
17893
@for f in $(HELP_MEDIA); do \
17894
for lc in C $(_HELP_LINGUAS); do \
17895
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
17896
echo "rm -f $$helpdir$$f"; \
17897
rm -f "$$helpdir$$f"; \
17907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
17908
$as_echo_n "checking whether NLS is requested... " >&6; }
17909
# Check whether --enable-nls was given.
17910
if test "${enable_nls+set}" = set; then :
17911
enableval=$enable_nls; USE_NLS=$enableval
17916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17917
$as_echo "$USE_NLS" >&6; }
17922
case "$am__api_version" in
17924
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
17930
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
17931
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
17932
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
17933
if test -n "0.35.0"; then
17934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
17935
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
17936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
17937
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
17938
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
17939
as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
17942
# Extract the first word of "intltool-update", so it can be a program name with args.
17943
set dummy intltool-update; ac_word=$2
17944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17945
$as_echo_n "checking for $ac_word... " >&6; }
17946
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
17947
$as_echo_n "(cached) " >&6
17949
case $INTLTOOL_UPDATE in
17951
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
17954
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17955
for as_dir in $PATH
17958
test -z "$as_dir" && as_dir=.
17959
for ac_exec_ext in '' $ac_executable_extensions; do
17960
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17961
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
17962
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17972
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
17973
if test -n "$INTLTOOL_UPDATE"; then
17974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
17975
$as_echo "$INTLTOOL_UPDATE" >&6; }
17977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17978
$as_echo "no" >&6; }
17982
# Extract the first word of "intltool-merge", so it can be a program name with args.
17983
set dummy intltool-merge; ac_word=$2
17984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17985
$as_echo_n "checking for $ac_word... " >&6; }
17986
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
17987
$as_echo_n "(cached) " >&6
17989
case $INTLTOOL_MERGE in
17991
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
17994
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17995
for as_dir in $PATH
17998
test -z "$as_dir" && as_dir=.
17999
for ac_exec_ext in '' $ac_executable_extensions; do
18000
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18001
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
18002
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18012
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
18013
if test -n "$INTLTOOL_MERGE"; then
18014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
18015
$as_echo "$INTLTOOL_MERGE" >&6; }
18017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18018
$as_echo "no" >&6; }
18022
# Extract the first word of "intltool-extract", so it can be a program name with args.
18023
set dummy intltool-extract; ac_word=$2
18024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18025
$as_echo_n "checking for $ac_word... " >&6; }
18026
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
18027
$as_echo_n "(cached) " >&6
18029
case $INTLTOOL_EXTRACT in
18031
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
18034
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18035
for as_dir in $PATH
18038
test -z "$as_dir" && as_dir=.
18039
for ac_exec_ext in '' $ac_executable_extensions; do
18040
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18041
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
18042
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18052
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
18053
if test -n "$INTLTOOL_EXTRACT"; then
18054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
18055
$as_echo "$INTLTOOL_EXTRACT" >&6; }
18057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18058
$as_echo "no" >&6; }
18062
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
18063
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
18066
if test -z "$AM_DEFAULT_VERBOSITY"; then
18067
AM_DEFAULT_VERBOSITY=1
18071
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
18072
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
18073
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
18078
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
18079
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
18080
intltool__v_merge_options_0='-q'
18085
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18086
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18087
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18088
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18089
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
18090
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18091
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18092
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18093
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18094
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18095
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18096
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
18097
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
18099
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
18101
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18102
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18103
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18104
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18105
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18106
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18107
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18205
# Check the gettext tools to make sure they are GNU
18206
# Extract the first word of "xgettext", so it can be a program name with args.
18207
set dummy xgettext; ac_word=$2
18208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18209
$as_echo_n "checking for $ac_word... " >&6; }
18210
if ${ac_cv_path_XGETTEXT+:} false; then :
18211
$as_echo_n "(cached) " >&6
18215
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
18218
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18219
for as_dir in $PATH
18222
test -z "$as_dir" && as_dir=.
18223
for ac_exec_ext in '' $ac_executable_extensions; do
18224
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18225
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
18226
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18236
XGETTEXT=$ac_cv_path_XGETTEXT
18237
if test -n "$XGETTEXT"; then
18238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
18239
$as_echo "$XGETTEXT" >&6; }
18241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18242
$as_echo "no" >&6; }
18246
# Extract the first word of "msgmerge", so it can be a program name with args.
18247
set dummy msgmerge; ac_word=$2
18248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18249
$as_echo_n "checking for $ac_word... " >&6; }
18250
if ${ac_cv_path_MSGMERGE+:} false; then :
18251
$as_echo_n "(cached) " >&6
18255
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
18258
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18259
for as_dir in $PATH
18262
test -z "$as_dir" && as_dir=.
18263
for ac_exec_ext in '' $ac_executable_extensions; do
18264
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18265
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
18266
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18276
MSGMERGE=$ac_cv_path_MSGMERGE
18277
if test -n "$MSGMERGE"; then
18278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
18279
$as_echo "$MSGMERGE" >&6; }
18281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18282
$as_echo "no" >&6; }
18286
# Extract the first word of "msgfmt", so it can be a program name with args.
18287
set dummy msgfmt; ac_word=$2
18288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18289
$as_echo_n "checking for $ac_word... " >&6; }
18290
if ${ac_cv_path_MSGFMT+:} false; then :
18291
$as_echo_n "(cached) " >&6
18295
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
18298
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18299
for as_dir in $PATH
18302
test -z "$as_dir" && as_dir=.
18303
for ac_exec_ext in '' $ac_executable_extensions; do
18304
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18305
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
18306
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18316
MSGFMT=$ac_cv_path_MSGFMT
18317
if test -n "$MSGFMT"; then
18318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
18319
$as_echo "$MSGFMT" >&6; }
18321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18322
$as_echo "no" >&6; }
18326
# Extract the first word of "gmsgfmt", so it can be a program name with args.
18327
set dummy gmsgfmt; ac_word=$2
18328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18329
$as_echo_n "checking for $ac_word... " >&6; }
18330
if ${ac_cv_path_GMSGFMT+:} false; then :
18331
$as_echo_n "(cached) " >&6
18335
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
18338
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18339
for as_dir in $PATH
18342
test -z "$as_dir" && as_dir=.
18343
for ac_exec_ext in '' $ac_executable_extensions; do
18344
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18345
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
18346
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18353
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
18357
GMSGFMT=$ac_cv_path_GMSGFMT
18358
if test -n "$GMSGFMT"; then
18359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
18360
$as_echo "$GMSGFMT" >&6; }
18362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18363
$as_echo "no" >&6; }
18367
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
18368
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
18370
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
18371
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
18372
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
18373
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
18374
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
18377
# Extract the first word of "perl", so it can be a program name with args.
18378
set dummy perl; ac_word=$2
18379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18380
$as_echo_n "checking for $ac_word... " >&6; }
18381
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
18382
$as_echo_n "(cached) " >&6
18384
case $INTLTOOL_PERL in
18386
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
18389
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18390
for as_dir in $PATH
18393
test -z "$as_dir" && as_dir=.
18394
for ac_exec_ext in '' $ac_executable_extensions; do
18395
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18396
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
18397
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18407
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
18408
if test -n "$INTLTOOL_PERL"; then
18409
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
18410
$as_echo "$INTLTOOL_PERL" >&6; }
18412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18413
$as_echo "no" >&6; }
18417
if test -z "$INTLTOOL_PERL"; then
18418
as_fn_error $? "perl not found" "$LINENO" 5
18420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
18421
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
18422
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
18423
if test $? -ne 0; then
18424
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
18426
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
18427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
18428
$as_echo "$IT_PERL_VERSION" >&6; }
18430
if test "x" != "xno-xml"; then
18431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
18432
$as_echo_n "checking for XML::Parser... " >&6; }
18433
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
18434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18435
$as_echo "ok" >&6; }
18437
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
18441
# Substitute ALL_LINGUAS so we can use it in po/Makefile
18444
# Set DATADIRNAME correctly if it is not set yet
18445
# (copied from glib-gettext.m4)
18446
if test -z "$DATADIRNAME"; then
18447
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18448
/* end confdefs.h. */
18453
extern int _nl_msg_cat_cntr;
18454
return _nl_msg_cat_cntr
18459
if ac_fn_c_try_link "$LINENO"; then :
18464
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18465
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
18477
rm -f core conftest.err conftest.$ac_objext \
18478
conftest$ac_exeext conftest.$ac_ext
18485
GETTEXT_PACKAGE=lightdm
18488
cat >>confdefs.h <<_ACEOF
18489
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
18494
ac_config_files="$ac_config_files Makefile data/Makefile data/init/Makefile doc/Makefile help/Makefile liblightdm-gobject/liblightdm-gobject-1.pc liblightdm-gobject/Makefile liblightdm-qt/Makefile liblightdm-qt/liblightdm-qt-2.pc po/Makefile.in src/Makefile tests/Makefile tests/src/Makefile utils/Makefile"
18496
cat >confcache <<\_ACEOF
18497
# This file is a shell script that caches the results of configure
18498
# tests run on this system so they can be shared between configure
18499
# scripts and configure runs, see configure's option --config-cache.
18500
# It is not useful on other systems. If it contains results you don't
18501
# want to keep, you may remove or edit it.
18503
# config.status only pays attention to the cache file if you give it
18504
# the --recheck option to rerun configure.
18506
# `ac_cv_env_foo' variables (set or unset) will be overridden when
18507
# loading this file, other *unset* `ac_cv_foo' will be assigned the
18508
# following values.
18512
# The following way of writing the cache mishandles newlines in values,
18513
# but we know of no workaround that is simple, portable, and efficient.
18514
# So, we kill variables containing newlines.
18515
# Ultrix sh set writes to stderr and can't be redirected directly,
18516
# and sets the high bit in the cache file unless we assign to the vars.
18518
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18519
eval ac_val=\$$ac_var
18523
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18524
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18527
_ | IFS | as_nl) ;; #(
18528
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18529
*) { eval $ac_var=; unset $ac_var;} ;;
18535
case $as_nl`(ac_space=' '; set) 2>&1` in #(
18536
*${as_nl}ac_space=\ *)
18537
# `set' does not quote correctly, so add quotes: double-quote
18538
# substitution turns \\\\ into \\, and sed turns \\ into \.
18541
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18544
# `set' quotes correctly as required by POSIX, so do not add quotes.
18545
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18554
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18556
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18558
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18559
if test -w "$cache_file"; then
18560
if test "x$cache_file" != "x/dev/null"; then
18561
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18562
$as_echo "$as_me: updating cache $cache_file" >&6;}
18563
if test ! -f "$cache_file" || test -h "$cache_file"; then
18564
cat confcache >"$cache_file"
18566
case $cache_file in #(
18568
mv -f confcache "$cache_file"$$ &&
18569
mv -f "$cache_file"$$ "$cache_file" ;; #(
18571
mv -f confcache "$cache_file" ;;
18576
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18577
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18582
test "x$prefix" = xNONE && prefix=$ac_default_prefix
18583
# Let make expand exec_prefix.
18584
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18586
DEFS=-DHAVE_CONFIG_H
18591
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18592
# 1. Remove the extension, and $U if already installed.
18593
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18594
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18595
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18596
# will be set to the directory where LIBOBJS objects are built.
18597
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18598
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18600
LIBOBJS=$ac_libobjs
18602
LTLIBOBJS=$ac_ltlibobjs
18605
if test -n "$EXEEXT"; then
18607
am__EXEEXT_FALSE='#'
18609
am__EXEEXT_TRUE='#'
18613
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18614
as_fn_error $? "conditional \"AMDEP\" was never defined.
18615
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18617
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18618
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18619
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18621
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18622
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
18623
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18625
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18626
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
18627
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18629
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
18630
as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
18631
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18633
if test -z "${COMPILE_LIBLIGHTDM_GOBJECT_TRUE}" && test -z "${COMPILE_LIBLIGHTDM_GOBJECT_FALSE}"; then
18634
as_fn_error $? "conditional \"COMPILE_LIBLIGHTDM_GOBJECT\" was never defined.
18635
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18637
if test -z "${COMPILE_LIBLIGHTDM_QT_TRUE}" && test -z "${COMPILE_LIBLIGHTDM_QT_FALSE}"; then
18638
as_fn_error $? "conditional \"COMPILE_LIBLIGHTDM_QT\" was never defined.
18639
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18641
if test -z "${COMPILE_TESTS_TRUE}" && test -z "${COMPILE_TESTS_FALSE}"; then
18642
as_fn_error $? "conditional \"COMPILE_TESTS\" was never defined.
18643
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18645
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
18646
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
18647
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18649
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
18650
as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
18651
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18653
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
18654
as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
18655
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18657
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
18658
as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
18659
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18661
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
18662
as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
18663
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18666
ac_config_commands="$ac_config_commands po/stamp-it"
18670
: "${CONFIG_STATUS=./config.status}"
18672
ac_clean_files_save=$ac_clean_files
18673
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18674
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18675
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18677
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18679
# Generated by $as_me.
18680
# Run this file to recreate the current configuration.
18681
# Compiler output produced by configure, useful for debugging
18682
# configure, is in config.log if it exists.
18685
ac_cs_recheck=false
18688
SHELL=\${CONFIG_SHELL-$SHELL}
18691
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18692
## -------------------- ##
18693
## M4sh Initialization. ##
18694
## -------------------- ##
18696
# Be more Bourne compatible
18697
DUALCASE=1; export DUALCASE # for MKS sh
18698
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18701
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18702
# is contrary to our usage. Disable this feature.
18703
alias -g '${1+"$@"}'='"$@"'
18704
setopt NO_GLOB_SUBST
18706
case `(set -o) 2>/dev/null` in #(
18718
# Printing a long string crashes Solaris 7 /usr/bin/printf.
18719
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18720
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18721
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18722
# Prefer a ksh shell builtin over an external printf program on Solaris,
18723
# but without wasting forks for bash or zsh.
18724
if test -z "$BASH_VERSION$ZSH_VERSION" \
18725
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18726
as_echo='print -r --'
18727
as_echo_n='print -rn --'
18728
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18729
as_echo='printf %s\n'
18730
as_echo_n='printf %s'
18732
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18733
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18734
as_echo_n='/usr/ucb/echo -n'
18736
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18737
as_echo_n_body='eval
18741
expr "X$arg" : "X\\(.*\\)$as_nl";
18742
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18744
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18746
export as_echo_n_body
18747
as_echo_n='sh -c $as_echo_n_body as_echo'
18749
export as_echo_body
18750
as_echo='sh -c $as_echo_body as_echo'
18753
# The user is always right.
18754
if test "${PATH_SEPARATOR+set}" != set; then
18756
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18757
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18764
# We need space, tab and new line, in precisely that order. Quoting is
18765
# there to prevent editors from complaining about space-tab.
18766
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
18767
# splitting by setting IFS to empty value.)
18770
# Find who we are. Look in the path if we contain no directory separator.
18773
*[\\/]* ) as_myself=$0 ;;
18774
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18775
for as_dir in $PATH
18778
test -z "$as_dir" && as_dir=.
18779
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18785
# We did not find ourselves, most probably we were run as `sh COMMAND'
18786
# in which case we are not to be found in the path.
18787
if test "x$as_myself" = x; then
18790
if test ! -f "$as_myself"; then
18791
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18795
# Unset variables that we do not need and which cause bugs (e.g. in
18796
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18797
# suppresses any "Segmentation fault" message there. '((' could
18798
# trigger a bug in pdksh 5.2.14.
18799
for as_var in BASH_ENV ENV MAIL MAILPATH
18800
do eval test x\${$as_var+set} = xset \
18801
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18814
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18817
# as_fn_error STATUS ERROR [LINENO LOG_FD]
18818
# ----------------------------------------
18819
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18820
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18821
# script with STATUS, using 1 if that was 0.
18824
as_status=$1; test $as_status -eq 0 && as_status=1
18826
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18827
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18829
$as_echo "$as_me: error: $2" >&2
18830
as_fn_exit $as_status
18834
# as_fn_set_status STATUS
18835
# -----------------------
18836
# Set $? to STATUS, without forking.
18837
as_fn_set_status ()
18840
} # as_fn_set_status
18842
# as_fn_exit STATUS
18843
# -----------------
18844
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18848
as_fn_set_status $1
18854
# Portably unset VAR.
18857
{ eval $1=; unset $1;}
18859
as_unset=as_fn_unset
18860
# as_fn_append VAR VALUE
18861
# ----------------------
18862
# Append the text in VALUE to the end of the definition contained in VAR. Take
18863
# advantage of any shell optimizations that allow amortized linear growth over
18864
# repeated appends, instead of the typical quadratic growth present in naive
18866
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18867
eval 'as_fn_append ()
18878
# as_fn_arith ARG...
18879
# ------------------
18880
# Perform arithmetic evaluation on the ARGs, and store the result in the
18881
# global $as_val. Take advantage of shells that can avoid forks. The arguments
18882
# must be portable across $(()) and expr.
18883
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18884
eval 'as_fn_arith ()
18891
as_val=`expr "$@" || test $? -eq 1`
18896
if expr a : '\(a\)' >/dev/null 2>&1 &&
18897
test "X`expr 00001 : '.*\(...\)'`" = X001; then
18903
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18904
as_basename=basename
18909
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18915
as_me=`$as_basename -- "$0" ||
18916
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18917
X"$0" : 'X\(//\)$' \| \
18918
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18920
sed '/^.*\/\([^/][^/]*\)\/*$/{
18934
# Avoid depending upon Character Ranges.
18935
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18936
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18937
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18938
as_cr_digits='0123456789'
18939
as_cr_alnum=$as_cr_Letters$as_cr_digits
18941
ECHO_C= ECHO_N= ECHO_T=
18942
case `echo -n x` in #(((((
18944
case `echo 'xy\c'` in
18945
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
18947
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18954
rm -f conf$$ conf$$.exe conf$$.file
18955
if test -d conf$$.dir; then
18956
rm -f conf$$.dir/conf$$.file
18959
mkdir conf$$.dir 2>/dev/null
18961
if (echo >conf$$.file) 2>/dev/null; then
18962
if ln -s conf$$.file conf$$ 2>/dev/null; then
18964
# ... but there are two gotchas:
18965
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18966
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18967
# In both cases, we have to default to `cp -pR'.
18968
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18970
elif ln conf$$.file conf$$ 2>/dev/null; then
18978
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18979
rmdir conf$$.dir 2>/dev/null
18984
# Create "$as_dir" as a directory, including parents if necessary.
18989
-*) as_dir=./$as_dir;;
18991
test -d "$as_dir" || eval $as_mkdir_p || {
18995
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18996
*) as_qdir=$as_dir;;
18998
as_dirs="'$as_qdir' $as_dirs"
18999
as_dir=`$as_dirname -- "$as_dir" ||
19000
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19001
X"$as_dir" : 'X\(//\)[^/]' \| \
19002
X"$as_dir" : 'X\(//\)$' \| \
19003
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19004
$as_echo X"$as_dir" |
19005
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19009
/^X\(\/\/\)[^/].*/{
19022
test -d "$as_dir" && break
19024
test -z "$as_dirs" || eval "mkdir $as_dirs"
19025
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19029
if mkdir -p . 2>/dev/null; then
19030
as_mkdir_p='mkdir -p "$as_dir"'
19032
test -d ./-p && rmdir ./-p
19037
# as_fn_executable_p FILE
19038
# -----------------------
19039
# Test if FILE is an executable regular file.
19040
as_fn_executable_p ()
19042
test -f "$1" && test -x "$1"
19043
} # as_fn_executable_p
19044
as_test_x='test -x'
19045
as_executable_p=as_fn_executable_p
19047
# Sed expression to map a string onto a valid CPP name.
19048
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19050
# Sed expression to map a string onto a valid variable name.
19051
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19055
## ----------------------------------- ##
19056
## Main body of $CONFIG_STATUS script. ##
19057
## ----------------------------------- ##
19059
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19061
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19062
# Save the log message, to keep $0 and so on meaningful, and to
19063
# report actual input values of CONFIG_FILES etc. instead of their
19064
# values after options handling.
19066
This file was extended by lightdm $as_me 1.4.0, which was
19067
generated by GNU Autoconf 2.69. Invocation command line was
19069
CONFIG_FILES = $CONFIG_FILES
19070
CONFIG_HEADERS = $CONFIG_HEADERS
19071
CONFIG_LINKS = $CONFIG_LINKS
19072
CONFIG_COMMANDS = $CONFIG_COMMANDS
19075
on `(hostname || uname -n) 2>/dev/null | sed 1q`
19080
case $ac_config_files in *"
19081
"*) set x $ac_config_files; shift; ac_config_files=$*;;
19084
case $ac_config_headers in *"
19085
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19089
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19090
# Files that config.status was made for.
19091
config_files="$ac_config_files"
19092
config_headers="$ac_config_headers"
19093
config_commands="$ac_config_commands"
19097
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19099
\`$as_me' instantiates files and other configuration actions
19100
from templates according to the current configuration. Unless the files
19101
and actions are specified as TAGs, all are instantiated by default.
19103
Usage: $0 [OPTION]... [TAG]...
19105
-h, --help print this help, then exit
19106
-V, --version print version number and configuration settings, then exit
19107
--config print configuration, then exit
19108
-q, --quiet, --silent
19109
do not print progress messages
19110
-d, --debug don't remove temporary files
19111
--recheck update $as_me by reconfiguring in the same conditions
19112
--file=FILE[:TEMPLATE]
19113
instantiate the configuration file FILE
19114
--header=FILE[:TEMPLATE]
19115
instantiate the configuration header FILE
19117
Configuration files:
19120
Configuration headers:
19123
Configuration commands:
19126
Report bugs to the package provider."
19129
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19130
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19132
lightdm config.status 1.4.0
19133
configured by $0, generated by GNU Autoconf 2.69,
19134
with options \\"\$ac_cs_config\\"
19136
Copyright (C) 2012 Free Software Foundation, Inc.
19137
This config.status script is free software; the Free Software Foundation
19138
gives unlimited permission to copy, distribute and modify it."
19145
test -n "\$AWK" || AWK=awk
19148
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19149
# The default lists apply if the user does not specify any file.
19155
ac_option=`expr "X$1" : 'X\([^=]*\)='`
19156
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19160
ac_option=`expr "X$1" : 'X\([^=]*\)='`
19172
# Handling of the options.
19173
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19175
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19176
$as_echo "$ac_cs_version"; exit ;;
19177
--config | --confi | --conf | --con | --co | --c )
19178
$as_echo "$ac_cs_config"; exit ;;
19179
--debug | --debu | --deb | --de | --d | -d )
19181
--file | --fil | --fi | --f )
19184
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19185
'') as_fn_error $? "missing file argument" ;;
19187
as_fn_append CONFIG_FILES " '$ac_optarg'"
19188
ac_need_defaults=false;;
19189
--header | --heade | --head | --hea )
19192
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19194
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19195
ac_need_defaults=false;;
19197
# Conflict between --help and --header
19198
as_fn_error $? "ambiguous option: \`$1'
19199
Try \`$0 --help' for more information.";;
19200
--help | --hel | -h )
19201
$as_echo "$ac_cs_usage"; exit ;;
19202
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
19203
| -silent | --silent | --silen | --sile | --sil | --si | --s)
19206
# This is an error.
19207
-*) as_fn_error $? "unrecognized option: \`$1'
19208
Try \`$0 --help' for more information." ;;
19210
*) as_fn_append ac_config_targets " $1"
19211
ac_need_defaults=false ;;
19217
ac_configure_extra_args=
19219
if $ac_cs_silent; then
19221
ac_configure_extra_args="$ac_configure_extra_args --silent"
19225
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19226
if \$ac_cs_recheck; then
19227
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19229
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19230
CONFIG_SHELL='$SHELL'
19231
export CONFIG_SHELL
19236
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19240
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19241
## Running $as_me. ##
19247
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19251
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19254
# The HP-UX ksh and POSIX shell print the target directory to stdout
19255
# if CDPATH is set.
19256
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19258
sed_quote_subst='$sed_quote_subst'
19259
double_quote_subst='$double_quote_subst'
19260
delay_variable_subst='$delay_variable_subst'
19261
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19262
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19263
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19264
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19265
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19266
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19267
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19268
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19269
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19270
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19271
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19272
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19273
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19274
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19275
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19276
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19277
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19278
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19279
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19280
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19281
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19282
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19283
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19284
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19285
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19286
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19287
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19288
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19289
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19290
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19291
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19292
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19293
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19294
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19295
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19296
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19297
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19298
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19299
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19300
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19301
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19302
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19303
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19304
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19305
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19306
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19307
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19308
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19309
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19310
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19311
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19312
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19313
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19314
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19315
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19316
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19317
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"`'
19318
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19319
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19320
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19321
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19322
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19323
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19324
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19325
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19326
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19327
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19328
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19329
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19330
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19331
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19332
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19333
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19334
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19335
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19336
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19337
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19338
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19339
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19340
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19341
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19342
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19343
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19344
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19345
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19346
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19347
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19348
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19349
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19350
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19351
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19352
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19353
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19354
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19355
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19356
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19357
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19358
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19359
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19360
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19361
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19362
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19363
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19364
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19365
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19366
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19367
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19368
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19369
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19370
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19371
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19372
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19373
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19374
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19375
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19376
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19377
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19378
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19379
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19380
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19381
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19382
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19383
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19384
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19385
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19386
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19387
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19388
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19389
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19390
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19391
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
19392
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
19393
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
19394
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
19395
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
19396
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
19397
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
19398
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
19399
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19400
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19401
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
19402
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
19403
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
19404
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
19405
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
19406
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
19407
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
19408
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
19409
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
19410
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19411
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19412
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
19413
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19414
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19415
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19416
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19417
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19418
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19419
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
19420
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19421
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19422
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19423
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
19424
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
19425
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
19426
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
19427
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
19428
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
19429
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
19430
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
19431
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
19432
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19433
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19434
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19435
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19436
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19437
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
19438
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
19439
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
19440
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19441
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19442
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
19443
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
19444
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
19447
LTCFLAGS='$LTCFLAGS'
19448
compiler='$compiler_DEFAULT'
19450
# A function that is used when there is no print builtin or printf.
19451
func_fallback_echo ()
19453
eval 'cat <<_LTECHO_EOF
19458
# Quote evaled strings.
19473
deplibs_check_method \
19478
sharedlib_from_linklib_cmd \
19481
archiver_list_spec \
19487
lt_cv_sys_global_symbol_pipe \
19488
lt_cv_sys_global_symbol_to_cdecl \
19489
lt_cv_sys_global_symbol_to_c_name_address \
19490
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19491
nm_file_list_spec \
19492
lt_prog_compiler_no_builtin_flag \
19493
lt_prog_compiler_pic \
19494
lt_prog_compiler_wl \
19495
lt_prog_compiler_static \
19496
lt_cv_prog_compiler_c_o \
19505
export_dynamic_flag_spec \
19506
whole_archive_flag_spec \
19507
compiler_needs_object \
19509
allow_undefined_flag \
19510
no_undefined_flag \
19511
hardcode_libdir_flag_spec \
19512
hardcode_libdir_separator \
19516
variables_saved_for_relink \
19518
library_names_spec \
19520
install_override_mode \
19524
compiler_lib_search_dirs \
19529
compiler_lib_search_path \
19533
lt_prog_compiler_no_builtin_flag_CXX \
19534
lt_prog_compiler_pic_CXX \
19535
lt_prog_compiler_wl_CXX \
19536
lt_prog_compiler_static_CXX \
19537
lt_cv_prog_compiler_c_o_CXX \
19538
export_dynamic_flag_spec_CXX \
19539
whole_archive_flag_spec_CXX \
19540
compiler_needs_object_CXX \
19542
allow_undefined_flag_CXX \
19543
no_undefined_flag_CXX \
19544
hardcode_libdir_flag_spec_CXX \
19545
hardcode_libdir_separator_CXX \
19546
exclude_expsyms_CXX \
19547
include_expsyms_CXX \
19548
file_list_spec_CXX \
19549
compiler_lib_search_dirs_CXX \
19550
predep_objects_CXX \
19551
postdep_objects_CXX \
19554
compiler_lib_search_path_CXX; do
19555
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19556
*[\\\\\\\`\\"\\\$]*)
19557
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19560
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19565
# Double-quote double-evaled strings.
19566
for var in reload_cmds \
19567
old_postinstall_cmds \
19568
old_postuninstall_cmds \
19570
extract_expsyms_cmds \
19571
old_archive_from_new_cmds \
19572
old_archive_from_expsyms_cmds \
19574
archive_expsym_cmds \
19576
module_expsym_cmds \
19577
export_symbols_cmds \
19581
postuninstall_cmds \
19583
sys_lib_search_path_spec \
19584
sys_lib_dlsearch_path_spec \
19586
old_archive_cmds_CXX \
19587
old_archive_from_new_cmds_CXX \
19588
old_archive_from_expsyms_cmds_CXX \
19590
archive_expsym_cmds_CXX \
19592
module_expsym_cmds_CXX \
19593
export_symbols_cmds_CXX \
19595
postlink_cmds_CXX; do
19596
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19597
*[\\\\\\\`\\"\\\$]*)
19598
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19601
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19606
ac_aux_dir='$ac_aux_dir'
19607
xsi_shell='$xsi_shell'
19608
lt_shell_append='$lt_shell_append'
19610
# See if we are running on zsh, and set the options which allow our
19611
# commands through without removal of \ escapes INIT.
19612
if test -n "\${ZSH_VERSION+set}" ; then
19613
setopt NO_GLOB_SUBST
19619
TIMESTAMP='$TIMESTAMP'
19630
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19632
# Handling of arguments.
19633
for ac_config_target in $ac_config_targets
19635
case $ac_config_target in
19636
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19637
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19638
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19639
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19640
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
19641
"data/init/Makefile") CONFIG_FILES="$CONFIG_FILES data/init/Makefile" ;;
19642
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
19643
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
19644
"liblightdm-gobject/liblightdm-gobject-1.pc") CONFIG_FILES="$CONFIG_FILES liblightdm-gobject/liblightdm-gobject-1.pc" ;;
19645
"liblightdm-gobject/Makefile") CONFIG_FILES="$CONFIG_FILES liblightdm-gobject/Makefile" ;;
19646
"liblightdm-qt/Makefile") CONFIG_FILES="$CONFIG_FILES liblightdm-qt/Makefile" ;;
19647
"liblightdm-qt/liblightdm-qt-2.pc") CONFIG_FILES="$CONFIG_FILES liblightdm-qt/liblightdm-qt-2.pc" ;;
19648
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
19649
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
19650
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
19651
"tests/src/Makefile") CONFIG_FILES="$CONFIG_FILES tests/src/Makefile" ;;
19652
"utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
19653
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
19655
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19660
# If the user did not use the arguments to specify the items to instantiate,
19661
# then the envvar interface is used. Set only those that are not.
19662
# We use the long form for the default assignment because of an extremely
19663
# bizarre bug on SunOS 4.1.3.
19664
if $ac_need_defaults; then
19665
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19666
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19667
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19670
# Have a temporary directory for convenience. Make it in the build tree
19671
# simply because there is no reason against having it here, and in addition,
19672
# creating and moving files from /tmp can sometimes cause problems.
19673
# Hook for its removal unless debugging.
19674
# Note that there is a small window in which the directory will not be cleaned:
19675
# after its creation but before its name has been assigned to `$tmp'.
19679
trap 'exit_status=$?
19680
: "${ac_tmp:=$tmp}"
19681
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19683
trap 'as_fn_exit 1' 1 2 13 15
19685
# Create a (secure) tmp directory for tmp files.
19688
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19692
tmp=./conf$$-$RANDOM
19693
(umask 077 && mkdir "$tmp")
19694
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19697
# Set up the scripts for CONFIG_FILES section.
19698
# No need to generate them if there are no CONFIG_FILES.
19699
# This happens for instance with `./config.status config.h'.
19700
if test -n "$CONFIG_FILES"; then
19703
ac_cr=`echo X | tr X '\015'`
19704
# On cygwin, bash can eat \r inside `` if the user requested igncr.
19705
# But we know of no other shell where ac_cr would be empty at this
19706
# point, so we can use a bashism as a fallback.
19707
if test "x$ac_cr" = x; then
19708
eval ac_cr=\$\'\\r\'
19710
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19711
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19714
ac_cs_awk_cr=$ac_cr
19717
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19722
echo "cat >conf$$subs.awk <<_ACEOF" &&
19723
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19725
} >conf$$subs.sh ||
19726
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19727
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19729
for ac_last_try in false false false false false :; do
19730
. ./conf$$subs.sh ||
19731
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19733
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19734
if test $ac_delim_n = $ac_delim_num; then
19736
elif $ac_last_try; then
19737
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19739
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19742
rm -f conf$$subs.sh
19744
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19745
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19749
s/^/S["/; s/!.*/"]=/
19759
s/\(.\{148\}\)..*/\1/
19761
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19766
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19773
s/\(.\{148\}\)..*/\1/
19775
s/["\\]/\\&/g; s/^/"/; s/$/"/
19779
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19784
' <conf$$subs.awk | sed '
19789
' >>$CONFIG_STATUS || ac_write_fail=1
19790
rm -f conf$$subs.awk
19791
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19793
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19794
for (key in S) S_is_set[key] = 1
19800
nfields = split(line, field, "@")
19802
len = length(field[1])
19803
for (i = 2; i < nfields; i++) {
19805
keylen = length(key)
19806
if (S_is_set[key]) {
19808
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19809
len += length(value) + length(field[++i])
19820
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19821
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19822
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19825
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19826
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19829
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19830
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19831
# trailing colons and then remove the whole line if VPATH becomes empty
19832
# (actually we leave an empty line to preserve line numbers).
19833
if test "x$srcdir" = x.; then
19834
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19852
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19853
fi # test -n "$CONFIG_FILES"
19855
# Set up the scripts for CONFIG_HEADERS section.
19856
# No need to generate them if there are no CONFIG_HEADERS.
19857
# This happens for instance with `./config.status Makefile'.
19858
if test -n "$CONFIG_HEADERS"; then
19859
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19863
# Transform confdefs.h into an awk script `defines.awk', embedded as
19864
# here-document in config.status, that substitutes the proper values into
19865
# config.h.in to produce config.h.
19867
# Create a delimiter string that does not exist in confdefs.h, to ease
19868
# handling of long lines.
19870
for ac_last_try in false false :; do
19871
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19872
if test -z "$ac_tt"; then
19874
elif $ac_last_try; then
19875
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19877
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19881
# For the awk script, D is an array of macro values keyed by name,
19882
# likewise P contains macro parameters if any. Preserve backslash
19883
# newline sequences.
19885
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19887
s/.\{148\}/&'"$ac_delim"'/g
19890
s/^[ ]*#[ ]*define[ ][ ]*/ /
19897
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19899
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19903
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19904
D["\1"]=" \3\\\\\\n"\\/p
19906
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19911
s/.\{148\}/&'"$ac_delim"'/g
19916
s/["\\]/\\&/g; s/^/"/; s/$/"/p
19919
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19921
' <confdefs.h | sed '
19922
s/'"$ac_delim"'/"\\\
19923
"/g' >>$CONFIG_STATUS || ac_write_fail=1
19925
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19926
for (key in D) D_is_set[key] = 1
19929
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19931
split(line, arg, " ")
19932
if (arg[1] == "#") {
19936
defundef = substr(arg[1], 2)
19939
split(mac1, mac2, "(") #)
19941
prefix = substr(line, 1, index(line, defundef) - 1)
19942
if (D_is_set[macro]) {
19943
# Preserve the white space surrounding the "#".
19944
print prefix "define", macro P[macro] D[macro]
19947
# Replace #undef with comments. This is necessary, for example,
19948
# in the case of _POSIX_SOURCE, which is predefined and required
19949
# on some systems where configure will not decide to define it.
19950
if (defundef == "undef") {
19951
print "/*", prefix defundef, macro, "*/"
19959
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19960
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19961
fi # test -n "$CONFIG_HEADERS"
19964
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19969
:[FHLC]) ac_mode=$ac_tag; continue;;
19971
case $ac_mode$ac_tag in
19973
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19974
:[FH]-) ac_tag=-:-;;
19975
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19992
-) ac_f="$ac_tmp/stdin";;
19993
*) # Look for the file first in the build tree, then in the source tree
19994
# (if the path is not absolute). The absolute path cannot be DOS-style,
19995
# because $ac_f cannot contain `:'.
19999
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20001
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20003
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20004
as_fn_append ac_file_inputs " '$ac_f'"
20007
# Let's still pretend it is `configure' which instantiates (i.e., don't
20008
# use $as_me), people would be surprised to read:
20009
# /* config.h. Generated by config.status. */
20010
configure_input='Generated from '`
20011
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20013
if test x"$ac_file" != x-; then
20014
configure_input="$ac_file. $configure_input"
20015
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20016
$as_echo "$as_me: creating $ac_file" >&6;}
20018
# Neutralize special characters interpreted by sed in replacement strings.
20019
case $configure_input in #(
20020
*\&* | *\|* | *\\* )
20021
ac_sed_conf_input=`$as_echo "$configure_input" |
20022
sed 's/[\\\\&|]/\\\\&/g'`;; #(
20023
*) ac_sed_conf_input=$configure_input;;
20027
*:-:* | *:-) cat >"$ac_tmp/stdin" \
20028
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20033
ac_dir=`$as_dirname -- "$ac_file" ||
20034
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20035
X"$ac_file" : 'X\(//\)[^/]' \| \
20036
X"$ac_file" : 'X\(//\)$' \| \
20037
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20038
$as_echo X"$ac_file" |
20039
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20043
/^X\(\/\/\)[^/].*/{
20056
as_dir="$ac_dir"; as_fn_mkdir_p
20060
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20062
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20063
# A ".." for each directory in $ac_dir_suffix.
20064
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20065
case $ac_top_builddir_sub in
20066
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20067
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20070
ac_abs_top_builddir=$ac_pwd
20071
ac_abs_builddir=$ac_pwd$ac_dir_suffix
20072
# for backward compatibility:
20073
ac_top_builddir=$ac_top_build_prefix
20076
.) # We are building in place.
20078
ac_top_srcdir=$ac_top_builddir_sub
20079
ac_abs_top_srcdir=$ac_pwd ;;
20080
[\\/]* | ?:[\\/]* ) # Absolute name.
20081
ac_srcdir=$srcdir$ac_dir_suffix;
20082
ac_top_srcdir=$srcdir
20083
ac_abs_top_srcdir=$srcdir ;;
20084
*) # Relative name.
20085
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20086
ac_top_srcdir=$ac_top_build_prefix$srcdir
20087
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20089
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20099
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20100
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20102
ac_MKDIR_P=$MKDIR_P
20104
[\\/$]* | ?:[\\/]* ) ;;
20105
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20109
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20110
# If the template does not know about datarootdir, expand it.
20111
# FIXME: This hack should be removed a few years after 2.60.
20112
ac_datarootdir_hack=; ac_datarootdir_seen=
20123
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20124
*datarootdir*) ac_datarootdir_seen=yes;;
20125
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20126
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20127
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20129
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20130
ac_datarootdir_hack='
20131
s&@datadir@&$datadir&g
20132
s&@docdir@&$docdir&g
20133
s&@infodir@&$infodir&g
20134
s&@localedir@&$localedir&g
20135
s&@mandir@&$mandir&g
20136
s&\\\${datarootdir}&$datarootdir&g' ;;
20140
# Neutralize VPATH when `$srcdir' = `.'.
20141
# Shell code in configure.ac might set extrasub.
20142
# FIXME: do we really want to maintain this feature?
20143
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20144
ac_sed_extra="$ac_vpsub
20147
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20149
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20150
s|@configure_input@|$ac_sed_conf_input|;t t
20151
s&@top_builddir@&$ac_top_builddir_sub&;t t
20152
s&@top_build_prefix@&$ac_top_build_prefix&;t t
20153
s&@srcdir@&$ac_srcdir&;t t
20154
s&@abs_srcdir@&$ac_abs_srcdir&;t t
20155
s&@top_srcdir@&$ac_top_srcdir&;t t
20156
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20157
s&@builddir@&$ac_builddir&;t t
20158
s&@abs_builddir@&$ac_abs_builddir&;t t
20159
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20160
s&@INSTALL@&$ac_INSTALL&;t t
20161
s&@MKDIR_P@&$ac_MKDIR_P&;t t
20162
$ac_datarootdir_hack
20164
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20165
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20167
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20168
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20169
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20170
"$ac_tmp/out"`; test -z "$ac_out"; } &&
20171
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20172
which seems to be undefined. Please make sure it is defined" >&5
20173
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20174
which seems to be undefined. Please make sure it is defined" >&2;}
20176
rm -f "$ac_tmp/stdin"
20178
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20179
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20181
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
20187
if test x"$ac_file" != x-; then
20189
$as_echo "/* $configure_input */" \
20190
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20191
} >"$ac_tmp/config.h" \
20192
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
20193
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20194
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20195
$as_echo "$as_me: $ac_file is unchanged" >&6;}
20198
mv "$ac_tmp/config.h" "$ac_file" \
20199
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
20202
$as_echo "/* $configure_input */" \
20203
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20204
|| as_fn_error $? "could not create -" "$LINENO" 5
20206
# Compute "$ac_file"'s index in $config_headers.
20209
for _am_header in $config_headers :; do
20210
case $_am_header in
20211
$_am_arg | $_am_arg:* )
20214
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
20217
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20218
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20219
X"$_am_arg" : 'X\(//\)[^/]' \| \
20220
X"$_am_arg" : 'X\(//\)$' \| \
20221
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20222
$as_echo X"$_am_arg" |
20223
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20227
/^X\(\/\/\)[^/].*/{
20239
s/.*/./; q'`/stamp-h$_am_stamp_count
20242
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20243
$as_echo "$as_me: executing $ac_file commands" >&6;}
20248
case $ac_file$ac_mode in
20249
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20250
# Autoconf 2.62 quotes --file arguments for eval, but not when files
20251
# are listed without --file. Let's play safe and only enable the eval
20252
# if we detect the quoting.
20253
case $CONFIG_FILES in
20254
*\'*) eval set x "$CONFIG_FILES" ;;
20255
*) set x $CONFIG_FILES ;;
20260
# Strip MF so we end up with the name of the file.
20261
mf=`echo "$mf" | sed -e 's/:.*$//'`
20262
# Check whether this is an Automake generated Makefile or not.
20263
# We used to match only the files named `Makefile.in', but
20264
# some people rename them; so instead we look at the file content.
20265
# Grep'ing the first line is not enough: some people post-process
20266
# each Makefile.in and add a new line on top of each file to say so.
20267
# Grep'ing the whole file is not good either: AIX grep has a line
20268
# limit of 2048, but all sed's we know have understand at least 4000.
20269
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20270
dirpart=`$as_dirname -- "$mf" ||
20271
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20272
X"$mf" : 'X\(//\)[^/]' \| \
20273
X"$mf" : 'X\(//\)$' \| \
20274
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20276
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20280
/^X\(\/\/\)[^/].*/{
20296
# Extract the definition of DEPDIR, am__include, and am__quote
20297
# from the Makefile without running `make'.
20298
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20299
test -z "$DEPDIR" && continue
20300
am__include=`sed -n 's/^am__include = //p' < "$mf"`
20301
test -z "am__include" && continue
20302
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20303
# When using ansi2knr, U may be empty or an underscore; expand it
20304
U=`sed -n 's/^U = //p' < "$mf"`
20305
# Find all dependency output files, they are included files with
20306
# $(DEPDIR) in their names. We invoke sed twice because it is the
20307
# simplest approach to changing $(DEPDIR) to its actual value in the
20309
for file in `sed -n "
20310
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20311
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20312
# Make sure the directory exists.
20313
test -f "$dirpart/$file" && continue
20314
fdir=`$as_dirname -- "$file" ||
20315
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20316
X"$file" : 'X\(//\)[^/]' \| \
20317
X"$file" : 'X\(//\)$' \| \
20318
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20319
$as_echo X"$file" |
20320
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20324
/^X\(\/\/\)[^/].*/{
20337
as_dir=$dirpart/$fdir; as_fn_mkdir_p
20338
# echo "creating $dirpart/$file"
20339
echo '# dummy' > "$dirpart/$file"
20346
# See if we are running on zsh, and set the options which allow our
20347
# commands through without removal of \ escapes.
20348
if test -n "${ZSH_VERSION+set}" ; then
20349
setopt NO_GLOB_SUBST
20352
cfgfile="${ofile}T"
20353
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20356
cat <<_LT_EOF >> "$cfgfile"
20359
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20360
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20361
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20362
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20364
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20365
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
20367
# Written by Gordon Matzigkeit, 1996
20369
# This file is part of GNU Libtool.
20371
# GNU Libtool is free software; you can redistribute it and/or
20372
# modify it under the terms of the GNU General Public License as
20373
# published by the Free Software Foundation; either version 2 of
20374
# the License, or (at your option) any later version.
20376
# As a special exception to the GNU General Public License,
20377
# if you distribute this file as part of a program or library that
20378
# is built using GNU Libtool, you may include this file under the
20379
# same distribution terms that you use for the rest of that program.
20381
# GNU Libtool is distributed in the hope that it will be useful,
20382
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20383
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20384
# GNU General Public License for more details.
20386
# You should have received a copy of the GNU General Public License
20387
# along with GNU Libtool; see the file COPYING. If not, a copy
20388
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20389
# obtained by writing to the Free Software Foundation, Inc.,
20390
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20393
# The names of the tagged configurations supported by this script.
20394
available_tags="CXX "
20396
# ### BEGIN LIBTOOL CONFIG
20398
# Which release of libtool.m4 was used?
20399
macro_version=$macro_version
20400
macro_revision=$macro_revision
20402
# Whether or not to build shared libraries.
20403
build_libtool_libs=$enable_shared
20405
# Whether or not to build static libraries.
20406
build_old_libs=$enable_static
20408
# What type of objects to build.
20411
# Whether or not to optimize for fast installation.
20412
fast_install=$enable_fast_install
20414
# Shell to use when invoking shell scripts.
20417
# An echo program that protects backslashes.
20420
# The PATH separator for the build system.
20421
PATH_SEPARATOR=$lt_PATH_SEPARATOR
20424
host_alias=$host_alias
20428
# The build system.
20429
build_alias=$build_alias
20433
# A sed program that does not truncate output.
20436
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20437
Xsed="\$SED -e 1s/^X//"
20439
# A grep program that handles long lines.
20445
# A literal string matcher.
20448
# A BSD- or MS-compatible name lister.
20451
# Whether we need soft or hard links.
20454
# What is the maximum length of a command?
20455
max_cmd_len=$max_cmd_len
20457
# Object file suffix (normally "o").
20460
# Executable file suffix (normally "").
20463
# whether the shell understands "unset".
20466
# turn spaces into newlines.
20469
# turn newlines into spaces.
20472
# convert \$build file names to \$host format.
20473
to_host_file_cmd=$lt_cv_to_host_file_cmd
20475
# convert \$build files to toolchain format.
20476
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20478
# An object symbol dumper.
20479
OBJDUMP=$lt_OBJDUMP
20481
# Method to check whether dependent libraries are shared objects.
20482
deplibs_check_method=$lt_deplibs_check_method
20484
# Command to use when deplibs_check_method = "file_magic".
20485
file_magic_cmd=$lt_file_magic_cmd
20487
# How to find potential files when deplibs_check_method = "file_magic".
20488
file_magic_glob=$lt_file_magic_glob
20490
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20491
want_nocaseglob=$lt_want_nocaseglob
20493
# DLL creation program.
20494
DLLTOOL=$lt_DLLTOOL
20496
# Command to associate shared and link libraries.
20497
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20502
# Flags to create an archive.
20503
AR_FLAGS=$lt_AR_FLAGS
20505
# How to feed a file listing to the archiver.
20506
archiver_list_spec=$lt_archiver_list_spec
20508
# A symbol stripping program.
20511
# Commands used to install an old-style archive.
20513
old_postinstall_cmds=$lt_old_postinstall_cmds
20514
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20516
# Whether to use a lock for old archive extraction.
20517
lock_old_archive_extraction=$lock_old_archive_extraction
20522
# LTCC compiler flags.
20523
LTCFLAGS=$lt_CFLAGS
20525
# Take the output of nm and produce a listing of raw symbols and C names.
20526
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20528
# Transform the output of nm in a proper C declaration.
20529
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20531
# Transform the output of nm in a C name address pair.
20532
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20534
# Transform the output of nm in a C name address pair when lib prefix is needed.
20535
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20537
# Specify filename containing input files for \$NM.
20538
nm_file_list_spec=$lt_nm_file_list_spec
20540
# The root where to search for dependent libraries,and in which our libraries should be installed.
20541
lt_sysroot=$lt_sysroot
20543
# The name of the directory that contains temporary libtool files.
20546
# Used to examine libraries when file_magic_cmd begins with "file".
20547
MAGIC_CMD=$MAGIC_CMD
20549
# Must we lock files when doing compilation?
20550
need_locks=$lt_need_locks
20553
MANIFEST_TOOL=$lt_MANIFEST_TOOL
20555
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20556
DSYMUTIL=$lt_DSYMUTIL
20558
# Tool to change global to local symbols on Mac OS X.
20561
# Tool to manipulate fat objects and archives on Mac OS X.
20564
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
20567
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20568
OTOOL64=$lt_OTOOL64
20570
# Old archive suffix (normally "a").
20573
# Shared library suffix (normally ".so").
20574
shrext_cmds=$lt_shrext_cmds
20576
# The commands to extract the exported symbol list from a shared archive.
20577
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20579
# Variables whose values should be saved in libtool wrapper scripts and
20580
# restored at link time.
20581
variables_saved_for_relink=$lt_variables_saved_for_relink
20583
# Do we need the "lib" prefix for modules?
20584
need_lib_prefix=$need_lib_prefix
20586
# Do we need a version for libraries?
20587
need_version=$need_version
20589
# Library versioning type.
20590
version_type=$version_type
20592
# Shared library runtime path variable.
20593
runpath_var=$runpath_var
20595
# Shared library path variable.
20596
shlibpath_var=$shlibpath_var
20598
# Is shlibpath searched before the hard-coded library search path?
20599
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20601
# Format of library name prefix.
20602
libname_spec=$lt_libname_spec
20604
# List of archive names. First name is the real one, the rest are links.
20605
# The last name is the one that the linker finds with -lNAME
20606
library_names_spec=$lt_library_names_spec
20608
# The coded name of the library, if different from the real name.
20609
soname_spec=$lt_soname_spec
20611
# Permission mode override for installation of shared libraries.
20612
install_override_mode=$lt_install_override_mode
20614
# Command to use after installation of a shared archive.
20615
postinstall_cmds=$lt_postinstall_cmds
20617
# Command to use after uninstallation of a shared archive.
20618
postuninstall_cmds=$lt_postuninstall_cmds
20620
# Commands used to finish a libtool library installation in a directory.
20621
finish_cmds=$lt_finish_cmds
20623
# As "finish_cmds", except a single script fragment to be evaled but
20625
finish_eval=$lt_finish_eval
20627
# Whether we should hardcode library paths into libraries.
20628
hardcode_into_libs=$hardcode_into_libs
20630
# Compile-time system search path for libraries.
20631
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20633
# Run-time system search path for libraries.
20634
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20636
# Whether dlopen is supported.
20637
dlopen_support=$enable_dlopen
20639
# Whether dlopen of programs is supported.
20640
dlopen_self=$enable_dlopen_self
20642
# Whether dlopen of statically linked programs is supported.
20643
dlopen_self_static=$enable_dlopen_self_static
20645
# Commands to strip libraries.
20646
old_striplib=$lt_old_striplib
20647
striplib=$lt_striplib
20650
# The linker used to build libraries.
20653
# How to create reloadable object files.
20654
reload_flag=$lt_reload_flag
20655
reload_cmds=$lt_reload_cmds
20657
# Commands used to build an old-style archive.
20658
old_archive_cmds=$lt_old_archive_cmds
20660
# A language specific compiler.
20663
# Is the compiler the GNU compiler?
20666
# Compiler flag to turn off builtin functions.
20667
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20669
# Additional compiler flags for building library objects.
20670
pic_flag=$lt_lt_prog_compiler_pic
20672
# How to pass a linker flag through the compiler.
20673
wl=$lt_lt_prog_compiler_wl
20675
# Compiler flag to prevent dynamic linking.
20676
link_static_flag=$lt_lt_prog_compiler_static
20678
# Does compiler simultaneously support -c and -o options?
20679
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20681
# Whether or not to add -lc for building shared libraries.
20682
build_libtool_need_lc=$archive_cmds_need_lc
20684
# Whether or not to disallow shared libs when runtime libs are static.
20685
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20687
# Compiler flag to allow reflexive dlopens.
20688
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20690
# Compiler flag to generate shared objects directly from archives.
20691
whole_archive_flag_spec=$lt_whole_archive_flag_spec
20693
# Whether the compiler copes with passing no objects directly.
20694
compiler_needs_object=$lt_compiler_needs_object
20696
# Create an old-style archive from a shared archive.
20697
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20699
# Create a temporary old-style archive to link instead of a shared archive.
20700
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20702
# Commands used to build a shared archive.
20703
archive_cmds=$lt_archive_cmds
20704
archive_expsym_cmds=$lt_archive_expsym_cmds
20706
# Commands used to build a loadable module if different from building
20707
# a shared archive.
20708
module_cmds=$lt_module_cmds
20709
module_expsym_cmds=$lt_module_expsym_cmds
20711
# Whether we are building with GNU ld or not.
20712
with_gnu_ld=$lt_with_gnu_ld
20714
# Flag that allows shared libraries with undefined symbols to be built.
20715
allow_undefined_flag=$lt_allow_undefined_flag
20717
# Flag that enforces no undefined symbols.
20718
no_undefined_flag=$lt_no_undefined_flag
20720
# Flag to hardcode \$libdir into a binary during linking.
20721
# This must work even if \$libdir does not exist
20722
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20724
# Whether we need a single "-rpath" flag with a separated argument.
20725
hardcode_libdir_separator=$lt_hardcode_libdir_separator
20727
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20728
# DIR into the resulting binary.
20729
hardcode_direct=$hardcode_direct
20731
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20732
# DIR into the resulting binary and the resulting library dependency is
20733
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20734
# library is relocated.
20735
hardcode_direct_absolute=$hardcode_direct_absolute
20737
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20738
# into the resulting binary.
20739
hardcode_minus_L=$hardcode_minus_L
20741
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20742
# into the resulting binary.
20743
hardcode_shlibpath_var=$hardcode_shlibpath_var
20745
# Set to "yes" if building a shared library automatically hardcodes DIR
20746
# into the library and all subsequent libraries and executables linked
20748
hardcode_automatic=$hardcode_automatic
20750
# Set to yes if linker adds runtime paths of dependent libraries
20751
# to runtime path list.
20752
inherit_rpath=$inherit_rpath
20754
# Whether libtool must link a program against all its dependency libraries.
20755
link_all_deplibs=$link_all_deplibs
20757
# Set to "yes" if exported symbols are required.
20758
always_export_symbols=$always_export_symbols
20760
# The commands to list exported symbols.
20761
export_symbols_cmds=$lt_export_symbols_cmds
20763
# Symbols that should not be listed in the preloaded symbols.
20764
exclude_expsyms=$lt_exclude_expsyms
20766
# Symbols that must always be exported.
20767
include_expsyms=$lt_include_expsyms
20769
# Commands necessary for linking programs (against libraries) with templates.
20770
prelink_cmds=$lt_prelink_cmds
20772
# Commands necessary for finishing linking programs.
20773
postlink_cmds=$lt_postlink_cmds
20775
# Specify filename containing input files.
20776
file_list_spec=$lt_file_list_spec
20778
# How to hardcode a shared library path into an executable.
20779
hardcode_action=$hardcode_action
20781
# The directories searched by this compiler when creating a shared library.
20782
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20784
# Dependencies to place before and after the objects being linked to
20785
# create a shared library.
20786
predep_objects=$lt_predep_objects
20787
postdep_objects=$lt_postdep_objects
20788
predeps=$lt_predeps
20789
postdeps=$lt_postdeps
20791
# The library search path used internally by the compiler when linking
20792
# a shared library.
20793
compiler_lib_search_path=$lt_compiler_lib_search_path
20795
# ### END LIBTOOL CONFIG
20801
cat <<\_LT_EOF >> "$cfgfile"
20802
# AIX sometimes has problems with the GCC collect2 program. For some
20803
# reason, if we set the COLLECT_NAMES environment variable, the problems
20804
# vanish in a puff of smoke.
20805
if test "X${COLLECT_NAMES+set}" != Xset; then
20807
export COLLECT_NAMES
20814
ltmain="$ac_aux_dir/ltmain.sh"
20817
# We use sed instead of cat because bash on DJGPP gets confused if
20818
# if finds mixed CR/LF and LF-only lines. Since sed operates in
20819
# text mode, it properly converts lines to CR/LF. This bash problem
20820
# is reportedly fixed, but why not run on old versions too?
20821
sed '$q' "$ltmain" >> "$cfgfile" \
20822
|| (rm -f "$cfgfile"; exit 1)
20824
if test x"$xsi_shell" = xyes; then
20825
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20829
\ */*) func_dirname_result="${1%/*}${2}" ;;\
20830
\ * ) func_dirname_result="${3}" ;;\
20832
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20833
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20834
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20835
test 0 -eq $? || _lt_function_replace_fail=:
20838
sed -e '/^func_basename ()$/,/^} # func_basename /c\
20841
\ func_basename_result="${1##*/}"\
20842
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20843
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20844
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20845
test 0 -eq $? || _lt_function_replace_fail=:
20848
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20849
func_dirname_and_basename ()\
20852
\ */*) func_dirname_result="${1%/*}${2}" ;;\
20853
\ * ) func_dirname_result="${3}" ;;\
20855
\ func_basename_result="${1##*/}"\
20856
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20857
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20858
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20859
test 0 -eq $? || _lt_function_replace_fail=:
20862
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20865
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20866
\ # positional parameters, so assign one to ordinary parameter first.\
20867
\ func_stripname_result=${3}\
20868
\ func_stripname_result=${func_stripname_result#"${1}"}\
20869
\ func_stripname_result=${func_stripname_result%"${2}"}\
20870
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20871
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20872
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20873
test 0 -eq $? || _lt_function_replace_fail=:
20876
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20877
func_split_long_opt ()\
20879
\ func_split_long_opt_name=${1%%=*}\
20880
\ func_split_long_opt_arg=${1#*=}\
20881
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20882
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20883
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20884
test 0 -eq $? || _lt_function_replace_fail=:
20887
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20888
func_split_short_opt ()\
20890
\ func_split_short_opt_arg=${1#??}\
20891
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20892
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20893
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20894
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20895
test 0 -eq $? || _lt_function_replace_fail=:
20898
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20902
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20903
\ *) func_lo2o_result=${1} ;;\
20905
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20906
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20907
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20908
test 0 -eq $? || _lt_function_replace_fail=:
20911
sed -e '/^func_xform ()$/,/^} # func_xform /c\
20914
func_xform_result=${1%.*}.lo\
20915
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20916
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20917
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20918
test 0 -eq $? || _lt_function_replace_fail=:
20921
sed -e '/^func_arith ()$/,/^} # func_arith /c\
20924
func_arith_result=$(( $* ))\
20925
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20926
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20927
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20928
test 0 -eq $? || _lt_function_replace_fail=:
20931
sed -e '/^func_len ()$/,/^} # func_len /c\
20934
func_len_result=${#1}\
20935
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20936
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20937
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20938
test 0 -eq $? || _lt_function_replace_fail=:
20942
if test x"$lt_shell_append" = xyes; then
20943
sed -e '/^func_append ()$/,/^} # func_append /c\
20946
eval "${1}+=\\${2}"\
20947
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20948
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20949
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20950
test 0 -eq $? || _lt_function_replace_fail=:
20953
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20954
func_append_quoted ()\
20956
\ func_quote_for_eval "${2}"\
20957
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20958
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20959
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20960
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20961
test 0 -eq $? || _lt_function_replace_fail=:
20964
# Save a `func_append' function call where possible by direct use of '+='
20965
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20966
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20967
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20968
test 0 -eq $? || _lt_function_replace_fail=:
20970
# Save a `func_append' function call even when '+=' is not available
20971
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20972
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20973
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20974
test 0 -eq $? || _lt_function_replace_fail=:
20977
if test x"$_lt_function_replace_fail" = x":"; then
20978
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20979
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20983
mv -f "$cfgfile" "$ofile" ||
20984
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20988
cat <<_LT_EOF >> "$ofile"
20990
# ### BEGIN LIBTOOL TAG CONFIG: CXX
20992
# The linker used to build libraries.
20995
# How to create reloadable object files.
20996
reload_flag=$lt_reload_flag_CXX
20997
reload_cmds=$lt_reload_cmds_CXX
20999
# Commands used to build an old-style archive.
21000
old_archive_cmds=$lt_old_archive_cmds_CXX
21002
# A language specific compiler.
21003
CC=$lt_compiler_CXX
21005
# Is the compiler the GNU compiler?
21008
# Compiler flag to turn off builtin functions.
21009
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21011
# Additional compiler flags for building library objects.
21012
pic_flag=$lt_lt_prog_compiler_pic_CXX
21014
# How to pass a linker flag through the compiler.
21015
wl=$lt_lt_prog_compiler_wl_CXX
21017
# Compiler flag to prevent dynamic linking.
21018
link_static_flag=$lt_lt_prog_compiler_static_CXX
21020
# Does compiler simultaneously support -c and -o options?
21021
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21023
# Whether or not to add -lc for building shared libraries.
21024
build_libtool_need_lc=$archive_cmds_need_lc_CXX
21026
# Whether or not to disallow shared libs when runtime libs are static.
21027
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21029
# Compiler flag to allow reflexive dlopens.
21030
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21032
# Compiler flag to generate shared objects directly from archives.
21033
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21035
# Whether the compiler copes with passing no objects directly.
21036
compiler_needs_object=$lt_compiler_needs_object_CXX
21038
# Create an old-style archive from a shared archive.
21039
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21041
# Create a temporary old-style archive to link instead of a shared archive.
21042
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21044
# Commands used to build a shared archive.
21045
archive_cmds=$lt_archive_cmds_CXX
21046
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21048
# Commands used to build a loadable module if different from building
21049
# a shared archive.
21050
module_cmds=$lt_module_cmds_CXX
21051
module_expsym_cmds=$lt_module_expsym_cmds_CXX
21053
# Whether we are building with GNU ld or not.
21054
with_gnu_ld=$lt_with_gnu_ld_CXX
21056
# Flag that allows shared libraries with undefined symbols to be built.
21057
allow_undefined_flag=$lt_allow_undefined_flag_CXX
21059
# Flag that enforces no undefined symbols.
21060
no_undefined_flag=$lt_no_undefined_flag_CXX
21062
# Flag to hardcode \$libdir into a binary during linking.
21063
# This must work even if \$libdir does not exist
21064
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21066
# Whether we need a single "-rpath" flag with a separated argument.
21067
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21069
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21070
# DIR into the resulting binary.
21071
hardcode_direct=$hardcode_direct_CXX
21073
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21074
# DIR into the resulting binary and the resulting library dependency is
21075
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21076
# library is relocated.
21077
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21079
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21080
# into the resulting binary.
21081
hardcode_minus_L=$hardcode_minus_L_CXX
21083
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21084
# into the resulting binary.
21085
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21087
# Set to "yes" if building a shared library automatically hardcodes DIR
21088
# into the library and all subsequent libraries and executables linked
21090
hardcode_automatic=$hardcode_automatic_CXX
21092
# Set to yes if linker adds runtime paths of dependent libraries
21093
# to runtime path list.
21094
inherit_rpath=$inherit_rpath_CXX
21096
# Whether libtool must link a program against all its dependency libraries.
21097
link_all_deplibs=$link_all_deplibs_CXX
21099
# Set to "yes" if exported symbols are required.
21100
always_export_symbols=$always_export_symbols_CXX
21102
# The commands to list exported symbols.
21103
export_symbols_cmds=$lt_export_symbols_cmds_CXX
21105
# Symbols that should not be listed in the preloaded symbols.
21106
exclude_expsyms=$lt_exclude_expsyms_CXX
21108
# Symbols that must always be exported.
21109
include_expsyms=$lt_include_expsyms_CXX
21111
# Commands necessary for linking programs (against libraries) with templates.
21112
prelink_cmds=$lt_prelink_cmds_CXX
21114
# Commands necessary for finishing linking programs.
21115
postlink_cmds=$lt_postlink_cmds_CXX
21117
# Specify filename containing input files.
21118
file_list_spec=$lt_file_list_spec_CXX
21120
# How to hardcode a shared library path into an executable.
21121
hardcode_action=$hardcode_action_CXX
21123
# The directories searched by this compiler when creating a shared library.
21124
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21126
# Dependencies to place before and after the objects being linked to
21127
# create a shared library.
21128
predep_objects=$lt_predep_objects_CXX
21129
postdep_objects=$lt_postdep_objects_CXX
21130
predeps=$lt_predeps_CXX
21131
postdeps=$lt_postdeps_CXX
21133
# The library search path used internally by the compiler when linking
21134
# a shared library.
21135
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21137
# ### END LIBTOOL TAG CONFIG: CXX
21142
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
21143
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
21145
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
21150
'"s|^| $ac_top_srcdir/|" \
21151
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
21153
sed '/^POTFILES =/,/[^\\]$/ {
21157
' "po/Makefile.in" >"po/Makefile"
21158
rm -f "po/Makefile.tmp"
21159
mv "po/stamp-it.tmp" "po/stamp-it"
21168
ac_clean_files=$ac_clean_files_save
21170
test $ac_write_fail = 0 ||
21171
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21174
# configure is writing to config.log, and then calls config.status.
21175
# config.status does its own redirection, appending to config.log.
21176
# Unfortunately, on DOS this fails, as config.log is still kept open
21177
# by configure, so config.status won't be able to write to it; its
21178
# output is simply discarded. So we exec the FD to /dev/null,
21179
# effectively closing config.log, so it can be properly (re)opened and
21180
# appended to by config.status. When coming back to configure, we
21181
# need to make the FD available again.
21182
if test "$no_create" != yes; then
21184
ac_config_status_args=
21185
test "$silent" = yes &&
21186
ac_config_status_args="$ac_config_status_args --quiet"
21188
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21190
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
21191
# would make configure fail if this is the last instruction.
21192
$ac_cs_success || as_fn_exit 1
21194
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21195
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21196
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21202
Light Display Manager $VERSION
21203
===========================
21206
Greeter session: $GREETER_SESSION
21207
Greeter user: $GREETER_USER
21208
User session: $USER_SESSION
21209
liblightdm-gobject: $compile_liblightdm_gobject
21210
GObject introspection: $found_introspection
21211
liblightdm-qt: $compile_liblightdm_qt
21212
Enable tests: $enable_tests