~brian-murray/lightdm/bug-967229

« back to all changes in this revision

Viewing changes to configure

  • Committer: robert.ancell at canonical
  • Date: 2011-02-12 00:48:57 UTC
  • Revision ID: robert.ancell@canonical.com-20110212004857-45gpv6k0m0uf0liv
Update changelog link

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.69 for lightdm 1.4.0.
4
 
#
5
 
#
6
 
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7
 
#
8
 
#
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
 
## -------------------- ##
14
 
 
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 :
18
 
  emulate sh
19
 
  NULLCMD=:
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+"$@"}'='"$@"'
23
 
  setopt NO_GLOB_SUBST
24
 
else
25
 
  case `(set -o) 2>/dev/null` in #(
26
 
  *posix*) :
27
 
    set -o posix ;; #(
28
 
  *) :
29
 
     ;;
30
 
esac
31
 
fi
32
 
 
33
 
 
34
 
as_nl='
35
 
'
36
 
export as_nl
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
45
 
  as_echo='print -r --'
46
 
  as_echo_n='print -rn --'
47
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
 
  as_echo='printf %s\n'
49
 
  as_echo_n='printf %s'
50
 
else
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'
54
 
  else
55
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
 
    as_echo_n_body='eval
57
 
      arg=$1;
58
 
      case $arg in #(
59
 
      *"$as_nl"*)
60
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62
 
      esac;
63
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64
 
    '
65
 
    export as_echo_n_body
66
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
67
 
  fi
68
 
  export as_echo_body
69
 
  as_echo='sh -c $as_echo_body as_echo'
70
 
fi
71
 
 
72
 
# The user is always right.
73
 
if test "${PATH_SEPARATOR+set}" != set; then
74
 
  PATH_SEPARATOR=:
75
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77
 
      PATH_SEPARATOR=';'
78
 
  }
79
 
fi
80
 
 
81
 
 
82
 
# IFS
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.)
87
 
IFS=" ""        $as_nl"
88
 
 
89
 
# Find who we are.  Look in the path if we contain no directory separator.
90
 
as_myself=
91
 
case $0 in #((
92
 
  *[\\/]* ) as_myself=$0 ;;
93
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94
 
for as_dir in $PATH
95
 
do
96
 
  IFS=$as_save_IFS
97
 
  test -z "$as_dir" && as_dir=.
98
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99
 
  done
100
 
IFS=$as_save_IFS
101
 
 
102
 
     ;;
103
 
esac
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
107
 
  as_myself=$0
108
 
fi
109
 
if test ! -f "$as_myself"; then
110
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111
 
  exit 1
112
 
fi
113
 
 
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 || :
121
 
done
122
 
PS1='$ '
123
 
PS2='> '
124
 
PS4='+ '
125
 
 
126
 
# NLS nuisances.
127
 
LC_ALL=C
128
 
export LC_ALL
129
 
LANGUAGE=C
130
 
export LANGUAGE
131
 
 
132
 
# CDPATH.
133
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
 
 
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.
143
 
BASH_ENV=/dev/null
144
 
ENV=/dev/null
145
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146
 
case $- in # ((((
147
 
  *v*x* | *x*v* ) as_opts=-vx ;;
148
 
  *v* ) as_opts=-v ;;
149
 
  *x* ) as_opts=-x ;;
150
 
  * ) as_opts= ;;
151
 
esac
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
156
 
as_fn_exit 255
157
 
  fi
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 :
162
 
  emulate sh
163
 
  NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
167
 
  setopt NO_GLOB_SUBST
168
 
else
169
 
  case \`(set -o) 2>/dev/null\` in #(
170
 
  *posix*) :
171
 
    set -o posix ;; #(
172
 
  *) :
173
 
     ;;
174
 
esac
175
 
fi
176
 
"
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; }
182
 
 
183
 
exitcode=0
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 :
189
 
 
190
 
else
191
 
  exitcode=1; echo positional parameters were not saved.
192
 
fi
193
 
test x\$exitcode = x0 || exit 1
194
 
test -x / || 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
199
 
 
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 :
209
 
  as_have_required=yes
210
 
else
211
 
  as_have_required=no
212
 
fi
213
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
 
 
215
 
else
216
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217
 
as_found=false
218
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219
 
do
220
 
  IFS=$as_save_IFS
221
 
  test -z "$as_dir" && as_dir=.
222
 
  as_found=:
223
 
  case $as_dir in #(
224
 
         /*)
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 :
232
 
  break 2
233
 
fi
234
 
fi
235
 
           done;;
236
 
       esac
237
 
  as_found=false
238
 
done
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
242
 
fi; }
243
 
IFS=$as_save_IFS
244
 
 
245
 
 
246
 
      if test "x$CONFIG_SHELL" != x; then :
247
 
  export CONFIG_SHELL
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.
252
 
BASH_ENV=/dev/null
253
 
ENV=/dev/null
254
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255
 
case $- in # ((((
256
 
  *v*x* | *x*v* ) as_opts=-vx ;;
257
 
  *v* ) as_opts=-v ;;
258
 
  *x* ) as_opts=-x ;;
259
 
  * ) as_opts= ;;
260
 
esac
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
265
 
exit 255
266
 
fi
267
 
 
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."
274
 
  else
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."
279
 
  fi
280
 
  exit 1
281
 
fi
282
 
fi
283
 
fi
284
 
SHELL=${CONFIG_SHELL-/bin/sh}
285
 
export SHELL
286
 
# Unset more variables known to interfere with behavior of common tools.
287
 
CLICOLOR_FORCE= GREP_OPTIONS=
288
 
unset CLICOLOR_FORCE GREP_OPTIONS
289
 
 
290
 
## --------------------- ##
291
 
## M4sh Shell Functions. ##
292
 
## --------------------- ##
293
 
# as_fn_unset VAR
294
 
# ---------------
295
 
# Portably unset VAR.
296
 
as_fn_unset ()
297
 
{
298
 
  { eval $1=; unset $1;}
299
 
}
300
 
as_unset=as_fn_unset
301
 
 
302
 
# as_fn_set_status STATUS
303
 
# -----------------------
304
 
# Set $? to STATUS, without forking.
305
 
as_fn_set_status ()
306
 
{
307
 
  return $1
308
 
} # as_fn_set_status
309
 
 
310
 
# as_fn_exit STATUS
311
 
# -----------------
312
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313
 
as_fn_exit ()
314
 
{
315
 
  set +e
316
 
  as_fn_set_status $1
317
 
  exit $1
318
 
} # as_fn_exit
319
 
 
320
 
# as_fn_mkdir_p
321
 
# -------------
322
 
# Create "$as_dir" as a directory, including parents if necessary.
323
 
as_fn_mkdir_p ()
324
 
{
325
 
 
326
 
  case $as_dir in #(
327
 
  -*) as_dir=./$as_dir;;
328
 
  esac
329
 
  test -d "$as_dir" || eval $as_mkdir_p || {
330
 
    as_dirs=
331
 
    while :; do
332
 
      case $as_dir in #(
333
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334
 
      *) as_qdir=$as_dir;;
335
 
      esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344
 
            s//\1/
345
 
            q
346
 
          }
347
 
          /^X\(\/\/\)[^/].*/{
348
 
            s//\1/
349
 
            q
350
 
          }
351
 
          /^X\(\/\/\)$/{
352
 
            s//\1/
353
 
            q
354
 
          }
355
 
          /^X\(\/\).*/{
356
 
            s//\1/
357
 
            q
358
 
          }
359
 
          s/.*/./; q'`
360
 
      test -d "$as_dir" && break
361
 
    done
362
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
363
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
 
 
365
 
 
366
 
} # as_fn_mkdir_p
367
 
 
368
 
# as_fn_executable_p FILE
369
 
# -----------------------
370
 
# Test if FILE is an executable regular file.
371
 
as_fn_executable_p ()
372
 
{
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
380
 
# implementations.
381
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382
 
  eval 'as_fn_append ()
383
 
  {
384
 
    eval $1+=\$2
385
 
  }'
386
 
else
387
 
  as_fn_append ()
388
 
  {
389
 
    eval $1=\$$1\$2
390
 
  }
391
 
fi # as_fn_append
392
 
 
393
 
# as_fn_arith ARG...
394
 
# ------------------
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 :
399
 
  eval 'as_fn_arith ()
400
 
  {
401
 
    as_val=$(( $* ))
402
 
  }'
403
 
else
404
 
  as_fn_arith ()
405
 
  {
406
 
    as_val=`expr "$@" || test $? -eq 1`
407
 
  }
408
 
fi # as_fn_arith
409
 
 
410
 
 
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.
416
 
as_fn_error ()
417
 
{
418
 
  as_status=$1; test $as_status -eq 0 && as_status=1
419
 
  if test "$4"; then
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
422
 
  fi
423
 
  $as_echo "$as_me: error: $2" >&2
424
 
  as_fn_exit $as_status
425
 
} # as_fn_error
426
 
 
427
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
428
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429
 
  as_expr=expr
430
 
else
431
 
  as_expr=false
432
 
fi
433
 
 
434
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435
 
  as_basename=basename
436
 
else
437
 
  as_basename=false
438
 
fi
439
 
 
440
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441
 
  as_dirname=dirname
442
 
else
443
 
  as_dirname=false
444
 
fi
445
 
 
446
 
as_me=`$as_basename -- "$0" ||
447
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448
 
         X"$0" : 'X\(//\)$' \| \
449
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450
 
$as_echo X/"$0" |
451
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
452
 
            s//\1/
453
 
            q
454
 
          }
455
 
          /^X\/\(\/\/\)$/{
456
 
            s//\1/
457
 
            q
458
 
          }
459
 
          /^X\/\(\/\).*/{
460
 
            s//\1/
461
 
            q
462
 
          }
463
 
          s/.*/./; q'`
464
 
 
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
471
 
 
472
 
 
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.  :-)
478
 
  sed -n '
479
 
    p
480
 
    /[$]LINENO/=
481
 
  ' <$as_myself |
482
 
    sed '
483
 
      s/[$]LINENO.*/&-/
484
 
      t lineno
485
 
      b
486
 
      :lineno
487
 
      N
488
 
      :loop
489
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490
 
      t loop
491
 
      s/-\n.*//
492
 
    ' >$as_me.lineno &&
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; }
495
 
 
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).
503
 
  . "./$as_me.lineno"
504
 
  # Exit status is that of the last command.
505
 
  exit
506
 
}
507
 
 
508
 
ECHO_C= ECHO_N= ECHO_T=
509
 
case `echo -n x` in #(((((
510
 
-n*)
511
 
  case `echo 'xy\c'` in
512
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
513
 
  xy)  ECHO_C='\c';;
514
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515
 
       ECHO_T=' ';;
516
 
  esac;;
517
 
*)
518
 
  ECHO_N='-n';;
519
 
esac
520
 
 
521
 
rm -f conf$$ conf$$.exe conf$$.file
522
 
if test -d conf$$.dir; then
523
 
  rm -f conf$$.dir/conf$$.file
524
 
else
525
 
  rm -f conf$$.dir
526
 
  mkdir conf$$.dir 2>/dev/null
527
 
fi
528
 
if (echo >conf$$.file) 2>/dev/null; then
529
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
530
 
    as_ln_s='ln -s'
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 ||
536
 
      as_ln_s='cp -pR'
537
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
538
 
    as_ln_s=ln
539
 
  else
540
 
    as_ln_s='cp -pR'
541
 
  fi
542
 
else
543
 
  as_ln_s='cp -pR'
544
 
fi
545
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546
 
rmdir conf$$.dir 2>/dev/null
547
 
 
548
 
if mkdir -p . 2>/dev/null; then
549
 
  as_mkdir_p='mkdir -p "$as_dir"'
550
 
else
551
 
  test -d ./-p && rmdir ./-p
552
 
  as_mkdir_p=false
553
 
fi
554
 
 
555
 
as_test_x='test -x'
556
 
as_executable_p=as_fn_executable_p
557
 
 
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'"
560
 
 
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'"
563
 
 
564
 
SHELL=${CONFIG_SHELL-/bin/sh}
565
 
 
566
 
 
567
 
test -n "$DJDIR" || exec 7<&0 </dev/null
568
 
exec 6>&1
569
 
 
570
 
# Name of the host.
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`
574
 
 
575
 
#
576
 
# Initializations.
577
 
#
578
 
ac_default_prefix=/usr/local
579
 
ac_clean_files=
580
 
ac_config_libobj_dir=.
581
 
LIBOBJS=
582
 
cross_compiling=no
583
 
subdirs=
584
 
MFLAGS=
585
 
MAKEFLAGS=
586
 
 
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'
592
 
PACKAGE_BUGREPORT=''
593
 
PACKAGE_URL=''
594
 
 
595
 
# Factoring default headers for most tests.
596
 
ac_includes_default="\
597
 
#include <stdio.h>
598
 
#ifdef HAVE_SYS_TYPES_H
599
 
# include <sys/types.h>
600
 
#endif
601
 
#ifdef HAVE_SYS_STAT_H
602
 
# include <sys/stat.h>
603
 
#endif
604
 
#ifdef STDC_HEADERS
605
 
# include <stdlib.h>
606
 
# include <stddef.h>
607
 
#else
608
 
# ifdef HAVE_STDLIB_H
609
 
#  include <stdlib.h>
610
 
# endif
611
 
#endif
612
 
#ifdef HAVE_STRING_H
613
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614
 
#  include <memory.h>
615
 
# endif
616
 
# include <string.h>
617
 
#endif
618
 
#ifdef HAVE_STRINGS_H
619
 
# include <strings.h>
620
 
#endif
621
 
#ifdef HAVE_INTTYPES_H
622
 
# include <inttypes.h>
623
 
#endif
624
 
#ifdef HAVE_STDINT_H
625
 
# include <stdint.h>
626
 
#endif
627
 
#ifdef HAVE_UNISTD_H
628
 
# include <unistd.h>
629
 
#endif"
630
 
 
631
 
ac_subst_vars='am__EXEEXT_FALSE
632
 
am__EXEEXT_TRUE
633
 
LTLIBOBJS
634
 
LIBOBJS
635
 
GETTEXT_PACKAGE
636
 
DATADIRNAME
637
 
ALL_LINGUAS
638
 
INTLTOOL_PERL
639
 
GMSGFMT
640
 
MSGFMT
641
 
MSGMERGE
642
 
XGETTEXT
643
 
INTLTOOL_POLICY_RULE
644
 
INTLTOOL_SERVICE_RULE
645
 
INTLTOOL_THEME_RULE
646
 
INTLTOOL_SCHEMAS_RULE
647
 
INTLTOOL_CAVES_RULE
648
 
INTLTOOL_XML_NOMERGE_RULE
649
 
INTLTOOL_XML_RULE
650
 
INTLTOOL_KBD_RULE
651
 
INTLTOOL_XAM_RULE
652
 
INTLTOOL_UI_RULE
653
 
INTLTOOL_SOUNDLIST_RULE
654
 
INTLTOOL_SHEET_RULE
655
 
INTLTOOL_SERVER_RULE
656
 
INTLTOOL_PONG_RULE
657
 
INTLTOOL_OAF_RULE
658
 
INTLTOOL_PROP_RULE
659
 
INTLTOOL_KEYS_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
665
 
INTLTOOL__v_MERGE_0
666
 
INTLTOOL__v_MERGE_
667
 
INTLTOOL_V_MERGE
668
 
INTLTOOL_EXTRACT
669
 
INTLTOOL_MERGE
670
 
INTLTOOL_UPDATE
671
 
USE_NLS
672
 
YELP_HELP_RULES
673
 
XMLLINT
674
 
ITSTOOL
675
 
HELP_DIR
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
684
 
ENABLE_GTK_DOC_FALSE
685
 
ENABLE_GTK_DOC_TRUE
686
 
GTKDOC_DEPS_LIBS
687
 
GTKDOC_DEPS_CFLAGS
688
 
HTML_DIR
689
 
GTKDOC_MKPDF
690
 
GTKDOC_REBASE
691
 
GTKDOC_CHECK
692
 
GREETER_USER
693
 
GREETER_SESSION
694
 
USER_SESSION
695
 
GLIB_GENMARSHAL
696
 
COMPILE_TESTS_FALSE
697
 
COMPILE_TESTS_TRUE
698
 
COMPILE_LIBLIGHTDM_QT_FALSE
699
 
COMPILE_LIBLIGHTDM_QT_TRUE
700
 
ac_ct_MOC
701
 
MOC
702
 
LIBLIGHTDM_QT_LIBS
703
 
LIBLIGHTDM_QT_CFLAGS
704
 
COMPILE_LIBLIGHTDM_GOBJECT_FALSE
705
 
COMPILE_LIBLIGHTDM_GOBJECT_TRUE
706
 
LIBLIGHTDM_GOBJECT_LIBS
707
 
LIBLIGHTDM_GOBJECT_CFLAGS
708
 
XCB_LIBS
709
 
XCB_CFLAGS
710
 
GOBJECT_LIBS
711
 
GOBJECT_CFLAGS
712
 
GIO_UNIX_LIBS
713
 
GIO_UNIX_CFLAGS
714
 
GIO_LIBS
715
 
GIO_CFLAGS
716
 
GLIB_LIBS
717
 
GLIB_CFLAGS
718
 
LIGHTDM_LIBS
719
 
LIGHTDM_CFLAGS
720
 
WARN_CFLAGS
721
 
HAVE_INTROSPECTION_FALSE
722
 
HAVE_INTROSPECTION_TRUE
723
 
INTROSPECTION_MAKEFILE
724
 
INTROSPECTION_LIBS
725
 
INTROSPECTION_CFLAGS
726
 
INTROSPECTION_TYPELIBDIR
727
 
INTROSPECTION_GIRDIR
728
 
INTROSPECTION_GENERATE
729
 
INTROSPECTION_COMPILER
730
 
INTROSPECTION_SCANNER
731
 
PKG_CONFIG_LIBDIR
732
 
PKG_CONFIG_PATH
733
 
PKG_CONFIG
734
 
AM_BACKSLASH
735
 
AM_DEFAULT_VERBOSITY
736
 
AM_DEFAULT_V
737
 
AM_V
738
 
MAINT
739
 
MAINTAINER_MODE_FALSE
740
 
MAINTAINER_MODE_TRUE
741
 
CXXCPP
742
 
am__fastdepCXX_FALSE
743
 
am__fastdepCXX_TRUE
744
 
CXXDEPMODE
745
 
ac_ct_CXX
746
 
CXXFLAGS
747
 
CXX
748
 
CPP
749
 
OTOOL64
750
 
OTOOL
751
 
LIPO
752
 
NMEDIT
753
 
DSYMUTIL
754
 
MANIFEST_TOOL
755
 
RANLIB
756
 
ac_ct_AR
757
 
AR
758
 
DLLTOOL
759
 
OBJDUMP
760
 
LN_S
761
 
NM
762
 
ac_ct_DUMPBIN
763
 
DUMPBIN
764
 
LD
765
 
FGREP
766
 
EGREP
767
 
GREP
768
 
SED
769
 
am__fastdepCC_FALSE
770
 
am__fastdepCC_TRUE
771
 
CCDEPMODE
772
 
am__nodep
773
 
AMDEPBACKSLASH
774
 
AMDEP_FALSE
775
 
AMDEP_TRUE
776
 
am__quote
777
 
am__include
778
 
DEPDIR
779
 
OBJEXT
780
 
EXEEXT
781
 
ac_ct_CC
782
 
CPPFLAGS
783
 
LDFLAGS
784
 
CFLAGS
785
 
CC
786
 
host_os
787
 
host_vendor
788
 
host_cpu
789
 
host
790
 
build_os
791
 
build_vendor
792
 
build_cpu
793
 
build
794
 
LIBTOOL
795
 
am__untar
796
 
am__tar
797
 
AMTAR
798
 
am__leading_dot
799
 
SET_MAKE
800
 
AWK
801
 
mkdir_p
802
 
MKDIR_P
803
 
INSTALL_STRIP_PROGRAM
804
 
STRIP
805
 
install_sh
806
 
MAKEINFO
807
 
AUTOHEADER
808
 
AUTOMAKE
809
 
AUTOCONF
810
 
ACLOCAL
811
 
VERSION
812
 
PACKAGE
813
 
CYGPATH_W
814
 
am__isrc
815
 
INSTALL_DATA
816
 
INSTALL_SCRIPT
817
 
INSTALL_PROGRAM
818
 
target_alias
819
 
host_alias
820
 
build_alias
821
 
LIBS
822
 
ECHO_T
823
 
ECHO_N
824
 
ECHO_C
825
 
DEFS
826
 
mandir
827
 
localedir
828
 
libdir
829
 
psdir
830
 
pdfdir
831
 
dvidir
832
 
htmldir
833
 
infodir
834
 
docdir
835
 
oldincludedir
836
 
includedir
837
 
localstatedir
838
 
sharedstatedir
839
 
sysconfdir
840
 
datadir
841
 
datarootdir
842
 
libexecdir
843
 
sbindir
844
 
bindir
845
 
program_transform_name
846
 
prefix
847
 
exec_prefix
848
 
PACKAGE_URL
849
 
PACKAGE_BUGREPORT
850
 
PACKAGE_STRING
851
 
PACKAGE_VERSION
852
 
PACKAGE_TARNAME
853
 
PACKAGE_NAME
854
 
PATH_SEPARATOR
855
 
SHELL'
856
 
ac_subst_files=''
857
 
ac_user_opts='
858
 
enable_option_checking
859
 
enable_shared
860
 
enable_static
861
 
with_pic
862
 
enable_fast_install
863
 
enable_dependency_tracking
864
 
with_gnu_ld
865
 
with_sysroot
866
 
enable_libtool_lock
867
 
enable_maintainer_mode
868
 
enable_silent_rules
869
 
enable_introspection
870
 
enable_compile_warnings
871
 
enable_iso_c
872
 
enable_liblightdm_gobject
873
 
enable_liblightdm_qt
874
 
enable_tests
875
 
with_user_session
876
 
with_greeter_session
877
 
with_greeter_user
878
 
with_html_dir
879
 
enable_gtk_doc
880
 
enable_gtk_doc_html
881
 
enable_gtk_doc_pdf
882
 
with_help_dir
883
 
enable_nls
884
 
'
885
 
      ac_precious_vars='build_alias
886
 
host_alias
887
 
target_alias
888
 
CC
889
 
CFLAGS
890
 
LDFLAGS
891
 
LIBS
892
 
CPPFLAGS
893
 
CPP
894
 
CXX
895
 
CXXFLAGS
896
 
CCC
897
 
CXXCPP
898
 
PKG_CONFIG
899
 
PKG_CONFIG_PATH
900
 
PKG_CONFIG_LIBDIR
901
 
LIGHTDM_CFLAGS
902
 
LIGHTDM_LIBS
903
 
GLIB_CFLAGS
904
 
GLIB_LIBS
905
 
GIO_CFLAGS
906
 
GIO_LIBS
907
 
GIO_UNIX_CFLAGS
908
 
GIO_UNIX_LIBS
909
 
GOBJECT_CFLAGS
910
 
GOBJECT_LIBS
911
 
XCB_CFLAGS
912
 
XCB_LIBS
913
 
LIBLIGHTDM_GOBJECT_CFLAGS
914
 
LIBLIGHTDM_GOBJECT_LIBS
915
 
LIBLIGHTDM_QT_CFLAGS
916
 
LIBLIGHTDM_QT_LIBS
917
 
GTKDOC_DEPS_CFLAGS
918
 
GTKDOC_DEPS_LIBS
919
 
ITSTOOL
920
 
XMLLINT'
921
 
 
922
 
 
923
 
# Initialize some variables set by options.
924
 
ac_init_help=
925
 
ac_init_version=false
926
 
ac_unrecognized_opts=
927
 
ac_unrecognized_sep=
928
 
# The variables have the same names as the options, with
929
 
# dashes changed to underlines.
930
 
cache_file=/dev/null
931
 
exec_prefix=NONE
932
 
no_create=
933
 
no_recursion=
934
 
prefix=NONE
935
 
program_prefix=NONE
936
 
program_suffix=NONE
937
 
program_transform_name=s,x,x,
938
 
silent=
939
 
site=
940
 
srcdir=
941
 
verbose=
942
 
x_includes=NONE
943
 
x_libraries=NONE
944
 
 
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'
963
 
htmldir='${docdir}'
964
 
dvidir='${docdir}'
965
 
pdfdir='${docdir}'
966
 
psdir='${docdir}'
967
 
libdir='${exec_prefix}/lib'
968
 
localedir='${datarootdir}/locale'
969
 
mandir='${datarootdir}/man'
970
 
 
971
 
ac_prev=
972
 
ac_dashdash=
973
 
for ac_option
974
 
do
975
 
  # If the previous option needs an argument, assign it.
976
 
  if test -n "$ac_prev"; then
977
 
    eval $ac_prev=\$ac_option
978
 
    ac_prev=
979
 
    continue
980
 
  fi
981
 
 
982
 
  case $ac_option in
983
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984
 
  *=)   ac_optarg= ;;
985
 
  *)    ac_optarg=yes ;;
986
 
  esac
987
 
 
988
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
989
 
 
990
 
  case $ac_dashdash$ac_option in
991
 
  --)
992
 
    ac_dashdash=yes ;;
993
 
 
994
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
995
 
    ac_prev=bindir ;;
996
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
997
 
    bindir=$ac_optarg ;;
998
 
 
999
 
  -build | --build | --buil | --bui | --bu)
1000
 
    ac_prev=build_alias ;;
1001
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1002
 
    build_alias=$ac_optarg ;;
1003
 
 
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 ;;
1010
 
 
1011
 
  --config-cache | -C)
1012
 
    cache_file=config.cache ;;
1013
 
 
1014
 
  -datadir | --datadir | --datadi | --datad)
1015
 
    ac_prev=datadir ;;
1016
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1017
 
    datadir=$ac_optarg ;;
1018
 
 
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 ;;
1025
 
 
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
1034
 
      *"
1035
 
"enable_$ac_useropt"
1036
 
"*) ;;
1037
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1038
 
         ac_unrecognized_sep=', ';;
1039
 
    esac
1040
 
    eval enable_$ac_useropt=no ;;
1041
 
 
1042
 
  -docdir | --docdir | --docdi | --doc | --do)
1043
 
    ac_prev=docdir ;;
1044
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1045
 
    docdir=$ac_optarg ;;
1046
 
 
1047
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1048
 
    ac_prev=dvidir ;;
1049
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1050
 
    dvidir=$ac_optarg ;;
1051
 
 
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
1060
 
      *"
1061
 
"enable_$ac_useropt"
1062
 
"*) ;;
1063
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1064
 
         ac_unrecognized_sep=', ';;
1065
 
    esac
1066
 
    eval enable_$ac_useropt=\$ac_optarg ;;
1067
 
 
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 ;;
1076
 
 
1077
 
  -gas | --gas | --ga | --g)
1078
 
    # Obsolete; use --with-gas.
1079
 
    with_gas=yes ;;
1080
 
 
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 ;;
1087
 
 
1088
 
  -host | --host | --hos | --ho)
1089
 
    ac_prev=host_alias ;;
1090
 
  -host=* | --host=* | --hos=* | --ho=*)
1091
 
    host_alias=$ac_optarg ;;
1092
 
 
1093
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1094
 
    ac_prev=htmldir ;;
1095
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1096
 
  | --ht=*)
1097
 
    htmldir=$ac_optarg ;;
1098
 
 
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 ;;
1105
 
 
1106
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1107
 
    ac_prev=infodir ;;
1108
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1109
 
    infodir=$ac_optarg ;;
1110
 
 
1111
 
  -libdir | --libdir | --libdi | --libd)
1112
 
    ac_prev=libdir ;;
1113
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1114
 
    libdir=$ac_optarg ;;
1115
 
 
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 ;;
1122
 
 
1123
 
  -localedir | --localedir | --localedi | --localed | --locale)
1124
 
    ac_prev=localedir ;;
1125
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1126
 
    localedir=$ac_optarg ;;
1127
 
 
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 ;;
1134
 
 
1135
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1136
 
    ac_prev=mandir ;;
1137
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1138
 
    mandir=$ac_optarg ;;
1139
 
 
1140
 
  -nfp | --nfp | --nf)
1141
 
    # Obsolete; use --without-fp.
1142
 
    with_fp=no ;;
1143
 
 
1144
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1145
 
  | --no-cr | --no-c | -n)
1146
 
    no_create=yes ;;
1147
 
 
1148
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1149
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1150
 
    no_recursion=yes ;;
1151
 
 
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 ;;
1160
 
 
1161
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1162
 
    ac_prev=prefix ;;
1163
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1164
 
    prefix=$ac_optarg ;;
1165
 
 
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 ;;
1172
 
 
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 ;;
1179
 
 
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 ;;
1196
 
 
1197
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1198
 
    ac_prev=pdfdir ;;
1199
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1200
 
    pdfdir=$ac_optarg ;;
1201
 
 
1202
 
  -psdir | --psdir | --psdi | --psd | --ps)
1203
 
    ac_prev=psdir ;;
1204
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1205
 
    psdir=$ac_optarg ;;
1206
 
 
1207
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1208
 
  | -silent | --silent | --silen | --sile | --sil)
1209
 
    silent=yes ;;
1210
 
 
1211
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1212
 
    ac_prev=sbindir ;;
1213
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1214
 
  | --sbi=* | --sb=*)
1215
 
    sbindir=$ac_optarg ;;
1216
 
 
1217
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1218
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1219
 
  | --sharedst | --shareds | --shared | --share | --shar \
1220
 
  | --sha | --sh)
1221
 
    ac_prev=sharedstatedir ;;
1222
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1223
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1224
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1225
 
  | --sha=* | --sh=*)
1226
 
    sharedstatedir=$ac_optarg ;;
1227
 
 
1228
 
  -site | --site | --sit)
1229
 
    ac_prev=site ;;
1230
 
  -site=* | --site=* | --sit=*)
1231
 
    site=$ac_optarg ;;
1232
 
 
1233
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1234
 
    ac_prev=srcdir ;;
1235
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1236
 
    srcdir=$ac_optarg ;;
1237
 
 
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 ;;
1244
 
 
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 ;;
1249
 
 
1250
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1251
 
    verbose=yes ;;
1252
 
 
1253
 
  -version | --version | --versio | --versi | --vers | -V)
1254
 
    ac_init_version=: ;;
1255
 
 
1256
 
  -with-* | --with-*)
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
1264
 
      *"
1265
 
"with_$ac_useropt"
1266
 
"*) ;;
1267
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1268
 
         ac_unrecognized_sep=', ';;
1269
 
    esac
1270
 
    eval with_$ac_useropt=\$ac_optarg ;;
1271
 
 
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
1280
 
      *"
1281
 
"with_$ac_useropt"
1282
 
"*) ;;
1283
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1284
 
         ac_unrecognized_sep=', ';;
1285
 
    esac
1286
 
    eval with_$ac_useropt=no ;;
1287
 
 
1288
 
  --x)
1289
 
    # Obsolete; use --with-x.
1290
 
    with_x=yes ;;
1291
 
 
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 ;;
1298
 
 
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 ;;
1305
 
 
1306
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1307
 
Try \`$0 --help' for more information"
1308
 
    ;;
1309
 
 
1310
 
  *=*)
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'" ;;
1316
 
    esac
1317
 
    eval $ac_envvar=\$ac_optarg
1318
 
    export $ac_envvar ;;
1319
 
 
1320
 
  *)
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}"
1326
 
    ;;
1327
 
 
1328
 
  esac
1329
 
done
1330
 
 
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"
1334
 
fi
1335
 
 
1336
 
if test -n "$ac_unrecognized_opts"; then
1337
 
  case $enable_option_checking in
1338
 
    no) ;;
1339
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1340
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1341
 
  esac
1342
 
fi
1343
 
 
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
1349
 
do
1350
 
  eval ac_val=\$$ac_var
1351
 
  # Remove trailing slashes.
1352
 
  case $ac_val in
1353
 
    */ )
1354
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1355
 
      eval $ac_var=\$ac_val;;
1356
 
  esac
1357
 
  # Be sure to have absolute directory names.
1358
 
  case $ac_val in
1359
 
    [\\/$]* | ?:[\\/]* )  continue;;
1360
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1361
 
  esac
1362
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1363
 
done
1364
 
 
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.
1368
 
build=$build_alias
1369
 
host=$host_alias
1370
 
target=$target_alias
1371
 
 
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
1377
 
    cross_compiling=yes
1378
 
  fi
1379
 
fi
1380
 
 
1381
 
ac_tool_prefix=
1382
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1383
 
 
1384
 
test "$silent" = yes && exec 6>/dev/null
1385
 
 
1386
 
 
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"
1393
 
 
1394
 
 
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1406
 
            s//\1/
1407
 
            q
1408
 
          }
1409
 
          /^X\(\/\/\)[^/].*/{
1410
 
            s//\1/
1411
 
            q
1412
 
          }
1413
 
          /^X\(\/\/\)$/{
1414
 
            s//\1/
1415
 
            q
1416
 
          }
1417
 
          /^X\(\/\).*/{
1418
 
            s//\1/
1419
 
            q
1420
 
          }
1421
 
          s/.*/./; q'`
1422
 
  srcdir=$ac_confdir
1423
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1424
 
    srcdir=..
1425
 
  fi
1426
 
else
1427
 
  ac_srcdir_defaulted=no
1428
 
fi
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"
1432
 
fi
1433
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1434
 
ac_abs_confdir=`(
1435
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1436
 
        pwd)`
1437
 
# When building in place, set srcdir=.
1438
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1439
 
  srcdir=.
1440
 
fi
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.
1444
 
case $srcdir in
1445
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1446
 
esac
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}
1452
 
done
1453
 
 
1454
 
#
1455
 
# Report the --help message.
1456
 
#
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.
1460
 
  cat <<_ACEOF
1461
 
\`configure' configures lightdm 1.4.0 to adapt to many kinds of systems.
1462
 
 
1463
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1464
 
 
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.
1467
 
 
1468
 
Defaults for the options are specified in brackets.
1469
 
 
1470
 
Configuration:
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 \`..']
1480
 
 
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
1485
 
                          [PREFIX]
1486
 
 
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'.
1491
 
 
1492
 
For better control, use the options below.
1493
 
 
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]
1514
 
_ACEOF
1515
 
 
1516
 
  cat <<\_ACEOF
1517
 
 
1518
 
Program names:
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
1522
 
 
1523
 
System types:
1524
 
  --build=BUILD     configure for building on BUILD [guessed]
1525
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1526
 
_ACEOF
1527
 
fi
1528
 
 
1529
 
if test -n "$ac_init_help"; then
1530
 
  case $ac_init_help in
1531
 
     short | recursive ) echo "Configuration of lightdm 1.4.0:";;
1532
 
   esac
1533
 
  cat <<\_ACEOF
1534
 
 
1535
 
Optional Features:
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
1557
 
                          [[default=auto]]
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
1564
 
 
1565
 
Optional Packages:
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
1569
 
                          both]
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>
1576
 
                          Greeter 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
1581
 
 
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>
1590
 
  CPP         C preprocessor
1591
 
  CXX         C++ compiler command
1592
 
  CXXFLAGS    C++ compiler flags
1593
 
  CXXCPP      C++ preprocessor
1594
 
  PKG_CONFIG  path to pkg-config utility
1595
 
  PKG_CONFIG_PATH
1596
 
              directories to add to pkg-config's search path
1597
 
  PKG_CONFIG_LIBDIR
1598
 
              path overriding pkg-config's built-in search path
1599
 
  LIGHTDM_CFLAGS
1600
 
              C compiler flags for LIGHTDM, overriding pkg-config
1601
 
  LIGHTDM_LIBS
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
1607
 
  GIO_UNIX_CFLAGS
1608
 
              C compiler flags for GIO_UNIX, overriding pkg-config
1609
 
  GIO_UNIX_LIBS
1610
 
              linker flags for GIO_UNIX, overriding pkg-config
1611
 
  GOBJECT_CFLAGS
1612
 
              C compiler flags for GOBJECT, overriding pkg-config
1613
 
  GOBJECT_LIBS
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
1623
 
  LIBLIGHTDM_QT_LIBS
1624
 
              linker flags for LIBLIGHTDM_QT, overriding pkg-config
1625
 
  GTKDOC_DEPS_CFLAGS
1626
 
              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1627
 
  GTKDOC_DEPS_LIBS
1628
 
              linker flags for GTKDOC_DEPS, overriding pkg-config
1629
 
  ITSTOOL     Path to the `itstool` command
1630
 
  XMLLINT     Path to the `xmllint` command
1631
 
 
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.
1634
 
 
1635
 
Report bugs to the package provider.
1636
 
_ACEOF
1637
 
ac_status=$?
1638
 
fi
1639
 
 
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"; } ||
1645
 
      continue
1646
 
    ac_builddir=.
1647
 
 
1648
 
case "$ac_dir" in
1649
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1650
 
*)
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/ ;;
1657
 
  esac ;;
1658
 
esac
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
1663
 
 
1664
 
case $srcdir in
1665
 
  .)  # We are building in place.
1666
 
    ac_srcdir=.
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 ;;
1673
 
  *) # Relative name.
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 ;;
1677
 
esac
1678
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1679
 
 
1680
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1681
 
    # Check for guested configure.
1682
 
    if test -f "$ac_srcdir/configure.gnu"; then
1683
 
      echo &&
1684
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685
 
    elif test -f "$ac_srcdir/configure"; then
1686
 
      echo &&
1687
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1688
 
    else
1689
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1690
 
    fi || ac_status=$?
1691
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1692
 
  done
1693
 
fi
1694
 
 
1695
 
test -n "$ac_init_help" && exit $ac_status
1696
 
if $ac_init_version; then
1697
 
  cat <<\_ACEOF
1698
 
lightdm configure 1.4.0
1699
 
generated by GNU Autoconf 2.69
1700
 
 
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.
1704
 
_ACEOF
1705
 
  exit
1706
 
fi
1707
 
 
1708
 
## ------------------------ ##
1709
 
## Autoconf initialization. ##
1710
 
## ------------------------ ##
1711
 
 
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 ()
1716
 
{
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"
1720
 
case "(($ac_try" in
1721
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722
 
  *) ac_try_echo=$ac_try;;
1723
 
esac
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
1727
 
  ac_status=$?
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
1732
 
  fi
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 :
1738
 
  ac_retval=0
1739
 
else
1740
 
  $as_echo "$as_me: failed program was:" >&5
1741
 
sed 's/^/| /' conftest.$ac_ext >&5
1742
 
 
1743
 
        ac_retval=1
1744
 
fi
1745
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746
 
  as_fn_set_status $ac_retval
1747
 
 
1748
 
} # ac_fn_c_try_compile
1749
 
 
1750
 
# ac_fn_c_try_link LINENO
1751
 
# -----------------------
1752
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1753
 
ac_fn_c_try_link ()
1754
 
{
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"
1758
 
case "(($ac_try" in
1759
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760
 
  *) ac_try_echo=$ac_try;;
1761
 
esac
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
1765
 
  ac_status=$?
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
1770
 
  fi
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
1778
 
       }; then :
1779
 
  ac_retval=0
1780
 
else
1781
 
  $as_echo "$as_me: failed program was:" >&5
1782
 
sed 's/^/| /' conftest.$ac_ext >&5
1783
 
 
1784
 
        ac_retval=1
1785
 
fi
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
1793
 
 
1794
 
} # ac_fn_c_try_link
1795
 
 
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 ()
1801
 
{
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
1807
 
else
1808
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809
 
/* end confdefs.h.  */
1810
 
$4
1811
 
#include <$2>
1812
 
_ACEOF
1813
 
if ac_fn_c_try_compile "$LINENO"; then :
1814
 
  eval "$3=yes"
1815
 
else
1816
 
  eval "$3=no"
1817
 
fi
1818
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1819
 
fi
1820
 
eval ac_res=\$$3
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
1824
 
 
1825
 
} # ac_fn_c_check_header_compile
1826
 
 
1827
 
# ac_fn_c_try_cpp LINENO
1828
 
# ----------------------
1829
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1830
 
ac_fn_c_try_cpp ()
1831
 
{
1832
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1834
 
case "(($ac_try" in
1835
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836
 
  *) ac_try_echo=$ac_try;;
1837
 
esac
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
1841
 
  ac_status=$?
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
1846
 
  fi
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
1851
 
       }; then :
1852
 
  ac_retval=0
1853
 
else
1854
 
  $as_echo "$as_me: failed program was:" >&5
1855
 
sed 's/^/| /' conftest.$ac_ext >&5
1856
 
 
1857
 
    ac_retval=1
1858
 
fi
1859
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860
 
  as_fn_set_status $ac_retval
1861
 
 
1862
 
} # ac_fn_c_try_cpp
1863
 
 
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.
1868
 
ac_fn_c_try_run ()
1869
 
{
1870
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871
 
  if { { ac_try="$ac_link"
1872
 
case "(($ac_try" in
1873
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874
 
  *) ac_try_echo=$ac_try;;
1875
 
esac
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
1879
 
  ac_status=$?
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;;
1885
 
esac
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
1889
 
  ac_status=$?
1890
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891
 
  test $ac_status = 0; }; }; then :
1892
 
  ac_retval=0
1893
 
else
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
1897
 
 
1898
 
       ac_retval=$ac_status
1899
 
fi
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
1903
 
 
1904
 
} # ac_fn_c_try_run
1905
 
 
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 ()
1910
 
{
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
1916
 
else
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
1922
 
 
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.  */
1927
 
 
1928
 
#ifdef __STDC__
1929
 
# include <limits.h>
1930
 
#else
1931
 
# include <assert.h>
1932
 
#endif
1933
 
 
1934
 
#undef $2
1935
 
 
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.  */
1939
 
#ifdef __cplusplus
1940
 
extern "C"
1941
 
#endif
1942
 
char $2 ();
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
1947
 
choke me
1948
 
#endif
1949
 
 
1950
 
int
1951
 
main ()
1952
 
{
1953
 
return $2 ();
1954
 
  ;
1955
 
  return 0;
1956
 
}
1957
 
_ACEOF
1958
 
if ac_fn_c_try_link "$LINENO"; then :
1959
 
  eval "$3=yes"
1960
 
else
1961
 
  eval "$3=no"
1962
 
fi
1963
 
rm -f core conftest.err conftest.$ac_objext \
1964
 
    conftest$ac_exeext conftest.$ac_ext
1965
 
fi
1966
 
eval ac_res=\$$3
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
1970
 
 
1971
 
} # ac_fn_c_check_func
1972
 
 
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 ()
1977
 
{
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"
1981
 
case "(($ac_try" in
1982
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1983
 
  *) ac_try_echo=$ac_try;;
1984
 
esac
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
1988
 
  ac_status=$?
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
1993
 
  fi
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 :
1999
 
  ac_retval=0
2000
 
else
2001
 
  $as_echo "$as_me: failed program was:" >&5
2002
 
sed 's/^/| /' conftest.$ac_ext >&5
2003
 
 
2004
 
        ac_retval=1
2005
 
fi
2006
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007
 
  as_fn_set_status $ac_retval
2008
 
 
2009
 
} # ac_fn_cxx_try_compile
2010
 
 
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 ()
2015
 
{
2016
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
2018
 
case "(($ac_try" in
2019
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2020
 
  *) ac_try_echo=$ac_try;;
2021
 
esac
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
2025
 
  ac_status=$?
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
2030
 
  fi
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
2035
 
       }; then :
2036
 
  ac_retval=0
2037
 
else
2038
 
  $as_echo "$as_me: failed program was:" >&5
2039
 
sed 's/^/| /' conftest.$ac_ext >&5
2040
 
 
2041
 
    ac_retval=1
2042
 
fi
2043
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2044
 
  as_fn_set_status $ac_retval
2045
 
 
2046
 
} # ac_fn_cxx_try_cpp
2047
 
 
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 ()
2052
 
{
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"
2056
 
case "(($ac_try" in
2057
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2058
 
  *) ac_try_echo=$ac_try;;
2059
 
esac
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
2063
 
  ac_status=$?
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
2068
 
  fi
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
2076
 
       }; then :
2077
 
  ac_retval=0
2078
 
else
2079
 
  $as_echo "$as_me: failed program was:" >&5
2080
 
sed 's/^/| /' conftest.$ac_ext >&5
2081
 
 
2082
 
        ac_retval=1
2083
 
fi
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
2091
 
 
2092
 
} # ac_fn_cxx_try_link
2093
 
 
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
2098
 
# accordingly.
2099
 
ac_fn_c_check_header_mongrel ()
2100
 
{
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
2107
 
fi
2108
 
eval ac_res=\$$3
2109
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2110
 
$as_echo "$ac_res" >&6; }
2111
 
else
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.  */
2117
 
$4
2118
 
#include <$2>
2119
 
_ACEOF
2120
 
if ac_fn_c_try_compile "$LINENO"; then :
2121
 
  ac_header_compiler=yes
2122
 
else
2123
 
  ac_header_compiler=no
2124
 
fi
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; }
2128
 
 
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.  */
2134
 
#include <$2>
2135
 
_ACEOF
2136
 
if ac_fn_c_try_cpp "$LINENO"; then :
2137
 
  ac_header_preproc=yes
2138
 
else
2139
 
  ac_header_preproc=no
2140
 
fi
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; }
2144
 
 
2145
 
# So?  What about this header?
2146
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2147
 
  yes:no: )
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;}
2152
 
    ;;
2153
 
  no:yes:* )
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;}
2164
 
    ;;
2165
 
esac
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
2170
 
else
2171
 
  eval "$3=\$ac_header_compiler"
2172
 
fi
2173
 
eval ac_res=\$$3
2174
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2175
 
$as_echo "$ac_res" >&6; }
2176
 
fi
2177
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2178
 
 
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.
2183
 
 
2184
 
It was created by lightdm $as_me 1.4.0, which was
2185
 
generated by GNU Autoconf 2.69.  Invocation command line was
2186
 
 
2187
 
  $ $0 $@
2188
 
 
2189
 
_ACEOF
2190
 
exec 5>>config.log
2191
 
{
2192
 
cat <<_ASUNAME
2193
 
## --------- ##
2194
 
## Platform. ##
2195
 
## --------- ##
2196
 
 
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`
2202
 
 
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`
2205
 
 
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`
2213
 
 
2214
 
_ASUNAME
2215
 
 
2216
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2217
 
for as_dir in $PATH
2218
 
do
2219
 
  IFS=$as_save_IFS
2220
 
  test -z "$as_dir" && as_dir=.
2221
 
    $as_echo "PATH: $as_dir"
2222
 
  done
2223
 
IFS=$as_save_IFS
2224
 
 
2225
 
} >&5
2226
 
 
2227
 
cat >&5 <<_ACEOF
2228
 
 
2229
 
 
2230
 
## ----------- ##
2231
 
## Core tests. ##
2232
 
## ----------- ##
2233
 
 
2234
 
_ACEOF
2235
 
 
2236
 
 
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.
2242
 
ac_configure_args=
2243
 
ac_configure_args0=
2244
 
ac_configure_args1=
2245
 
ac_must_keep_next=false
2246
 
for ac_pass in 1 2
2247
 
do
2248
 
  for ac_arg
2249
 
  do
2250
 
    case $ac_arg in
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)
2254
 
      continue ;;
2255
 
    *\'*)
2256
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2257
 
    esac
2258
 
    case $ac_pass in
2259
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2260
 
    2)
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.
2264
 
      else
2265
 
        case $ac_arg in
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 ;;
2272
 
            esac
2273
 
            ;;
2274
 
          -* ) ac_must_keep_next=true ;;
2275
 
        esac
2276
 
      fi
2277
 
      as_fn_append ac_configure_args " '$ac_arg'"
2278
 
      ;;
2279
 
    esac
2280
 
  done
2281
 
done
2282
 
{ ac_configure_args0=; unset ac_configure_args0;}
2283
 
{ ac_configure_args1=; unset ac_configure_args1;}
2284
 
 
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.
2292
 
  {
2293
 
    echo
2294
 
 
2295
 
    $as_echo "## ---------------- ##
2296
 
## Cache variables. ##
2297
 
## ---------------- ##"
2298
 
    echo
2299
 
    # The following way of writing the cache mishandles newlines in values,
2300
 
(
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
2303
 
    case $ac_val in #(
2304
 
    *${as_nl}*)
2305
 
      case $ac_var in #(
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;} ;;
2308
 
      esac
2309
 
      case $ac_var in #(
2310
 
      _ | IFS | as_nl) ;; #(
2311
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2312
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2313
 
      esac ;;
2314
 
    esac
2315
 
  done
2316
 
  (set) 2>&1 |
2317
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2318
 
    *${as_nl}ac_space=\ *)
2319
 
      sed -n \
2320
 
        "s/'\''/'\''\\\\'\'''\''/g;
2321
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2322
 
      ;; #(
2323
 
    *)
2324
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2325
 
      ;;
2326
 
    esac |
2327
 
    sort
2328
 
)
2329
 
    echo
2330
 
 
2331
 
    $as_echo "## ----------------- ##
2332
 
## Output variables. ##
2333
 
## ----------------- ##"
2334
 
    echo
2335
 
    for ac_var in $ac_subst_vars
2336
 
    do
2337
 
      eval ac_val=\$$ac_var
2338
 
      case $ac_val in
2339
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2340
 
      esac
2341
 
      $as_echo "$ac_var='\''$ac_val'\''"
2342
 
    done | sort
2343
 
    echo
2344
 
 
2345
 
    if test -n "$ac_subst_files"; then
2346
 
      $as_echo "## ------------------- ##
2347
 
## File substitutions. ##
2348
 
## ------------------- ##"
2349
 
      echo
2350
 
      for ac_var in $ac_subst_files
2351
 
      do
2352
 
        eval ac_val=\$$ac_var
2353
 
        case $ac_val in
2354
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2355
 
        esac
2356
 
        $as_echo "$ac_var='\''$ac_val'\''"
2357
 
      done | sort
2358
 
      echo
2359
 
    fi
2360
 
 
2361
 
    if test -s confdefs.h; then
2362
 
      $as_echo "## ----------- ##
2363
 
## confdefs.h. ##
2364
 
## ----------- ##"
2365
 
      echo
2366
 
      cat confdefs.h
2367
 
      echo
2368
 
    fi
2369
 
    test "$ac_signal" != 0 &&
2370
 
      $as_echo "$as_me: caught signal $ac_signal"
2371
 
    $as_echo "$as_me: exit $exit_status"
2372
 
  } >&5
2373
 
  rm -f core *.core core.conftest.* &&
2374
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2375
 
    exit $exit_status
2376
 
' 0
2377
 
for ac_signal in 1 2 13 15; do
2378
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2379
 
done
2380
 
ac_signal=0
2381
 
 
2382
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2383
 
rm -f -r conftest* confdefs.h
2384
 
 
2385
 
$as_echo "/* confdefs.h */" > confdefs.h
2386
 
 
2387
 
# Predefined preprocessor variables.
2388
 
 
2389
 
cat >>confdefs.h <<_ACEOF
2390
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2391
 
_ACEOF
2392
 
 
2393
 
cat >>confdefs.h <<_ACEOF
2394
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2395
 
_ACEOF
2396
 
 
2397
 
cat >>confdefs.h <<_ACEOF
2398
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2399
 
_ACEOF
2400
 
 
2401
 
cat >>confdefs.h <<_ACEOF
2402
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2403
 
_ACEOF
2404
 
 
2405
 
cat >>confdefs.h <<_ACEOF
2406
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2407
 
_ACEOF
2408
 
 
2409
 
cat >>confdefs.h <<_ACEOF
2410
 
#define PACKAGE_URL "$PACKAGE_URL"
2411
 
_ACEOF
2412
 
 
2413
 
 
2414
 
# Let the site file select an alternate cache file if it wants to.
2415
 
# Prefer an explicitly selected file to automatically selected ones.
2416
 
ac_site_file1=NONE
2417
 
ac_site_file2=NONE
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;;
2424
 
  esac
2425
 
elif test "x$prefix" != xNONE; then
2426
 
  ac_site_file1=$prefix/share/config.site
2427
 
  ac_site_file2=$prefix/etc/config.site
2428
 
else
2429
 
  ac_site_file1=$ac_default_prefix/share/config.site
2430
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2431
 
fi
2432
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2433
 
do
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
2439
 
    . "$ac_site_file" \
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; }
2444
 
  fi
2445
 
done
2446
 
 
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;}
2453
 
    case $cache_file in
2454
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2455
 
      *)                      . "./$cache_file";;
2456
 
    esac
2457
 
  fi
2458
 
else
2459
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2460
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2461
 
  >$cache_file
2462
 
fi
2463
 
 
2464
 
# Check that the precious variables saved in the cache have kept the same
2465
 
# value.
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
2473
 
    set,)
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=: ;;
2477
 
    ,set)
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=: ;;
2481
 
    ,);;
2482
 
    *)
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=:
2491
 
        else
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
2495
 
        fi
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;}
2500
 
      fi;;
2501
 
  esac
2502
 
  # Pass precious variables to config.status.
2503
 
  if test "$ac_new_set" = set; then
2504
 
    case $ac_new_val in
2505
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2506
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2507
 
    esac
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'" ;;
2511
 
    esac
2512
 
  fi
2513
 
done
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
2520
 
fi
2521
 
## -------------------- ##
2522
 
## Main body of script. ##
2523
 
## -------------------- ##
2524
 
 
2525
 
ac_ext=c
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
2530
 
 
2531
 
 
2532
 
 
2533
 
ac_config_headers="$ac_config_headers config.h"
2534
 
 
2535
 
am__api_version='1.11'
2536
 
 
2537
 
ac_aux_dir=
2538
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2539
 
  if test -f "$ac_dir/install-sh"; then
2540
 
    ac_aux_dir=$ac_dir
2541
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2542
 
    break
2543
 
  elif test -f "$ac_dir/install.sh"; then
2544
 
    ac_aux_dir=$ac_dir
2545
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2546
 
    break
2547
 
  elif test -f "$ac_dir/shtool"; then
2548
 
    ac_aux_dir=$ac_dir
2549
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2550
 
    break
2551
 
  fi
2552
 
done
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
2555
 
fi
2556
 
 
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.
2564
 
 
2565
 
 
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
2572
 
# AIX /bin/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
2585
 
else
2586
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587
 
for as_dir in $PATH
2588
 
do
2589
 
  IFS=$as_save_IFS
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[\\/]* | \
2596
 
  /usr/ucb/* ) ;;
2597
 
  *)
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
2600
 
    # by default.
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.
2607
 
            :
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.
2611
 
            :
2612
 
          else
2613
 
            rm -rf conftest.one conftest.two conftest.dir
2614
 
            echo one > conftest.one
2615
 
            echo two > conftest.two
2616
 
            mkdir conftest.dir
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
2621
 
            then
2622
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2623
 
              break 3
2624
 
            fi
2625
 
          fi
2626
 
        fi
2627
 
      done
2628
 
    done
2629
 
    ;;
2630
 
esac
2631
 
 
2632
 
  done
2633
 
IFS=$as_save_IFS
2634
 
 
2635
 
rm -rf conftest.one conftest.two conftest.dir
2636
 
 
2637
 
fi
2638
 
  if test "${ac_cv_path_install+set}" = set; then
2639
 
    INSTALL=$ac_cv_path_install
2640
 
  else
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
2646
 
  fi
2647
 
fi
2648
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2649
 
$as_echo "$INSTALL" >&6; }
2650
 
 
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}'
2654
 
 
2655
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2656
 
 
2657
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2658
 
 
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; }
2661
 
# Just in case
2662
 
sleep 1
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.
2666
 
am_lf='
2667
 
'
2668
 
case `pwd` in
2669
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2670
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2671
 
esac
2672
 
case $srcdir in
2673
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2674
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2675
 
esac
2676
 
 
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
2681
 
# directory).
2682
 
if (
2683
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2684
 
   if test "$*" = "X"; then
2685
 
      # -L didn't work.
2686
 
      set X `ls -t "$srcdir/configure" conftest.file`
2687
 
   fi
2688
 
   rm -f conftest.file
2689
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2690
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2691
 
 
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
2698
 
   fi
2699
 
 
2700
 
   test "$2" = conftest.file
2701
 
   )
2702
 
then
2703
 
   # Ok.
2704
 
   :
2705
 
else
2706
 
   as_fn_error $? "newly created file is older than distributed files!
2707
 
Check your system clock" "$LINENO" 5
2708
 
fi
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"`
2720
 
 
2721
 
# expand $ac_aux_dir to an absolute path
2722
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2723
 
 
2724
 
if test x"${MISSING+set}" != xset; then
2725
 
  case $am_aux_dir in
2726
 
  *\ * | *\     *)
2727
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2728
 
  *)
2729
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2730
 
  esac
2731
 
fi
2732
 
# Use eval to expand $SHELL
2733
 
if eval "$MISSING --run true"; then
2734
 
  am_missing_run="$MISSING --run "
2735
 
else
2736
 
  am_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;}
2739
 
fi
2740
 
 
2741
 
if test x"${install_sh}" != xset; then
2742
 
  case $am_aux_dir in
2743
 
  *\ * | *\     *)
2744
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2745
 
  *)
2746
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2747
 
  esac
2748
 
fi
2749
 
 
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
2762
 
else
2763
 
  if test -n "$STRIP"; then
2764
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2765
 
else
2766
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2767
 
for as_dir in $PATH
2768
 
do
2769
 
  IFS=$as_save_IFS
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
2775
 
    break 2
2776
 
  fi
2777
 
done
2778
 
  done
2779
 
IFS=$as_save_IFS
2780
 
 
2781
 
fi
2782
 
fi
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; }
2787
 
else
2788
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2789
 
$as_echo "no" >&6; }
2790
 
fi
2791
 
 
2792
 
 
2793
 
fi
2794
 
if test -z "$ac_cv_prog_STRIP"; then
2795
 
  ac_ct_STRIP=$STRIP
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
2802
 
else
2803
 
  if test -n "$ac_ct_STRIP"; then
2804
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2805
 
else
2806
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807
 
for as_dir in $PATH
2808
 
do
2809
 
  IFS=$as_save_IFS
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
2815
 
    break 2
2816
 
  fi
2817
 
done
2818
 
  done
2819
 
IFS=$as_save_IFS
2820
 
 
2821
 
fi
2822
 
fi
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; }
2827
 
else
2828
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2829
 
$as_echo "no" >&6; }
2830
 
fi
2831
 
 
2832
 
  if test "x$ac_ct_STRIP" = x; then
2833
 
    STRIP=":"
2834
 
  else
2835
 
    case $cross_compiling:$ac_tool_warned in
2836
 
yes:)
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 ;;
2840
 
esac
2841
 
    STRIP=$ac_ct_STRIP
2842
 
  fi
2843
 
else
2844
 
  STRIP="$ac_cv_prog_STRIP"
2845
 
fi
2846
 
 
2847
 
fi
2848
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2849
 
 
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
2855
 
else
2856
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2858
 
do
2859
 
  IFS=$as_save_IFS
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
2869
 
               break 3;;
2870
 
           esac
2871
 
         done
2872
 
       done
2873
 
  done
2874
 
IFS=$as_save_IFS
2875
 
 
2876
 
fi
2877
 
 
2878
 
  test -d ./--version && rmdir ./--version
2879
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2880
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2881
 
  else
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"
2887
 
  fi
2888
 
fi
2889
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2890
 
$as_echo "$MKDIR_P" >&6; }
2891
 
 
2892
 
mkdir_p="$MKDIR_P"
2893
 
case $mkdir_p in
2894
 
  [\\/$]* | ?:[\\/]*) ;;
2895
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2896
 
esac
2897
 
 
2898
 
for ac_prog in gawk mawk nawk awk
2899
 
do
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
2906
 
else
2907
 
  if test -n "$AWK"; then
2908
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2909
 
else
2910
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911
 
for as_dir in $PATH
2912
 
do
2913
 
  IFS=$as_save_IFS
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
2919
 
    break 2
2920
 
  fi
2921
 
done
2922
 
  done
2923
 
IFS=$as_save_IFS
2924
 
 
2925
 
fi
2926
 
fi
2927
 
AWK=$ac_cv_prog_AWK
2928
 
if test -n "$AWK"; then
2929
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2930
 
$as_echo "$AWK" >&6; }
2931
 
else
2932
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2933
 
$as_echo "no" >&6; }
2934
 
fi
2935
 
 
2936
 
 
2937
 
  test -n "$AWK" && break
2938
 
done
2939
 
 
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; }
2942
 
set x ${MAKE-make}
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
2946
 
else
2947
 
  cat >conftest.make <<\_ACEOF
2948
 
SHELL = /bin/sh
2949
 
all:
2950
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2951
 
_ACEOF
2952
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2953
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2954
 
  *@@@%%%=?*=@@@%%%*)
2955
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2956
 
  *)
2957
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2958
 
esac
2959
 
rm -f conftest.make
2960
 
fi
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; }
2964
 
  SET_MAKE=
2965
 
else
2966
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967
 
$as_echo "no" >&6; }
2968
 
  SET_MAKE="MAKE=${MAKE-make}"
2969
 
fi
2970
 
 
2971
 
rm -rf .tst 2>/dev/null
2972
 
mkdir .tst 2>/dev/null
2973
 
if test -d .tst; then
2974
 
  am__leading_dot=.
2975
 
else
2976
 
  am__leading_dot=_
2977
 
fi
2978
 
rmdir .tst 2>/dev/null
2979
 
 
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
2987
 
  fi
2988
 
fi
2989
 
 
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'
2994
 
  else
2995
 
    CYGPATH_W=echo
2996
 
  fi
2997
 
fi
2998
 
 
2999
 
 
3000
 
# Define the identity of the package.
3001
 
 PACKAGE='lightdm'
3002
 
 VERSION='1.4.0'
3003
 
 
3004
 
 
3005
 
cat >>confdefs.h <<_ACEOF
3006
 
#define PACKAGE "$PACKAGE"
3007
 
_ACEOF
3008
 
 
3009
 
 
3010
 
cat >>confdefs.h <<_ACEOF
3011
 
#define VERSION "$VERSION"
3012
 
_ACEOF
3013
 
 
3014
 
# Some tools Automake needs.
3015
 
 
3016
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3017
 
 
3018
 
 
3019
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3020
 
 
3021
 
 
3022
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3023
 
 
3024
 
 
3025
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3026
 
 
3027
 
 
3028
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3029
 
 
3030
 
# We need awk for the "check" target.  The system "awk" is bad on
3031
 
# some platforms.
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 ...
3034
 
AMTAR='$${TAR-tar}'
3035
 
 
3036
 
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3037
 
 
3038
 
 
3039
 
 
3040
 
 
3041
 
 
3042
 
case `pwd` in
3043
 
  *\ * | *\     *)
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;} ;;
3046
 
esac
3047
 
 
3048
 
 
3049
 
 
3050
 
macro_version='2.4.2'
3051
 
macro_revision='1.3337'
3052
 
 
3053
 
 
3054
 
 
3055
 
 
3056
 
 
3057
 
 
3058
 
 
3059
 
 
3060
 
 
3061
 
 
3062
 
 
3063
 
 
3064
 
 
3065
 
ltmain="$ac_aux_dir/ltmain.sh"
3066
 
 
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
3070
 
 
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
3075
 
else
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
3083
 
 
3084
 
fi
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
3088
 
*-*-*) ;;
3089
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3090
 
esac
3091
 
build=$ac_cv_build
3092
 
ac_save_IFS=$IFS; IFS='-'
3093
 
set x $ac_cv_build
3094
 
shift
3095
 
build_cpu=$1
3096
 
build_vendor=$2
3097
 
shift; shift
3098
 
# Remember, the first character of IFS is used to create $*,
3099
 
# except with old shells:
3100
 
build_os=$*
3101
 
IFS=$ac_save_IFS
3102
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3103
 
 
3104
 
 
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
3109
 
else
3110
 
  if test "x$host_alias" = x; then
3111
 
  ac_cv_host=$ac_cv_build
3112
 
else
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
3115
 
fi
3116
 
 
3117
 
fi
3118
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3119
 
$as_echo "$ac_cv_host" >&6; }
3120
 
case $ac_cv_host in
3121
 
*-*-*) ;;
3122
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3123
 
esac
3124
 
host=$ac_cv_host
3125
 
ac_save_IFS=$IFS; IFS='-'
3126
 
set x $ac_cv_host
3127
 
shift
3128
 
host_cpu=$1
3129
 
host_vendor=$2
3130
 
shift; shift
3131
 
# Remember, the first character of IFS is used to create $*,
3132
 
# except with old shells:
3133
 
host_os=$*
3134
 
IFS=$ac_save_IFS
3135
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3136
 
 
3137
 
 
3138
 
# Backslashify metacharacters that are still active within
3139
 
# double-quoted strings.
3140
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3141
 
 
3142
 
# Same as above, but do not quote variable references.
3143
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
3144
 
 
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'
3148
 
 
3149
 
# Sed substitution to delay expansion of an escaped single quote.
3150
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3151
 
 
3152
 
# Sed substitution to avoid accidental globbing in evaled expressions
3153
 
no_glob_subst='s/\*/\\\*/g'
3154
 
 
3155
 
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3156
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3157
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3158
 
 
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
3164
 
  ECHO='print -r --'
3165
 
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3166
 
  ECHO='printf %s\n'
3167
 
else
3168
 
  # Use this function as a fallback that always works.
3169
 
  func_fallback_echo ()
3170
 
  {
3171
 
    eval 'cat <<_LTECHO_EOF
3172
 
$1
3173
 
_LTECHO_EOF'
3174
 
  }
3175
 
  ECHO='func_fallback_echo'
3176
 
fi
3177
 
 
3178
 
# func_echo_all arg...
3179
 
# Invoke $ECHO with all args, space-separated.
3180
 
func_echo_all ()
3181
 
{
3182
 
    $ECHO ""
3183
 
}
3184
 
 
3185
 
case "$ECHO" in
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; } ;;
3192
 
esac
3193
 
 
3194
 
 
3195
 
 
3196
 
 
3197
 
 
3198
 
 
3199
 
 
3200
 
 
3201
 
 
3202
 
 
3203
 
 
3204
 
 
3205
 
 
3206
 
 
3207
 
DEPDIR="${am__leading_dot}deps"
3208
 
 
3209
 
ac_config_commands="$ac_config_commands depfiles"
3210
 
 
3211
 
 
3212
 
am_make=${MAKE-make}
3213
 
cat > confinc << 'END'
3214
 
am__doit:
3215
 
        @echo this is the am__doit target
3216
 
.PHONY: am__doit
3217
 
END
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; }
3221
 
am__include="#"
3222
 
am__quote=
3223
 
_am_result=none
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*)
3229
 
  am__include=include
3230
 
  am__quote=
3231
 
  _am_result=GNU
3232
 
  ;;
3233
 
esac
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
3240
 
     am__quote="\""
3241
 
     _am_result=BSD
3242
 
     ;;
3243
 
   esac
3244
 
fi
3245
 
 
3246
 
 
3247
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3248
 
$as_echo "$_am_result" >&6; }
3249
 
rm -f confinc confmf
3250
 
 
3251
 
# Check whether --enable-dependency-tracking was given.
3252
 
if test "${enable_dependency_tracking+set}" = set; then :
3253
 
  enableval=$enable_dependency_tracking;
3254
 
fi
3255
 
 
3256
 
if test "x$enable_dependency_tracking" != xno; then
3257
 
  am_depcomp="$ac_aux_dir/depcomp"
3258
 
  AMDEPBACKSLASH='\'
3259
 
  am__nodep='_no'
3260
 
fi
3261
 
 if test "x$enable_dependency_tracking" != xno; then
3262
 
  AMDEP_TRUE=
3263
 
  AMDEP_FALSE='#'
3264
 
else
3265
 
  AMDEP_TRUE='#'
3266
 
  AMDEP_FALSE=
3267
 
fi
3268
 
 
3269
 
 
3270
 
ac_ext=c
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
3282
 
else
3283
 
  if test -n "$CC"; then
3284
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3285
 
else
3286
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3287
 
for as_dir in $PATH
3288
 
do
3289
 
  IFS=$as_save_IFS
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
3295
 
    break 2
3296
 
  fi
3297
 
done
3298
 
  done
3299
 
IFS=$as_save_IFS
3300
 
 
3301
 
fi
3302
 
fi
3303
 
CC=$ac_cv_prog_CC
3304
 
if test -n "$CC"; then
3305
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3306
 
$as_echo "$CC" >&6; }
3307
 
else
3308
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3309
 
$as_echo "no" >&6; }
3310
 
fi
3311
 
 
3312
 
 
3313
 
fi
3314
 
if test -z "$ac_cv_prog_CC"; then
3315
 
  ac_ct_CC=$CC
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
3322
 
else
3323
 
  if test -n "$ac_ct_CC"; then
3324
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3325
 
else
3326
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327
 
for as_dir in $PATH
3328
 
do
3329
 
  IFS=$as_save_IFS
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
3335
 
    break 2
3336
 
  fi
3337
 
done
3338
 
  done
3339
 
IFS=$as_save_IFS
3340
 
 
3341
 
fi
3342
 
fi
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; }
3347
 
else
3348
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3349
 
$as_echo "no" >&6; }
3350
 
fi
3351
 
 
3352
 
  if test "x$ac_ct_CC" = x; then
3353
 
    CC=""
3354
 
  else
3355
 
    case $cross_compiling:$ac_tool_warned in
3356
 
yes:)
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 ;;
3360
 
esac
3361
 
    CC=$ac_ct_CC
3362
 
  fi
3363
 
else
3364
 
  CC="$ac_cv_prog_CC"
3365
 
fi
3366
 
 
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
3375
 
else
3376
 
  if test -n "$CC"; then
3377
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3378
 
else
3379
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380
 
for as_dir in $PATH
3381
 
do
3382
 
  IFS=$as_save_IFS
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
3388
 
    break 2
3389
 
  fi
3390
 
done
3391
 
  done
3392
 
IFS=$as_save_IFS
3393
 
 
3394
 
fi
3395
 
fi
3396
 
CC=$ac_cv_prog_CC
3397
 
if test -n "$CC"; then
3398
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3399
 
$as_echo "$CC" >&6; }
3400
 
else
3401
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402
 
$as_echo "no" >&6; }
3403
 
fi
3404
 
 
3405
 
 
3406
 
  fi
3407
 
fi
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
3415
 
else
3416
 
  if test -n "$CC"; then
3417
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3418
 
else
3419
 
  ac_prog_rejected=no
3420
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421
 
for as_dir in $PATH
3422
 
do
3423
 
  IFS=$as_save_IFS
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
3429
 
       continue
3430
 
     fi
3431
 
    ac_cv_prog_CC="cc"
3432
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3433
 
    break 2
3434
 
  fi
3435
 
done
3436
 
  done
3437
 
IFS=$as_save_IFS
3438
 
 
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
3442
 
  shift
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.
3447
 
    shift
3448
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3449
 
  fi
3450
 
fi
3451
 
fi
3452
 
fi
3453
 
CC=$ac_cv_prog_CC
3454
 
if test -n "$CC"; then
3455
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3456
 
$as_echo "$CC" >&6; }
3457
 
else
3458
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3459
 
$as_echo "no" >&6; }
3460
 
fi
3461
 
 
3462
 
 
3463
 
fi
3464
 
if test -z "$CC"; then
3465
 
  if test -n "$ac_tool_prefix"; then
3466
 
  for ac_prog in cl.exe
3467
 
  do
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
3474
 
else
3475
 
  if test -n "$CC"; then
3476
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3477
 
else
3478
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479
 
for as_dir in $PATH
3480
 
do
3481
 
  IFS=$as_save_IFS
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
3487
 
    break 2
3488
 
  fi
3489
 
done
3490
 
  done
3491
 
IFS=$as_save_IFS
3492
 
 
3493
 
fi
3494
 
fi
3495
 
CC=$ac_cv_prog_CC
3496
 
if test -n "$CC"; then
3497
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3498
 
$as_echo "$CC" >&6; }
3499
 
else
3500
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501
 
$as_echo "no" >&6; }
3502
 
fi
3503
 
 
3504
 
 
3505
 
    test -n "$CC" && break
3506
 
  done
3507
 
fi
3508
 
if test -z "$CC"; then
3509
 
  ac_ct_CC=$CC
3510
 
  for ac_prog in cl.exe
3511
 
do
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
3518
 
else
3519
 
  if test -n "$ac_ct_CC"; then
3520
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3521
 
else
3522
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523
 
for as_dir in $PATH
3524
 
do
3525
 
  IFS=$as_save_IFS
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
3531
 
    break 2
3532
 
  fi
3533
 
done
3534
 
  done
3535
 
IFS=$as_save_IFS
3536
 
 
3537
 
fi
3538
 
fi
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; }
3543
 
else
3544
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545
 
$as_echo "no" >&6; }
3546
 
fi
3547
 
 
3548
 
 
3549
 
  test -n "$ac_ct_CC" && break
3550
 
done
3551
 
 
3552
 
  if test "x$ac_ct_CC" = x; then
3553
 
    CC=""
3554
 
  else
3555
 
    case $cross_compiling:$ac_tool_warned in
3556
 
yes:)
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 ;;
3560
 
esac
3561
 
    CC=$ac_ct_CC
3562
 
  fi
3563
 
fi
3564
 
 
3565
 
fi
3566
 
 
3567
 
 
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; }
3572
 
 
3573
 
# Provide some information about the compiler.
3574
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3575
 
set X $ac_compile
3576
 
ac_compiler=$2
3577
 
for ac_option in --version -v -V -qversion; do
3578
 
  { { ac_try="$ac_compiler $ac_option >&5"
3579
 
case "(($ac_try" in
3580
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3581
 
  *) ac_try_echo=$ac_try;;
3582
 
esac
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
3586
 
  ac_status=$?
3587
 
  if test -s conftest.err; then
3588
 
    sed '10a\
3589
 
... rest of stderr output deleted ...
3590
 
         10q' conftest.err >conftest.er1
3591
 
    cat conftest.er1 >&5
3592
 
  fi
3593
 
  rm -f conftest.er1 conftest.err
3594
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3595
 
  test $ac_status = 0; }
3596
 
done
3597
 
 
3598
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599
 
/* end confdefs.h.  */
3600
 
 
3601
 
int
3602
 
main ()
3603
 
{
3604
 
 
3605
 
  ;
3606
 
  return 0;
3607
 
}
3608
 
_ACEOF
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
3613
 
# of exeext.
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[^ ]*//'`
3617
 
 
3618
 
# The possible output files:
3619
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3620
 
 
3621
 
ac_rmfiles=
3622
 
for ac_file in $ac_files
3623
 
do
3624
 
  case $ac_file in
3625
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3626
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3627
 
  esac
3628
 
done
3629
 
rm -f $ac_rmfiles
3630
 
 
3631
 
if { { ac_try="$ac_link_default"
3632
 
case "(($ac_try" in
3633
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634
 
  *) ac_try_echo=$ac_try;;
3635
 
esac
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
3639
 
  ac_status=$?
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
3646
 
# Autoconf.
3647
 
for ac_file in $ac_files ''
3648
 
do
3649
 
  test -f "$ac_file" || continue
3650
 
  case $ac_file in
3651
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3652
 
        ;;
3653
 
    [ab].out )
3654
 
        # We found the default executable, but exeext='' is most
3655
 
        # certainly right.
3656
 
        break;;
3657
 
    *.* )
3658
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3659
 
        then :; else
3660
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3661
 
        fi
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
3666
 
        # actually working.
3667
 
        break;;
3668
 
    * )
3669
 
        break;;
3670
 
  esac
3671
 
done
3672
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3673
 
 
3674
 
else
3675
 
  ac_file=''
3676
 
fi
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
3682
 
 
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; }
3687
 
else
3688
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3689
 
$as_echo "yes" >&6; }
3690
 
fi
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
3696
 
 
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"
3702
 
case "(($ac_try" in
3703
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3704
 
  *) ac_try_echo=$ac_try;;
3705
 
esac
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
3709
 
  ac_status=$?
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
3715
 
# `rm'.
3716
 
for ac_file in conftest.exe conftest conftest.*; do
3717
 
  test -f "$ac_file" || continue
3718
 
  case $ac_file in
3719
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3720
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3721
 
          break;;
3722
 
    * ) break;;
3723
 
  esac
3724
 
done
3725
 
else
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; }
3730
 
fi
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; }
3734
 
 
3735
 
rm -f conftest.$ac_ext
3736
 
EXEEXT=$ac_cv_exeext
3737
 
ac_exeext=$EXEEXT
3738
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739
 
/* end confdefs.h.  */
3740
 
#include <stdio.h>
3741
 
int
3742
 
main ()
3743
 
{
3744
 
FILE *f = fopen ("conftest.out", "w");
3745
 
 return ferror (f) || fclose (f) != 0;
3746
 
 
3747
 
  ;
3748
 
  return 0;
3749
 
}
3750
 
_ACEOF
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"
3758
 
case "(($ac_try" in
3759
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760
 
  *) ac_try_echo=$ac_try;;
3761
 
esac
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
3765
 
  ac_status=$?
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;;
3772
 
esac
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
3776
 
  ac_status=$?
3777
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3778
 
  test $ac_status = 0; }; }; then
3779
 
    cross_compiling=no
3780
 
  else
3781
 
    if test "$cross_compiling" = maybe; then
3782
 
        cross_compiling=yes
3783
 
    else
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; }
3789
 
    fi
3790
 
  fi
3791
 
fi
3792
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3793
 
$as_echo "$cross_compiling" >&6; }
3794
 
 
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
3801
 
else
3802
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803
 
/* end confdefs.h.  */
3804
 
 
3805
 
int
3806
 
main ()
3807
 
{
3808
 
 
3809
 
  ;
3810
 
  return 0;
3811
 
}
3812
 
_ACEOF
3813
 
rm -f conftest.o conftest.obj
3814
 
if { { ac_try="$ac_compile"
3815
 
case "(($ac_try" in
3816
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3817
 
  *) ac_try_echo=$ac_try;;
3818
 
esac
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
3822
 
  ac_status=$?
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;
3827
 
  case $ac_file in
3828
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3829
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3830
 
       break;;
3831
 
  esac
3832
 
done
3833
 
else
3834
 
  $as_echo "$as_me: failed program was:" >&5
3835
 
sed 's/^/| /' conftest.$ac_ext >&5
3836
 
 
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; }
3841
 
fi
3842
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3843
 
fi
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
3847
 
ac_objext=$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
3852
 
else
3853
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854
 
/* end confdefs.h.  */
3855
 
 
3856
 
int
3857
 
main ()
3858
 
{
3859
 
#ifndef __GNUC__
3860
 
       choke me
3861
 
#endif
3862
 
 
3863
 
  ;
3864
 
  return 0;
3865
 
}
3866
 
_ACEOF
3867
 
if ac_fn_c_try_compile "$LINENO"; then :
3868
 
  ac_compiler_gnu=yes
3869
 
else
3870
 
  ac_compiler_gnu=no
3871
 
fi
3872
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3873
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3874
 
 
3875
 
fi
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
3879
 
  GCC=yes
3880
 
else
3881
 
  GCC=
3882
 
fi
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
3889
 
else
3890
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3891
 
   ac_c_werror_flag=yes
3892
 
   ac_cv_prog_cc_g=no
3893
 
   CFLAGS="-g"
3894
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895
 
/* end confdefs.h.  */
3896
 
 
3897
 
int
3898
 
main ()
3899
 
{
3900
 
 
3901
 
  ;
3902
 
  return 0;
3903
 
}
3904
 
_ACEOF
3905
 
if ac_fn_c_try_compile "$LINENO"; then :
3906
 
  ac_cv_prog_cc_g=yes
3907
 
else
3908
 
  CFLAGS=""
3909
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910
 
/* end confdefs.h.  */
3911
 
 
3912
 
int
3913
 
main ()
3914
 
{
3915
 
 
3916
 
  ;
3917
 
  return 0;
3918
 
}
3919
 
_ACEOF
3920
 
if ac_fn_c_try_compile "$LINENO"; then :
3921
 
 
3922
 
else
3923
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3924
 
         CFLAGS="-g"
3925
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926
 
/* end confdefs.h.  */
3927
 
 
3928
 
int
3929
 
main ()
3930
 
{
3931
 
 
3932
 
  ;
3933
 
  return 0;
3934
 
}
3935
 
_ACEOF
3936
 
if ac_fn_c_try_compile "$LINENO"; then :
3937
 
  ac_cv_prog_cc_g=yes
3938
 
fi
3939
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3940
 
fi
3941
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3942
 
fi
3943
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3944
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3945
 
fi
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
3952
 
    CFLAGS="-g -O2"
3953
 
  else
3954
 
    CFLAGS="-g"
3955
 
  fi
3956
 
else
3957
 
  if test "$GCC" = yes; then
3958
 
    CFLAGS="-O2"
3959
 
  else
3960
 
    CFLAGS=
3961
 
  fi
3962
 
fi
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
3967
 
else
3968
 
  ac_cv_prog_cc_c89=no
3969
 
ac_save_CC=$CC
3970
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971
 
/* end confdefs.h.  */
3972
 
#include <stdarg.h>
3973
 
#include <stdio.h>
3974
 
struct stat;
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)
3979
 
     char **p;
3980
 
     int i;
3981
 
{
3982
 
  return p[i];
3983
 
}
3984
 
static char *f (char * (*g) (char **, int), char **p, ...)
3985
 
{
3986
 
  char *s;
3987
 
  va_list v;
3988
 
  va_start (v,p);
3989
 
  s = g (p, va_arg (v,int));
3990
 
  va_end (v);
3991
 
  return s;
3992
 
}
3993
 
 
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];
4002
 
 
4003
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4004
 
   inside strings and character constants.  */
4005
 
#define FOO(x) 'x'
4006
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4007
 
 
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);
4012
 
int argc;
4013
 
char **argv;
4014
 
int
4015
 
main ()
4016
 
{
4017
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4018
 
  ;
4019
 
  return 0;
4020
 
}
4021
 
_ACEOF
4022
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4023
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4024
 
do
4025
 
  CC="$ac_save_CC $ac_arg"
4026
 
  if ac_fn_c_try_compile "$LINENO"; then :
4027
 
  ac_cv_prog_cc_c89=$ac_arg
4028
 
fi
4029
 
rm -f core conftest.err conftest.$ac_objext
4030
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4031
 
done
4032
 
rm -f conftest.$ac_ext
4033
 
CC=$ac_save_CC
4034
 
 
4035
 
fi
4036
 
# AC_CACHE_VAL
4037
 
case "x$ac_cv_prog_cc_c89" in
4038
 
  x)
4039
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4040
 
$as_echo "none needed" >&6; } ;;
4041
 
  xno)
4042
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4043
 
$as_echo "unsupported" >&6; } ;;
4044
 
  *)
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; } ;;
4048
 
esac
4049
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4050
 
 
4051
 
fi
4052
 
 
4053
 
ac_ext=c
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
4058
 
 
4059
 
depcc="$CC"   am_compiler_list=
4060
 
 
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
4065
 
else
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
4071
 
  # in D'.
4072
 
  rm -rf conftest.dir
4073
 
  mkdir conftest.dir
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
4077
 
  cd 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
4083
 
  # directory.
4084
 
  mkdir sub
4085
 
 
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`
4089
 
  fi
4090
 
  am__universal=false
4091
 
  case " $depcc " in #(
4092
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4093
 
     esac
4094
 
 
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.
4099
 
    #
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.
4103
 
    : > sub/conftest.c
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
4109
 
    done
4110
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4111
 
 
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"
4118
 
    case $depmode in
4119
 
    gcc)
4120
 
      # This depmode causes a compiler race in universal mode.
4121
 
      test "$am__universal" = false || continue
4122
 
      ;;
4123
 
    nosideeffect)
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
4127
 
        continue
4128
 
      else
4129
 
        break
4130
 
      fi
4131
 
      ;;
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}
4137
 
      am__minus_obj=
4138
 
      ;;
4139
 
    none) break ;;
4140
 
    esac
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
4160
 
        break
4161
 
      fi
4162
 
    fi
4163
 
  done
4164
 
 
4165
 
  cd ..
4166
 
  rm -rf conftest.dir
4167
 
else
4168
 
  am_cv_CC_dependencies_compiler_type=none
4169
 
fi
4170
 
 
4171
 
fi
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
4175
 
 
4176
 
 if
4177
 
  test "x$enable_dependency_tracking" != xno \
4178
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4179
 
  am__fastdepCC_TRUE=
4180
 
  am__fastdepCC_FALSE='#'
4181
 
else
4182
 
  am__fastdepCC_TRUE='#'
4183
 
  am__fastdepCC_FALSE=
4184
 
fi
4185
 
 
4186
 
 
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
4191
 
else
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"
4195
 
     done
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
4202
 
for as_dir in $PATH
4203
 
do
4204
 
  IFS=$as_save_IFS
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
4213
 
*GNU*)
4214
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4215
 
*)
4216
 
  ac_count=0
4217
 
  $as_echo_n 0123456789 >"conftest.in"
4218
 
  while :
4219
 
  do
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
4231
 
    fi
4232
 
    # 10*(2^10) chars as input seems more than enough
4233
 
    test $ac_count -gt 10 && break
4234
 
  done
4235
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4236
 
esac
4237
 
 
4238
 
      $ac_path_SED_found && break 3
4239
 
    done
4240
 
  done
4241
 
  done
4242
 
IFS=$as_save_IFS
4243
 
  if test -z "$ac_cv_path_SED"; then
4244
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4245
 
  fi
4246
 
else
4247
 
  ac_cv_path_SED=$SED
4248
 
fi
4249
 
 
4250
 
fi
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"
4254
 
  rm -f conftest.sed
4255
 
 
4256
 
test -z "$SED" && SED=sed
4257
 
Xsed="$SED -e 1s/^X//"
4258
 
 
4259
 
 
4260
 
 
4261
 
 
4262
 
 
4263
 
 
4264
 
 
4265
 
 
4266
 
 
4267
 
 
4268
 
 
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
4273
 
else
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
4279
 
do
4280
 
  IFS=$as_save_IFS
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
4289
 
*GNU*)
4290
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4291
 
*)
4292
 
  ac_count=0
4293
 
  $as_echo_n 0123456789 >"conftest.in"
4294
 
  while :
4295
 
  do
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
4307
 
    fi
4308
 
    # 10*(2^10) chars as input seems more than enough
4309
 
    test $ac_count -gt 10 && break
4310
 
  done
4311
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4312
 
esac
4313
 
 
4314
 
      $ac_path_GREP_found && break 3
4315
 
    done
4316
 
  done
4317
 
  done
4318
 
IFS=$as_save_IFS
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
4321
 
  fi
4322
 
else
4323
 
  ac_cv_path_GREP=$GREP
4324
 
fi
4325
 
 
4326
 
fi
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"
4330
 
 
4331
 
 
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
4336
 
else
4337
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4338
 
   then ac_cv_path_EGREP="$GREP -E"
4339
 
   else
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
4345
 
do
4346
 
  IFS=$as_save_IFS
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
4355
 
*GNU*)
4356
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4357
 
*)
4358
 
  ac_count=0
4359
 
  $as_echo_n 0123456789 >"conftest.in"
4360
 
  while :
4361
 
  do
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
4373
 
    fi
4374
 
    # 10*(2^10) chars as input seems more than enough
4375
 
    test $ac_count -gt 10 && break
4376
 
  done
4377
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4378
 
esac
4379
 
 
4380
 
      $ac_path_EGREP_found && break 3
4381
 
    done
4382
 
  done
4383
 
  done
4384
 
IFS=$as_save_IFS
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
4387
 
  fi
4388
 
else
4389
 
  ac_cv_path_EGREP=$EGREP
4390
 
fi
4391
 
 
4392
 
   fi
4393
 
fi
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"
4397
 
 
4398
 
 
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
4403
 
else
4404
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4405
 
   then ac_cv_path_FGREP="$GREP -F"
4406
 
   else
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
4412
 
do
4413
 
  IFS=$as_save_IFS
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
4422
 
*GNU*)
4423
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4424
 
*)
4425
 
  ac_count=0
4426
 
  $as_echo_n 0123456789 >"conftest.in"
4427
 
  while :
4428
 
  do
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
4440
 
    fi
4441
 
    # 10*(2^10) chars as input seems more than enough
4442
 
    test $ac_count -gt 10 && break
4443
 
  done
4444
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4445
 
esac
4446
 
 
4447
 
      $ac_path_FGREP_found && break 3
4448
 
    done
4449
 
  done
4450
 
  done
4451
 
IFS=$as_save_IFS
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
4454
 
  fi
4455
 
else
4456
 
  ac_cv_path_FGREP=$FGREP
4457
 
fi
4458
 
 
4459
 
   fi
4460
 
fi
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"
4464
 
 
4465
 
 
4466
 
test -z "$GREP" && GREP=grep
4467
 
 
4468
 
 
4469
 
 
4470
 
 
4471
 
 
4472
 
 
4473
 
 
4474
 
 
4475
 
 
4476
 
 
4477
 
 
4478
 
 
4479
 
 
4480
 
 
4481
 
 
4482
 
 
4483
 
 
4484
 
 
4485
 
 
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
4489
 
else
4490
 
  with_gnu_ld=no
4491
 
fi
4492
 
 
4493
 
ac_prog=ld
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; }
4498
 
  case $host in
4499
 
  *-*-mingw*)
4500
 
    # gcc leaves a trailing carriage return which upsets mingw
4501
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4502
 
  *)
4503
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4504
 
  esac
4505
 
  case $ac_prog in
4506
 
    # Accept absolute paths.
4507
 
    [\\/]* | ?:[\\/]*)
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%/%"`
4513
 
      done
4514
 
      test -z "$LD" && LD="$ac_prog"
4515
 
      ;;
4516
 
  "")
4517
 
    # If it fails, then pretend we aren't using GCC.
4518
 
    ac_prog=ld
4519
 
    ;;
4520
 
  *)
4521
 
    # If it is relative, then search for the first ld in PATH.
4522
 
    with_gnu_ld=unknown
4523
 
    ;;
4524
 
  esac
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; }
4528
 
else
4529
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4530
 
$as_echo_n "checking for non-GNU ld... " >&6; }
4531
 
fi
4532
 
if ${lt_cv_path_LD+:} false; then :
4533
 
  $as_echo_n "(cached) " >&6
4534
 
else
4535
 
  if test -z "$LD"; then
4536
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4537
 
  for ac_dir in $PATH; do
4538
 
    IFS="$lt_save_ifs"
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
4548
 
        ;;
4549
 
      *)
4550
 
        test "$with_gnu_ld" != yes && break
4551
 
        ;;
4552
 
      esac
4553
 
    fi
4554
 
  done
4555
 
  IFS="$lt_save_ifs"
4556
 
else
4557
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4558
 
fi
4559
 
fi
4560
 
 
4561
 
LD="$lt_cv_path_LD"
4562
 
if test -n "$LD"; then
4563
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4564
 
$as_echo "$LD" >&6; }
4565
 
else
4566
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567
 
$as_echo "no" >&6; }
4568
 
fi
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
4574
 
else
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
4579
 
  ;;
4580
 
*)
4581
 
  lt_cv_prog_gnu_ld=no
4582
 
  ;;
4583
 
esac
4584
 
fi
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
4588
 
 
4589
 
 
4590
 
 
4591
 
 
4592
 
 
4593
 
 
4594
 
 
4595
 
 
4596
 
 
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
4601
 
else
4602
 
  if test -n "$NM"; then
4603
 
  # Let the user override the test.
4604
 
  lt_cv_path_NM="$NM"
4605
 
else
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"
4609
 
  fi
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
4613
 
      IFS="$lt_save_ifs"
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"
4624
 
          break
4625
 
          ;;
4626
 
        *)
4627
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4628
 
          */dev/null*)
4629
 
            lt_cv_path_NM="$tmp_nm -p"
4630
 
            break
4631
 
            ;;
4632
 
          *)
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
4635
 
            ;;
4636
 
          esac
4637
 
          ;;
4638
 
        esac
4639
 
      fi
4640
 
    done
4641
 
    IFS="$lt_save_ifs"
4642
 
  done
4643
 
  : ${lt_cv_path_NM=no}
4644
 
fi
4645
 
fi
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
4649
 
  NM="$lt_cv_path_NM"
4650
 
else
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.
4654
 
  else
4655
 
    if test -n "$ac_tool_prefix"; then
4656
 
  for ac_prog in dumpbin "link -dump"
4657
 
  do
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
4664
 
else
4665
 
  if test -n "$DUMPBIN"; then
4666
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4667
 
else
4668
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669
 
for as_dir in $PATH
4670
 
do
4671
 
  IFS=$as_save_IFS
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
4677
 
    break 2
4678
 
  fi
4679
 
done
4680
 
  done
4681
 
IFS=$as_save_IFS
4682
 
 
4683
 
fi
4684
 
fi
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; }
4689
 
else
4690
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691
 
$as_echo "no" >&6; }
4692
 
fi
4693
 
 
4694
 
 
4695
 
    test -n "$DUMPBIN" && break
4696
 
  done
4697
 
fi
4698
 
if test -z "$DUMPBIN"; then
4699
 
  ac_ct_DUMPBIN=$DUMPBIN
4700
 
  for ac_prog in dumpbin "link -dump"
4701
 
do
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
4708
 
else
4709
 
  if test -n "$ac_ct_DUMPBIN"; then
4710
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4711
 
else
4712
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4713
 
for as_dir in $PATH
4714
 
do
4715
 
  IFS=$as_save_IFS
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
4721
 
    break 2
4722
 
  fi
4723
 
done
4724
 
  done
4725
 
IFS=$as_save_IFS
4726
 
 
4727
 
fi
4728
 
fi
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; }
4733
 
else
4734
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735
 
$as_echo "no" >&6; }
4736
 
fi
4737
 
 
4738
 
 
4739
 
  test -n "$ac_ct_DUMPBIN" && break
4740
 
done
4741
 
 
4742
 
  if test "x$ac_ct_DUMPBIN" = x; then
4743
 
    DUMPBIN=":"
4744
 
  else
4745
 
    case $cross_compiling:$ac_tool_warned in
4746
 
yes:)
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 ;;
4750
 
esac
4751
 
    DUMPBIN=$ac_ct_DUMPBIN
4752
 
  fi
4753
 
fi
4754
 
 
4755
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4756
 
    *COFF*)
4757
 
      DUMPBIN="$DUMPBIN -symbols"
4758
 
      ;;
4759
 
    *)
4760
 
      DUMPBIN=:
4761
 
      ;;
4762
 
    esac
4763
 
  fi
4764
 
 
4765
 
  if test "$DUMPBIN" != ":"; then
4766
 
    NM="$DUMPBIN"
4767
 
  fi
4768
 
fi
4769
 
test -z "$NM" && NM=nm
4770
 
 
4771
 
 
4772
 
 
4773
 
 
4774
 
 
4775
 
 
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
4780
 
else
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"
4793
 
  fi
4794
 
  rm -f conftest*
4795
 
fi
4796
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4797
 
$as_echo "$lt_cv_nm_interface" >&6; }
4798
 
 
4799
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4800
 
$as_echo_n "checking whether ln -s works... " >&6; }
4801
 
LN_S=$as_ln_s
4802
 
if test "$LN_S" = "ln -s"; then
4803
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4804
 
$as_echo "yes" >&6; }
4805
 
else
4806
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4807
 
$as_echo "no, using $LN_S" >&6; }
4808
 
fi
4809
 
 
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
4815
 
else
4816
 
    i=0
4817
 
  teststring="ABCD"
4818
 
 
4819
 
  case $build_os in
4820
 
  msdosdjgpp*)
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
4826
 
    ;;
4827
 
 
4828
 
  gnu*)
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;
4833
 
    ;;
4834
 
 
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;
4844
 
    ;;
4845
 
 
4846
 
  mint*)
4847
 
    # On MiNT this can take a long time and run out of memory.
4848
 
    lt_cv_sys_max_cmd_len=8192;
4849
 
    ;;
4850
 
 
4851
 
  amigaos*)
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;
4855
 
    ;;
4856
 
 
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`
4863
 
    else
4864
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4865
 
    fi
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`
4869
 
    ;;
4870
 
 
4871
 
  interix*)
4872
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4873
 
    lt_cv_sys_max_cmd_len=196608
4874
 
    ;;
4875
 
 
4876
 
  os2*)
4877
 
    # The test takes a long time on OS/2.
4878
 
    lt_cv_sys_max_cmd_len=8192
4879
 
    ;;
4880
 
 
4881
 
  osf*)
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
4887
 
    #
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 ;;
4891
 
      esac
4892
 
    fi
4893
 
    ;;
4894
 
  sco3.2v5*)
4895
 
    lt_cv_sys_max_cmd_len=102400
4896
 
    ;;
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/.*[  ]//'`
4901
 
    else
4902
 
      lt_cv_sys_max_cmd_len=32768
4903
 
    fi
4904
 
    ;;
4905
 
  *)
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`
4910
 
    else
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
4915
 
      done
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
4919
 
      # we can't tell.
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
4923
 
      do
4924
 
        i=`expr $i + 1`
4925
 
        teststring=$teststring$teststring
4926
 
      done
4927
 
      # Only check the string length outside the loop.
4928
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4929
 
      teststring=
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`
4934
 
    fi
4935
 
    ;;
4936
 
  esac
4937
 
 
4938
 
fi
4939
 
 
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; }
4943
 
else
4944
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4945
 
$as_echo "none" >&6; }
4946
 
fi
4947
 
max_cmd_len=$lt_cv_sys_max_cmd_len
4948
 
 
4949
 
 
4950
 
 
4951
 
 
4952
 
 
4953
 
 
4954
 
: ${CP="cp -f"}
4955
 
: ${MV="mv -f"}
4956
 
: ${RM="rm -f"}
4957
 
 
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
4961
 
xsi_shell=no
4962
 
( _lt_dummy="a/b/c"
4963
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4964
 
      = c,a/b,b/c, \
4965
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
4966
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4967
 
  && xsi_shell=yes
4968
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4969
 
$as_echo "$xsi_shell" >&6; }
4970
 
 
4971
 
 
4972
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4973
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4974
 
lt_shell_append=no
4975
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4976
 
    >/dev/null 2>&1 \
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; }
4980
 
 
4981
 
 
4982
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4983
 
  lt_unset=unset
4984
 
else
4985
 
  lt_unset=false
4986
 
fi
4987
 
 
4988
 
 
4989
 
 
4990
 
 
4991
 
 
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'
4998
 
  ;;
4999
 
 *) # EBCDIC based system
5000
 
  lt_SP2NL='tr \100 \n'
5001
 
  lt_NL2SP='tr \r\n \100\100'
5002
 
  ;;
5003
 
esac
5004
 
 
5005
 
 
5006
 
 
5007
 
 
5008
 
 
5009
 
 
5010
 
 
5011
 
 
5012
 
 
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
5017
 
else
5018
 
  case $host in
5019
 
  *-*-mingw* )
5020
 
    case $build in
5021
 
      *-*-mingw* ) # actually msys
5022
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5023
 
        ;;
5024
 
      *-*-cygwin* )
5025
 
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5026
 
        ;;
5027
 
      * ) # otherwise, assume *nix
5028
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5029
 
        ;;
5030
 
    esac
5031
 
    ;;
5032
 
  *-*-cygwin* )
5033
 
    case $build in
5034
 
      *-*-mingw* ) # actually msys
5035
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5036
 
        ;;
5037
 
      *-*-cygwin* )
5038
 
        lt_cv_to_host_file_cmd=func_convert_file_noop
5039
 
        ;;
5040
 
      * ) # otherwise, assume *nix
5041
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5042
 
        ;;
5043
 
    esac
5044
 
    ;;
5045
 
  * ) # unhandled hosts (and "normal" native builds)
5046
 
    lt_cv_to_host_file_cmd=func_convert_file_noop
5047
 
    ;;
5048
 
esac
5049
 
 
5050
 
fi
5051
 
 
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; }
5055
 
 
5056
 
 
5057
 
 
5058
 
 
5059
 
 
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
5064
 
else
5065
 
  #assume ordinary cross tools, or native build.
5066
 
lt_cv_to_tool_file_cmd=func_convert_file_noop
5067
 
case $host in
5068
 
  *-*-mingw* )
5069
 
    case $build in
5070
 
      *-*-mingw* ) # actually msys
5071
 
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5072
 
        ;;
5073
 
    esac
5074
 
    ;;
5075
 
esac
5076
 
 
5077
 
fi
5078
 
 
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; }
5082
 
 
5083
 
 
5084
 
 
5085
 
 
5086
 
 
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
5091
 
else
5092
 
  lt_cv_ld_reload_flag='-r'
5093
 
fi
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
5098
 
"" | " "*) ;;
5099
 
*) reload_flag=" $reload_flag" ;;
5100
 
esac
5101
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5102
 
case $host_os in
5103
 
  cygwin* | mingw* | pw32* | cegcc*)
5104
 
    if test "$GCC" != yes; then
5105
 
      reload_cmds=false
5106
 
    fi
5107
 
    ;;
5108
 
  darwin*)
5109
 
    if test "$GCC" = yes; then
5110
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5111
 
    else
5112
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5113
 
    fi
5114
 
    ;;
5115
 
esac
5116
 
 
5117
 
 
5118
 
 
5119
 
 
5120
 
 
5121
 
 
5122
 
 
5123
 
 
5124
 
 
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
5132
 
else
5133
 
  if test -n "$OBJDUMP"; then
5134
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5135
 
else
5136
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5137
 
for as_dir in $PATH
5138
 
do
5139
 
  IFS=$as_save_IFS
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
5145
 
    break 2
5146
 
  fi
5147
 
done
5148
 
  done
5149
 
IFS=$as_save_IFS
5150
 
 
5151
 
fi
5152
 
fi
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; }
5157
 
else
5158
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159
 
$as_echo "no" >&6; }
5160
 
fi
5161
 
 
5162
 
 
5163
 
fi
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
5172
 
else
5173
 
  if test -n "$ac_ct_OBJDUMP"; then
5174
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5175
 
else
5176
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177
 
for as_dir in $PATH
5178
 
do
5179
 
  IFS=$as_save_IFS
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
5185
 
    break 2
5186
 
  fi
5187
 
done
5188
 
  done
5189
 
IFS=$as_save_IFS
5190
 
 
5191
 
fi
5192
 
fi
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; }
5197
 
else
5198
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199
 
$as_echo "no" >&6; }
5200
 
fi
5201
 
 
5202
 
  if test "x$ac_ct_OBJDUMP" = x; then
5203
 
    OBJDUMP="false"
5204
 
  else
5205
 
    case $cross_compiling:$ac_tool_warned in
5206
 
yes:)
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 ;;
5210
 
esac
5211
 
    OBJDUMP=$ac_ct_OBJDUMP
5212
 
  fi
5213
 
else
5214
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5215
 
fi
5216
 
 
5217
 
test -z "$OBJDUMP" && OBJDUMP=objdump
5218
 
 
5219
 
 
5220
 
 
5221
 
 
5222
 
 
5223
 
 
5224
 
 
5225
 
 
5226
 
 
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
5231
 
else
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.
5245
 
 
5246
 
case $host_os in
5247
 
aix[4-9]*)
5248
 
  lt_cv_deplibs_check_method=pass_all
5249
 
  ;;
5250
 
 
5251
 
beos*)
5252
 
  lt_cv_deplibs_check_method=pass_all
5253
 
  ;;
5254
 
 
5255
 
bsdi[45]*)
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
5259
 
  ;;
5260
 
 
5261
 
cygwin*)
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'
5265
 
  ;;
5266
 
 
5267
 
mingw* | pw32*)
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'
5275
 
  else
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'
5279
 
  fi
5280
 
  ;;
5281
 
 
5282
 
cegcc*)
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'
5286
 
  ;;
5287
 
 
5288
 
darwin* | rhapsody*)
5289
 
  lt_cv_deplibs_check_method=pass_all
5290
 
  ;;
5291
 
 
5292
 
freebsd* | dragonfly*)
5293
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5294
 
    case $host_cpu in
5295
 
    i*86 )
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.*`
5301
 
      ;;
5302
 
    esac
5303
 
  else
5304
 
    lt_cv_deplibs_check_method=pass_all
5305
 
  fi
5306
 
  ;;
5307
 
 
5308
 
gnu*)
5309
 
  lt_cv_deplibs_check_method=pass_all
5310
 
  ;;
5311
 
 
5312
 
haiku*)
5313
 
  lt_cv_deplibs_check_method=pass_all
5314
 
  ;;
5315
 
 
5316
 
hpux10.20* | hpux11*)
5317
 
  lt_cv_file_magic_cmd=/usr/bin/file
5318
 
  case $host_cpu in
5319
 
  ia64*)
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
5322
 
    ;;
5323
 
  hppa*64*)
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
5326
 
    ;;
5327
 
  *)
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
5330
 
    ;;
5331
 
  esac
5332
 
  ;;
5333
 
 
5334
 
interix[3-9]*)
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)$'
5337
 
  ;;
5338
 
 
5339
 
irix5* | irix6* | nonstopux*)
5340
 
  case $LD in
5341
 
  *-32|*"-32 ") libmagic=32-bit;;
5342
 
  *-n32|*"-n32 ") libmagic=N32;;
5343
 
  *-64|*"-64 ") libmagic=64-bit;;
5344
 
  *) libmagic=never-match;;
5345
 
  esac
5346
 
  lt_cv_deplibs_check_method=pass_all
5347
 
  ;;
5348
 
 
5349
 
# This must be glibc/ELF.
5350
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5351
 
  lt_cv_deplibs_check_method=pass_all
5352
 
  ;;
5353
 
 
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)$'
5357
 
  else
5358
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5359
 
  fi
5360
 
  ;;
5361
 
 
5362
 
newos6*)
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
5366
 
  ;;
5367
 
 
5368
 
*nto* | *qnx*)
5369
 
  lt_cv_deplibs_check_method=pass_all
5370
 
  ;;
5371
 
 
5372
 
openbsd*)
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)$'
5375
 
  else
5376
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5377
 
  fi
5378
 
  ;;
5379
 
 
5380
 
osf3* | osf4* | osf5*)
5381
 
  lt_cv_deplibs_check_method=pass_all
5382
 
  ;;
5383
 
 
5384
 
rdos*)
5385
 
  lt_cv_deplibs_check_method=pass_all
5386
 
  ;;
5387
 
 
5388
 
solaris*)
5389
 
  lt_cv_deplibs_check_method=pass_all
5390
 
  ;;
5391
 
 
5392
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5393
 
  lt_cv_deplibs_check_method=pass_all
5394
 
  ;;
5395
 
 
5396
 
sysv4 | sysv4.3*)
5397
 
  case $host_vendor in
5398
 
  motorola)
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*`
5401
 
    ;;
5402
 
  ncr)
5403
 
    lt_cv_deplibs_check_method=pass_all
5404
 
    ;;
5405
 
  sequent)
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 )'
5408
 
    ;;
5409
 
  sni)
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
5413
 
    ;;
5414
 
  siemens)
5415
 
    lt_cv_deplibs_check_method=pass_all
5416
 
    ;;
5417
 
  pc)
5418
 
    lt_cv_deplibs_check_method=pass_all
5419
 
    ;;
5420
 
  esac
5421
 
  ;;
5422
 
 
5423
 
tpf*)
5424
 
  lt_cv_deplibs_check_method=pass_all
5425
 
  ;;
5426
 
esac
5427
 
 
5428
 
fi
5429
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5430
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5431
 
 
5432
 
file_magic_glob=
5433
 
want_nocaseglob=no
5434
 
if test "$build" = "$host"; then
5435
 
  case $host_os in
5436
 
  mingw* | pw32*)
5437
 
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5438
 
      want_nocaseglob=yes
5439
 
    else
5440
 
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5441
 
    fi
5442
 
    ;;
5443
 
  esac
5444
 
fi
5445
 
 
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
5449
 
 
5450
 
 
5451
 
 
5452
 
 
5453
 
 
5454
 
 
5455
 
 
5456
 
 
5457
 
 
5458
 
 
5459
 
 
5460
 
 
5461
 
 
5462
 
 
5463
 
 
5464
 
 
5465
 
 
5466
 
 
5467
 
 
5468
 
 
5469
 
 
5470
 
 
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
5478
 
else
5479
 
  if test -n "$DLLTOOL"; then
5480
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5481
 
else
5482
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483
 
for as_dir in $PATH
5484
 
do
5485
 
  IFS=$as_save_IFS
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
5491
 
    break 2
5492
 
  fi
5493
 
done
5494
 
  done
5495
 
IFS=$as_save_IFS
5496
 
 
5497
 
fi
5498
 
fi
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; }
5503
 
else
5504
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505
 
$as_echo "no" >&6; }
5506
 
fi
5507
 
 
5508
 
 
5509
 
fi
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
5518
 
else
5519
 
  if test -n "$ac_ct_DLLTOOL"; then
5520
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5521
 
else
5522
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523
 
for as_dir in $PATH
5524
 
do
5525
 
  IFS=$as_save_IFS
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
5531
 
    break 2
5532
 
  fi
5533
 
done
5534
 
  done
5535
 
IFS=$as_save_IFS
5536
 
 
5537
 
fi
5538
 
fi
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; }
5543
 
else
5544
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545
 
$as_echo "no" >&6; }
5546
 
fi
5547
 
 
5548
 
  if test "x$ac_ct_DLLTOOL" = x; then
5549
 
    DLLTOOL="false"
5550
 
  else
5551
 
    case $cross_compiling:$ac_tool_warned in
5552
 
yes:)
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 ;;
5556
 
esac
5557
 
    DLLTOOL=$ac_ct_DLLTOOL
5558
 
  fi
5559
 
else
5560
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
5561
 
fi
5562
 
 
5563
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
5564
 
 
5565
 
 
5566
 
 
5567
 
 
5568
 
 
5569
 
 
5570
 
 
5571
 
 
5572
 
 
5573
 
 
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
5578
 
else
5579
 
  lt_cv_sharedlib_from_linklib_cmd='unknown'
5580
 
 
5581
 
case $host_os in
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
5588
 
    ;;
5589
 
  *)
5590
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5591
 
    ;;
5592
 
  esac
5593
 
  ;;
5594
 
*)
5595
 
  # fallback: assume linklib IS sharedlib
5596
 
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5597
 
  ;;
5598
 
esac
5599
 
 
5600
 
fi
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
5605
 
 
5606
 
 
5607
 
 
5608
 
 
5609
 
 
5610
 
 
5611
 
 
5612
 
 
5613
 
if test -n "$ac_tool_prefix"; then
5614
 
  for ac_prog in ar
5615
 
  do
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
5622
 
else
5623
 
  if test -n "$AR"; then
5624
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
5625
 
else
5626
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627
 
for as_dir in $PATH
5628
 
do
5629
 
  IFS=$as_save_IFS
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
5635
 
    break 2
5636
 
  fi
5637
 
done
5638
 
  done
5639
 
IFS=$as_save_IFS
5640
 
 
5641
 
fi
5642
 
fi
5643
 
AR=$ac_cv_prog_AR
5644
 
if test -n "$AR"; then
5645
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5646
 
$as_echo "$AR" >&6; }
5647
 
else
5648
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649
 
$as_echo "no" >&6; }
5650
 
fi
5651
 
 
5652
 
 
5653
 
    test -n "$AR" && break
5654
 
  done
5655
 
fi
5656
 
if test -z "$AR"; then
5657
 
  ac_ct_AR=$AR
5658
 
  for ac_prog in ar
5659
 
do
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
5666
 
else
5667
 
  if test -n "$ac_ct_AR"; then
5668
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5669
 
else
5670
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671
 
for as_dir in $PATH
5672
 
do
5673
 
  IFS=$as_save_IFS
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
5679
 
    break 2
5680
 
  fi
5681
 
done
5682
 
  done
5683
 
IFS=$as_save_IFS
5684
 
 
5685
 
fi
5686
 
fi
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; }
5691
 
else
5692
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693
 
$as_echo "no" >&6; }
5694
 
fi
5695
 
 
5696
 
 
5697
 
  test -n "$ac_ct_AR" && break
5698
 
done
5699
 
 
5700
 
  if test "x$ac_ct_AR" = x; then
5701
 
    AR="false"
5702
 
  else
5703
 
    case $cross_compiling:$ac_tool_warned in
5704
 
yes:)
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 ;;
5708
 
esac
5709
 
    AR=$ac_ct_AR
5710
 
  fi
5711
 
fi
5712
 
 
5713
 
: ${AR=ar}
5714
 
: ${AR_FLAGS=cru}
5715
 
 
5716
 
 
5717
 
 
5718
 
 
5719
 
 
5720
 
 
5721
 
 
5722
 
 
5723
 
 
5724
 
 
5725
 
 
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
5730
 
else
5731
 
  lt_cv_ar_at_file=no
5732
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5733
 
/* end confdefs.h.  */
5734
 
 
5735
 
int
5736
 
main ()
5737
 
{
5738
 
 
5739
 
  ;
5740
 
  return 0;
5741
 
}
5742
 
_ACEOF
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
5748
 
  ac_status=$?
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
5756
 
  ac_status=$?
5757
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5758
 
  test $ac_status = 0; }
5759
 
        if test "$ac_status" -ne 0; then
5760
 
          lt_cv_ar_at_file=@
5761
 
        fi
5762
 
      fi
5763
 
      rm -f conftest.* libconftest.a
5764
 
 
5765
 
fi
5766
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5767
 
 
5768
 
fi
5769
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5770
 
$as_echo "$lt_cv_ar_at_file" >&6; }
5771
 
 
5772
 
if test "x$lt_cv_ar_at_file" = xno; then
5773
 
  archiver_list_spec=
5774
 
else
5775
 
  archiver_list_spec=$lt_cv_ar_at_file
5776
 
fi
5777
 
 
5778
 
 
5779
 
 
5780
 
 
5781
 
 
5782
 
 
5783
 
 
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
5791
 
else
5792
 
  if test -n "$STRIP"; then
5793
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5794
 
else
5795
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796
 
for as_dir in $PATH
5797
 
do
5798
 
  IFS=$as_save_IFS
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
5804
 
    break 2
5805
 
  fi
5806
 
done
5807
 
  done
5808
 
IFS=$as_save_IFS
5809
 
 
5810
 
fi
5811
 
fi
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; }
5816
 
else
5817
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818
 
$as_echo "no" >&6; }
5819
 
fi
5820
 
 
5821
 
 
5822
 
fi
5823
 
if test -z "$ac_cv_prog_STRIP"; then
5824
 
  ac_ct_STRIP=$STRIP
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
5831
 
else
5832
 
  if test -n "$ac_ct_STRIP"; then
5833
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5834
 
else
5835
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836
 
for as_dir in $PATH
5837
 
do
5838
 
  IFS=$as_save_IFS
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
5844
 
    break 2
5845
 
  fi
5846
 
done
5847
 
  done
5848
 
IFS=$as_save_IFS
5849
 
 
5850
 
fi
5851
 
fi
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; }
5856
 
else
5857
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858
 
$as_echo "no" >&6; }
5859
 
fi
5860
 
 
5861
 
  if test "x$ac_ct_STRIP" = x; then
5862
 
    STRIP=":"
5863
 
  else
5864
 
    case $cross_compiling:$ac_tool_warned in
5865
 
yes:)
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 ;;
5869
 
esac
5870
 
    STRIP=$ac_ct_STRIP
5871
 
  fi
5872
 
else
5873
 
  STRIP="$ac_cv_prog_STRIP"
5874
 
fi
5875
 
 
5876
 
test -z "$STRIP" && STRIP=:
5877
 
 
5878
 
 
5879
 
 
5880
 
 
5881
 
 
5882
 
 
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
5890
 
else
5891
 
  if test -n "$RANLIB"; then
5892
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5893
 
else
5894
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5895
 
for as_dir in $PATH
5896
 
do
5897
 
  IFS=$as_save_IFS
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
5903
 
    break 2
5904
 
  fi
5905
 
done
5906
 
  done
5907
 
IFS=$as_save_IFS
5908
 
 
5909
 
fi
5910
 
fi
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; }
5915
 
else
5916
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917
 
$as_echo "no" >&6; }
5918
 
fi
5919
 
 
5920
 
 
5921
 
fi
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
5930
 
else
5931
 
  if test -n "$ac_ct_RANLIB"; then
5932
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5933
 
else
5934
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935
 
for as_dir in $PATH
5936
 
do
5937
 
  IFS=$as_save_IFS
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
5943
 
    break 2
5944
 
  fi
5945
 
done
5946
 
  done
5947
 
IFS=$as_save_IFS
5948
 
 
5949
 
fi
5950
 
fi
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; }
5955
 
else
5956
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957
 
$as_echo "no" >&6; }
5958
 
fi
5959
 
 
5960
 
  if test "x$ac_ct_RANLIB" = x; then
5961
 
    RANLIB=":"
5962
 
  else
5963
 
    case $cross_compiling:$ac_tool_warned in
5964
 
yes:)
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 ;;
5968
 
esac
5969
 
    RANLIB=$ac_ct_RANLIB
5970
 
  fi
5971
 
else
5972
 
  RANLIB="$ac_cv_prog_RANLIB"
5973
 
fi
5974
 
 
5975
 
test -z "$RANLIB" && RANLIB=:
5976
 
 
5977
 
 
5978
 
 
5979
 
 
5980
 
 
5981
 
 
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=
5986
 
 
5987
 
if test -n "$RANLIB"; then
5988
 
  case $host_os in
5989
 
  openbsd*)
5990
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5991
 
    ;;
5992
 
  *)
5993
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5994
 
    ;;
5995
 
  esac
5996
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5997
 
fi
5998
 
 
5999
 
case $host_os in
6000
 
  darwin*)
6001
 
    lock_old_archive_extraction=yes ;;
6002
 
  *)
6003
 
    lock_old_archive_extraction=no ;;
6004
 
esac
6005
 
 
6006
 
 
6007
 
 
6008
 
 
6009
 
 
6010
 
 
6011
 
 
6012
 
 
6013
 
 
6014
 
 
6015
 
 
6016
 
 
6017
 
 
6018
 
 
6019
 
 
6020
 
 
6021
 
 
6022
 
 
6023
 
 
6024
 
 
6025
 
 
6026
 
 
6027
 
 
6028
 
 
6029
 
 
6030
 
 
6031
 
 
6032
 
 
6033
 
 
6034
 
 
6035
 
 
6036
 
 
6037
 
 
6038
 
 
6039
 
 
6040
 
 
6041
 
 
6042
 
 
6043
 
 
6044
 
# If no C compiler was specified, use CC.
6045
 
LTCC=${LTCC-"$CC"}
6046
 
 
6047
 
# If no C compiler flags were specified, use CFLAGS.
6048
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6049
 
 
6050
 
# Allow CC to be a program name with arguments.
6051
 
compiler=$CC
6052
 
 
6053
 
 
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
6059
 
else
6060
 
 
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?!! ;)]
6063
 
 
6064
 
# Character class describing NM global symbol codes.
6065
 
symcode='[BCDEGRST]'
6066
 
 
6067
 
# Regexp to match symbols that can be accessed directly from C.
6068
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6069
 
 
6070
 
# Define system-specific variables.
6071
 
case $host_os in
6072
 
aix*)
6073
 
  symcode='[BCDT]'
6074
 
  ;;
6075
 
cygwin* | mingw* | pw32* | cegcc*)
6076
 
  symcode='[ABCDGISTW]'
6077
 
  ;;
6078
 
hpux*)
6079
 
  if test "$host_cpu" = ia64; then
6080
 
    symcode='[ABCDEGRST]'
6081
 
  fi
6082
 
  ;;
6083
 
irix* | nonstopux*)
6084
 
  symcode='[BCDEGRST]'
6085
 
  ;;
6086
 
osf*)
6087
 
  symcode='[BCDEGQRST]'
6088
 
  ;;
6089
 
solaris*)
6090
 
  symcode='[BDRT]'
6091
 
  ;;
6092
 
sco3.2v5*)
6093
 
  symcode='[DT]'
6094
 
  ;;
6095
 
sysv4.2uw2*)
6096
 
  symcode='[DT]'
6097
 
  ;;
6098
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6099
 
  symcode='[ABDT]'
6100
 
  ;;
6101
 
sysv4)
6102
 
  symcode='[DFNSTU]'
6103
 
  ;;
6104
 
esac
6105
 
 
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]' ;;
6110
 
esac
6111
 
 
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'"
6116
 
 
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'"
6120
 
 
6121
 
# Handle CRLF in mingw tool chain
6122
 
opt_cr=
6123
 
case $build_os in
6124
 
mingw*)
6125
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6126
 
  ;;
6127
 
esac
6128
 
 
6129
 
# Try without a prefix underscore, then with it.
6130
 
for ac_symprfx in "" "_"; do
6131
 
 
6132
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6133
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6134
 
 
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"
6153
 
  else
6154
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6155
 
  fi
6156
 
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6157
 
 
6158
 
  # Check to see that the pipe works correctly.
6159
 
  pipe_works=no
6160
 
 
6161
 
  rm -f conftest*
6162
 
  cat > conftest.$ac_ext <<_LT_EOF
6163
 
#ifdef __cplusplus
6164
 
extern "C" {
6165
 
#endif
6166
 
char nm_test_var;
6167
 
void nm_test_func(void);
6168
 
void nm_test_func(void){}
6169
 
#ifdef __cplusplus
6170
 
}
6171
 
#endif
6172
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6173
 
_LT_EOF
6174
 
 
6175
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6176
 
  (eval $ac_compile) 2>&5
6177
 
  ac_status=$?
6178
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6179
 
  test $ac_status = 0; }; then
6180
 
    # Now try to grab the symbols.
6181
 
    nlist=conftest.nm
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
6184
 
  ac_status=$?
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"
6190
 
      else
6191
 
        rm -f "$nlist"T
6192
 
      fi
6193
 
 
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
6206
 
#else
6207
 
# define LT_DLSYM_CONST const
6208
 
#endif
6209
 
 
6210
 
#ifdef __cplusplus
6211
 
extern "C" {
6212
 
#endif
6213
 
 
6214
 
_LT_EOF
6215
 
          # Now generate the symbol file.
6216
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6217
 
 
6218
 
          cat <<_LT_EOF >> conftest.$ac_ext
6219
 
 
6220
 
/* The mapping between symbol names and symbols.  */
6221
 
LT_DLSYM_CONST struct {
6222
 
  const char *name;
6223
 
  void       *address;
6224
 
}
6225
 
lt__PROGRAM__LTX_preloaded_symbols[] =
6226
 
{
6227
 
  { "@PROGRAM@", (void *) 0 },
6228
 
_LT_EOF
6229
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6230
 
          cat <<\_LT_EOF >> conftest.$ac_ext
6231
 
  {0, (void *) 0}
6232
 
};
6233
 
 
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;
6238
 
}
6239
 
#endif
6240
 
 
6241
 
#ifdef __cplusplus
6242
 
}
6243
 
#endif
6244
 
_LT_EOF
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
6253
 
  ac_status=$?
6254
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6255
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6256
 
            pipe_works=yes
6257
 
          fi
6258
 
          LIBS=$lt_globsym_save_LIBS
6259
 
          CFLAGS=$lt_globsym_save_CFLAGS
6260
 
        else
6261
 
          echo "cannot find nm_test_func in $nlist" >&5
6262
 
        fi
6263
 
      else
6264
 
        echo "cannot find nm_test_var in $nlist" >&5
6265
 
      fi
6266
 
    else
6267
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6268
 
    fi
6269
 
  else
6270
 
    echo "$progname: failed program was:" >&5
6271
 
    cat conftest.$ac_ext >&5
6272
 
  fi
6273
 
  rm -rf conftest* conftst*
6274
 
 
6275
 
  # Do not use the global_symbol_pipe unless it works.
6276
 
  if test "$pipe_works" = yes; then
6277
 
    break
6278
 
  else
6279
 
    lt_cv_sys_global_symbol_pipe=
6280
 
  fi
6281
 
done
6282
 
 
6283
 
fi
6284
 
 
6285
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6286
 
  lt_cv_sys_global_symbol_to_cdecl=
6287
 
fi
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; }
6291
 
else
6292
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6293
 
$as_echo "ok" >&6; }
6294
 
fi
6295
 
 
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='@'
6301
 
fi
6302
 
 
6303
 
 
6304
 
 
6305
 
 
6306
 
 
6307
 
 
6308
 
 
6309
 
 
6310
 
 
6311
 
 
6312
 
 
6313
 
 
6314
 
 
6315
 
 
6316
 
 
6317
 
 
6318
 
 
6319
 
 
6320
 
 
6321
 
 
6322
 
 
6323
 
 
6324
 
 
6325
 
 
6326
 
 
6327
 
 
6328
 
 
6329
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6330
 
$as_echo_n "checking for sysroot... " >&6; }
6331
 
 
6332
 
# Check whether --with-sysroot was given.
6333
 
if test "${with_sysroot+set}" = set; then :
6334
 
  withval=$with_sysroot;
6335
 
else
6336
 
  with_sysroot=no
6337
 
fi
6338
 
 
6339
 
 
6340
 
lt_sysroot=
6341
 
case ${with_sysroot} in #(
6342
 
 yes)
6343
 
   if test "$GCC" = yes; then
6344
 
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6345
 
   fi
6346
 
   ;; #(
6347
 
 /*)
6348
 
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6349
 
   ;; #(
6350
 
 no|'')
6351
 
   ;; #(
6352
 
 *)
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
6356
 
   ;;
6357
 
esac
6358
 
 
6359
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6360
 
$as_echo "${lt_sysroot:-no}" >&6; }
6361
 
 
6362
 
 
6363
 
 
6364
 
 
6365
 
 
6366
 
# Check whether --enable-libtool-lock was given.
6367
 
if test "${enable_libtool_lock+set}" = set; then :
6368
 
  enableval=$enable_libtool_lock;
6369
 
fi
6370
 
 
6371
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6372
 
 
6373
 
# Some flags need to be propagated to the compiler or linker for good
6374
 
# libtool support.
6375
 
case $host in
6376
 
ia64-*-hpux*)
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
6381
 
  ac_status=$?
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
6385
 
      *ELF-32*)
6386
 
        HPUX_IA64_MODE="32"
6387
 
        ;;
6388
 
      *ELF-64*)
6389
 
        HPUX_IA64_MODE="64"
6390
 
        ;;
6391
 
    esac
6392
 
  fi
6393
 
  rm -rf conftest*
6394
 
  ;;
6395
 
*-*-irix6*)
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
6400
 
  ac_status=$?
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
6405
 
        *32-bit*)
6406
 
          LD="${LD-ld} -melf32bsmip"
6407
 
          ;;
6408
 
        *N32*)
6409
 
          LD="${LD-ld} -melf32bmipn32"
6410
 
          ;;
6411
 
        *64-bit*)
6412
 
          LD="${LD-ld} -melf64bmip"
6413
 
        ;;
6414
 
      esac
6415
 
    else
6416
 
      case `/usr/bin/file conftest.$ac_objext` in
6417
 
        *32-bit*)
6418
 
          LD="${LD-ld} -32"
6419
 
          ;;
6420
 
        *N32*)
6421
 
          LD="${LD-ld} -n32"
6422
 
          ;;
6423
 
        *64-bit*)
6424
 
          LD="${LD-ld} -64"
6425
 
          ;;
6426
 
      esac
6427
 
    fi
6428
 
  fi
6429
 
  rm -rf conftest*
6430
 
  ;;
6431
 
 
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
6438
 
  ac_status=$?
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
6442
 
      *32-bit*)
6443
 
        case $host in
6444
 
          x86_64-*kfreebsd*-gnu)
6445
 
            LD="${LD-ld} -m elf_i386_fbsd"
6446
 
            ;;
6447
 
          x86_64-*linux*)
6448
 
            LD="${LD-ld} -m elf_i386"
6449
 
            ;;
6450
 
          ppc64-*linux*|powerpc64-*linux*)
6451
 
            LD="${LD-ld} -m elf32ppclinux"
6452
 
            ;;
6453
 
          s390x-*linux*)
6454
 
            LD="${LD-ld} -m elf_s390"
6455
 
            ;;
6456
 
          sparc64-*linux*)
6457
 
            LD="${LD-ld} -m elf32_sparc"
6458
 
            ;;
6459
 
        esac
6460
 
        ;;
6461
 
      *64-bit*)
6462
 
        case $host in
6463
 
          x86_64-*kfreebsd*-gnu)
6464
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
6465
 
            ;;
6466
 
          x86_64-*linux*)
6467
 
            LD="${LD-ld} -m elf_x86_64"
6468
 
            ;;
6469
 
          ppc*-*linux*|powerpc*-*linux*)
6470
 
            LD="${LD-ld} -m elf64ppc"
6471
 
            ;;
6472
 
          s390*-*linux*|s390*-*tpf*)
6473
 
            LD="${LD-ld} -m elf64_s390"
6474
 
            ;;
6475
 
          sparc*-*linux*)
6476
 
            LD="${LD-ld} -m elf64_sparc"
6477
 
            ;;
6478
 
        esac
6479
 
        ;;
6480
 
    esac
6481
 
  fi
6482
 
  rm -rf conftest*
6483
 
  ;;
6484
 
 
6485
 
*-*-sco3.2v5*)
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
6493
 
else
6494
 
  ac_ext=c
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
6499
 
 
6500
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6501
 
/* end confdefs.h.  */
6502
 
 
6503
 
int
6504
 
main ()
6505
 
{
6506
 
 
6507
 
  ;
6508
 
  return 0;
6509
 
}
6510
 
_ACEOF
6511
 
if ac_fn_c_try_link "$LINENO"; then :
6512
 
  lt_cv_cc_needs_belf=yes
6513
 
else
6514
 
  lt_cv_cc_needs_belf=no
6515
 
fi
6516
 
rm -f core conftest.err conftest.$ac_objext \
6517
 
    conftest$ac_exeext conftest.$ac_ext
6518
 
     ac_ext=c
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
6523
 
 
6524
 
fi
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"
6530
 
  fi
6531
 
  ;;
6532
 
*-*solaris*)
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
6537
 
  ac_status=$?
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
6541
 
    *64-bit*)
6542
 
      case $lt_cv_prog_gnu_ld in
6543
 
      yes*)
6544
 
        case $host in
6545
 
        i?86-*-solaris*)
6546
 
          LD="${LD-ld} -m elf_x86_64"
6547
 
          ;;
6548
 
        sparc*-*-solaris*)
6549
 
          LD="${LD-ld} -m elf64_sparc"
6550
 
          ;;
6551
 
        esac
6552
 
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6553
 
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6554
 
          LD="${LD-ld}_sol2"
6555
 
        fi
6556
 
        ;;
6557
 
      *)
6558
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6559
 
          LD="${LD-ld} -64"
6560
 
        fi
6561
 
        ;;
6562
 
      esac
6563
 
      ;;
6564
 
    esac
6565
 
  fi
6566
 
  rm -rf conftest*
6567
 
  ;;
6568
 
esac
6569
 
 
6570
 
need_locks="$enable_libtool_lock"
6571
 
 
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
6579
 
else
6580
 
  if test -n "$MANIFEST_TOOL"; then
6581
 
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6582
 
else
6583
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584
 
for as_dir in $PATH
6585
 
do
6586
 
  IFS=$as_save_IFS
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
6592
 
    break 2
6593
 
  fi
6594
 
done
6595
 
  done
6596
 
IFS=$as_save_IFS
6597
 
 
6598
 
fi
6599
 
fi
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; }
6604
 
else
6605
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6606
 
$as_echo "no" >&6; }
6607
 
fi
6608
 
 
6609
 
 
6610
 
fi
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
6619
 
else
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.
6622
 
else
6623
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6624
 
for as_dir in $PATH
6625
 
do
6626
 
  IFS=$as_save_IFS
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
6632
 
    break 2
6633
 
  fi
6634
 
done
6635
 
  done
6636
 
IFS=$as_save_IFS
6637
 
 
6638
 
fi
6639
 
fi
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; }
6644
 
else
6645
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6646
 
$as_echo "no" >&6; }
6647
 
fi
6648
 
 
6649
 
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6650
 
    MANIFEST_TOOL=":"
6651
 
  else
6652
 
    case $cross_compiling:$ac_tool_warned in
6653
 
yes:)
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 ;;
6657
 
esac
6658
 
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6659
 
  fi
6660
 
else
6661
 
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6662
 
fi
6663
 
 
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
6669
 
else
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
6676
 
  fi
6677
 
  rm -f conftest*
6678
 
fi
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
6682
 
  MANIFEST_TOOL=:
6683
 
fi
6684
 
 
6685
 
 
6686
 
 
6687
 
 
6688
 
 
6689
 
 
6690
 
  case $host_os in
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
6699
 
else
6700
 
  if test -n "$DSYMUTIL"; then
6701
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6702
 
else
6703
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6704
 
for as_dir in $PATH
6705
 
do
6706
 
  IFS=$as_save_IFS
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
6712
 
    break 2
6713
 
  fi
6714
 
done
6715
 
  done
6716
 
IFS=$as_save_IFS
6717
 
 
6718
 
fi
6719
 
fi
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; }
6724
 
else
6725
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6726
 
$as_echo "no" >&6; }
6727
 
fi
6728
 
 
6729
 
 
6730
 
fi
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
6739
 
else
6740
 
  if test -n "$ac_ct_DSYMUTIL"; then
6741
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6742
 
else
6743
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6744
 
for as_dir in $PATH
6745
 
do
6746
 
  IFS=$as_save_IFS
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
6752
 
    break 2
6753
 
  fi
6754
 
done
6755
 
  done
6756
 
IFS=$as_save_IFS
6757
 
 
6758
 
fi
6759
 
fi
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; }
6764
 
else
6765
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6766
 
$as_echo "no" >&6; }
6767
 
fi
6768
 
 
6769
 
  if test "x$ac_ct_DSYMUTIL" = x; then
6770
 
    DSYMUTIL=":"
6771
 
  else
6772
 
    case $cross_compiling:$ac_tool_warned in
6773
 
yes:)
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 ;;
6777
 
esac
6778
 
    DSYMUTIL=$ac_ct_DSYMUTIL
6779
 
  fi
6780
 
else
6781
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6782
 
fi
6783
 
 
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
6791
 
else
6792
 
  if test -n "$NMEDIT"; then
6793
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6794
 
else
6795
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6796
 
for as_dir in $PATH
6797
 
do
6798
 
  IFS=$as_save_IFS
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
6804
 
    break 2
6805
 
  fi
6806
 
done
6807
 
  done
6808
 
IFS=$as_save_IFS
6809
 
 
6810
 
fi
6811
 
fi
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; }
6816
 
else
6817
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6818
 
$as_echo "no" >&6; }
6819
 
fi
6820
 
 
6821
 
 
6822
 
fi
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
6831
 
else
6832
 
  if test -n "$ac_ct_NMEDIT"; then
6833
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6834
 
else
6835
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836
 
for as_dir in $PATH
6837
 
do
6838
 
  IFS=$as_save_IFS
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
6844
 
    break 2
6845
 
  fi
6846
 
done
6847
 
  done
6848
 
IFS=$as_save_IFS
6849
 
 
6850
 
fi
6851
 
fi
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; }
6856
 
else
6857
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6858
 
$as_echo "no" >&6; }
6859
 
fi
6860
 
 
6861
 
  if test "x$ac_ct_NMEDIT" = x; then
6862
 
    NMEDIT=":"
6863
 
  else
6864
 
    case $cross_compiling:$ac_tool_warned in
6865
 
yes:)
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 ;;
6869
 
esac
6870
 
    NMEDIT=$ac_ct_NMEDIT
6871
 
  fi
6872
 
else
6873
 
  NMEDIT="$ac_cv_prog_NMEDIT"
6874
 
fi
6875
 
 
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
6883
 
else
6884
 
  if test -n "$LIPO"; then
6885
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6886
 
else
6887
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6888
 
for as_dir in $PATH
6889
 
do
6890
 
  IFS=$as_save_IFS
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
6896
 
    break 2
6897
 
  fi
6898
 
done
6899
 
  done
6900
 
IFS=$as_save_IFS
6901
 
 
6902
 
fi
6903
 
fi
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; }
6908
 
else
6909
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910
 
$as_echo "no" >&6; }
6911
 
fi
6912
 
 
6913
 
 
6914
 
fi
6915
 
if test -z "$ac_cv_prog_LIPO"; then
6916
 
  ac_ct_LIPO=$LIPO
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
6923
 
else
6924
 
  if test -n "$ac_ct_LIPO"; then
6925
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6926
 
else
6927
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6928
 
for as_dir in $PATH
6929
 
do
6930
 
  IFS=$as_save_IFS
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
6936
 
    break 2
6937
 
  fi
6938
 
done
6939
 
  done
6940
 
IFS=$as_save_IFS
6941
 
 
6942
 
fi
6943
 
fi
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; }
6948
 
else
6949
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6950
 
$as_echo "no" >&6; }
6951
 
fi
6952
 
 
6953
 
  if test "x$ac_ct_LIPO" = x; then
6954
 
    LIPO=":"
6955
 
  else
6956
 
    case $cross_compiling:$ac_tool_warned in
6957
 
yes:)
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 ;;
6961
 
esac
6962
 
    LIPO=$ac_ct_LIPO
6963
 
  fi
6964
 
else
6965
 
  LIPO="$ac_cv_prog_LIPO"
6966
 
fi
6967
 
 
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
6975
 
else
6976
 
  if test -n "$OTOOL"; then
6977
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6978
 
else
6979
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980
 
for as_dir in $PATH
6981
 
do
6982
 
  IFS=$as_save_IFS
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
6988
 
    break 2
6989
 
  fi
6990
 
done
6991
 
  done
6992
 
IFS=$as_save_IFS
6993
 
 
6994
 
fi
6995
 
fi
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; }
7000
 
else
7001
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7002
 
$as_echo "no" >&6; }
7003
 
fi
7004
 
 
7005
 
 
7006
 
fi
7007
 
if test -z "$ac_cv_prog_OTOOL"; then
7008
 
  ac_ct_OTOOL=$OTOOL
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
7015
 
else
7016
 
  if test -n "$ac_ct_OTOOL"; then
7017
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7018
 
else
7019
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020
 
for as_dir in $PATH
7021
 
do
7022
 
  IFS=$as_save_IFS
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
7028
 
    break 2
7029
 
  fi
7030
 
done
7031
 
  done
7032
 
IFS=$as_save_IFS
7033
 
 
7034
 
fi
7035
 
fi
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; }
7040
 
else
7041
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7042
 
$as_echo "no" >&6; }
7043
 
fi
7044
 
 
7045
 
  if test "x$ac_ct_OTOOL" = x; then
7046
 
    OTOOL=":"
7047
 
  else
7048
 
    case $cross_compiling:$ac_tool_warned in
7049
 
yes:)
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 ;;
7053
 
esac
7054
 
    OTOOL=$ac_ct_OTOOL
7055
 
  fi
7056
 
else
7057
 
  OTOOL="$ac_cv_prog_OTOOL"
7058
 
fi
7059
 
 
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
7067
 
else
7068
 
  if test -n "$OTOOL64"; then
7069
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7070
 
else
7071
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072
 
for as_dir in $PATH
7073
 
do
7074
 
  IFS=$as_save_IFS
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
7080
 
    break 2
7081
 
  fi
7082
 
done
7083
 
  done
7084
 
IFS=$as_save_IFS
7085
 
 
7086
 
fi
7087
 
fi
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; }
7092
 
else
7093
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7094
 
$as_echo "no" >&6; }
7095
 
fi
7096
 
 
7097
 
 
7098
 
fi
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
7107
 
else
7108
 
  if test -n "$ac_ct_OTOOL64"; then
7109
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7110
 
else
7111
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112
 
for as_dir in $PATH
7113
 
do
7114
 
  IFS=$as_save_IFS
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
7120
 
    break 2
7121
 
  fi
7122
 
done
7123
 
  done
7124
 
IFS=$as_save_IFS
7125
 
 
7126
 
fi
7127
 
fi
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; }
7132
 
else
7133
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134
 
$as_echo "no" >&6; }
7135
 
fi
7136
 
 
7137
 
  if test "x$ac_ct_OTOOL64" = x; then
7138
 
    OTOOL64=":"
7139
 
  else
7140
 
    case $cross_compiling:$ac_tool_warned in
7141
 
yes:)
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 ;;
7145
 
esac
7146
 
    OTOOL64=$ac_ct_OTOOL64
7147
 
  fi
7148
 
else
7149
 
  OTOOL64="$ac_cv_prog_OTOOL64"
7150
 
fi
7151
 
 
7152
 
 
7153
 
 
7154
 
 
7155
 
 
7156
 
 
7157
 
 
7158
 
 
7159
 
 
7160
 
 
7161
 
 
7162
 
 
7163
 
 
7164
 
 
7165
 
 
7166
 
 
7167
 
 
7168
 
 
7169
 
 
7170
 
 
7171
 
 
7172
 
 
7173
 
 
7174
 
 
7175
 
 
7176
 
 
7177
 
 
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
7182
 
else
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
7188
 
        # link flags.
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
7195
 
        _lt_result=$?
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
7204
 
        else
7205
 
          cat conftest.err >&5
7206
 
        fi
7207
 
        rm -rf libconftest.dylib*
7208
 
        rm -f conftest.*
7209
 
      fi
7210
 
fi
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; }
7213
 
 
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
7218
 
else
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.  */
7225
 
 
7226
 
int
7227
 
main ()
7228
 
{
7229
 
 
7230
 
  ;
7231
 
  return 0;
7232
 
}
7233
 
_ACEOF
7234
 
if ac_fn_c_try_link "$LINENO"; then :
7235
 
  lt_cv_ld_exported_symbols_list=yes
7236
 
else
7237
 
  lt_cv_ld_exported_symbols_list=no
7238
 
fi
7239
 
rm -f core conftest.err conftest.$ac_objext \
7240
 
    conftest$ac_exeext conftest.$ac_ext
7241
 
        LDFLAGS="$save_LDFLAGS"
7242
 
 
7243
 
fi
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; }
7246
 
 
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
7251
 
else
7252
 
  lt_cv_ld_force_load=no
7253
 
      cat > conftest.c << _LT_EOF
7254
 
int forced_loaded() { return 2;}
7255
 
_LT_EOF
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;}
7264
 
_LT_EOF
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
7267
 
      _lt_result=$?
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
7272
 
      else
7273
 
        cat conftest.err >&5
7274
 
      fi
7275
 
        rm -f conftest.err libconftest.a conftest conftest.c
7276
 
        rm -rf conftest.dSYM
7277
 
 
7278
 
fi
7279
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7280
 
$as_echo "$lt_cv_ld_force_load" >&6; }
7281
 
    case $host_os in
7282
 
    rhapsody* | darwin1.[012])
7283
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7284
 
    darwin1.*)
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' ;;
7293
 
        10.[012]*)
7294
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7295
 
        10.*)
7296
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7297
 
      esac
7298
 
    ;;
7299
 
  esac
7300
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7301
 
      _lt_dar_single_mod='$single_module'
7302
 
    fi
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'
7305
 
    else
7306
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7307
 
    fi
7308
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7309
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7310
 
    else
7311
 
      _lt_dsymutil=
7312
 
    fi
7313
 
    ;;
7314
 
  esac
7315
 
 
7316
 
ac_ext=c
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
7325
 
  CPP=
7326
 
fi
7327
 
if test -z "$CPP"; then
7328
 
  if ${ac_cv_prog_CPP+:} false; then :
7329
 
  $as_echo_n "(cached) " >&6
7330
 
else
7331
 
      # Double quotes because CPP needs to be expanded
7332
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7333
 
    do
7334
 
      ac_preproc_ok=false
7335
 
for ac_c_preproc_warn_flag in '' yes
7336
 
do
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.  */
7345
 
#ifdef __STDC__
7346
 
# include <limits.h>
7347
 
#else
7348
 
# include <assert.h>
7349
 
#endif
7350
 
                     Syntax error
7351
 
_ACEOF
7352
 
if ac_fn_c_try_cpp "$LINENO"; then :
7353
 
 
7354
 
else
7355
 
  # Broken: fails on valid input.
7356
 
continue
7357
 
fi
7358
 
rm -f conftest.err conftest.i conftest.$ac_ext
7359
 
 
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>
7365
 
_ACEOF
7366
 
if ac_fn_c_try_cpp "$LINENO"; then :
7367
 
  # Broken: success on invalid input.
7368
 
continue
7369
 
else
7370
 
  # Passes both tests.
7371
 
ac_preproc_ok=:
7372
 
break
7373
 
fi
7374
 
rm -f conftest.err conftest.i conftest.$ac_ext
7375
 
 
7376
 
done
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 :
7380
 
  break
7381
 
fi
7382
 
 
7383
 
    done
7384
 
    ac_cv_prog_CPP=$CPP
7385
 
 
7386
 
fi
7387
 
  CPP=$ac_cv_prog_CPP
7388
 
else
7389
 
  ac_cv_prog_CPP=$CPP
7390
 
fi
7391
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7392
 
$as_echo "$CPP" >&6; }
7393
 
ac_preproc_ok=false
7394
 
for ac_c_preproc_warn_flag in '' yes
7395
 
do
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.  */
7404
 
#ifdef __STDC__
7405
 
# include <limits.h>
7406
 
#else
7407
 
# include <assert.h>
7408
 
#endif
7409
 
                     Syntax error
7410
 
_ACEOF
7411
 
if ac_fn_c_try_cpp "$LINENO"; then :
7412
 
 
7413
 
else
7414
 
  # Broken: fails on valid input.
7415
 
continue
7416
 
fi
7417
 
rm -f conftest.err conftest.i conftest.$ac_ext
7418
 
 
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>
7424
 
_ACEOF
7425
 
if ac_fn_c_try_cpp "$LINENO"; then :
7426
 
  # Broken: success on invalid input.
7427
 
continue
7428
 
else
7429
 
  # Passes both tests.
7430
 
ac_preproc_ok=:
7431
 
break
7432
 
fi
7433
 
rm -f conftest.err conftest.i conftest.$ac_ext
7434
 
 
7435
 
done
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 :
7439
 
 
7440
 
else
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; }
7445
 
fi
7446
 
 
7447
 
ac_ext=c
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
7452
 
 
7453
 
 
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
7458
 
else
7459
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7460
 
/* end confdefs.h.  */
7461
 
#include <stdlib.h>
7462
 
#include <stdarg.h>
7463
 
#include <string.h>
7464
 
#include <float.h>
7465
 
 
7466
 
int
7467
 
main ()
7468
 
{
7469
 
 
7470
 
  ;
7471
 
  return 0;
7472
 
}
7473
 
_ACEOF
7474
 
if ac_fn_c_try_compile "$LINENO"; then :
7475
 
  ac_cv_header_stdc=yes
7476
 
else
7477
 
  ac_cv_header_stdc=no
7478
 
fi
7479
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7480
 
 
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.  */
7485
 
#include <string.h>
7486
 
 
7487
 
_ACEOF
7488
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7489
 
  $EGREP "memchr" >/dev/null 2>&1; then :
7490
 
 
7491
 
else
7492
 
  ac_cv_header_stdc=no
7493
 
fi
7494
 
rm -f conftest*
7495
 
 
7496
 
fi
7497
 
 
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.  */
7502
 
#include <stdlib.h>
7503
 
 
7504
 
_ACEOF
7505
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7506
 
  $EGREP "free" >/dev/null 2>&1; then :
7507
 
 
7508
 
else
7509
 
  ac_cv_header_stdc=no
7510
 
fi
7511
 
rm -f conftest*
7512
 
 
7513
 
fi
7514
 
 
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 :
7518
 
  :
7519
 
else
7520
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7521
 
/* end confdefs.h.  */
7522
 
#include <ctype.h>
7523
 
#include <stdlib.h>
7524
 
#if ((' ' & 0x0FF) == 0x020)
7525
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7526
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7527
 
#else
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))
7533
 
#endif
7534
 
 
7535
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7536
 
int
7537
 
main ()
7538
 
{
7539
 
  int i;
7540
 
  for (i = 0; i < 256; i++)
7541
 
    if (XOR (islower (i), ISLOWER (i))
7542
 
        || toupper (i) != TOUPPER (i))
7543
 
      return 2;
7544
 
  return 0;
7545
 
}
7546
 
_ACEOF
7547
 
if ac_fn_c_try_run "$LINENO"; then :
7548
 
 
7549
 
else
7550
 
  ac_cv_header_stdc=no
7551
 
fi
7552
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7553
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7554
 
fi
7555
 
 
7556
 
fi
7557
 
fi
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
7561
 
 
7562
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7563
 
 
7564
 
fi
7565
 
 
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
7569
 
do :
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
7572
 
"
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
7576
 
_ACEOF
7577
 
 
7578
 
fi
7579
 
 
7580
 
done
7581
 
 
7582
 
 
7583
 
for ac_header in dlfcn.h
7584
 
do :
7585
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7586
 
"
7587
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7588
 
  cat >>confdefs.h <<_ACEOF
7589
 
#define HAVE_DLFCN_H 1
7590
 
_ACEOF
7591
 
 
7592
 
fi
7593
 
 
7594
 
done
7595
 
 
7596
 
 
7597
 
 
7598
 
 
7599
 
 
7600
 
# Set options
7601
 
 
7602
 
 
7603
 
 
7604
 
        enable_dlopen=no
7605
 
 
7606
 
 
7607
 
  enable_win32_dll=no
7608
 
 
7609
 
 
7610
 
            # Check whether --enable-shared was given.
7611
 
if test "${enable_shared+set}" = set; then :
7612
 
  enableval=$enable_shared; p=${PACKAGE-default}
7613
 
    case $enableval in
7614
 
    yes) enable_shared=yes ;;
7615
 
    no) enable_shared=no ;;
7616
 
    *)
7617
 
      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
7621
 
        IFS="$lt_save_ifs"
7622
 
        if test "X$pkg" = "X$p"; then
7623
 
          enable_shared=yes
7624
 
        fi
7625
 
      done
7626
 
      IFS="$lt_save_ifs"
7627
 
      ;;
7628
 
    esac
7629
 
else
7630
 
  enable_shared=yes
7631
 
fi
7632
 
 
7633
 
 
7634
 
 
7635
 
 
7636
 
 
7637
 
 
7638
 
 
7639
 
 
7640
 
 
7641
 
  # Check whether --enable-static was given.
7642
 
if test "${enable_static+set}" = set; then :
7643
 
  enableval=$enable_static; p=${PACKAGE-default}
7644
 
    case $enableval in
7645
 
    yes) enable_static=yes ;;
7646
 
    no) enable_static=no ;;
7647
 
    *)
7648
 
     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
7652
 
        IFS="$lt_save_ifs"
7653
 
        if test "X$pkg" = "X$p"; then
7654
 
          enable_static=yes
7655
 
        fi
7656
 
      done
7657
 
      IFS="$lt_save_ifs"
7658
 
      ;;
7659
 
    esac
7660
 
else
7661
 
  enable_static=yes
7662
 
fi
7663
 
 
7664
 
 
7665
 
 
7666
 
 
7667
 
 
7668
 
 
7669
 
 
7670
 
 
7671
 
 
7672
 
 
7673
 
# Check whether --with-pic was given.
7674
 
if test "${with_pic+set}" = set; then :
7675
 
  withval=$with_pic; lt_p=${PACKAGE-default}
7676
 
    case $withval in
7677
 
    yes|no) pic_mode=$withval ;;
7678
 
    *)
7679
 
      pic_mode=default
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
7683
 
        IFS="$lt_save_ifs"
7684
 
        if test "X$lt_pkg" = "X$lt_p"; then
7685
 
          pic_mode=yes
7686
 
        fi
7687
 
      done
7688
 
      IFS="$lt_save_ifs"
7689
 
      ;;
7690
 
    esac
7691
 
else
7692
 
  pic_mode=default
7693
 
fi
7694
 
 
7695
 
 
7696
 
test -z "$pic_mode" && pic_mode=default
7697
 
 
7698
 
 
7699
 
 
7700
 
 
7701
 
 
7702
 
 
7703
 
 
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}
7707
 
    case $enableval in
7708
 
    yes) enable_fast_install=yes ;;
7709
 
    no) enable_fast_install=no ;;
7710
 
    *)
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
7715
 
        IFS="$lt_save_ifs"
7716
 
        if test "X$pkg" = "X$p"; then
7717
 
          enable_fast_install=yes
7718
 
        fi
7719
 
      done
7720
 
      IFS="$lt_save_ifs"
7721
 
      ;;
7722
 
    esac
7723
 
else
7724
 
  enable_fast_install=yes
7725
 
fi
7726
 
 
7727
 
 
7728
 
 
7729
 
 
7730
 
 
7731
 
 
7732
 
 
7733
 
 
7734
 
 
7735
 
 
7736
 
 
7737
 
# This can be used to rebuild libtool when needed
7738
 
LIBTOOL_DEPS="$ltmain"
7739
 
 
7740
 
# Always use our own libtool.
7741
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7742
 
 
7743
 
 
7744
 
 
7745
 
 
7746
 
 
7747
 
 
7748
 
 
7749
 
 
7750
 
 
7751
 
 
7752
 
 
7753
 
 
7754
 
 
7755
 
 
7756
 
 
7757
 
 
7758
 
 
7759
 
 
7760
 
 
7761
 
 
7762
 
 
7763
 
 
7764
 
 
7765
 
 
7766
 
 
7767
 
 
7768
 
 
7769
 
 
7770
 
 
7771
 
 
7772
 
test -z "$LN_S" && LN_S="ln -s"
7773
 
 
7774
 
 
7775
 
 
7776
 
 
7777
 
 
7778
 
 
7779
 
 
7780
 
 
7781
 
 
7782
 
 
7783
 
 
7784
 
 
7785
 
 
7786
 
 
7787
 
if test -n "${ZSH_VERSION+set}" ; then
7788
 
   setopt NO_GLOB_SUBST
7789
 
fi
7790
 
 
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
7795
 
else
7796
 
  rm -f .libs 2>/dev/null
7797
 
mkdir .libs 2>/dev/null
7798
 
if test -d .libs; then
7799
 
  lt_cv_objdir=.libs
7800
 
else
7801
 
  # MS-DOS does not allow filenames that begin with a dot.
7802
 
  lt_cv_objdir=_libs
7803
 
fi
7804
 
rmdir .libs 2>/dev/null
7805
 
fi
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
7809
 
 
7810
 
 
7811
 
 
7812
 
 
7813
 
 
7814
 
cat >>confdefs.h <<_ACEOF
7815
 
#define LT_OBJDIR "$lt_cv_objdir/"
7816
 
_ACEOF
7817
 
 
7818
 
 
7819
 
 
7820
 
 
7821
 
case $host_os in
7822
 
aix3*)
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
7827
 
    COLLECT_NAMES=
7828
 
    export COLLECT_NAMES
7829
 
  fi
7830
 
  ;;
7831
 
esac
7832
 
 
7833
 
# Global variables:
7834
 
ofile=libtool
7835
 
can_build_shared=yes
7836
 
 
7837
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7838
 
# which needs '.lib').
7839
 
libext=a
7840
 
 
7841
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7842
 
 
7843
 
old_CC="$CC"
7844
 
old_CFLAGS="$CFLAGS"
7845
 
 
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
7852
 
 
7853
 
for cc_temp in $compiler""; do
7854
 
  case $cc_temp in
7855
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7856
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7857
 
    \-*) ;;
7858
 
    *) break;;
7859
 
  esac
7860
 
done
7861
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7862
 
 
7863
 
 
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
7867
 
file_magic*)
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
7873
 
else
7874
 
  case $MAGIC_CMD in
7875
 
[\\/*] |  ?:[\\/]*)
7876
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7877
 
  ;;
7878
 
*)
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
7883
 
    IFS="$lt_save_ifs"
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
7889
 
        "file_magic "*)
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
7894
 
            :
7895
 
          else
7896
 
            cat <<_LT_EOF 1>&2
7897
 
 
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
7906
 
 
7907
 
_LT_EOF
7908
 
          fi ;;
7909
 
        esac
7910
 
      fi
7911
 
      break
7912
 
    fi
7913
 
  done
7914
 
  IFS="$lt_save_ifs"
7915
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7916
 
  ;;
7917
 
esac
7918
 
fi
7919
 
 
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; }
7924
 
else
7925
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7926
 
$as_echo "no" >&6; }
7927
 
fi
7928
 
 
7929
 
 
7930
 
 
7931
 
 
7932
 
 
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
7939
 
else
7940
 
  case $MAGIC_CMD in
7941
 
[\\/*] |  ?:[\\/]*)
7942
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7943
 
  ;;
7944
 
*)
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
7949
 
    IFS="$lt_save_ifs"
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
7955
 
        "file_magic "*)
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
7960
 
            :
7961
 
          else
7962
 
            cat <<_LT_EOF 1>&2
7963
 
 
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
7972
 
 
7973
 
_LT_EOF
7974
 
          fi ;;
7975
 
        esac
7976
 
      fi
7977
 
      break
7978
 
    fi
7979
 
  done
7980
 
  IFS="$lt_save_ifs"
7981
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7982
 
  ;;
7983
 
esac
7984
 
fi
7985
 
 
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; }
7990
 
else
7991
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7992
 
$as_echo "no" >&6; }
7993
 
fi
7994
 
 
7995
 
 
7996
 
  else
7997
 
    MAGIC_CMD=:
7998
 
  fi
7999
 
fi
8000
 
 
8001
 
  fi
8002
 
  ;;
8003
 
esac
8004
 
 
8005
 
# Use C for the default configuration in the libtool script
8006
 
 
8007
 
lt_save_CC="$CC"
8008
 
ac_ext=c
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
8013
 
 
8014
 
 
8015
 
# Source file extension for C test sources.
8016
 
ac_ext=c
8017
 
 
8018
 
# Object file extension for compiled C test sources.
8019
 
objext=o
8020
 
objext=$objext
8021
 
 
8022
 
# Code to be used in simple compile tests
8023
 
lt_simple_compile_test_code="int some_variable = 0;"
8024
 
 
8025
 
# Code to be used in simple link tests
8026
 
lt_simple_link_test_code='int main(){return(0);}'
8027
 
 
8028
 
 
8029
 
 
8030
 
 
8031
 
 
8032
 
 
8033
 
 
8034
 
# If no C compiler was specified, use CC.
8035
 
LTCC=${LTCC-"$CC"}
8036
 
 
8037
 
# If no C compiler flags were specified, use CFLAGS.
8038
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8039
 
 
8040
 
# Allow CC to be a program name with arguments.
8041
 
compiler=$CC
8042
 
 
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
8046
 
 
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`
8052
 
$RM conftest*
8053
 
 
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`
8058
 
$RM -r conftest*
8059
 
 
8060
 
 
8061
 
if test -n "$compiler"; then
8062
 
 
8063
 
lt_prog_compiler_no_builtin_flag=
8064
 
 
8065
 
if test "$GCC" = yes; then
8066
 
  case $cc_basename in
8067
 
  nvcc*)
8068
 
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8069
 
  *)
8070
 
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8071
 
  esac
8072
 
 
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
8077
 
else
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)
8093
 
   ac_status=$?
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
8103
 
     fi
8104
 
   fi
8105
 
   $RM conftest*
8106
 
 
8107
 
fi
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; }
8110
 
 
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"
8113
 
else
8114
 
    :
8115
 
fi
8116
 
 
8117
 
fi
8118
 
 
8119
 
 
8120
 
 
8121
 
 
8122
 
 
8123
 
 
8124
 
  lt_prog_compiler_wl=
8125
 
lt_prog_compiler_pic=
8126
 
lt_prog_compiler_static=
8127
 
 
8128
 
 
8129
 
  if test "$GCC" = yes; then
8130
 
    lt_prog_compiler_wl='-Wl,'
8131
 
    lt_prog_compiler_static='-static'
8132
 
 
8133
 
    case $host_os in
8134
 
      aix*)
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'
8139
 
      fi
8140
 
      ;;
8141
 
 
8142
 
    amigaos*)
8143
 
      case $host_cpu in
8144
 
      powerpc)
8145
 
            # see comment about AmigaOS4 .so support
8146
 
            lt_prog_compiler_pic='-fPIC'
8147
 
        ;;
8148
 
      m68k)
8149
 
            # FIXME: we need at least 68020 code to build shared libraries, but
8150
 
            # adding the `-m68020' flag to GCC prevents building anything better,
8151
 
            # like `-m68040'.
8152
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8153
 
        ;;
8154
 
      esac
8155
 
      ;;
8156
 
 
8157
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8158
 
      # PIC is the default for these OSes.
8159
 
      ;;
8160
 
 
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'
8167
 
      ;;
8168
 
 
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'
8173
 
      ;;
8174
 
 
8175
 
    haiku*)
8176
 
      # PIC is the default for Haiku.
8177
 
      # The "-static" flag exists, but is broken.
8178
 
      lt_prog_compiler_static=
8179
 
      ;;
8180
 
 
8181
 
    hpux*)
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.
8185
 
      case $host_cpu in
8186
 
      hppa*64*)
8187
 
        # +Z the default
8188
 
        ;;
8189
 
      *)
8190
 
        lt_prog_compiler_pic='-fPIC'
8191
 
        ;;
8192
 
      esac
8193
 
      ;;
8194
 
 
8195
 
    interix[3-9]*)
8196
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8197
 
      # Instead, we relocate shared libraries at runtime.
8198
 
      ;;
8199
 
 
8200
 
    msdosdjgpp*)
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
8204
 
      enable_shared=no
8205
 
      ;;
8206
 
 
8207
 
    *nto* | *qnx*)
8208
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8209
 
      # it will coredump.
8210
 
      lt_prog_compiler_pic='-fPIC -shared'
8211
 
      ;;
8212
 
 
8213
 
    sysv4*MP*)
8214
 
      if test -d /usr/nec; then
8215
 
        lt_prog_compiler_pic=-Kconform_pic
8216
 
      fi
8217
 
      ;;
8218
 
 
8219
 
    *)
8220
 
      lt_prog_compiler_pic='-fPIC'
8221
 
      ;;
8222
 
    esac
8223
 
 
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"
8229
 
      fi
8230
 
      ;;
8231
 
    esac
8232
 
  else
8233
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8234
 
    case $host_os in
8235
 
    aix*)
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'
8240
 
      else
8241
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8242
 
      fi
8243
 
      ;;
8244
 
 
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'
8249
 
      ;;
8250
 
 
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
8254
 
      # not for PA HP-UX.
8255
 
      case $host_cpu in
8256
 
      hppa*64*|ia64*)
8257
 
        # +Z the default
8258
 
        ;;
8259
 
      *)
8260
 
        lt_prog_compiler_pic='+Z'
8261
 
        ;;
8262
 
      esac
8263
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8264
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8265
 
      ;;
8266
 
 
8267
 
    irix5* | irix6* | nonstopux*)
8268
 
      lt_prog_compiler_wl='-Wl,'
8269
 
      # PIC (with -KPIC) is the default.
8270
 
      lt_prog_compiler_static='-non_shared'
8271
 
      ;;
8272
 
 
8273
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8274
 
      case $cc_basename in
8275
 
      # old Intel for x86_64 which still supported -KPIC.
8276
 
      ecc*)
8277
 
        lt_prog_compiler_wl='-Wl,'
8278
 
        lt_prog_compiler_pic='-KPIC'
8279
 
        lt_prog_compiler_static='-static'
8280
 
        ;;
8281
 
      # icc used to be incompatible with GCC.
8282
 
      # ICC 10 doesn't accept -KPIC any more.
8283
 
      icc* | ifort*)
8284
 
        lt_prog_compiler_wl='-Wl,'
8285
 
        lt_prog_compiler_pic='-fPIC'
8286
 
        lt_prog_compiler_static='-static'
8287
 
        ;;
8288
 
      # Lahey Fortran 8.1.
8289
 
      lf95*)
8290
 
        lt_prog_compiler_wl='-Wl,'
8291
 
        lt_prog_compiler_pic='--shared'
8292
 
        lt_prog_compiler_static='--static'
8293
 
        ;;
8294
 
      nagfor*)
8295
 
        # NAG Fortran compiler
8296
 
        lt_prog_compiler_wl='-Wl,-Wl,,'
8297
 
        lt_prog_compiler_pic='-PIC'
8298
 
        lt_prog_compiler_static='-Bstatic'
8299
 
        ;;
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'
8306
 
        ;;
8307
 
      ccc*)
8308
 
        lt_prog_compiler_wl='-Wl,'
8309
 
        # All Alpha code is PIC.
8310
 
        lt_prog_compiler_static='-non_shared'
8311
 
        ;;
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'
8317
 
        ;;
8318
 
      *)
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=''
8325
 
          ;;
8326
 
        *Sun\ F* | *Sun*Fortran*)
8327
 
          lt_prog_compiler_pic='-KPIC'
8328
 
          lt_prog_compiler_static='-Bstatic'
8329
 
          lt_prog_compiler_wl='-Qoption ld '
8330
 
          ;;
8331
 
        *Sun\ C*)
8332
 
          # Sun C 5.9
8333
 
          lt_prog_compiler_pic='-KPIC'
8334
 
          lt_prog_compiler_static='-Bstatic'
8335
 
          lt_prog_compiler_wl='-Wl,'
8336
 
          ;;
8337
 
        *Intel*\ [CF]*Compiler*)
8338
 
          lt_prog_compiler_wl='-Wl,'
8339
 
          lt_prog_compiler_pic='-fPIC'
8340
 
          lt_prog_compiler_static='-static'
8341
 
          ;;
8342
 
        *Portland\ Group*)
8343
 
          lt_prog_compiler_wl='-Wl,'
8344
 
          lt_prog_compiler_pic='-fpic'
8345
 
          lt_prog_compiler_static='-Bstatic'
8346
 
          ;;
8347
 
        esac
8348
 
        ;;
8349
 
      esac
8350
 
      ;;
8351
 
 
8352
 
    newsos6)
8353
 
      lt_prog_compiler_pic='-KPIC'
8354
 
      lt_prog_compiler_static='-Bstatic'
8355
 
      ;;
8356
 
 
8357
 
    *nto* | *qnx*)
8358
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8359
 
      # it will coredump.
8360
 
      lt_prog_compiler_pic='-fPIC -shared'
8361
 
      ;;
8362
 
 
8363
 
    osf3* | osf4* | osf5*)
8364
 
      lt_prog_compiler_wl='-Wl,'
8365
 
      # All OSF/1 code is PIC.
8366
 
      lt_prog_compiler_static='-non_shared'
8367
 
      ;;
8368
 
 
8369
 
    rdos*)
8370
 
      lt_prog_compiler_static='-non_shared'
8371
 
      ;;
8372
 
 
8373
 
    solaris*)
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 ';;
8379
 
      *)
8380
 
        lt_prog_compiler_wl='-Wl,';;
8381
 
      esac
8382
 
      ;;
8383
 
 
8384
 
    sunos4*)
8385
 
      lt_prog_compiler_wl='-Qoption ld '
8386
 
      lt_prog_compiler_pic='-PIC'
8387
 
      lt_prog_compiler_static='-Bstatic'
8388
 
      ;;
8389
 
 
8390
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8391
 
      lt_prog_compiler_wl='-Wl,'
8392
 
      lt_prog_compiler_pic='-KPIC'
8393
 
      lt_prog_compiler_static='-Bstatic'
8394
 
      ;;
8395
 
 
8396
 
    sysv4*MP*)
8397
 
      if test -d /usr/nec ;then
8398
 
        lt_prog_compiler_pic='-Kconform_pic'
8399
 
        lt_prog_compiler_static='-Bstatic'
8400
 
      fi
8401
 
      ;;
8402
 
 
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'
8407
 
      ;;
8408
 
 
8409
 
    unicos*)
8410
 
      lt_prog_compiler_wl='-Wl,'
8411
 
      lt_prog_compiler_can_build_shared=no
8412
 
      ;;
8413
 
 
8414
 
    uts4*)
8415
 
      lt_prog_compiler_pic='-pic'
8416
 
      lt_prog_compiler_static='-Bstatic'
8417
 
      ;;
8418
 
 
8419
 
    *)
8420
 
      lt_prog_compiler_can_build_shared=no
8421
 
      ;;
8422
 
    esac
8423
 
  fi
8424
 
 
8425
 
case $host_os in
8426
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8427
 
  *djgpp*)
8428
 
    lt_prog_compiler_pic=
8429
 
    ;;
8430
 
  *)
8431
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8432
 
    ;;
8433
 
esac
8434
 
 
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
8439
 
else
8440
 
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8441
 
fi
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
8445
 
 
8446
 
#
8447
 
# Check to make sure the PIC flag actually works.
8448
 
#
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
8454
 
else
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)
8470
 
   ac_status=$?
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
8480
 
     fi
8481
 
   fi
8482
 
   $RM conftest*
8483
 
 
8484
 
fi
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; }
8487
 
 
8488
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8489
 
    case $lt_prog_compiler_pic in
8490
 
     "" | " "*) ;;
8491
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8492
 
     esac
8493
 
else
8494
 
    lt_prog_compiler_pic=
8495
 
     lt_prog_compiler_can_build_shared=no
8496
 
fi
8497
 
 
8498
 
fi
8499
 
 
8500
 
 
8501
 
 
8502
 
 
8503
 
 
8504
 
 
8505
 
 
8506
 
 
8507
 
 
8508
 
 
8509
 
 
8510
 
#
8511
 
# Check to make sure the static flag actually works.
8512
 
#
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
8518
 
else
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
8533
 
       fi
8534
 
     else
8535
 
       lt_cv_prog_compiler_static_works=yes
8536
 
     fi
8537
 
   fi
8538
 
   $RM -r conftest*
8539
 
   LDFLAGS="$save_LDFLAGS"
8540
 
 
8541
 
fi
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; }
8544
 
 
8545
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8546
 
    :
8547
 
else
8548
 
    lt_prog_compiler_static=
8549
 
fi
8550
 
 
8551
 
 
8552
 
 
8553
 
 
8554
 
 
8555
 
 
8556
 
 
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
8561
 
else
8562
 
  lt_cv_prog_compiler_c_o=no
8563
 
   $RM -r conftest 2>/dev/null
8564
 
   mkdir conftest
8565
 
   cd conftest
8566
 
   mkdir out
8567
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8568
 
 
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)
8580
 
   ac_status=$?
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
8584
 
   then
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
8591
 
     fi
8592
 
   fi
8593
 
   chmod u+w . 2>&5
8594
 
   $RM conftest*
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
8599
 
   cd ..
8600
 
   $RM -r conftest
8601
 
   $RM conftest*
8602
 
 
8603
 
fi
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; }
8606
 
 
8607
 
 
8608
 
 
8609
 
 
8610
 
 
8611
 
 
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
8616
 
else
8617
 
  lt_cv_prog_compiler_c_o=no
8618
 
   $RM -r conftest 2>/dev/null
8619
 
   mkdir conftest
8620
 
   cd conftest
8621
 
   mkdir out
8622
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8623
 
 
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)
8635
 
   ac_status=$?
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
8639
 
   then
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
8646
 
     fi
8647
 
   fi
8648
 
   chmod u+w . 2>&5
8649
 
   $RM conftest*
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
8654
 
   cd ..
8655
 
   $RM -r conftest
8656
 
   $RM conftest*
8657
 
 
8658
 
fi
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; }
8661
 
 
8662
 
 
8663
 
 
8664
 
 
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; }
8670
 
  hard_links=yes
8671
 
  $RM conftest*
8672
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8673
 
  touch conftest.a
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;}
8681
 
    need_locks=warn
8682
 
  fi
8683
 
else
8684
 
  need_locks=no
8685
 
fi
8686
 
 
8687
 
 
8688
 
 
8689
 
 
8690
 
 
8691
 
 
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; }
8694
 
 
8695
 
  runpath_var=
8696
 
  allow_undefined_flag=
8697
 
  always_export_symbols=no
8698
 
  archive_cmds=
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
8705
 
  hardcode_direct=no
8706
 
  hardcode_direct_absolute=no
8707
 
  hardcode_libdir_flag_spec=
8708
 
  hardcode_libdir_separator=
8709
 
  hardcode_minus_L=no
8710
 
  hardcode_shlibpath_var=unsupported
8711
 
  inherit_rpath=no
8712
 
  link_all_deplibs=unknown
8713
 
  module_cmds=
8714
 
  module_expsym_cmds=
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
8721
 
  include_expsyms=
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=
8734
 
 
8735
 
  case $host_os in
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
8741
 
      with_gnu_ld=no
8742
 
    fi
8743
 
    ;;
8744
 
  interix*)
8745
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8746
 
    with_gnu_ld=yes
8747
 
    ;;
8748
 
  openbsd*)
8749
 
    with_gnu_ld=no
8750
 
    ;;
8751
 
  linux* | k*bsd*-gnu | gnu*)
8752
 
    link_all_deplibs=no
8753
 
    ;;
8754
 
  esac
8755
 
 
8756
 
  ld_shlibs=yes
8757
 
 
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
8762
 
    case $host_os in
8763
 
      aix*)
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]*) ;;
8772
 
          *)
8773
 
            lt_use_gnu_ld_interface=yes
8774
 
            ;;
8775
 
        esac
8776
 
        ;;
8777
 
      *)
8778
 
        lt_use_gnu_ld_interface=yes
8779
 
        ;;
8780
 
    esac
8781
 
  fi
8782
 
 
8783
 
  if test "$lt_use_gnu_ld_interface" = yes; then
8784
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
8785
 
    wlarc='${wl}'
8786
 
 
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'
8796
 
    else
8797
 
      whole_archive_flag_spec=
8798
 
    fi
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 ;;
8807
 
    esac
8808
 
 
8809
 
    # See if GNU ld supports shared libraries.
8810
 
    case $host_os in
8811
 
    aix[3-9]*)
8812
 
      # On AIX/PPC, the GNU linker is very broken
8813
 
      if test "$host_cpu" != ia64; then
8814
 
        ld_shlibs=no
8815
 
        cat <<_LT_EOF 1>&2
8816
 
 
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.
8823
 
 
8824
 
_LT_EOF
8825
 
      fi
8826
 
      ;;
8827
 
 
8828
 
    amigaos*)
8829
 
      case $host_cpu in
8830
 
      powerpc)
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=''
8834
 
        ;;
8835
 
      m68k)
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
8839
 
        ;;
8840
 
      esac
8841
 
      ;;
8842
 
 
8843
 
    beos*)
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'
8849
 
      else
8850
 
        ld_shlibs=no
8851
 
      fi
8852
 
      ;;
8853
 
 
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'
8864
 
 
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;
8871
 
        else
8872
 
          echo EXPORTS > $output_objdir/$soname.def;
8873
 
          cat $export_symbols >> $output_objdir/$soname.def;
8874
 
        fi~
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'
8876
 
      else
8877
 
        ld_shlibs=no
8878
 
      fi
8879
 
      ;;
8880
 
 
8881
 
    haiku*)
8882
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8883
 
      link_all_deplibs=yes
8884
 
      ;;
8885
 
 
8886
 
    interix[3-9]*)
8887
 
      hardcode_direct=no
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'
8899
 
      ;;
8900
 
 
8901
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8902
 
      tmp_diet=no
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)
8906
 
        esac
8907
 
      fi
8908
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8909
 
         && test "$tmp_diet" = no
8910
 
      then
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'
8917
 
          ;;
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'
8933
 
          tmp_addflag= ;;
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
8937
 
          ;;
8938
 
        esac
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' ;;
8946
 
        esac
8947
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8948
 
 
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'
8954
 
        fi
8955
 
 
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'
8967
 
          fi
8968
 
          ;;
8969
 
        esac
8970
 
      else
8971
 
        ld_shlibs=no
8972
 
      fi
8973
 
      ;;
8974
 
 
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'
8978
 
        wlarc=
8979
 
      else
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'
8982
 
      fi
8983
 
      ;;
8984
 
 
8985
 
    solaris*)
8986
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8987
 
        ld_shlibs=no
8988
 
        cat <<_LT_EOF 1>&2
8989
 
 
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.
8996
 
 
8997
 
_LT_EOF
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'
9001
 
      else
9002
 
        ld_shlibs=no
9003
 
      fi
9004
 
      ;;
9005
 
 
9006
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9007
 
      case `$LD -v 2>&1` in
9008
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9009
 
        ld_shlibs=no
9010
 
        cat <<_LT_EOF 1>&2
9011
 
 
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.
9018
 
 
9019
 
_LT_EOF
9020
 
        ;;
9021
 
        *)
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'
9030
 
          else
9031
 
            ld_shlibs=no
9032
 
          fi
9033
 
        ;;
9034
 
      esac
9035
 
      ;;
9036
 
 
9037
 
    sunos4*)
9038
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9039
 
      wlarc=
9040
 
      hardcode_direct=yes
9041
 
      hardcode_shlibpath_var=no
9042
 
      ;;
9043
 
 
9044
 
    *)
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'
9048
 
      else
9049
 
        ld_shlibs=no
9050
 
      fi
9051
 
      ;;
9052
 
    esac
9053
 
 
9054
 
    if test "$ld_shlibs" = no; then
9055
 
      runpath_var=
9056
 
      hardcode_libdir_flag_spec=
9057
 
      export_dynamic_flag_spec=
9058
 
      whole_archive_flag_spec=
9059
 
    fi
9060
 
  else
9061
 
    # PORTME fill in a description of your system's linker (not GNU ld)
9062
 
    case $host_os in
9063
 
    aix3*)
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
9072
 
        # broken collect2.
9073
 
        hardcode_direct=unsupported
9074
 
      fi
9075
 
      ;;
9076
 
 
9077
 
    aix[4-9]*)
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'
9083
 
        no_entry_flag=""
9084
 
      else
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'
9091
 
        else
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'
9093
 
        fi
9094
 
        aix_use_runtimelinking=no
9095
 
 
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
9103
 
            break
9104
 
          fi
9105
 
          done
9106
 
          ;;
9107
 
        esac
9108
 
 
9109
 
        exp_sym_flag='-bexport'
9110
 
        no_entry_flag='-bnoentry'
9111
 
      fi
9112
 
 
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.
9118
 
 
9119
 
      archive_cmds=''
9120
 
      hardcode_direct=yes
9121
 
      hardcode_direct_absolute=yes
9122
 
      hardcode_libdir_separator=':'
9123
 
      link_all_deplibs=yes
9124
 
      file_list_spec='${wl}-f,'
9125
 
 
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
9133
 
          then
9134
 
          # We have reworked collect2
9135
 
          :
9136
 
          else
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=
9145
 
          fi
9146
 
          ;;
9147
 
        esac
9148
 
        shared_flag='-shared'
9149
 
        if test "$aix_use_runtimelinking" = yes; then
9150
 
          shared_flag="$shared_flag "'${wl}-G'
9151
 
        fi
9152
 
        link_all_deplibs=no
9153
 
      else
9154
 
        # not using gcc
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:
9158
 
          shared_flag='-G'
9159
 
        else
9160
 
          if test "$aix_use_runtimelinking" = yes; then
9161
 
            shared_flag='${wl}-G'
9162
 
          else
9163
 
            shared_flag='${wl}-bM:SRE'
9164
 
          fi
9165
 
        fi
9166
 
      fi
9167
 
 
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
9177
 
        # empty executable.
9178
 
        if test "${lt_cv_aix_libpath+set}" = set; then
9179
 
  aix_libpath=$lt_cv_aix_libpath
9180
 
else
9181
 
  if ${lt_cv_aix_libpath_+:} false; then :
9182
 
  $as_echo_n "(cached) " >&6
9183
 
else
9184
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9185
 
/* end confdefs.h.  */
9186
 
 
9187
 
int
9188
 
main ()
9189
 
{
9190
 
 
9191
 
  ;
9192
 
  return 0;
9193
 
}
9194
 
_ACEOF
9195
 
if ac_fn_c_try_link "$LINENO"; then :
9196
 
 
9197
 
  lt_aix_libpath_sed='
9198
 
      /Import File Strings/,/^$/ {
9199
 
          /^0/ {
9200
 
              s/^0  *\([^ ]*\) *$/\1/
9201
 
              p
9202
 
          }
9203
 
      }'
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"`
9208
 
  fi
9209
 
fi
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"
9214
 
  fi
9215
 
 
9216
 
fi
9217
 
 
9218
 
  aix_libpath=$lt_cv_aix_libpath_
9219
 
fi
9220
 
 
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"
9223
 
      else
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"
9228
 
        else
9229
 
         # Determine the default libpath from the value encoded in an
9230
 
         # empty executable.
9231
 
         if test "${lt_cv_aix_libpath+set}" = set; then
9232
 
  aix_libpath=$lt_cv_aix_libpath
9233
 
else
9234
 
  if ${lt_cv_aix_libpath_+:} false; then :
9235
 
  $as_echo_n "(cached) " >&6
9236
 
else
9237
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9238
 
/* end confdefs.h.  */
9239
 
 
9240
 
int
9241
 
main ()
9242
 
{
9243
 
 
9244
 
  ;
9245
 
  return 0;
9246
 
}
9247
 
_ACEOF
9248
 
if ac_fn_c_try_link "$LINENO"; then :
9249
 
 
9250
 
  lt_aix_libpath_sed='
9251
 
      /Import File Strings/,/^$/ {
9252
 
          /^0/ {
9253
 
              s/^0  *\([^ ]*\) *$/\1/
9254
 
              p
9255
 
          }
9256
 
      }'
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"`
9261
 
  fi
9262
 
fi
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"
9267
 
  fi
9268
 
 
9269
 
fi
9270
 
 
9271
 
  aix_libpath=$lt_cv_aix_libpath_
9272
 
fi
9273
 
 
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'
9282
 
          else
9283
 
            # Exported symbols can be pulled into shared objects from archives
9284
 
            whole_archive_flag_spec='$convenience'
9285
 
          fi
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'
9289
 
        fi
9290
 
      fi
9291
 
      ;;
9292
 
 
9293
 
    amigaos*)
9294
 
      case $host_cpu in
9295
 
      powerpc)
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=''
9299
 
        ;;
9300
 
      m68k)
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
9304
 
        ;;
9305
 
      esac
9306
 
      ;;
9307
 
 
9308
 
    bsdi[45]*)
9309
 
      export_dynamic_flag_spec=-rdynamic
9310
 
      ;;
9311
 
 
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
9318
 
      cl*)
9319
 
        # Native MSVC
9320
 
        hardcode_libdir_flag_spec=' '
9321
 
        allow_undefined_flag=unsupported
9322
 
        always_export_symbols=yes
9323
 
        file_list_spec='@'
9324
 
        # Tell ltmain to make .lib files, not .a files.
9325
 
        libext=lib
9326
 
        # Tell ltmain to make .dll files, not .so files.
9327
 
        shrext_cmds=".dll"
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;
9332
 
          else
9333
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9334
 
          fi~
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"~
9336
 
          linknames='
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'
9342
 
        # Don't use ranlib
9343
 
        old_postinstall_cmds='chmod 644 $oldlib'
9344
 
        postlink_cmds='lt_outputfile="@OUTPUT@"~
9345
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
9346
 
          case $lt_outputfile in
9347
 
            *.exe|*.EXE) ;;
9348
 
            *)
9349
 
              lt_outputfile="$lt_outputfile.exe"
9350
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
9351
 
              ;;
9352
 
          esac~
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";
9356
 
          fi'
9357
 
        ;;
9358
 
      *)
9359
 
        # Assume MSVC wrapper
9360
 
        hardcode_libdir_flag_spec=' '
9361
 
        allow_undefined_flag=unsupported
9362
 
        # Tell ltmain to make .lib files, not .a files.
9363
 
        libext=lib
9364
 
        # Tell ltmain to make .dll files, not .so files.
9365
 
        shrext_cmds=".dll"
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
9373
 
        ;;
9374
 
      esac
9375
 
      ;;
9376
 
 
9377
 
    darwin* | rhapsody*)
9378
 
 
9379
 
 
9380
 
  archive_cmds_need_lc=no
9381
 
  hardcode_direct=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\"`'
9386
 
 
9387
 
  else
9388
 
    whole_archive_flag_spec=''
9389
 
  fi
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 ;;
9395
 
  esac
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}"
9402
 
 
9403
 
  else
9404
 
  ld_shlibs=no
9405
 
  fi
9406
 
 
9407
 
      ;;
9408
 
 
9409
 
    dgux*)
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
9413
 
      ;;
9414
 
 
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
9418
 
    # extra space).
9419
 
    freebsd2.2*)
9420
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9421
 
      hardcode_libdir_flag_spec='-R$libdir'
9422
 
      hardcode_direct=yes
9423
 
      hardcode_shlibpath_var=no
9424
 
      ;;
9425
 
 
9426
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9427
 
    freebsd2.*)
9428
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9429
 
      hardcode_direct=yes
9430
 
      hardcode_minus_L=yes
9431
 
      hardcode_shlibpath_var=no
9432
 
      ;;
9433
 
 
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'
9438
 
      hardcode_direct=yes
9439
 
      hardcode_shlibpath_var=no
9440
 
      ;;
9441
 
 
9442
 
    hpux9*)
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'
9445
 
      else
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'
9447
 
      fi
9448
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9449
 
      hardcode_libdir_separator=:
9450
 
      hardcode_direct=yes
9451
 
 
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'
9456
 
      ;;
9457
 
 
9458
 
    hpux10*)
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'
9461
 
      else
9462
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9463
 
      fi
9464
 
      if test "$with_gnu_ld" = no; then
9465
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9466
 
        hardcode_libdir_separator=:
9467
 
        hardcode_direct=yes
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
9473
 
      fi
9474
 
      ;;
9475
 
 
9476
 
    hpux11*)
9477
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9478
 
        case $host_cpu in
9479
 
        hppa*64*)
9480
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9481
 
          ;;
9482
 
        ia64*)
9483
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9484
 
          ;;
9485
 
        *)
9486
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9487
 
          ;;
9488
 
        esac
9489
 
      else
9490
 
        case $host_cpu in
9491
 
        hppa*64*)
9492
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9493
 
          ;;
9494
 
        ia64*)
9495
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9496
 
          ;;
9497
 
        *)
9498
 
 
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
9505
 
else
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
9520
 
       fi
9521
 
     else
9522
 
       lt_cv_prog_compiler__b=yes
9523
 
     fi
9524
 
   fi
9525
 
   $RM -r conftest*
9526
 
   LDFLAGS="$save_LDFLAGS"
9527
 
 
9528
 
fi
9529
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9530
 
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9531
 
 
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'
9534
 
else
9535
 
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9536
 
fi
9537
 
 
9538
 
          ;;
9539
 
        esac
9540
 
      fi
9541
 
      if test "$with_gnu_ld" = no; then
9542
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9543
 
        hardcode_libdir_separator=:
9544
 
 
9545
 
        case $host_cpu in
9546
 
        hppa*64*|ia64*)
9547
 
          hardcode_direct=no
9548
 
          hardcode_shlibpath_var=no
9549
 
          ;;
9550
 
        *)
9551
 
          hardcode_direct=yes
9552
 
          hardcode_direct_absolute=yes
9553
 
          export_dynamic_flag_spec='${wl}-E'
9554
 
 
9555
 
          # hardcode_minus_L: Not really in the search PATH,
9556
 
          # but as the default location of the library.
9557
 
          hardcode_minus_L=yes
9558
 
          ;;
9559
 
        esac
9560
 
      fi
9561
 
      ;;
9562
 
 
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
9574
 
else
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; }
9580
 
_ACEOF
9581
 
if ac_fn_c_try_link "$LINENO"; then :
9582
 
  lt_cv_irix_exported_symbol=yes
9583
 
else
9584
 
  lt_cv_irix_exported_symbol=no
9585
 
fi
9586
 
rm -f core conftest.err conftest.$ac_objext \
9587
 
    conftest$ac_exeext conftest.$ac_ext
9588
 
           LDFLAGS="$save_LDFLAGS"
9589
 
fi
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'
9594
 
        fi
9595
 
      else
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'
9598
 
      fi
9599
 
      archive_cmds_need_lc='no'
9600
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9601
 
      hardcode_libdir_separator=:
9602
 
      inherit_rpath=yes
9603
 
      link_all_deplibs=yes
9604
 
      ;;
9605
 
 
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
9609
 
      else
9610
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9611
 
      fi
9612
 
      hardcode_libdir_flag_spec='-R$libdir'
9613
 
      hardcode_direct=yes
9614
 
      hardcode_shlibpath_var=no
9615
 
      ;;
9616
 
 
9617
 
    newsos6)
9618
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9619
 
      hardcode_direct=yes
9620
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9621
 
      hardcode_libdir_separator=:
9622
 
      hardcode_shlibpath_var=no
9623
 
      ;;
9624
 
 
9625
 
    *nto* | *qnx*)
9626
 
      ;;
9627
 
 
9628
 
    openbsd*)
9629
 
      if test -f /usr/libexec/ld.so; then
9630
 
        hardcode_direct=yes
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'
9638
 
        else
9639
 
          case $host_os in
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'
9643
 
             ;;
9644
 
           *)
9645
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9646
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9647
 
             ;;
9648
 
          esac
9649
 
        fi
9650
 
      else
9651
 
        ld_shlibs=no
9652
 
      fi
9653
 
      ;;
9654
 
 
9655
 
    os2*)
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'
9661
 
      ;;
9662
 
 
9663
 
    osf3*)
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'
9667
 
      else
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'
9670
 
      fi
9671
 
      archive_cmds_need_lc='no'
9672
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9673
 
      hardcode_libdir_separator=:
9674
 
      ;;
9675
 
 
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'
9681
 
      else
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'
9686
 
 
9687
 
        # Both c and cxx compiler support -rpath directly
9688
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9689
 
      fi
9690
 
      archive_cmds_need_lc='no'
9691
 
      hardcode_libdir_separator=:
9692
 
      ;;
9693
 
 
9694
 
    solaris*)
9695
 
      no_undefined_flag=' -z defs'
9696
 
      if test "$GCC" = yes; then
9697
 
        wlarc='${wl}'
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'
9701
 
      else
9702
 
        case `$CC -V 2>&1` in
9703
 
        *"Compilers 5.0"*)
9704
 
          wlarc=''
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'
9708
 
          ;;
9709
 
        *)
9710
 
          wlarc='${wl}'
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'
9714
 
          ;;
9715
 
        esac
9716
 
      fi
9717
 
      hardcode_libdir_flag_spec='-R$libdir'
9718
 
      hardcode_shlibpath_var=no
9719
 
      case $host_os in
9720
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9721
 
      *)
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'
9728
 
        else
9729
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9730
 
        fi
9731
 
        ;;
9732
 
      esac
9733
 
      link_all_deplibs=yes
9734
 
      ;;
9735
 
 
9736
 
    sunos4*)
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'
9741
 
      else
9742
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9743
 
      fi
9744
 
      hardcode_libdir_flag_spec='-L$libdir'
9745
 
      hardcode_direct=yes
9746
 
      hardcode_minus_L=yes
9747
 
      hardcode_shlibpath_var=no
9748
 
      ;;
9749
 
 
9750
 
    sysv4)
9751
 
      case $host_vendor in
9752
 
        sni)
9753
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9754
 
          hardcode_direct=yes # is this really true???
9755
 
        ;;
9756
 
        siemens)
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'
9761
 
          hardcode_direct=no
9762
 
        ;;
9763
 
        motorola)
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
9766
 
        ;;
9767
 
      esac
9768
 
      runpath_var='LD_RUN_PATH'
9769
 
      hardcode_shlibpath_var=no
9770
 
      ;;
9771
 
 
9772
 
    sysv4.3*)
9773
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9774
 
      hardcode_shlibpath_var=no
9775
 
      export_dynamic_flag_spec='-Bexport'
9776
 
      ;;
9777
 
 
9778
 
    sysv4*MP*)
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
9784
 
        ld_shlibs=yes
9785
 
      fi
9786
 
      ;;
9787
 
 
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'
9793
 
 
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'
9797
 
      else
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'
9800
 
      fi
9801
 
      ;;
9802
 
 
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
9809
 
      # as -z defs.
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'
9819
 
 
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'
9823
 
      else
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'
9826
 
      fi
9827
 
      ;;
9828
 
 
9829
 
    uts4*)
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
9833
 
      ;;
9834
 
 
9835
 
    *)
9836
 
      ld_shlibs=no
9837
 
      ;;
9838
 
    esac
9839
 
 
9840
 
    if test x$host_vendor = xsni; then
9841
 
      case $host in
9842
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9843
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
9844
 
        ;;
9845
 
      esac
9846
 
    fi
9847
 
  fi
9848
 
 
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
9852
 
 
9853
 
with_gnu_ld=$with_gnu_ld
9854
 
 
9855
 
 
9856
 
 
9857
 
 
9858
 
 
9859
 
 
9860
 
 
9861
 
 
9862
 
 
9863
 
 
9864
 
 
9865
 
 
9866
 
 
9867
 
 
9868
 
 
9869
 
#
9870
 
# Do we need to explicitly link libc?
9871
 
#
9872
 
case "x$archive_cmds_need_lc" in
9873
 
x|xyes)
9874
 
  # Assume -lc should be added
9875
 
  archive_cmds_need_lc=yes
9876
 
 
9877
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9878
 
    case $archive_cmds in
9879
 
    *'~'*)
9880
 
      # FIXME: we may have to deal with multi-command sequences.
9881
 
      ;;
9882
 
    '$CC '*)
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
9890
 
else
9891
 
  $RM conftest*
9892
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9893
 
 
9894
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9895
 
  (eval $ac_compile) 2>&5
9896
 
  ac_status=$?
9897
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9898
 
  test $ac_status = 0; } 2>conftest.err; then
9899
 
          soname=conftest
9900
 
          lib=conftest
9901
 
          libobjs=conftest.$ac_objext
9902
 
          deplibs=
9903
 
          wl=$lt_prog_compiler_wl
9904
 
          pic_flag=$lt_prog_compiler_pic
9905
 
          compiler_flags=-v
9906
 
          linker_flags=-v
9907
 
          verstring=
9908
 
          output_objdir=.
9909
 
          libname=conftest
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
9914
 
  ac_status=$?
9915
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9916
 
  test $ac_status = 0; }
9917
 
          then
9918
 
            lt_cv_archive_cmds_need_lc=no
9919
 
          else
9920
 
            lt_cv_archive_cmds_need_lc=yes
9921
 
          fi
9922
 
          allow_undefined_flag=$lt_save_allow_undefined_flag
9923
 
        else
9924
 
          cat conftest.err 1>&5
9925
 
        fi
9926
 
        $RM conftest*
9927
 
 
9928
 
fi
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
9932
 
      ;;
9933
 
    esac
9934
 
  fi
9935
 
  ;;
9936
 
esac
9937
 
 
9938
 
 
9939
 
 
9940
 
 
9941
 
 
9942
 
 
9943
 
 
9944
 
 
9945
 
 
9946
 
 
9947
 
 
9948
 
 
9949
 
 
9950
 
 
9951
 
 
9952
 
 
9953
 
 
9954
 
 
9955
 
 
9956
 
 
9957
 
 
9958
 
 
9959
 
 
9960
 
 
9961
 
 
9962
 
 
9963
 
 
9964
 
 
9965
 
 
9966
 
 
9967
 
 
9968
 
 
9969
 
 
9970
 
 
9971
 
 
9972
 
 
9973
 
 
9974
 
 
9975
 
 
9976
 
 
9977
 
 
9978
 
 
9979
 
 
9980
 
 
9981
 
 
9982
 
 
9983
 
 
9984
 
 
9985
 
 
9986
 
 
9987
 
 
9988
 
 
9989
 
 
9990
 
 
9991
 
 
9992
 
 
9993
 
 
9994
 
 
9995
 
 
9996
 
 
9997
 
 
9998
 
 
9999
 
 
10000
 
 
10001
 
 
10002
 
 
10003
 
 
10004
 
 
10005
 
 
10006
 
 
10007
 
 
10008
 
 
10009
 
 
10010
 
 
10011
 
 
10012
 
 
10013
 
 
10014
 
 
10015
 
 
10016
 
 
10017
 
 
10018
 
 
10019
 
 
10020
 
 
10021
 
 
10022
 
 
10023
 
 
10024
 
 
10025
 
 
10026
 
 
10027
 
 
10028
 
 
10029
 
 
10030
 
 
10031
 
 
10032
 
 
10033
 
 
10034
 
 
10035
 
 
10036
 
 
10037
 
 
10038
 
 
10039
 
 
10040
 
 
10041
 
 
10042
 
 
10043
 
 
10044
 
 
10045
 
 
10046
 
 
10047
 
 
10048
 
 
10049
 
 
10050
 
 
10051
 
 
10052
 
 
10053
 
 
10054
 
 
10055
 
 
10056
 
 
10057
 
 
10058
 
 
10059
 
 
10060
 
 
10061
 
 
10062
 
 
10063
 
 
10064
 
 
10065
 
 
10066
 
 
10067
 
 
10068
 
 
10069
 
 
10070
 
 
10071
 
 
10072
 
 
10073
 
 
10074
 
 
10075
 
 
10076
 
 
10077
 
 
10078
 
 
10079
 
 
10080
 
 
10081
 
 
10082
 
 
10083
 
 
10084
 
 
10085
 
 
10086
 
 
10087
 
 
10088
 
 
10089
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10090
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10091
 
 
10092
 
if test "$GCC" = yes; then
10093
 
  case $host_os in
10094
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10095
 
    *) lt_awk_arg="/^libraries:/" ;;
10096
 
  esac
10097
 
  case $host_os in
10098
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10099
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
10100
 
  esac
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
10103
 
  *\;*)
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'`
10109
 
    ;;
10110
 
  *)
10111
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10112
 
    ;;
10113
 
  esac
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"
10121
 
    else
10122
 
      test -d "$lt_sys_path" && \
10123
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10124
 
    fi
10125
 
  done
10126
 
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10127
 
BEGIN {RS=" "; FS="/|\n";} {
10128
 
  lt_foo="";
10129
 
  lt_count=0;
10130
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
10131
 
    if ($lt_i != "" && $lt_i != ".") {
10132
 
      if ($lt_i == "..") {
10133
 
        lt_count++;
10134
 
      } else {
10135
 
        if (lt_count == 0) {
10136
 
          lt_foo="/" $lt_i lt_foo;
10137
 
        } else {
10138
 
          lt_count--;
10139
 
        }
10140
 
      }
10141
 
    }
10142
 
  }
10143
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10144
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10145
 
}'`
10146
 
  # AWK program above erroneously prepends '/' to C:/dos/paths
10147
 
  # for these hosts.
10148
 
  case $host_os in
10149
 
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10150
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10151
 
  esac
10152
 
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10153
 
else
10154
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10155
 
fi
10156
 
library_names_spec=
10157
 
libname_spec='lib$name'
10158
 
soname_spec=
10159
 
shrext_cmds=".so"
10160
 
postinstall_cmds=
10161
 
postuninstall_cmds=
10162
 
finish_cmds=
10163
 
finish_eval=
10164
 
shlibpath_var=
10165
 
shlibpath_overrides_runpath=unknown
10166
 
version_type=none
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
10171
 
 
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
10175
 
 
10176
 
case $host_os in
10177
 
aix3*)
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
10181
 
 
10182
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10183
 
  soname_spec='${libname}${release}${shared_ext}$major'
10184
 
  ;;
10185
 
 
10186
 
aix[4-9]*)
10187
 
  version_type=linux # correct to gnu/linux during the next big refactor
10188
 
  need_lib_prefix=no
10189
 
  need_version=no
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
10195
 
  else
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.
10201
 
    case $host_os in
10202
 
      aix4 | aix4.[01] | aix4.[01].*)
10203
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10204
 
           echo ' yes '
10205
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10206
 
        :
10207
 
      else
10208
 
        can_build_shared=no
10209
 
      fi
10210
 
      ;;
10211
 
    esac
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}'
10220
 
    else
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'
10225
 
    fi
10226
 
    shlibpath_var=LIBPATH
10227
 
  fi
10228
 
  ;;
10229
 
 
10230
 
amigaos*)
10231
 
  case $host_cpu in
10232
 
  powerpc)
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}'
10236
 
    ;;
10237
 
  m68k)
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'
10241
 
    ;;
10242
 
  esac
10243
 
  ;;
10244
 
 
10245
 
beos*)
10246
 
  library_names_spec='${libname}${shared_ext}'
10247
 
  dynamic_linker="$host_os ld.so"
10248
 
  shlibpath_var=LIBRARY_PATH
10249
 
  ;;
10250
 
 
10251
 
bsdi[45]*)
10252
 
  version_type=linux # correct to gnu/linux during the next big refactor
10253
 
  need_version=no
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
10263
 
  ;;
10264
 
 
10265
 
cygwin* | mingw* | pw32* | cegcc*)
10266
 
  version_type=windows
10267
 
  shrext_cmds=".dll"
10268
 
  need_version=no
10269
 
  need_lib_prefix=no
10270
 
 
10271
 
  case $GCC,$cc_basename in
10272
 
  yes,*)
10273
 
    # gcc
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 \$?;
10284
 
      fi'
10285
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10286
 
      dlpath=$dir/\$dldll~
10287
 
       $RM \$dlpath'
10288
 
    shlibpath_overrides_runpath=yes
10289
 
 
10290
 
    case $host_os in
10291
 
    cygwin*)
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}'
10294
 
 
10295
 
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10296
 
      ;;
10297
 
    mingw* | cegcc*)
10298
 
      # MinGW DLLs use traditional 'lib' prefix
10299
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10300
 
      ;;
10301
 
    pw32*)
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}'
10304
 
      ;;
10305
 
    esac
10306
 
    dynamic_linker='Win32 ld.exe'
10307
 
    ;;
10308
 
 
10309
 
  *,cl*)
10310
 
    # Native MSVC
10311
 
    libname_spec='$name'
10312
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10313
 
    library_names_spec='${libname}.dll.lib'
10314
 
 
10315
 
    case $build_os in
10316
 
    mingw*)
10317
 
      sys_lib_search_path_spec=
10318
 
      lt_save_ifs=$IFS
10319
 
      IFS=';'
10320
 
      for lt_path in $LIB
10321
 
      do
10322
 
        IFS=$lt_save_ifs
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"
10326
 
      done
10327
 
      IFS=$lt_save_ifs
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|^ ||'`
10330
 
      ;;
10331
 
    cygwin*)
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"`
10338
 
      ;;
10339
 
    *)
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'`
10344
 
      else
10345
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10346
 
      fi
10347
 
      # FIXME: find the short name or the path components, as spaces are
10348
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
10349
 
      ;;
10350
 
    esac
10351
 
 
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~
10360
 
       $RM \$dlpath'
10361
 
    shlibpath_overrides_runpath=yes
10362
 
    dynamic_linker='Win32 link.exe'
10363
 
    ;;
10364
 
 
10365
 
  *)
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'
10369
 
    ;;
10370
 
  esac
10371
 
  # FIXME: first we should search . and the directory the executable is in
10372
 
  shlibpath_var=PATH
10373
 
  ;;
10374
 
 
10375
 
darwin* | rhapsody*)
10376
 
  dynamic_linker="$host_os dyld"
10377
 
  version_type=darwin
10378
 
  need_lib_prefix=no
10379
 
  need_version=no
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`'
10385
 
 
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'
10388
 
  ;;
10389
 
 
10390
 
dgux*)
10391
 
  version_type=linux # correct to gnu/linux during the next big refactor
10392
 
  need_lib_prefix=no
10393
 
  need_version=no
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
10397
 
  ;;
10398
 
 
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`
10404
 
  else
10405
 
    case $host_os in
10406
 
    freebsd[23].*) objformat=aout ;;
10407
 
    *) objformat=elf ;;
10408
 
    esac
10409
 
  fi
10410
 
  version_type=freebsd-$objformat
10411
 
  case $version_type in
10412
 
    freebsd-elf*)
10413
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10414
 
      need_version=no
10415
 
      need_lib_prefix=no
10416
 
      ;;
10417
 
    freebsd-*)
10418
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10419
 
      need_version=yes
10420
 
      ;;
10421
 
  esac
10422
 
  shlibpath_var=LD_LIBRARY_PATH
10423
 
  case $host_os in
10424
 
  freebsd2.*)
10425
 
    shlibpath_overrides_runpath=yes
10426
 
    ;;
10427
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10428
 
    shlibpath_overrides_runpath=yes
10429
 
    hardcode_into_libs=yes
10430
 
    ;;
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
10435
 
    ;;
10436
 
  *) # from 4.6 on, and DragonFly
10437
 
    shlibpath_overrides_runpath=yes
10438
 
    hardcode_into_libs=yes
10439
 
    ;;
10440
 
  esac
10441
 
  ;;
10442
 
 
10443
 
gnu*)
10444
 
  version_type=linux # correct to gnu/linux during the next big refactor
10445
 
  need_lib_prefix=no
10446
 
  need_version=no
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
10452
 
  ;;
10453
 
 
10454
 
haiku*)
10455
 
  version_type=linux # correct to gnu/linux during the next big refactor
10456
 
  need_lib_prefix=no
10457
 
  need_version=no
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
10465
 
  ;;
10466
 
 
10467
 
hpux9* | hpux10* | hpux11*)
10468
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10469
 
  # link against other versions.
10470
 
  version_type=sunos
10471
 
  need_lib_prefix=no
10472
 
  need_version=no
10473
 
  case $host_cpu in
10474
 
  ia64*)
10475
 
    shrext_cmds='.so'
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"
10484
 
    else
10485
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10486
 
    fi
10487
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10488
 
    ;;
10489
 
  hppa*64*)
10490
 
    shrext_cmds='.sl'
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
10499
 
    ;;
10500
 
  *)
10501
 
    shrext_cmds='.sl'
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'
10507
 
    ;;
10508
 
  esac
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
10513
 
  ;;
10514
 
 
10515
 
interix[3-9]*)
10516
 
  version_type=linux # correct to gnu/linux during the next big refactor
10517
 
  need_lib_prefix=no
10518
 
  need_version=no
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
10525
 
  ;;
10526
 
 
10527
 
irix5* | irix6* | nonstopux*)
10528
 
  case $host_os in
10529
 
    nonstopux*) version_type=nonstopux ;;
10530
 
    *)
10531
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10532
 
                version_type=linux # correct to gnu/linux during the next big refactor
10533
 
        else
10534
 
                version_type=irix
10535
 
        fi ;;
10536
 
  esac
10537
 
  need_lib_prefix=no
10538
 
  need_version=no
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}'
10541
 
  case $host_os in
10542
 
  irix5* | nonstopux*)
10543
 
    libsuff= shlibsuff=
10544
 
    ;;
10545
 
  *)
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;;
10554
 
    esac
10555
 
    ;;
10556
 
  esac
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
10562
 
  ;;
10563
 
 
10564
 
# No shared lib support for Linux oldld, aout, or coff.
10565
 
linux*oldld* | linux*aout* | linux*coff*)
10566
 
  dynamic_linker=no
10567
 
  ;;
10568
 
 
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
10572
 
  need_lib_prefix=no
10573
 
  need_version=no
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
10579
 
 
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
10583
 
else
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.  */
10591
 
 
10592
 
int
10593
 
main ()
10594
 
{
10595
 
 
10596
 
  ;
10597
 
  return 0;
10598
 
}
10599
 
_ACEOF
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
10603
 
fi
10604
 
fi
10605
 
rm -f core conftest.err conftest.$ac_objext \
10606
 
    conftest$ac_exeext conftest.$ac_ext
10607
 
    LDFLAGS=$save_LDFLAGS
10608
 
    libdir=$save_libdir
10609
 
 
10610
 
fi
10611
 
 
10612
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10613
 
 
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
10618
 
 
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"
10623
 
  fi
10624
 
 
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'
10632
 
  ;;
10633
 
 
10634
 
netbsdelf*-gnu)
10635
 
  version_type=linux
10636
 
  need_lib_prefix=no
10637
 
  need_version=no
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'
10644
 
  ;;
10645
 
 
10646
 
netbsd*)
10647
 
  version_type=sunos
10648
 
  need_lib_prefix=no
10649
 
  need_version=no
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'
10654
 
  else
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'
10658
 
  fi
10659
 
  shlibpath_var=LD_LIBRARY_PATH
10660
 
  shlibpath_overrides_runpath=yes
10661
 
  hardcode_into_libs=yes
10662
 
  ;;
10663
 
 
10664
 
newsos6)
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
10669
 
  ;;
10670
 
 
10671
 
*nto* | *qnx*)
10672
 
  version_type=qnx
10673
 
  need_lib_prefix=no
10674
 
  need_version=no
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'
10681
 
  ;;
10682
 
 
10683
 
openbsd*)
10684
 
  version_type=sunos
10685
 
  sys_lib_dlsearch_path_spec="/usr/lib"
10686
 
  need_lib_prefix=no
10687
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10688
 
  case $host_os in
10689
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10690
 
    *)                          need_version=no  ;;
10691
 
  esac
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
10696
 
    case $host_os in
10697
 
      openbsd2.[89] | openbsd2.[89].*)
10698
 
        shlibpath_overrides_runpath=no
10699
 
        ;;
10700
 
      *)
10701
 
        shlibpath_overrides_runpath=yes
10702
 
        ;;
10703
 
      esac
10704
 
  else
10705
 
    shlibpath_overrides_runpath=yes
10706
 
  fi
10707
 
  ;;
10708
 
 
10709
 
os2*)
10710
 
  libname_spec='$name'
10711
 
  shrext_cmds=".dll"
10712
 
  need_lib_prefix=no
10713
 
  library_names_spec='$libname${shared_ext} $libname.a'
10714
 
  dynamic_linker='OS/2 ld.exe'
10715
 
  shlibpath_var=LIBPATH
10716
 
  ;;
10717
 
 
10718
 
osf3* | osf4* | osf5*)
10719
 
  version_type=osf
10720
 
  need_lib_prefix=no
10721
 
  need_version=no
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"
10727
 
  ;;
10728
 
 
10729
 
rdos*)
10730
 
  dynamic_linker=no
10731
 
  ;;
10732
 
 
10733
 
solaris*)
10734
 
  version_type=linux # correct to gnu/linux during the next big refactor
10735
 
  need_lib_prefix=no
10736
 
  need_version=no
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'
10744
 
  ;;
10745
 
 
10746
 
sunos4*)
10747
 
  version_type=sunos
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
10753
 
    need_lib_prefix=no
10754
 
  fi
10755
 
  need_version=yes
10756
 
  ;;
10757
 
 
10758
 
sysv4 | sysv4.3*)
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
10764
 
    sni)
10765
 
      shlibpath_overrides_runpath=no
10766
 
      need_lib_prefix=no
10767
 
      runpath_var=LD_RUN_PATH
10768
 
      ;;
10769
 
    siemens)
10770
 
      need_lib_prefix=no
10771
 
      ;;
10772
 
    motorola)
10773
 
      need_lib_prefix=no
10774
 
      need_version=no
10775
 
      shlibpath_overrides_runpath=no
10776
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10777
 
      ;;
10778
 
  esac
10779
 
  ;;
10780
 
 
10781
 
sysv4*MP*)
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
10787
 
  fi
10788
 
  ;;
10789
 
 
10790
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10791
 
  version_type=freebsd-elf
10792
 
  need_lib_prefix=no
10793
 
  need_version=no
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'
10801
 
  else
10802
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10803
 
    case $host_os in
10804
 
      sco3.2v5*)
10805
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10806
 
        ;;
10807
 
    esac
10808
 
  fi
10809
 
  sys_lib_dlsearch_path_spec='/usr/lib'
10810
 
  ;;
10811
 
 
10812
 
tpf*)
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
10815
 
  need_lib_prefix=no
10816
 
  need_version=no
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
10821
 
  ;;
10822
 
 
10823
 
uts4*)
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
10828
 
  ;;
10829
 
 
10830
 
*)
10831
 
  dynamic_linker=no
10832
 
  ;;
10833
 
esac
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
10837
 
 
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"
10841
 
fi
10842
 
 
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"
10845
 
fi
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"
10848
 
fi
10849
 
 
10850
 
 
10851
 
 
10852
 
 
10853
 
 
10854
 
 
10855
 
 
10856
 
 
10857
 
 
10858
 
 
10859
 
 
10860
 
 
10861
 
 
10862
 
 
10863
 
 
10864
 
 
10865
 
 
10866
 
 
10867
 
 
10868
 
 
10869
 
 
10870
 
 
10871
 
 
10872
 
 
10873
 
 
10874
 
 
10875
 
 
10876
 
 
10877
 
 
10878
 
 
10879
 
 
10880
 
 
10881
 
 
10882
 
 
10883
 
 
10884
 
 
10885
 
 
10886
 
 
10887
 
 
10888
 
 
10889
 
 
10890
 
 
10891
 
 
10892
 
 
10893
 
 
10894
 
 
10895
 
 
10896
 
 
10897
 
 
10898
 
 
10899
 
 
10900
 
 
10901
 
 
10902
 
 
10903
 
 
10904
 
 
10905
 
 
10906
 
 
10907
 
 
10908
 
 
10909
 
 
10910
 
 
10911
 
 
10912
 
 
10913
 
 
10914
 
 
10915
 
 
10916
 
 
10917
 
 
10918
 
 
10919
 
 
10920
 
 
10921
 
 
10922
 
 
10923
 
 
10924
 
 
10925
 
 
10926
 
 
10927
 
 
10928
 
 
10929
 
 
10930
 
 
10931
 
 
10932
 
 
10933
 
 
10934
 
 
10935
 
 
10936
 
 
10937
 
 
10938
 
 
10939
 
 
10940
 
 
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; }
10943
 
hardcode_action=
10944
 
if test -n "$hardcode_libdir_flag_spec" ||
10945
 
   test -n "$runpath_var" ||
10946
 
   test "X$hardcode_automatic" = "Xyes" ; then
10947
 
 
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
10957
 
  else
10958
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10959
 
    hardcode_action=immediate
10960
 
  fi
10961
 
else
10962
 
  # We cannot hardcode anything, or else we can only hardcode existing
10963
 
  # directories.
10964
 
  hardcode_action=unsupported
10965
 
fi
10966
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10967
 
$as_echo "$hardcode_action" >&6; }
10968
 
 
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
10977
 
fi
10978
 
 
10979
 
 
10980
 
 
10981
 
 
10982
 
 
10983
 
 
10984
 
  if test "x$enable_dlopen" != xyes; then
10985
 
  enable_dlopen=unknown
10986
 
  enable_dlopen_self=unknown
10987
 
  enable_dlopen_self_static=unknown
10988
 
else
10989
 
  lt_cv_dlopen=no
10990
 
  lt_cv_dlopen_libs=
10991
 
 
10992
 
  case $host_os in
10993
 
  beos*)
10994
 
    lt_cv_dlopen="load_add_on"
10995
 
    lt_cv_dlopen_libs=
10996
 
    lt_cv_dlopen_self=yes
10997
 
    ;;
10998
 
 
10999
 
  mingw* | pw32* | cegcc*)
11000
 
    lt_cv_dlopen="LoadLibrary"
11001
 
    lt_cv_dlopen_libs=
11002
 
    ;;
11003
 
 
11004
 
  cygwin*)
11005
 
    lt_cv_dlopen="dlopen"
11006
 
    lt_cv_dlopen_libs=
11007
 
    ;;
11008
 
 
11009
 
  darwin*)
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
11015
 
else
11016
 
  ac_check_lib_save_LIBS=$LIBS
11017
 
LIBS="-ldl  $LIBS"
11018
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11019
 
/* end confdefs.h.  */
11020
 
 
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.  */
11024
 
#ifdef __cplusplus
11025
 
extern "C"
11026
 
#endif
11027
 
char dlopen ();
11028
 
int
11029
 
main ()
11030
 
{
11031
 
return dlopen ();
11032
 
  ;
11033
 
  return 0;
11034
 
}
11035
 
_ACEOF
11036
 
if ac_fn_c_try_link "$LINENO"; then :
11037
 
  ac_cv_lib_dl_dlopen=yes
11038
 
else
11039
 
  ac_cv_lib_dl_dlopen=no
11040
 
fi
11041
 
rm -f core conftest.err conftest.$ac_objext \
11042
 
    conftest$ac_exeext conftest.$ac_ext
11043
 
LIBS=$ac_check_lib_save_LIBS
11044
 
fi
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"
11049
 
else
11050
 
 
11051
 
    lt_cv_dlopen="dyld"
11052
 
    lt_cv_dlopen_libs=
11053
 
    lt_cv_dlopen_self=yes
11054
 
 
11055
 
fi
11056
 
 
11057
 
    ;;
11058
 
 
11059
 
  *)
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"
11063
 
else
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
11068
 
else
11069
 
  ac_check_lib_save_LIBS=$LIBS
11070
 
LIBS="-ldld  $LIBS"
11071
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072
 
/* end confdefs.h.  */
11073
 
 
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.  */
11077
 
#ifdef __cplusplus
11078
 
extern "C"
11079
 
#endif
11080
 
char shl_load ();
11081
 
int
11082
 
main ()
11083
 
{
11084
 
return shl_load ();
11085
 
  ;
11086
 
  return 0;
11087
 
}
11088
 
_ACEOF
11089
 
if ac_fn_c_try_link "$LINENO"; then :
11090
 
  ac_cv_lib_dld_shl_load=yes
11091
 
else
11092
 
  ac_cv_lib_dld_shl_load=no
11093
 
fi
11094
 
rm -f core conftest.err conftest.$ac_objext \
11095
 
    conftest$ac_exeext conftest.$ac_ext
11096
 
LIBS=$ac_check_lib_save_LIBS
11097
 
fi
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"
11102
 
else
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"
11106
 
else
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
11111
 
else
11112
 
  ac_check_lib_save_LIBS=$LIBS
11113
 
LIBS="-ldl  $LIBS"
11114
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115
 
/* end confdefs.h.  */
11116
 
 
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.  */
11120
 
#ifdef __cplusplus
11121
 
extern "C"
11122
 
#endif
11123
 
char dlopen ();
11124
 
int
11125
 
main ()
11126
 
{
11127
 
return dlopen ();
11128
 
  ;
11129
 
  return 0;
11130
 
}
11131
 
_ACEOF
11132
 
if ac_fn_c_try_link "$LINENO"; then :
11133
 
  ac_cv_lib_dl_dlopen=yes
11134
 
else
11135
 
  ac_cv_lib_dl_dlopen=no
11136
 
fi
11137
 
rm -f core conftest.err conftest.$ac_objext \
11138
 
    conftest$ac_exeext conftest.$ac_ext
11139
 
LIBS=$ac_check_lib_save_LIBS
11140
 
fi
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"
11145
 
else
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
11150
 
else
11151
 
  ac_check_lib_save_LIBS=$LIBS
11152
 
LIBS="-lsvld  $LIBS"
11153
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11154
 
/* end confdefs.h.  */
11155
 
 
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.  */
11159
 
#ifdef __cplusplus
11160
 
extern "C"
11161
 
#endif
11162
 
char dlopen ();
11163
 
int
11164
 
main ()
11165
 
{
11166
 
return dlopen ();
11167
 
  ;
11168
 
  return 0;
11169
 
}
11170
 
_ACEOF
11171
 
if ac_fn_c_try_link "$LINENO"; then :
11172
 
  ac_cv_lib_svld_dlopen=yes
11173
 
else
11174
 
  ac_cv_lib_svld_dlopen=no
11175
 
fi
11176
 
rm -f core conftest.err conftest.$ac_objext \
11177
 
    conftest$ac_exeext conftest.$ac_ext
11178
 
LIBS=$ac_check_lib_save_LIBS
11179
 
fi
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"
11184
 
else
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
11189
 
else
11190
 
  ac_check_lib_save_LIBS=$LIBS
11191
 
LIBS="-ldld  $LIBS"
11192
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193
 
/* end confdefs.h.  */
11194
 
 
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.  */
11198
 
#ifdef __cplusplus
11199
 
extern "C"
11200
 
#endif
11201
 
char dld_link ();
11202
 
int
11203
 
main ()
11204
 
{
11205
 
return dld_link ();
11206
 
  ;
11207
 
  return 0;
11208
 
}
11209
 
_ACEOF
11210
 
if ac_fn_c_try_link "$LINENO"; then :
11211
 
  ac_cv_lib_dld_dld_link=yes
11212
 
else
11213
 
  ac_cv_lib_dld_dld_link=no
11214
 
fi
11215
 
rm -f core conftest.err conftest.$ac_objext \
11216
 
    conftest$ac_exeext conftest.$ac_ext
11217
 
LIBS=$ac_check_lib_save_LIBS
11218
 
fi
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"
11223
 
fi
11224
 
 
11225
 
 
11226
 
fi
11227
 
 
11228
 
 
11229
 
fi
11230
 
 
11231
 
 
11232
 
fi
11233
 
 
11234
 
 
11235
 
fi
11236
 
 
11237
 
 
11238
 
fi
11239
 
 
11240
 
    ;;
11241
 
  esac
11242
 
 
11243
 
  if test "x$lt_cv_dlopen" != xno; then
11244
 
    enable_dlopen=yes
11245
 
  else
11246
 
    enable_dlopen=no
11247
 
  fi
11248
 
 
11249
 
  case $lt_cv_dlopen in
11250
 
  dlopen)
11251
 
    save_CPPFLAGS="$CPPFLAGS"
11252
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11253
 
 
11254
 
    save_LDFLAGS="$LDFLAGS"
11255
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11256
 
 
11257
 
    save_LIBS="$LIBS"
11258
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11259
 
 
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
11264
 
else
11265
 
          if test "$cross_compiling" = yes; then :
11266
 
  lt_cv_dlopen_self=cross
11267
 
else
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"
11273
 
 
11274
 
#if HAVE_DLFCN_H
11275
 
#include <dlfcn.h>
11276
 
#endif
11277
 
 
11278
 
#include <stdio.h>
11279
 
 
11280
 
#ifdef RTLD_GLOBAL
11281
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11282
 
#else
11283
 
#  ifdef DL_GLOBAL
11284
 
#    define LT_DLGLOBAL         DL_GLOBAL
11285
 
#  else
11286
 
#    define LT_DLGLOBAL         0
11287
 
#  endif
11288
 
#endif
11289
 
 
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
11293
 
#  ifdef RTLD_LAZY
11294
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11295
 
#  else
11296
 
#    ifdef DL_LAZY
11297
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11298
 
#    else
11299
 
#      ifdef RTLD_NOW
11300
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11301
 
#      else
11302
 
#        ifdef DL_NOW
11303
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11304
 
#        else
11305
 
#          define LT_DLLAZY_OR_NOW      0
11306
 
#        endif
11307
 
#      endif
11308
 
#    endif
11309
 
#  endif
11310
 
#endif
11311
 
 
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")));
11316
 
#endif
11317
 
 
11318
 
int fnord () { return 42; }
11319
 
int main ()
11320
 
{
11321
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11322
 
  int status = $lt_dlunknown;
11323
 
 
11324
 
  if (self)
11325
 
    {
11326
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11327
 
      else
11328
 
        {
11329
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11330
 
          else puts (dlerror ());
11331
 
        }
11332
 
      /* dlclose (self); */
11333
 
    }
11334
 
  else
11335
 
    puts (dlerror ());
11336
 
 
11337
 
  return status;
11338
 
}
11339
 
_LT_EOF
11340
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11341
 
  (eval $ac_link) 2>&5
11342
 
  ac_status=$?
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
11346
 
    lt_status=$?
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 ;;
11351
 
    esac
11352
 
  else :
11353
 
    # compilation failed
11354
 
    lt_cv_dlopen_self=no
11355
 
  fi
11356
 
fi
11357
 
rm -fr conftest*
11358
 
 
11359
 
 
11360
 
fi
11361
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11362
 
$as_echo "$lt_cv_dlopen_self" >&6; }
11363
 
 
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
11370
 
else
11371
 
          if test "$cross_compiling" = yes; then :
11372
 
  lt_cv_dlopen_self_static=cross
11373
 
else
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"
11379
 
 
11380
 
#if HAVE_DLFCN_H
11381
 
#include <dlfcn.h>
11382
 
#endif
11383
 
 
11384
 
#include <stdio.h>
11385
 
 
11386
 
#ifdef RTLD_GLOBAL
11387
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11388
 
#else
11389
 
#  ifdef DL_GLOBAL
11390
 
#    define LT_DLGLOBAL         DL_GLOBAL
11391
 
#  else
11392
 
#    define LT_DLGLOBAL         0
11393
 
#  endif
11394
 
#endif
11395
 
 
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
11399
 
#  ifdef RTLD_LAZY
11400
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11401
 
#  else
11402
 
#    ifdef DL_LAZY
11403
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11404
 
#    else
11405
 
#      ifdef RTLD_NOW
11406
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11407
 
#      else
11408
 
#        ifdef DL_NOW
11409
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11410
 
#        else
11411
 
#          define LT_DLLAZY_OR_NOW      0
11412
 
#        endif
11413
 
#      endif
11414
 
#    endif
11415
 
#  endif
11416
 
#endif
11417
 
 
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")));
11422
 
#endif
11423
 
 
11424
 
int fnord () { return 42; }
11425
 
int main ()
11426
 
{
11427
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11428
 
  int status = $lt_dlunknown;
11429
 
 
11430
 
  if (self)
11431
 
    {
11432
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11433
 
      else
11434
 
        {
11435
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11436
 
          else puts (dlerror ());
11437
 
        }
11438
 
      /* dlclose (self); */
11439
 
    }
11440
 
  else
11441
 
    puts (dlerror ());
11442
 
 
11443
 
  return status;
11444
 
}
11445
 
_LT_EOF
11446
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11447
 
  (eval $ac_link) 2>&5
11448
 
  ac_status=$?
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
11452
 
    lt_status=$?
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 ;;
11457
 
    esac
11458
 
  else :
11459
 
    # compilation failed
11460
 
    lt_cv_dlopen_self_static=no
11461
 
  fi
11462
 
fi
11463
 
rm -fr conftest*
11464
 
 
11465
 
 
11466
 
fi
11467
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11468
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11469
 
    fi
11470
 
 
11471
 
    CPPFLAGS="$save_CPPFLAGS"
11472
 
    LDFLAGS="$save_LDFLAGS"
11473
 
    LIBS="$save_LIBS"
11474
 
    ;;
11475
 
  esac
11476
 
 
11477
 
  case $lt_cv_dlopen_self in
11478
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11479
 
  *) enable_dlopen_self=unknown ;;
11480
 
  esac
11481
 
 
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 ;;
11485
 
  esac
11486
 
fi
11487
 
 
11488
 
 
11489
 
 
11490
 
 
11491
 
 
11492
 
 
11493
 
 
11494
 
 
11495
 
 
11496
 
 
11497
 
 
11498
 
 
11499
 
 
11500
 
 
11501
 
 
11502
 
 
11503
 
 
11504
 
striplib=
11505
 
old_striplib=
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; }
11513
 
else
11514
 
# FIXME - insert some real tests, host_os isn't really good enough
11515
 
  case $host_os in
11516
 
  darwin*)
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; }
11522
 
    else
11523
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11524
 
$as_echo "no" >&6; }
11525
 
    fi
11526
 
    ;;
11527
 
  *)
11528
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11529
 
$as_echo "no" >&6; }
11530
 
    ;;
11531
 
  esac
11532
 
fi
11533
 
 
11534
 
 
11535
 
 
11536
 
 
11537
 
 
11538
 
 
11539
 
 
11540
 
 
11541
 
 
11542
 
 
11543
 
 
11544
 
 
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; }
11550
 
 
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
11554
 
 
11555
 
  # On AIX, shared libraries and static libraries use the same namespace, and
11556
 
  # are all built from PIC.
11557
 
  case $host_os in
11558
 
  aix3*)
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'
11563
 
    fi
11564
 
    ;;
11565
 
 
11566
 
  aix[4-9]*)
11567
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11568
 
      test "$enable_shared" = yes && enable_static=no
11569
 
    fi
11570
 
    ;;
11571
 
  esac
11572
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11573
 
$as_echo "$enable_shared" >&6; }
11574
 
 
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; }
11581
 
 
11582
 
 
11583
 
 
11584
 
 
11585
 
fi
11586
 
ac_ext=c
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
11591
 
 
11592
 
CC="$lt_save_CC"
11593
 
 
11594
 
 
11595
 
 
11596
 
 
11597
 
 
11598
 
 
11599
 
 
11600
 
 
11601
 
 
11602
 
 
11603
 
 
11604
 
 
11605
 
 
11606
 
 
11607
 
 
11608
 
        ac_config_commands="$ac_config_commands libtool"
11609
 
 
11610
 
 
11611
 
 
11612
 
 
11613
 
# Only expand once:
11614
 
 
11615
 
 
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; }
11619
 
else
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; }
11622
 
fi
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
11627
 
else
11628
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11629
 
/* end confdefs.h.  */
11630
 
 
11631
 
int
11632
 
main ()
11633
 
{
11634
 
 
11635
 
  ;
11636
 
  return 0;
11637
 
}
11638
 
_ACEOF
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'
11643
 
rm -f conftest2.*
11644
 
if { { case "(($ac_try" in
11645
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11646
 
  *) ac_try_echo=$ac_try;;
11647
 
esac
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
11651
 
  ac_status=$?
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;;
11657
 
esac
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
11661
 
  ac_status=$?
11662
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11663
 
  test $ac_status = 0; };
11664
 
then
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;;
11672
 
esac
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
11676
 
  ac_status=$?
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'
11680
 
      rm -f conftest2.*
11681
 
      if { { case "(($ac_try" in
11682
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11683
 
  *) ac_try_echo=$ac_try;;
11684
 
esac
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
11688
 
  ac_status=$?
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;;
11694
 
esac
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
11698
 
  ac_status=$?
11699
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11700
 
  test $ac_status = 0; };
11701
 
      then
11702
 
        # cc works too.
11703
 
        :
11704
 
      else
11705
 
        # cc exists but doesn't like -o.
11706
 
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
11707
 
      fi
11708
 
    fi
11709
 
  fi
11710
 
else
11711
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
11712
 
fi
11713
 
rm -f core conftest*
11714
 
 
11715
 
fi
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; }
11719
 
else
11720
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11721
 
$as_echo "no" >&6; }
11722
 
 
11723
 
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11724
 
 
11725
 
fi
11726
 
 
11727
 
# FIXME: we rely on the cache variable name because
11728
 
# there is no other way.
11729
 
set dummy $CC
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"
11739
 
fi
11740
 
 
11741
 
 
11742
 
ac_ext=cpp
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
11749
 
    CXX=$CCC
11750
 
  else
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
11753
 
  do
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
11760
 
else
11761
 
  if test -n "$CXX"; then
11762
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
11763
 
else
11764
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11765
 
for as_dir in $PATH
11766
 
do
11767
 
  IFS=$as_save_IFS
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
11773
 
    break 2
11774
 
  fi
11775
 
done
11776
 
  done
11777
 
IFS=$as_save_IFS
11778
 
 
11779
 
fi
11780
 
fi
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; }
11785
 
else
11786
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787
 
$as_echo "no" >&6; }
11788
 
fi
11789
 
 
11790
 
 
11791
 
    test -n "$CXX" && break
11792
 
  done
11793
 
fi
11794
 
if test -z "$CXX"; then
11795
 
  ac_ct_CXX=$CXX
11796
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11797
 
do
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
11804
 
else
11805
 
  if test -n "$ac_ct_CXX"; then
11806
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11807
 
else
11808
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11809
 
for as_dir in $PATH
11810
 
do
11811
 
  IFS=$as_save_IFS
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
11817
 
    break 2
11818
 
  fi
11819
 
done
11820
 
  done
11821
 
IFS=$as_save_IFS
11822
 
 
11823
 
fi
11824
 
fi
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; }
11829
 
else
11830
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11831
 
$as_echo "no" >&6; }
11832
 
fi
11833
 
 
11834
 
 
11835
 
  test -n "$ac_ct_CXX" && break
11836
 
done
11837
 
 
11838
 
  if test "x$ac_ct_CXX" = x; then
11839
 
    CXX="g++"
11840
 
  else
11841
 
    case $cross_compiling:$ac_tool_warned in
11842
 
yes:)
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 ;;
11846
 
esac
11847
 
    CXX=$ac_ct_CXX
11848
 
  fi
11849
 
fi
11850
 
 
11851
 
  fi
11852
 
fi
11853
 
# Provide some information about the compiler.
11854
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11855
 
set X $ac_compile
11856
 
ac_compiler=$2
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;;
11862
 
esac
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
11866
 
  ac_status=$?
11867
 
  if test -s conftest.err; then
11868
 
    sed '10a\
11869
 
... rest of stderr output deleted ...
11870
 
         10q' conftest.err >conftest.er1
11871
 
    cat conftest.er1 >&5
11872
 
  fi
11873
 
  rm -f conftest.er1 conftest.err
11874
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11875
 
  test $ac_status = 0; }
11876
 
done
11877
 
 
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
11882
 
else
11883
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11884
 
/* end confdefs.h.  */
11885
 
 
11886
 
int
11887
 
main ()
11888
 
{
11889
 
#ifndef __GNUC__
11890
 
       choke me
11891
 
#endif
11892
 
 
11893
 
  ;
11894
 
  return 0;
11895
 
}
11896
 
_ACEOF
11897
 
if ac_fn_cxx_try_compile "$LINENO"; then :
11898
 
  ac_compiler_gnu=yes
11899
 
else
11900
 
  ac_compiler_gnu=no
11901
 
fi
11902
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11903
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11904
 
 
11905
 
fi
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
11909
 
  GXX=yes
11910
 
else
11911
 
  GXX=
11912
 
fi
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
11919
 
else
11920
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11921
 
   ac_cxx_werror_flag=yes
11922
 
   ac_cv_prog_cxx_g=no
11923
 
   CXXFLAGS="-g"
11924
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925
 
/* end confdefs.h.  */
11926
 
 
11927
 
int
11928
 
main ()
11929
 
{
11930
 
 
11931
 
  ;
11932
 
  return 0;
11933
 
}
11934
 
_ACEOF
11935
 
if ac_fn_cxx_try_compile "$LINENO"; then :
11936
 
  ac_cv_prog_cxx_g=yes
11937
 
else
11938
 
  CXXFLAGS=""
11939
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11940
 
/* end confdefs.h.  */
11941
 
 
11942
 
int
11943
 
main ()
11944
 
{
11945
 
 
11946
 
  ;
11947
 
  return 0;
11948
 
}
11949
 
_ACEOF
11950
 
if ac_fn_cxx_try_compile "$LINENO"; then :
11951
 
 
11952
 
else
11953
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11954
 
         CXXFLAGS="-g"
11955
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11956
 
/* end confdefs.h.  */
11957
 
 
11958
 
int
11959
 
main ()
11960
 
{
11961
 
 
11962
 
  ;
11963
 
  return 0;
11964
 
}
11965
 
_ACEOF
11966
 
if ac_fn_cxx_try_compile "$LINENO"; then :
11967
 
  ac_cv_prog_cxx_g=yes
11968
 
fi
11969
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11970
 
fi
11971
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11972
 
fi
11973
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11974
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11975
 
fi
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
11982
 
    CXXFLAGS="-g -O2"
11983
 
  else
11984
 
    CXXFLAGS="-g"
11985
 
  fi
11986
 
else
11987
 
  if test "$GXX" = yes; then
11988
 
    CXXFLAGS="-O2"
11989
 
  else
11990
 
    CXXFLAGS=
11991
 
  fi
11992
 
fi
11993
 
ac_ext=c
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
11998
 
 
11999
 
depcc="$CXX"  am_compiler_list=
12000
 
 
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
12005
 
else
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
12011
 
  # in D'.
12012
 
  rm -rf conftest.dir
12013
 
  mkdir 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
12017
 
  cd 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
12023
 
  # directory.
12024
 
  mkdir sub
12025
 
 
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`
12029
 
  fi
12030
 
  am__universal=false
12031
 
  case " $depcc " in #(
12032
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
12033
 
     esac
12034
 
 
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.
12039
 
    #
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.
12043
 
    : > sub/conftest.c
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
12049
 
    done
12050
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12051
 
 
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"
12058
 
    case $depmode in
12059
 
    gcc)
12060
 
      # This depmode causes a compiler race in universal mode.
12061
 
      test "$am__universal" = false || continue
12062
 
      ;;
12063
 
    nosideeffect)
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
12067
 
        continue
12068
 
      else
12069
 
        break
12070
 
      fi
12071
 
      ;;
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}
12077
 
      am__minus_obj=
12078
 
      ;;
12079
 
    none) break ;;
12080
 
    esac
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
12100
 
        break
12101
 
      fi
12102
 
    fi
12103
 
  done
12104
 
 
12105
 
  cd ..
12106
 
  rm -rf conftest.dir
12107
 
else
12108
 
  am_cv_CXX_dependencies_compiler_type=none
12109
 
fi
12110
 
 
12111
 
fi
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
12115
 
 
12116
 
 if
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='#'
12121
 
else
12122
 
  am__fastdepCXX_TRUE='#'
12123
 
  am__fastdepCXX_FALSE=
12124
 
fi
12125
 
 
12126
 
 
12127
 
 
12128
 
 
12129
 
func_stripname_cnf ()
12130
 
{
12131
 
  case ${2} in
12132
 
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12133
 
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12134
 
  esac
12135
 
} # func_stripname_cnf
12136
 
 
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
12140
 
  ac_ext=cpp
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
12150
 
else
12151
 
      # Double quotes because CXXCPP needs to be expanded
12152
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
12153
 
    do
12154
 
      ac_preproc_ok=false
12155
 
for ac_cxx_preproc_warn_flag in '' yes
12156
 
do
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.  */
12165
 
#ifdef __STDC__
12166
 
# include <limits.h>
12167
 
#else
12168
 
# include <assert.h>
12169
 
#endif
12170
 
                     Syntax error
12171
 
_ACEOF
12172
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
12173
 
 
12174
 
else
12175
 
  # Broken: fails on valid input.
12176
 
continue
12177
 
fi
12178
 
rm -f conftest.err conftest.i conftest.$ac_ext
12179
 
 
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>
12185
 
_ACEOF
12186
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
12187
 
  # Broken: success on invalid input.
12188
 
continue
12189
 
else
12190
 
  # Passes both tests.
12191
 
ac_preproc_ok=:
12192
 
break
12193
 
fi
12194
 
rm -f conftest.err conftest.i conftest.$ac_ext
12195
 
 
12196
 
done
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 :
12200
 
  break
12201
 
fi
12202
 
 
12203
 
    done
12204
 
    ac_cv_prog_CXXCPP=$CXXCPP
12205
 
 
12206
 
fi
12207
 
  CXXCPP=$ac_cv_prog_CXXCPP
12208
 
else
12209
 
  ac_cv_prog_CXXCPP=$CXXCPP
12210
 
fi
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
12215
 
do
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.  */
12224
 
#ifdef __STDC__
12225
 
# include <limits.h>
12226
 
#else
12227
 
# include <assert.h>
12228
 
#endif
12229
 
                     Syntax error
12230
 
_ACEOF
12231
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
12232
 
 
12233
 
else
12234
 
  # Broken: fails on valid input.
12235
 
continue
12236
 
fi
12237
 
rm -f conftest.err conftest.i conftest.$ac_ext
12238
 
 
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>
12244
 
_ACEOF
12245
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
12246
 
  # Broken: success on invalid input.
12247
 
continue
12248
 
else
12249
 
  # Passes both tests.
12250
 
ac_preproc_ok=:
12251
 
break
12252
 
fi
12253
 
rm -f conftest.err conftest.i conftest.$ac_ext
12254
 
 
12255
 
done
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 :
12259
 
 
12260
 
else
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; }
12265
 
fi
12266
 
 
12267
 
ac_ext=c
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
12272
 
 
12273
 
else
12274
 
  _lt_caught_CXX_error=yes
12275
 
fi
12276
 
 
12277
 
ac_ext=cpp
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
12282
 
 
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
12297
 
module_cmds_CXX=
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
12306
 
 
12307
 
# Source file extension for C++ test sources.
12308
 
ac_ext=cpp
12309
 
 
12310
 
# Object file extension for compiled C++ test sources.
12311
 
objext=o
12312
 
objext_CXX=$objext
12313
 
 
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;"
12321
 
 
12322
 
  # Code to be used in simple link tests
12323
 
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12324
 
 
12325
 
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12326
 
 
12327
 
 
12328
 
 
12329
 
 
12330
 
 
12331
 
 
12332
 
# If no C compiler was specified, use CC.
12333
 
LTCC=${LTCC-"$CC"}
12334
 
 
12335
 
# If no C compiler flags were specified, use CFLAGS.
12336
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12337
 
 
12338
 
# Allow CC to be a program name with arguments.
12339
 
compiler=$CC
12340
 
 
12341
 
 
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`
12347
 
$RM conftest*
12348
 
 
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`
12353
 
$RM -r conftest*
12354
 
 
12355
 
 
12356
 
  # Allow CC to be a program name with arguments.
12357
 
  lt_save_CC=$CC
12358
 
  lt_save_CFLAGS=$CFLAGS
12359
 
  lt_save_LD=$LD
12360
 
  lt_save_GCC=$GCC
12361
 
  GCC=$GXX
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
12366
 
  else
12367
 
    $as_unset lt_cv_prog_gnu_ld
12368
 
  fi
12369
 
  if test -n "${lt_cv_path_LDCXX+set}"; then
12370
 
    lt_cv_path_LD=$lt_cv_path_LDCXX
12371
 
  else
12372
 
    $as_unset lt_cv_path_LD
12373
 
  fi
12374
 
  test -z "${LDCXX+set}" || LD=$LDCXX
12375
 
  CC=${CXX-"c++"}
12376
 
  CFLAGS=$CXXFLAGS
12377
 
  compiler=$CC
12378
 
  compiler_CXX=$CC
12379
 
  for cc_temp in $compiler""; do
12380
 
  case $cc_temp in
12381
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12382
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12383
 
    \-*) ;;
12384
 
    *) break;;
12385
 
  esac
12386
 
done
12387
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12388
 
 
12389
 
 
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'
12395
 
    else
12396
 
      lt_prog_compiler_no_builtin_flag_CXX=
12397
 
    fi
12398
 
 
12399
 
    if test "$GXX" = yes; then
12400
 
      # Set up default GNU C++ configuration
12401
 
 
12402
 
 
12403
 
 
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
12407
 
else
12408
 
  with_gnu_ld=no
12409
 
fi
12410
 
 
12411
 
ac_prog=ld
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; }
12416
 
  case $host in
12417
 
  *-*-mingw*)
12418
 
    # gcc leaves a trailing carriage return which upsets mingw
12419
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12420
 
  *)
12421
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12422
 
  esac
12423
 
  case $ac_prog in
12424
 
    # Accept absolute paths.
12425
 
    [\\/]* | ?:[\\/]*)
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%/%"`
12431
 
      done
12432
 
      test -z "$LD" && LD="$ac_prog"
12433
 
      ;;
12434
 
  "")
12435
 
    # If it fails, then pretend we aren't using GCC.
12436
 
    ac_prog=ld
12437
 
    ;;
12438
 
  *)
12439
 
    # If it is relative, then search for the first ld in PATH.
12440
 
    with_gnu_ld=unknown
12441
 
    ;;
12442
 
  esac
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; }
12446
 
else
12447
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12448
 
$as_echo_n "checking for non-GNU ld... " >&6; }
12449
 
fi
12450
 
if ${lt_cv_path_LD+:} false; then :
12451
 
  $as_echo_n "(cached) " >&6
12452
 
else
12453
 
  if test -z "$LD"; then
12454
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12455
 
  for ac_dir in $PATH; do
12456
 
    IFS="$lt_save_ifs"
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
12466
 
        ;;
12467
 
      *)
12468
 
        test "$with_gnu_ld" != yes && break
12469
 
        ;;
12470
 
      esac
12471
 
    fi
12472
 
  done
12473
 
  IFS="$lt_save_ifs"
12474
 
else
12475
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12476
 
fi
12477
 
fi
12478
 
 
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; }
12483
 
else
12484
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12485
 
$as_echo "no" >&6; }
12486
 
fi
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
12492
 
else
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
12497
 
  ;;
12498
 
*)
12499
 
  lt_cv_prog_gnu_ld=no
12500
 
  ;;
12501
 
esac
12502
 
fi
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
12506
 
 
12507
 
 
12508
 
 
12509
 
 
12510
 
 
12511
 
 
12512
 
 
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'
12518
 
 
12519
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12520
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12521
 
 
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)
12525
 
        wlarc='${wl}'
12526
 
 
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'
12531
 
        else
12532
 
          whole_archive_flag_spec_CXX=
12533
 
        fi
12534
 
      else
12535
 
        with_gnu_ld=no
12536
 
        wlarc=
12537
 
 
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'
12544
 
      fi
12545
 
 
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"'
12550
 
 
12551
 
    else
12552
 
      GXX=no
12553
 
      with_gnu_ld=no
12554
 
      wlarc=
12555
 
    fi
12556
 
 
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; }
12560
 
    ld_shlibs_CXX=yes
12561
 
    case $host_os in
12562
 
      aix3*)
12563
 
        # FIXME: insert proper C++ library support
12564
 
        ld_shlibs_CXX=no
12565
 
        ;;
12566
 
      aix[4-9]*)
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'
12572
 
          no_entry_flag=""
12573
 
        else
12574
 
          aix_use_runtimelinking=no
12575
 
 
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
12581
 
              case $ld_flag in
12582
 
              *-brtl*)
12583
 
                aix_use_runtimelinking=yes
12584
 
                break
12585
 
                ;;
12586
 
              esac
12587
 
            done
12588
 
            ;;
12589
 
          esac
12590
 
 
12591
 
          exp_sym_flag='-bexport'
12592
 
          no_entry_flag='-bnoentry'
12593
 
        fi
12594
 
 
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.
12600
 
 
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,'
12607
 
 
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
12615
 
          then
12616
 
            # We have reworked collect2
12617
 
            :
12618
 
          else
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=
12627
 
          fi
12628
 
          esac
12629
 
          shared_flag='-shared'
12630
 
          if test "$aix_use_runtimelinking" = yes; then
12631
 
            shared_flag="$shared_flag "'${wl}-G'
12632
 
          fi
12633
 
        else
12634
 
          # not using gcc
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:
12638
 
          shared_flag='-G'
12639
 
          else
12640
 
            if test "$aix_use_runtimelinking" = yes; then
12641
 
              shared_flag='${wl}-G'
12642
 
            else
12643
 
              shared_flag='${wl}-bM:SRE'
12644
 
            fi
12645
 
          fi
12646
 
        fi
12647
 
 
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
12651
 
        # export.
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
12658
 
          # executable.
12659
 
          if test "${lt_cv_aix_libpath+set}" = set; then
12660
 
  aix_libpath=$lt_cv_aix_libpath
12661
 
else
12662
 
  if ${lt_cv_aix_libpath__CXX+:} false; then :
12663
 
  $as_echo_n "(cached) " >&6
12664
 
else
12665
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12666
 
/* end confdefs.h.  */
12667
 
 
12668
 
int
12669
 
main ()
12670
 
{
12671
 
 
12672
 
  ;
12673
 
  return 0;
12674
 
}
12675
 
_ACEOF
12676
 
if ac_fn_cxx_try_link "$LINENO"; then :
12677
 
 
12678
 
  lt_aix_libpath_sed='
12679
 
      /Import File Strings/,/^$/ {
12680
 
          /^0/ {
12681
 
              s/^0  *\([^ ]*\) *$/\1/
12682
 
              p
12683
 
          }
12684
 
      }'
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"`
12689
 
  fi
12690
 
fi
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"
12695
 
  fi
12696
 
 
12697
 
fi
12698
 
 
12699
 
  aix_libpath=$lt_cv_aix_libpath__CXX
12700
 
fi
12701
 
 
12702
 
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12703
 
 
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"
12705
 
        else
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"
12710
 
          else
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
12715
 
else
12716
 
  if ${lt_cv_aix_libpath__CXX+:} false; then :
12717
 
  $as_echo_n "(cached) " >&6
12718
 
else
12719
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12720
 
/* end confdefs.h.  */
12721
 
 
12722
 
int
12723
 
main ()
12724
 
{
12725
 
 
12726
 
  ;
12727
 
  return 0;
12728
 
}
12729
 
_ACEOF
12730
 
if ac_fn_cxx_try_link "$LINENO"; then :
12731
 
 
12732
 
  lt_aix_libpath_sed='
12733
 
      /Import File Strings/,/^$/ {
12734
 
          /^0/ {
12735
 
              s/^0  *\([^ ]*\) *$/\1/
12736
 
              p
12737
 
          }
12738
 
      }'
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"`
12743
 
  fi
12744
 
fi
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"
12749
 
  fi
12750
 
 
12751
 
fi
12752
 
 
12753
 
  aix_libpath=$lt_cv_aix_libpath__CXX
12754
 
fi
12755
 
 
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'
12764
 
            else
12765
 
              # Exported symbols can be pulled into shared objects from archives
12766
 
              whole_archive_flag_spec_CXX='$convenience'
12767
 
            fi
12768
 
            archive_cmds_need_lc_CXX=yes
12769
 
            # This is similar to how AIX traditionally builds its shared
12770
 
            # libraries.
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'
12772
 
          fi
12773
 
        fi
12774
 
        ;;
12775
 
 
12776
 
      beos*)
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'
12782
 
        else
12783
 
          ld_shlibs_CXX=no
12784
 
        fi
12785
 
        ;;
12786
 
 
12787
 
      chorus*)
12788
 
        case $cc_basename in
12789
 
          *)
12790
 
          # FIXME: insert proper C++ library support
12791
 
          ld_shlibs_CXX=no
12792
 
          ;;
12793
 
        esac
12794
 
        ;;
12795
 
 
12796
 
      cygwin* | mingw* | pw32* | cegcc*)
12797
 
        case $GXX,$cc_basename in
12798
 
        ,cl* | no,cl*)
12799
 
          # Native MSVC
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.
12807
 
          libext=lib
12808
 
          # Tell ltmain to make .dll files, not .so files.
12809
 
          shrext_cmds=".dll"
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;
12814
 
            else
12815
 
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12816
 
            fi~
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"~
12818
 
            linknames='
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
12822
 
          # Don't use ranlib
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
12827
 
              *.exe|*.EXE) ;;
12828
 
              *)
12829
 
                lt_outputfile="$lt_outputfile.exe"
12830
 
                lt_tool_outputfile="$lt_tool_outputfile.exe"
12831
 
                ;;
12832
 
            esac~
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";
12837
 
            fi'
12838
 
          ;;
12839
 
        *)
12840
 
          # g++
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
12848
 
 
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;
12855
 
            else
12856
 
              echo EXPORTS > $output_objdir/$soname.def;
12857
 
              cat $export_symbols >> $output_objdir/$soname.def;
12858
 
            fi~
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'
12860
 
          else
12861
 
            ld_shlibs_CXX=no
12862
 
          fi
12863
 
          ;;
12864
 
        esac
12865
 
        ;;
12866
 
      darwin* | rhapsody*)
12867
 
 
12868
 
 
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\"`'
12875
 
 
12876
 
  else
12877
 
    whole_archive_flag_spec_CXX=''
12878
 
  fi
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 ;;
12884
 
  esac
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}"
12894
 
    fi
12895
 
 
12896
 
  else
12897
 
  ld_shlibs_CXX=no
12898
 
  fi
12899
 
 
12900
 
        ;;
12901
 
 
12902
 
      dgux*)
12903
 
        case $cc_basename in
12904
 
          ec++*)
12905
 
            # FIXME: insert proper C++ library support
12906
 
            ld_shlibs_CXX=no
12907
 
            ;;
12908
 
          ghcx*)
12909
 
            # Green Hills C++ Compiler
12910
 
            # FIXME: insert proper C++ library support
12911
 
            ld_shlibs_CXX=no
12912
 
            ;;
12913
 
          *)
12914
 
            # FIXME: insert proper C++ library support
12915
 
            ld_shlibs_CXX=no
12916
 
            ;;
12917
 
        esac
12918
 
        ;;
12919
 
 
12920
 
      freebsd2.*)
12921
 
        # C++ shared libraries reported to be fairly broken before
12922
 
        # switch to ELF
12923
 
        ld_shlibs_CXX=no
12924
 
        ;;
12925
 
 
12926
 
      freebsd-elf*)
12927
 
        archive_cmds_need_lc_CXX=no
12928
 
        ;;
12929
 
 
12930
 
      freebsd* | dragonfly*)
12931
 
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12932
 
        # conventions
12933
 
        ld_shlibs_CXX=yes
12934
 
        ;;
12935
 
 
12936
 
      gnu*)
12937
 
        ;;
12938
 
 
12939
 
      haiku*)
12940
 
        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12941
 
        link_all_deplibs_CXX=yes
12942
 
        ;;
12943
 
 
12944
 
      hpux9*)
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.
12952
 
 
12953
 
        case $cc_basename in
12954
 
          CC*)
12955
 
            # FIXME: insert proper C++ library support
12956
 
            ld_shlibs_CXX=no
12957
 
            ;;
12958
 
          aCC*)
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.
12963
 
            #
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
12967
 
            # dependencies.
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"'
12969
 
            ;;
12970
 
          *)
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'
12973
 
            else
12974
 
              # FIXME: insert proper C++ library support
12975
 
              ld_shlibs_CXX=no
12976
 
            fi
12977
 
            ;;
12978
 
        esac
12979
 
        ;;
12980
 
 
12981
 
      hpux10*|hpux11*)
12982
 
        if test $with_gnu_ld = no; then
12983
 
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12984
 
          hardcode_libdir_separator_CXX=:
12985
 
 
12986
 
          case $host_cpu in
12987
 
            hppa*64*|ia64*)
12988
 
              ;;
12989
 
            *)
12990
 
              export_dynamic_flag_spec_CXX='${wl}-E'
12991
 
              ;;
12992
 
          esac
12993
 
        fi
12994
 
        case $host_cpu in
12995
 
          hppa*64*|ia64*)
12996
 
            hardcode_direct_CXX=no
12997
 
            hardcode_shlibpath_var_CXX=no
12998
 
            ;;
12999
 
          *)
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.
13005
 
            ;;
13006
 
        esac
13007
 
 
13008
 
        case $cc_basename in
13009
 
          CC*)
13010
 
            # FIXME: insert proper C++ library support
13011
 
            ld_shlibs_CXX=no
13012
 
            ;;
13013
 
          aCC*)
13014
 
            case $host_cpu in
13015
 
              hppa*64*)
13016
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13017
 
                ;;
13018
 
              ia64*)
13019
 
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13020
 
                ;;
13021
 
              *)
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'
13023
 
                ;;
13024
 
            esac
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.
13028
 
            #
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
13032
 
            # dependencies.
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"'
13034
 
            ;;
13035
 
          *)
13036
 
            if test "$GXX" = yes; then
13037
 
              if test $with_gnu_ld = no; then
13038
 
                case $host_cpu in
13039
 
                  hppa*64*)
13040
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13041
 
                    ;;
13042
 
                  ia64*)
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'
13044
 
                    ;;
13045
 
                  *)
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'
13047
 
                    ;;
13048
 
                esac
13049
 
              fi
13050
 
            else
13051
 
              # FIXME: insert proper C++ library support
13052
 
              ld_shlibs_CXX=no
13053
 
            fi
13054
 
            ;;
13055
 
        esac
13056
 
        ;;
13057
 
 
13058
 
      interix[3-9]*)
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'
13071
 
        ;;
13072
 
      irix5* | irix6*)
13073
 
        case $cc_basename in
13074
 
          CC*)
13075
 
            # SGI C++
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'
13077
 
 
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
13081
 
            # in the archive.
13082
 
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13083
 
            ;;
13084
 
          *)
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'
13088
 
              else
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'
13090
 
              fi
13091
 
            fi
13092
 
            link_all_deplibs_CXX=yes
13093
 
            ;;
13094
 
        esac
13095
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13096
 
        hardcode_libdir_separator_CXX=:
13097
 
        inherit_rpath_CXX=yes
13098
 
        ;;
13099
 
 
13100
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13101
 
        case $cc_basename in
13102
 
          KCC*)
13103
 
            # Kuck and Associates, Inc. (KAI) C++ Compiler
13104
 
 
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.
13113
 
            #
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
13117
 
            # dependencies.
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"'
13119
 
 
13120
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13121
 
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13122
 
 
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'
13126
 
            ;;
13127
 
          icpc* | ecpc* )
13128
 
            # Intel C++
13129
 
            with_gnu_ld=yes
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
13134
 
              *"Version 7."*)
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'
13137
 
                ;;
13138
 
              *)  # Version 8.0 or newer
13139
 
                tmp_idyn=
13140
 
                case $host_cpu in
13141
 
                  ia64*) tmp_idyn=' -i_dynamic';;
13142
 
                esac
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'
13145
 
                ;;
13146
 
            esac
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'
13151
 
            ;;
13152
 
          pgCC* | pgcpp*)
13153
 
            # Portland Group C++ compiler
13154
 
            case `$CC -V` in
13155
 
            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13156
 
              prelink_cmds_CXX='tpldir=Template.dir~
13157
 
                rm -rf $tpldir~
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~
13161
 
                rm -rf $tpldir~
13162
 
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13163
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13164
 
                $RANLIB $oldlib'
13165
 
              archive_cmds_CXX='tpldir=Template.dir~
13166
 
                rm -rf $tpldir~
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~
13170
 
                rm -rf $tpldir~
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'
13173
 
              ;;
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'
13177
 
              ;;
13178
 
            esac
13179
 
 
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'
13183
 
            ;;
13184
 
          cxx*)
13185
 
            # Compaq C++
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'
13188
 
 
13189
 
            runpath_var=LD_RUN_PATH
13190
 
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13191
 
            hardcode_libdir_separator_CXX=:
13192
 
 
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.
13196
 
            #
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
13200
 
            # dependencies.
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'
13202
 
            ;;
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'
13213
 
            fi
13214
 
            ;;
13215
 
          *)
13216
 
            case `$CC -V 2>&1 | sed 5q` in
13217
 
            *Sun\ C*)
13218
 
              # Sun C++ 5.9
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
13225
 
 
13226
 
              # Not sure whether something based on
13227
 
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13228
 
              # would be better.
13229
 
              output_verbose_link_cmd='func_echo_all'
13230
 
 
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
13234
 
              # in the archive.
13235
 
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13236
 
              ;;
13237
 
            esac
13238
 
            ;;
13239
 
        esac
13240
 
        ;;
13241
 
 
13242
 
      lynxos*)
13243
 
        # FIXME: insert proper C++ library support
13244
 
        ld_shlibs_CXX=no
13245
 
        ;;
13246
 
 
13247
 
      m88k*)
13248
 
        # FIXME: insert proper C++ library support
13249
 
        ld_shlibs_CXX=no
13250
 
        ;;
13251
 
 
13252
 
      mvs*)
13253
 
        case $cc_basename in
13254
 
          cxx*)
13255
 
            # FIXME: insert proper C++ library support
13256
 
            ld_shlibs_CXX=no
13257
 
            ;;
13258
 
          *)
13259
 
            # FIXME: insert proper C++ library support
13260
 
            ld_shlibs_CXX=no
13261
 
            ;;
13262
 
        esac
13263
 
        ;;
13264
 
 
13265
 
      netbsd*)
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'
13268
 
          wlarc=
13269
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
13270
 
          hardcode_direct_CXX=yes
13271
 
          hardcode_shlibpath_var_CXX=no
13272
 
        fi
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::"'
13275
 
        ;;
13276
 
 
13277
 
      *nto* | *qnx*)
13278
 
        ld_shlibs_CXX=yes
13279
 
        ;;
13280
 
 
13281
 
      openbsd2*)
13282
 
        # C++ shared libraries are fairly broken
13283
 
        ld_shlibs_CXX=no
13284
 
        ;;
13285
 
 
13286
 
      openbsd*)
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'
13297
 
          fi
13298
 
          output_verbose_link_cmd=func_echo_all
13299
 
        else
13300
 
          ld_shlibs_CXX=no
13301
 
        fi
13302
 
        ;;
13303
 
 
13304
 
      osf3* | osf4* | osf5*)
13305
 
        case $cc_basename in
13306
 
          KCC*)
13307
 
            # Kuck and Associates, Inc. (KAI) C++ Compiler
13308
 
 
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'
13313
 
 
13314
 
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13315
 
            hardcode_libdir_separator_CXX=:
13316
 
 
13317
 
            # Archives containing C++ object files must be created using
13318
 
            # the KAI C++ compiler.
13319
 
            case $host in
13320
 
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13321
 
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13322
 
            esac
13323
 
            ;;
13324
 
          RCC*)
13325
 
            # Rational C++ 2.4.1
13326
 
            # FIXME: insert proper C++ library support
13327
 
            ld_shlibs_CXX=no
13328
 
            ;;
13329
 
          cxx*)
13330
 
            case $host in
13331
 
              osf3*)
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'
13335
 
                ;;
13336
 
              *)
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~
13342
 
                  $RM $lib.exp'
13343
 
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13344
 
                ;;
13345
 
            esac
13346
 
 
13347
 
            hardcode_libdir_separator_CXX=:
13348
 
 
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.
13352
 
            #
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
13356
 
            # dependencies.
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"'
13358
 
            ;;
13359
 
          *)
13360
 
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13361
 
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13362
 
              case $host in
13363
 
                osf3*)
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'
13365
 
                  ;;
13366
 
                *)
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'
13368
 
                  ;;
13369
 
              esac
13370
 
 
13371
 
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13372
 
              hardcode_libdir_separator_CXX=:
13373
 
 
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"'
13378
 
 
13379
 
            else
13380
 
              # FIXME: insert proper C++ library support
13381
 
              ld_shlibs_CXX=no
13382
 
            fi
13383
 
            ;;
13384
 
        esac
13385
 
        ;;
13386
 
 
13387
 
      psos*)
13388
 
        # FIXME: insert proper C++ library support
13389
 
        ld_shlibs_CXX=no
13390
 
        ;;
13391
 
 
13392
 
      sunos4*)
13393
 
        case $cc_basename in
13394
 
          CC*)
13395
 
            # Sun C++ 4.x
13396
 
            # FIXME: insert proper C++ library support
13397
 
            ld_shlibs_CXX=no
13398
 
            ;;
13399
 
          lcc*)
13400
 
            # Lucid
13401
 
            # FIXME: insert proper C++ library support
13402
 
            ld_shlibs_CXX=no
13403
 
            ;;
13404
 
          *)
13405
 
            # FIXME: insert proper C++ library support
13406
 
            ld_shlibs_CXX=no
13407
 
            ;;
13408
 
        esac
13409
 
        ;;
13410
 
 
13411
 
      solaris*)
13412
 
        case $cc_basename in
13413
 
          CC* | sunCC*)
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'
13420
 
 
13421
 
            hardcode_libdir_flag_spec_CXX='-R$libdir'
13422
 
            hardcode_shlibpath_var_CXX=no
13423
 
            case $host_os in
13424
 
              solaris2.[0-5] | solaris2.[0-5].*) ;;
13425
 
              *)
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'
13430
 
                ;;
13431
 
            esac
13432
 
            link_all_deplibs_CXX=yes
13433
 
 
13434
 
            output_verbose_link_cmd='func_echo_all'
13435
 
 
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
13439
 
            # in the archive.
13440
 
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13441
 
            ;;
13442
 
          gcx*)
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'
13445
 
 
13446
 
            # The C++ compiler must be used to create the archive.
13447
 
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13448
 
            ;;
13449
 
          *)
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'
13457
 
 
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"'
13462
 
              else
13463
 
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
13464
 
                # platform.
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'
13468
 
 
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"'
13473
 
              fi
13474
 
 
13475
 
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13476
 
              case $host_os in
13477
 
                solaris2.[0-5] | solaris2.[0-5].*) ;;
13478
 
                *)
13479
 
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13480
 
                  ;;
13481
 
              esac
13482
 
            fi
13483
 
            ;;
13484
 
        esac
13485
 
        ;;
13486
 
 
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'
13492
 
 
13493
 
      case $cc_basename in
13494
 
        CC*)
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'
13497
 
          ;;
13498
 
        *)
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'
13501
 
          ;;
13502
 
      esac
13503
 
      ;;
13504
 
 
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
13511
 
        # as -z defs.
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'
13521
 
 
13522
 
        case $cc_basename in
13523
 
          CC*)
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"
13530
 
            ;;
13531
 
          *)
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'
13534
 
            ;;
13535
 
        esac
13536
 
      ;;
13537
 
 
13538
 
      tandem*)
13539
 
        case $cc_basename in
13540
 
          NCC*)
13541
 
            # NonStop-UX NCC 3.20
13542
 
            # FIXME: insert proper C++ library support
13543
 
            ld_shlibs_CXX=no
13544
 
            ;;
13545
 
          *)
13546
 
            # FIXME: insert proper C++ library support
13547
 
            ld_shlibs_CXX=no
13548
 
            ;;
13549
 
        esac
13550
 
        ;;
13551
 
 
13552
 
      vxworks*)
13553
 
        # FIXME: insert proper C++ library support
13554
 
        ld_shlibs_CXX=no
13555
 
        ;;
13556
 
 
13557
 
      *)
13558
 
        # FIXME: insert proper C++ library support
13559
 
        ld_shlibs_CXX=no
13560
 
        ;;
13561
 
    esac
13562
 
 
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
13566
 
 
13567
 
    GCC_CXX="$GXX"
13568
 
    LD_CXX="$LD"
13569
 
 
13570
 
    ## CAVEAT EMPTOR:
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=
13577
 
predeps_CXX=
13578
 
postdeps_CXX=
13579
 
compiler_lib_search_path_CXX=
13580
 
 
13581
 
cat > conftest.$ac_ext <<_LT_EOF
13582
 
class Foo
13583
 
{
13584
 
public:
13585
 
  Foo (void) { a = 0; }
13586
 
private:
13587
 
  int a;
13588
 
};
13589
 
_LT_EOF
13590
 
 
13591
 
 
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" ;;
13597
 
esac
13598
 
 
13599
 
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13600
 
  (eval $ac_compile) 2>&5
13601
 
  ac_status=$?
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.
13606
 
 
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
13610
 
 
13611
 
  for p in `eval "$output_verbose_link_cmd"`; do
13612
 
    case ${prev}${p} in
13613
 
 
13614
 
    -L* | -R* | -l*)
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
13619
 
         prev=$p
13620
 
         continue
13621
 
       fi
13622
 
 
13623
 
       # Expand the sysroot to ease extracting the directories later.
13624
 
       if test -z "$prev"; then
13625
 
         case $p in
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 ;;
13629
 
         esac
13630
 
       fi
13631
 
       case $p in
13632
 
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13633
 
       esac
13634
 
       if test "$pre_test_object_deps_done" = no; then
13635
 
         case ${prev} in
13636
 
         -L | -R)
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}"
13642
 
           else
13643
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13644
 
           fi
13645
 
           ;;
13646
 
         # The "-l" case would never come before the object being
13647
 
         # linked, so don't bother handling this case.
13648
 
         esac
13649
 
       else
13650
 
         if test -z "$postdeps_CXX"; then
13651
 
           postdeps_CXX="${prev}${p}"
13652
 
         else
13653
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13654
 
         fi
13655
 
       fi
13656
 
       prev=
13657
 
       ;;
13658
 
 
13659
 
    *.lto.$objext) ;; # Ignore GCC LTO objects
13660
 
    *.$objext)
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
13665
 
         continue
13666
 
       fi
13667
 
 
13668
 
       if test "$pre_test_object_deps_done" = no; then
13669
 
         if test -z "$predep_objects_CXX"; then
13670
 
           predep_objects_CXX="$p"
13671
 
         else
13672
 
           predep_objects_CXX="$predep_objects_CXX $p"
13673
 
         fi
13674
 
       else
13675
 
         if test -z "$postdep_objects_CXX"; then
13676
 
           postdep_objects_CXX="$p"
13677
 
         else
13678
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
13679
 
         fi
13680
 
       fi
13681
 
       ;;
13682
 
 
13683
 
    *) ;; # Ignore the rest.
13684
 
 
13685
 
    esac
13686
 
  done
13687
 
 
13688
 
  # Clean up.
13689
 
  rm -f a.out a.exe
13690
 
else
13691
 
  echo "libtool.m4: error: problem compiling CXX test program"
13692
 
fi
13693
 
 
13694
 
$RM -f confest.$objext
13695
 
CFLAGS=$_lt_libdeps_save_CFLAGS
13696
 
 
13697
 
# PORTME: override above test on systems where it is broken
13698
 
case $host_os in
13699
 
interix[3-9]*)
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=
13704
 
  postdeps_CXX=
13705
 
  ;;
13706
 
 
13707
 
linux*)
13708
 
  case `$CC -V 2>&1 | sed 5q` in
13709
 
  *Sun\ C*)
13710
 
    # Sun C++ 5.9
13711
 
 
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
13719
 
      ;;
13720
 
    esac
13721
 
 
13722
 
    if test "$solaris_use_stlport4" != yes; then
13723
 
      postdeps_CXX='-library=Cstd -library=Crun'
13724
 
    fi
13725
 
    ;;
13726
 
  esac
13727
 
  ;;
13728
 
 
13729
 
solaris*)
13730
 
  case $cc_basename in
13731
 
  CC* | sunCC*)
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
13739
 
      ;;
13740
 
    esac
13741
 
 
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'
13747
 
    fi
13748
 
    ;;
13749
 
  esac
13750
 
  ;;
13751
 
esac
13752
 
 
13753
 
 
13754
 
case " $postdeps_CXX " in
13755
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13756
 
esac
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!^ !!'`
13760
 
fi
13761
 
 
13762
 
 
13763
 
 
13764
 
 
13765
 
 
13766
 
 
13767
 
 
13768
 
 
13769
 
 
13770
 
 
13771
 
 
13772
 
 
13773
 
 
13774
 
 
13775
 
 
13776
 
 
13777
 
 
13778
 
 
13779
 
 
13780
 
 
13781
 
 
13782
 
 
13783
 
 
13784
 
 
13785
 
 
13786
 
 
13787
 
 
13788
 
 
13789
 
 
13790
 
 
13791
 
 
13792
 
    lt_prog_compiler_wl_CXX=
13793
 
lt_prog_compiler_pic_CXX=
13794
 
lt_prog_compiler_static_CXX=
13795
 
 
13796
 
 
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'
13801
 
 
13802
 
    case $host_os in
13803
 
    aix*)
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'
13808
 
      fi
13809
 
      ;;
13810
 
 
13811
 
    amigaos*)
13812
 
      case $host_cpu in
13813
 
      powerpc)
13814
 
            # see comment about AmigaOS4 .so support
13815
 
            lt_prog_compiler_pic_CXX='-fPIC'
13816
 
        ;;
13817
 
      m68k)
13818
 
            # FIXME: we need at least 68020 code to build shared libraries, but
13819
 
            # adding the `-m68020' flag to GCC prevents building anything better,
13820
 
            # like `-m68040'.
13821
 
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13822
 
        ;;
13823
 
      esac
13824
 
      ;;
13825
 
 
13826
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13827
 
      # PIC is the default for these OSes.
13828
 
      ;;
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'
13835
 
      ;;
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'
13840
 
      ;;
13841
 
    *djgpp*)
13842
 
      # DJGPP does not support shared libraries at all
13843
 
      lt_prog_compiler_pic_CXX=
13844
 
      ;;
13845
 
    haiku*)
13846
 
      # PIC is the default for Haiku.
13847
 
      # The "-static" flag exists, but is broken.
13848
 
      lt_prog_compiler_static_CXX=
13849
 
      ;;
13850
 
    interix[3-9]*)
13851
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13852
 
      # Instead, we relocate shared libraries at runtime.
13853
 
      ;;
13854
 
    sysv4*MP*)
13855
 
      if test -d /usr/nec; then
13856
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
13857
 
      fi
13858
 
      ;;
13859
 
    hpux*)
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.
13863
 
      case $host_cpu in
13864
 
      hppa*64*)
13865
 
        ;;
13866
 
      *)
13867
 
        lt_prog_compiler_pic_CXX='-fPIC'
13868
 
        ;;
13869
 
      esac
13870
 
      ;;
13871
 
    *qnx* | *nto*)
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'
13875
 
      ;;
13876
 
    *)
13877
 
      lt_prog_compiler_pic_CXX='-fPIC'
13878
 
      ;;
13879
 
    esac
13880
 
  else
13881
 
    case $host_os in
13882
 
      aix[4-9]*)
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'
13887
 
        else
13888
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13889
 
        fi
13890
 
        ;;
13891
 
      chorus*)
13892
 
        case $cc_basename in
13893
 
        cxch68*)
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"
13896
 
          ;;
13897
 
        esac
13898
 
        ;;
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'
13903
 
        ;;
13904
 
      dgux*)
13905
 
        case $cc_basename in
13906
 
          ec++*)
13907
 
            lt_prog_compiler_pic_CXX='-KPIC'
13908
 
            ;;
13909
 
          ghcx*)
13910
 
            # Green Hills C++ Compiler
13911
 
            lt_prog_compiler_pic_CXX='-pic'
13912
 
            ;;
13913
 
          *)
13914
 
            ;;
13915
 
        esac
13916
 
        ;;
13917
 
      freebsd* | dragonfly*)
13918
 
        # FreeBSD uses GNU C++
13919
 
        ;;
13920
 
      hpux9* | hpux10* | hpux11*)
13921
 
        case $cc_basename in
13922
 
          CC*)
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'
13927
 
            fi
13928
 
            ;;
13929
 
          aCC*)
13930
 
            lt_prog_compiler_wl_CXX='-Wl,'
13931
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13932
 
            case $host_cpu in
13933
 
            hppa*64*|ia64*)
13934
 
              # +Z the default
13935
 
              ;;
13936
 
            *)
13937
 
              lt_prog_compiler_pic_CXX='+Z'
13938
 
              ;;
13939
 
            esac
13940
 
            ;;
13941
 
          *)
13942
 
            ;;
13943
 
        esac
13944
 
        ;;
13945
 
      interix*)
13946
 
        # This is c89, which is MS Visual C++ (no shared libs)
13947
 
        # Anyone wants to do a port?
13948
 
        ;;
13949
 
      irix5* | irix6* | nonstopux*)
13950
 
        case $cc_basename in
13951
 
          CC*)
13952
 
            lt_prog_compiler_wl_CXX='-Wl,'
13953
 
            lt_prog_compiler_static_CXX='-non_shared'
13954
 
            # CC pic flag -KPIC is the default.
13955
 
            ;;
13956
 
          *)
13957
 
            ;;
13958
 
        esac
13959
 
        ;;
13960
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13961
 
        case $cc_basename in
13962
 
          KCC*)
13963
 
            # KAI C++ Compiler
13964
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13965
 
            lt_prog_compiler_pic_CXX='-fPIC'
13966
 
            ;;
13967
 
          ecpc* )
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'
13972
 
            ;;
13973
 
          icpc* )
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'
13979
 
            ;;
13980
 
          pgCC* | pgcpp*)
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'
13985
 
            ;;
13986
 
          cxx*)
13987
 
            # Compaq C++
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'
13992
 
            ;;
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'
13998
 
            ;;
13999
 
          *)
14000
 
            case `$CC -V 2>&1 | sed 5q` in
14001
 
            *Sun\ C*)
14002
 
              # Sun C++ 5.9
14003
 
              lt_prog_compiler_pic_CXX='-KPIC'
14004
 
              lt_prog_compiler_static_CXX='-Bstatic'
14005
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
14006
 
              ;;
14007
 
            esac
14008
 
            ;;
14009
 
        esac
14010
 
        ;;
14011
 
      lynxos*)
14012
 
        ;;
14013
 
      m88k*)
14014
 
        ;;
14015
 
      mvs*)
14016
 
        case $cc_basename in
14017
 
          cxx*)
14018
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
14019
 
            ;;
14020
 
          *)
14021
 
            ;;
14022
 
        esac
14023
 
        ;;
14024
 
      netbsd* | netbsdelf*-gnu)
14025
 
        ;;
14026
 
      *qnx* | *nto*)
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'
14030
 
        ;;
14031
 
      osf3* | osf4* | osf5*)
14032
 
        case $cc_basename in
14033
 
          KCC*)
14034
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
14035
 
            ;;
14036
 
          RCC*)
14037
 
            # Rational C++ 2.4.1
14038
 
            lt_prog_compiler_pic_CXX='-pic'
14039
 
            ;;
14040
 
          cxx*)
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'
14047
 
            ;;
14048
 
          *)
14049
 
            ;;
14050
 
        esac
14051
 
        ;;
14052
 
      psos*)
14053
 
        ;;
14054
 
      solaris*)
14055
 
        case $cc_basename in
14056
 
          CC* | sunCC*)
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 '
14061
 
            ;;
14062
 
          gcx*)
14063
 
            # Green Hills C++ Compiler
14064
 
            lt_prog_compiler_pic_CXX='-PIC'
14065
 
            ;;
14066
 
          *)
14067
 
            ;;
14068
 
        esac
14069
 
        ;;
14070
 
      sunos4*)
14071
 
        case $cc_basename in
14072
 
          CC*)
14073
 
            # Sun C++ 4.x
14074
 
            lt_prog_compiler_pic_CXX='-pic'
14075
 
            lt_prog_compiler_static_CXX='-Bstatic'
14076
 
            ;;
14077
 
          lcc*)
14078
 
            # Lucid
14079
 
            lt_prog_compiler_pic_CXX='-pic'
14080
 
            ;;
14081
 
          *)
14082
 
            ;;
14083
 
        esac
14084
 
        ;;
14085
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14086
 
        case $cc_basename in
14087
 
          CC*)
14088
 
            lt_prog_compiler_wl_CXX='-Wl,'
14089
 
            lt_prog_compiler_pic_CXX='-KPIC'
14090
 
            lt_prog_compiler_static_CXX='-Bstatic'
14091
 
            ;;
14092
 
        esac
14093
 
        ;;
14094
 
      tandem*)
14095
 
        case $cc_basename in
14096
 
          NCC*)
14097
 
            # NonStop-UX NCC 3.20
14098
 
            lt_prog_compiler_pic_CXX='-KPIC'
14099
 
            ;;
14100
 
          *)
14101
 
            ;;
14102
 
        esac
14103
 
        ;;
14104
 
      vxworks*)
14105
 
        ;;
14106
 
      *)
14107
 
        lt_prog_compiler_can_build_shared_CXX=no
14108
 
        ;;
14109
 
    esac
14110
 
  fi
14111
 
 
14112
 
case $host_os in
14113
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14114
 
  *djgpp*)
14115
 
    lt_prog_compiler_pic_CXX=
14116
 
    ;;
14117
 
  *)
14118
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14119
 
    ;;
14120
 
esac
14121
 
 
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
14126
 
else
14127
 
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14128
 
fi
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
14132
 
 
14133
 
#
14134
 
# Check to make sure the PIC flag actually works.
14135
 
#
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
14141
 
else
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)
14157
 
   ac_status=$?
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
14167
 
     fi
14168
 
   fi
14169
 
   $RM conftest*
14170
 
 
14171
 
fi
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; }
14174
 
 
14175
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14176
 
    case $lt_prog_compiler_pic_CXX in
14177
 
     "" | " "*) ;;
14178
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14179
 
     esac
14180
 
else
14181
 
    lt_prog_compiler_pic_CXX=
14182
 
     lt_prog_compiler_can_build_shared_CXX=no
14183
 
fi
14184
 
 
14185
 
fi
14186
 
 
14187
 
 
14188
 
 
14189
 
 
14190
 
 
14191
 
#
14192
 
# Check to make sure the static flag actually works.
14193
 
#
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
14199
 
else
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
14214
 
       fi
14215
 
     else
14216
 
       lt_cv_prog_compiler_static_works_CXX=yes
14217
 
     fi
14218
 
   fi
14219
 
   $RM -r conftest*
14220
 
   LDFLAGS="$save_LDFLAGS"
14221
 
 
14222
 
fi
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; }
14225
 
 
14226
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14227
 
    :
14228
 
else
14229
 
    lt_prog_compiler_static_CXX=
14230
 
fi
14231
 
 
14232
 
 
14233
 
 
14234
 
 
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
14239
 
else
14240
 
  lt_cv_prog_compiler_c_o_CXX=no
14241
 
   $RM -r conftest 2>/dev/null
14242
 
   mkdir conftest
14243
 
   cd conftest
14244
 
   mkdir out
14245
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14246
 
 
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)
14258
 
   ac_status=$?
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
14262
 
   then
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
14269
 
     fi
14270
 
   fi
14271
 
   chmod u+w . 2>&5
14272
 
   $RM conftest*
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
14277
 
   cd ..
14278
 
   $RM -r conftest
14279
 
   $RM conftest*
14280
 
 
14281
 
fi
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; }
14284
 
 
14285
 
 
14286
 
 
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
14291
 
else
14292
 
  lt_cv_prog_compiler_c_o_CXX=no
14293
 
   $RM -r conftest 2>/dev/null
14294
 
   mkdir conftest
14295
 
   cd conftest
14296
 
   mkdir out
14297
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14298
 
 
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)
14310
 
   ac_status=$?
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
14314
 
   then
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
14321
 
     fi
14322
 
   fi
14323
 
   chmod u+w . 2>&5
14324
 
   $RM conftest*
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
14329
 
   cd ..
14330
 
   $RM -r conftest
14331
 
   $RM conftest*
14332
 
 
14333
 
fi
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; }
14336
 
 
14337
 
 
14338
 
 
14339
 
 
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; }
14345
 
  hard_links=yes
14346
 
  $RM conftest*
14347
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14348
 
  touch conftest.a
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;}
14356
 
    need_locks=warn
14357
 
  fi
14358
 
else
14359
 
  need_locks=no
14360
 
fi
14361
 
 
14362
 
 
14363
 
 
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; }
14366
 
 
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]_.*'
14369
 
  case $host_os in
14370
 
  aix[4-9]*)
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'
14377
 
    else
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'
14379
 
    fi
14380
 
    ;;
14381
 
  pw32*)
14382
 
    export_symbols_cmds_CXX="$ltdll_cmds"
14383
 
    ;;
14384
 
  cygwin* | mingw* | cegcc*)
14385
 
    case $cc_basename in
14386
 
    cl*)
14387
 
      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14388
 
      ;;
14389
 
    *)
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'
14392
 
      ;;
14393
 
    esac
14394
 
    ;;
14395
 
  linux* | k*bsd*-gnu | gnu*)
14396
 
    link_all_deplibs_CXX=no
14397
 
    ;;
14398
 
  *)
14399
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14400
 
    ;;
14401
 
  esac
14402
 
 
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
14406
 
 
14407
 
with_gnu_ld_CXX=$with_gnu_ld
14408
 
 
14409
 
 
14410
 
 
14411
 
 
14412
 
 
14413
 
 
14414
 
#
14415
 
# Do we need to explicitly link libc?
14416
 
#
14417
 
case "x$archive_cmds_need_lc_CXX" in
14418
 
x|xyes)
14419
 
  # Assume -lc should be added
14420
 
  archive_cmds_need_lc_CXX=yes
14421
 
 
14422
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14423
 
    case $archive_cmds_CXX in
14424
 
    *'~'*)
14425
 
      # FIXME: we may have to deal with multi-command sequences.
14426
 
      ;;
14427
 
    '$CC '*)
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
14435
 
else
14436
 
  $RM conftest*
14437
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14438
 
 
14439
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14440
 
  (eval $ac_compile) 2>&5
14441
 
  ac_status=$?
14442
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14443
 
  test $ac_status = 0; } 2>conftest.err; then
14444
 
          soname=conftest
14445
 
          lib=conftest
14446
 
          libobjs=conftest.$ac_objext
14447
 
          deplibs=
14448
 
          wl=$lt_prog_compiler_wl_CXX
14449
 
          pic_flag=$lt_prog_compiler_pic_CXX
14450
 
          compiler_flags=-v
14451
 
          linker_flags=-v
14452
 
          verstring=
14453
 
          output_objdir=.
14454
 
          libname=conftest
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
14459
 
  ac_status=$?
14460
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14461
 
  test $ac_status = 0; }
14462
 
          then
14463
 
            lt_cv_archive_cmds_need_lc_CXX=no
14464
 
          else
14465
 
            lt_cv_archive_cmds_need_lc_CXX=yes
14466
 
          fi
14467
 
          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14468
 
        else
14469
 
          cat conftest.err 1>&5
14470
 
        fi
14471
 
        $RM conftest*
14472
 
 
14473
 
fi
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
14477
 
      ;;
14478
 
    esac
14479
 
  fi
14480
 
  ;;
14481
 
esac
14482
 
 
14483
 
 
14484
 
 
14485
 
 
14486
 
 
14487
 
 
14488
 
 
14489
 
 
14490
 
 
14491
 
 
14492
 
 
14493
 
 
14494
 
 
14495
 
 
14496
 
 
14497
 
 
14498
 
 
14499
 
 
14500
 
 
14501
 
 
14502
 
 
14503
 
 
14504
 
 
14505
 
 
14506
 
 
14507
 
 
14508
 
 
14509
 
 
14510
 
 
14511
 
 
14512
 
 
14513
 
 
14514
 
 
14515
 
 
14516
 
 
14517
 
 
14518
 
 
14519
 
 
14520
 
 
14521
 
 
14522
 
 
14523
 
 
14524
 
 
14525
 
 
14526
 
 
14527
 
 
14528
 
 
14529
 
 
14530
 
 
14531
 
 
14532
 
 
14533
 
 
14534
 
 
14535
 
 
14536
 
 
14537
 
 
14538
 
 
14539
 
 
14540
 
 
14541
 
 
14542
 
 
14543
 
 
14544
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14545
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14546
 
 
14547
 
library_names_spec=
14548
 
libname_spec='lib$name'
14549
 
soname_spec=
14550
 
shrext_cmds=".so"
14551
 
postinstall_cmds=
14552
 
postuninstall_cmds=
14553
 
finish_cmds=
14554
 
finish_eval=
14555
 
shlibpath_var=
14556
 
shlibpath_overrides_runpath=unknown
14557
 
version_type=none
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
14562
 
 
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
14566
 
 
14567
 
case $host_os in
14568
 
aix3*)
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
14572
 
 
14573
 
  # AIX 3 has no versioning support, so we append a major version to the name.
14574
 
  soname_spec='${libname}${release}${shared_ext}$major'
14575
 
  ;;
14576
 
 
14577
 
aix[4-9]*)
14578
 
  version_type=linux # correct to gnu/linux during the next big refactor
14579
 
  need_lib_prefix=no
14580
 
  need_version=no
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
14586
 
  else
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.
14592
 
    case $host_os in
14593
 
      aix4 | aix4.[01] | aix4.[01].*)
14594
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14595
 
           echo ' yes '
14596
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14597
 
        :
14598
 
      else
14599
 
        can_build_shared=no
14600
 
      fi
14601
 
      ;;
14602
 
    esac
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}'
14611
 
    else
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'
14616
 
    fi
14617
 
    shlibpath_var=LIBPATH
14618
 
  fi
14619
 
  ;;
14620
 
 
14621
 
amigaos*)
14622
 
  case $host_cpu in
14623
 
  powerpc)
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}'
14627
 
    ;;
14628
 
  m68k)
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'
14632
 
    ;;
14633
 
  esac
14634
 
  ;;
14635
 
 
14636
 
beos*)
14637
 
  library_names_spec='${libname}${shared_ext}'
14638
 
  dynamic_linker="$host_os ld.so"
14639
 
  shlibpath_var=LIBRARY_PATH
14640
 
  ;;
14641
 
 
14642
 
bsdi[45]*)
14643
 
  version_type=linux # correct to gnu/linux during the next big refactor
14644
 
  need_version=no
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
14654
 
  ;;
14655
 
 
14656
 
cygwin* | mingw* | pw32* | cegcc*)
14657
 
  version_type=windows
14658
 
  shrext_cmds=".dll"
14659
 
  need_version=no
14660
 
  need_lib_prefix=no
14661
 
 
14662
 
  case $GCC,$cc_basename in
14663
 
  yes,*)
14664
 
    # gcc
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 \$?;
14675
 
      fi'
14676
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14677
 
      dlpath=$dir/\$dldll~
14678
 
       $RM \$dlpath'
14679
 
    shlibpath_overrides_runpath=yes
14680
 
 
14681
 
    case $host_os in
14682
 
    cygwin*)
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}'
14685
 
 
14686
 
      ;;
14687
 
    mingw* | cegcc*)
14688
 
      # MinGW DLLs use traditional 'lib' prefix
14689
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14690
 
      ;;
14691
 
    pw32*)
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}'
14694
 
      ;;
14695
 
    esac
14696
 
    dynamic_linker='Win32 ld.exe'
14697
 
    ;;
14698
 
 
14699
 
  *,cl*)
14700
 
    # Native MSVC
14701
 
    libname_spec='$name'
14702
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14703
 
    library_names_spec='${libname}.dll.lib'
14704
 
 
14705
 
    case $build_os in
14706
 
    mingw*)
14707
 
      sys_lib_search_path_spec=
14708
 
      lt_save_ifs=$IFS
14709
 
      IFS=';'
14710
 
      for lt_path in $LIB
14711
 
      do
14712
 
        IFS=$lt_save_ifs
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"
14716
 
      done
14717
 
      IFS=$lt_save_ifs
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|^ ||'`
14720
 
      ;;
14721
 
    cygwin*)
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"`
14728
 
      ;;
14729
 
    *)
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'`
14734
 
      else
14735
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14736
 
      fi
14737
 
      # FIXME: find the short name or the path components, as spaces are
14738
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
14739
 
      ;;
14740
 
    esac
14741
 
 
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~
14750
 
       $RM \$dlpath'
14751
 
    shlibpath_overrides_runpath=yes
14752
 
    dynamic_linker='Win32 link.exe'
14753
 
    ;;
14754
 
 
14755
 
  *)
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'
14759
 
    ;;
14760
 
  esac
14761
 
  # FIXME: first we should search . and the directory the executable is in
14762
 
  shlibpath_var=PATH
14763
 
  ;;
14764
 
 
14765
 
darwin* | rhapsody*)
14766
 
  dynamic_linker="$host_os dyld"
14767
 
  version_type=darwin
14768
 
  need_lib_prefix=no
14769
 
  need_version=no
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`'
14775
 
 
14776
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14777
 
  ;;
14778
 
 
14779
 
dgux*)
14780
 
  version_type=linux # correct to gnu/linux during the next big refactor
14781
 
  need_lib_prefix=no
14782
 
  need_version=no
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
14786
 
  ;;
14787
 
 
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`
14793
 
  else
14794
 
    case $host_os in
14795
 
    freebsd[23].*) objformat=aout ;;
14796
 
    *) objformat=elf ;;
14797
 
    esac
14798
 
  fi
14799
 
  version_type=freebsd-$objformat
14800
 
  case $version_type in
14801
 
    freebsd-elf*)
14802
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14803
 
      need_version=no
14804
 
      need_lib_prefix=no
14805
 
      ;;
14806
 
    freebsd-*)
14807
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14808
 
      need_version=yes
14809
 
      ;;
14810
 
  esac
14811
 
  shlibpath_var=LD_LIBRARY_PATH
14812
 
  case $host_os in
14813
 
  freebsd2.*)
14814
 
    shlibpath_overrides_runpath=yes
14815
 
    ;;
14816
 
  freebsd3.[01]* | freebsdelf3.[01]*)
14817
 
    shlibpath_overrides_runpath=yes
14818
 
    hardcode_into_libs=yes
14819
 
    ;;
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
14824
 
    ;;
14825
 
  *) # from 4.6 on, and DragonFly
14826
 
    shlibpath_overrides_runpath=yes
14827
 
    hardcode_into_libs=yes
14828
 
    ;;
14829
 
  esac
14830
 
  ;;
14831
 
 
14832
 
gnu*)
14833
 
  version_type=linux # correct to gnu/linux during the next big refactor
14834
 
  need_lib_prefix=no
14835
 
  need_version=no
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
14841
 
  ;;
14842
 
 
14843
 
haiku*)
14844
 
  version_type=linux # correct to gnu/linux during the next big refactor
14845
 
  need_lib_prefix=no
14846
 
  need_version=no
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
14854
 
  ;;
14855
 
 
14856
 
hpux9* | hpux10* | hpux11*)
14857
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
14858
 
  # link against other versions.
14859
 
  version_type=sunos
14860
 
  need_lib_prefix=no
14861
 
  need_version=no
14862
 
  case $host_cpu in
14863
 
  ia64*)
14864
 
    shrext_cmds='.so'
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"
14873
 
    else
14874
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14875
 
    fi
14876
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14877
 
    ;;
14878
 
  hppa*64*)
14879
 
    shrext_cmds='.sl'
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
14888
 
    ;;
14889
 
  *)
14890
 
    shrext_cmds='.sl'
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'
14896
 
    ;;
14897
 
  esac
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
14902
 
  ;;
14903
 
 
14904
 
interix[3-9]*)
14905
 
  version_type=linux # correct to gnu/linux during the next big refactor
14906
 
  need_lib_prefix=no
14907
 
  need_version=no
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
14914
 
  ;;
14915
 
 
14916
 
irix5* | irix6* | nonstopux*)
14917
 
  case $host_os in
14918
 
    nonstopux*) version_type=nonstopux ;;
14919
 
    *)
14920
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
14921
 
                version_type=linux # correct to gnu/linux during the next big refactor
14922
 
        else
14923
 
                version_type=irix
14924
 
        fi ;;
14925
 
  esac
14926
 
  need_lib_prefix=no
14927
 
  need_version=no
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}'
14930
 
  case $host_os in
14931
 
  irix5* | nonstopux*)
14932
 
    libsuff= shlibsuff=
14933
 
    ;;
14934
 
  *)
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;;
14943
 
    esac
14944
 
    ;;
14945
 
  esac
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
14951
 
  ;;
14952
 
 
14953
 
# No shared lib support for Linux oldld, aout, or coff.
14954
 
linux*oldld* | linux*aout* | linux*coff*)
14955
 
  dynamic_linker=no
14956
 
  ;;
14957
 
 
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
14961
 
  need_lib_prefix=no
14962
 
  need_version=no
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
14968
 
 
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
14972
 
else
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.  */
14980
 
 
14981
 
int
14982
 
main ()
14983
 
{
14984
 
 
14985
 
  ;
14986
 
  return 0;
14987
 
}
14988
 
_ACEOF
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
14992
 
fi
14993
 
fi
14994
 
rm -f core conftest.err conftest.$ac_objext \
14995
 
    conftest$ac_exeext conftest.$ac_ext
14996
 
    LDFLAGS=$save_LDFLAGS
14997
 
    libdir=$save_libdir
14998
 
 
14999
 
fi
15000
 
 
15001
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15002
 
 
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
15007
 
 
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"
15012
 
  fi
15013
 
 
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'
15021
 
  ;;
15022
 
 
15023
 
netbsdelf*-gnu)
15024
 
  version_type=linux
15025
 
  need_lib_prefix=no
15026
 
  need_version=no
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'
15033
 
  ;;
15034
 
 
15035
 
netbsd*)
15036
 
  version_type=sunos
15037
 
  need_lib_prefix=no
15038
 
  need_version=no
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'
15043
 
  else
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'
15047
 
  fi
15048
 
  shlibpath_var=LD_LIBRARY_PATH
15049
 
  shlibpath_overrides_runpath=yes
15050
 
  hardcode_into_libs=yes
15051
 
  ;;
15052
 
 
15053
 
newsos6)
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
15058
 
  ;;
15059
 
 
15060
 
*nto* | *qnx*)
15061
 
  version_type=qnx
15062
 
  need_lib_prefix=no
15063
 
  need_version=no
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'
15070
 
  ;;
15071
 
 
15072
 
openbsd*)
15073
 
  version_type=sunos
15074
 
  sys_lib_dlsearch_path_spec="/usr/lib"
15075
 
  need_lib_prefix=no
15076
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15077
 
  case $host_os in
15078
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15079
 
    *)                          need_version=no  ;;
15080
 
  esac
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
15085
 
    case $host_os in
15086
 
      openbsd2.[89] | openbsd2.[89].*)
15087
 
        shlibpath_overrides_runpath=no
15088
 
        ;;
15089
 
      *)
15090
 
        shlibpath_overrides_runpath=yes
15091
 
        ;;
15092
 
      esac
15093
 
  else
15094
 
    shlibpath_overrides_runpath=yes
15095
 
  fi
15096
 
  ;;
15097
 
 
15098
 
os2*)
15099
 
  libname_spec='$name'
15100
 
  shrext_cmds=".dll"
15101
 
  need_lib_prefix=no
15102
 
  library_names_spec='$libname${shared_ext} $libname.a'
15103
 
  dynamic_linker='OS/2 ld.exe'
15104
 
  shlibpath_var=LIBPATH
15105
 
  ;;
15106
 
 
15107
 
osf3* | osf4* | osf5*)
15108
 
  version_type=osf
15109
 
  need_lib_prefix=no
15110
 
  need_version=no
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"
15116
 
  ;;
15117
 
 
15118
 
rdos*)
15119
 
  dynamic_linker=no
15120
 
  ;;
15121
 
 
15122
 
solaris*)
15123
 
  version_type=linux # correct to gnu/linux during the next big refactor
15124
 
  need_lib_prefix=no
15125
 
  need_version=no
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'
15133
 
  ;;
15134
 
 
15135
 
sunos4*)
15136
 
  version_type=sunos
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
15142
 
    need_lib_prefix=no
15143
 
  fi
15144
 
  need_version=yes
15145
 
  ;;
15146
 
 
15147
 
sysv4 | sysv4.3*)
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
15153
 
    sni)
15154
 
      shlibpath_overrides_runpath=no
15155
 
      need_lib_prefix=no
15156
 
      runpath_var=LD_RUN_PATH
15157
 
      ;;
15158
 
    siemens)
15159
 
      need_lib_prefix=no
15160
 
      ;;
15161
 
    motorola)
15162
 
      need_lib_prefix=no
15163
 
      need_version=no
15164
 
      shlibpath_overrides_runpath=no
15165
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15166
 
      ;;
15167
 
  esac
15168
 
  ;;
15169
 
 
15170
 
sysv4*MP*)
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
15176
 
  fi
15177
 
  ;;
15178
 
 
15179
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15180
 
  version_type=freebsd-elf
15181
 
  need_lib_prefix=no
15182
 
  need_version=no
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'
15190
 
  else
15191
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15192
 
    case $host_os in
15193
 
      sco3.2v5*)
15194
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15195
 
        ;;
15196
 
    esac
15197
 
  fi
15198
 
  sys_lib_dlsearch_path_spec='/usr/lib'
15199
 
  ;;
15200
 
 
15201
 
tpf*)
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
15204
 
  need_lib_prefix=no
15205
 
  need_version=no
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
15210
 
  ;;
15211
 
 
15212
 
uts4*)
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
15217
 
  ;;
15218
 
 
15219
 
*)
15220
 
  dynamic_linker=no
15221
 
  ;;
15222
 
esac
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
15226
 
 
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"
15230
 
fi
15231
 
 
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"
15234
 
fi
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"
15237
 
fi
15238
 
 
15239
 
 
15240
 
 
15241
 
 
15242
 
 
15243
 
 
15244
 
 
15245
 
 
15246
 
 
15247
 
 
15248
 
 
15249
 
 
15250
 
 
15251
 
 
15252
 
 
15253
 
 
15254
 
 
15255
 
 
15256
 
 
15257
 
 
15258
 
 
15259
 
 
15260
 
 
15261
 
 
15262
 
 
15263
 
 
15264
 
 
15265
 
 
15266
 
 
15267
 
 
15268
 
 
15269
 
 
15270
 
 
15271
 
 
15272
 
 
15273
 
 
15274
 
 
15275
 
 
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
15282
 
 
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
15292
 
  else
15293
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15294
 
    hardcode_action_CXX=immediate
15295
 
  fi
15296
 
else
15297
 
  # We cannot hardcode anything, or else we can only hardcode existing
15298
 
  # directories.
15299
 
  hardcode_action_CXX=unsupported
15300
 
fi
15301
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15302
 
$as_echo "$hardcode_action_CXX" >&6; }
15303
 
 
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
15312
 
fi
15313
 
 
15314
 
 
15315
 
 
15316
 
 
15317
 
 
15318
 
 
15319
 
 
15320
 
  fi # test -n "$compiler"
15321
 
 
15322
 
  CC=$lt_save_CC
15323
 
  CFLAGS=$lt_save_CFLAGS
15324
 
  LDCXX=$LD
15325
 
  LD=$lt_save_LD
15326
 
  GCC=$lt_save_GCC
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
15333
 
 
15334
 
ac_ext=c
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
15339
 
 
15340
 
 
15341
 
 
15342
 
 
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
15348
 
else
15349
 
  USE_MAINTAINER_MODE=no
15350
 
fi
15351
 
 
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='#'
15357
 
else
15358
 
  MAINTAINER_MODE_TRUE='#'
15359
 
  MAINTAINER_MODE_FALSE=
15360
 
fi
15361
 
 
15362
 
  MAINT=$MAINTAINER_MODE_TRUE
15363
 
 
15364
 
 
15365
 
# Check whether --enable-silent-rules was given.
15366
 
if test "${enable_silent_rules+set}" = set; then :
15367
 
  enableval=$enable_silent_rules;
15368
 
fi
15369
 
 
15370
 
case $enable_silent_rules in
15371
 
yes) AM_DEFAULT_VERBOSITY=0;;
15372
 
no)  AM_DEFAULT_VERBOSITY=1;;
15373
 
*)   AM_DEFAULT_VERBOSITY=0;;
15374
 
esac
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
15380
 
else
15381
 
  if $as_echo 'TRUE=$(BAR$(V))
15382
 
BAR0=false
15383
 
BAR1=true
15384
 
V=1
15385
 
am__doit:
15386
 
        @$(TRUE)
15387
 
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
15388
 
  am_cv_make_support_nested_variables=yes
15389
 
else
15390
 
  am_cv_make_support_nested_variables=no
15391
 
fi
15392
 
fi
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
15396
 
    AM_V='$(V)'
15397
 
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
15398
 
else
15399
 
  AM_V=$AM_DEFAULT_VERBOSITY
15400
 
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
15401
 
fi
15402
 
AM_BACKSLASH='\'
15403
 
 
15404
 
 
15405
 
 
15406
 
 
15407
 
 
15408
 
 
15409
 
 
15410
 
 
15411
 
 
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
15420
 
else
15421
 
  case $PKG_CONFIG in
15422
 
  [\\/]* | ?:[\\/]*)
15423
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15424
 
  ;;
15425
 
  *)
15426
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15427
 
for as_dir in $PATH
15428
 
do
15429
 
  IFS=$as_save_IFS
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
15435
 
    break 2
15436
 
  fi
15437
 
done
15438
 
  done
15439
 
IFS=$as_save_IFS
15440
 
 
15441
 
  ;;
15442
 
esac
15443
 
fi
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; }
15448
 
else
15449
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15450
 
$as_echo "no" >&6; }
15451
 
fi
15452
 
 
15453
 
 
15454
 
fi
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
15463
 
else
15464
 
  case $ac_pt_PKG_CONFIG in
15465
 
  [\\/]* | ?:[\\/]*)
15466
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15467
 
  ;;
15468
 
  *)
15469
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15470
 
for as_dir in $PATH
15471
 
do
15472
 
  IFS=$as_save_IFS
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
15478
 
    break 2
15479
 
  fi
15480
 
done
15481
 
  done
15482
 
IFS=$as_save_IFS
15483
 
 
15484
 
  ;;
15485
 
esac
15486
 
fi
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; }
15491
 
else
15492
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15493
 
$as_echo "no" >&6; }
15494
 
fi
15495
 
 
15496
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
15497
 
    PKG_CONFIG=""
15498
 
  else
15499
 
    case $cross_compiling:$ac_tool_warned in
15500
 
yes:)
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 ;;
15504
 
esac
15505
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
15506
 
  fi
15507
 
else
15508
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15509
 
fi
15510
 
 
15511
 
fi
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; }
15519
 
        else
15520
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15521
 
$as_echo "no" >&6; }
15522
 
                PKG_CONFIG=""
15523
 
        fi
15524
 
fi
15525
 
 
15526
 
 
15527
 
 
15528
 
                # Check whether --enable-introspection was given.
15529
 
if test "${enable_introspection+set}" = set; then :
15530
 
  enableval=$enable_introspection;
15531
 
else
15532
 
  enable_introspection=auto
15533
 
fi
15534
 
 
15535
 
 
15536
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
15537
 
$as_echo_n "checking for gobject-introspection... " >&6; }
15538
 
 
15539
 
        case $enable_introspection in #(
15540
 
  no) :
15541
 
            found_introspection="no (disabled, use --enable-introspection to enable)"
15542
 
     ;; #(
15543
 
      yes) :
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
15547
 
  ac_status=$?
15548
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15549
 
  test $ac_status = 0; }; then
15550
 
  :
15551
 
else
15552
 
  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
15553
 
fi
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
15557
 
  ac_status=$?
15558
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15559
 
  test $ac_status = 0; }; then
15560
 
  found_introspection=yes
15561
 
else
15562
 
  as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build lightdm" "$LINENO" 5
15563
 
fi
15564
 
     ;; #(
15565
 
      auto) :
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
15569
 
  ac_status=$?
15570
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15571
 
  test $ac_status = 0; }; then
15572
 
  found_introspection=yes
15573
 
else
15574
 
  found_introspection=no
15575
 
fi
15576
 
                enable_introspection=$found_introspection
15577
 
     ;; #(
15578
 
  *) :
15579
 
                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
15580
 
     ;;
15581
 
esac
15582
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
15583
 
$as_echo "$found_introspection" >&6; }
15584
 
 
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
15599
 
    fi
15600
 
 
15601
 
 
15602
 
 
15603
 
 
15604
 
 
15605
 
 
15606
 
 
15607
 
 
15608
 
 
15609
 
     if test "x$found_introspection" = "xyes"; then
15610
 
  HAVE_INTROSPECTION_TRUE=
15611
 
  HAVE_INTROSPECTION_FALSE='#'
15612
 
else
15613
 
  HAVE_INTROSPECTION_TRUE='#'
15614
 
  HAVE_INTROSPECTION_FALSE=
15615
 
fi
15616
 
 
15617
 
 
15618
 
 
15619
 
 
15620
 
 
15621
 
 
15622
 
    # Check whether --enable-compile-warnings was given.
15623
 
if test "${enable_compile_warnings+set}" = set; then :
15624
 
  enableval=$enable_compile_warnings;
15625
 
else
15626
 
  enable_compile_warnings="maximum"
15627
 
fi
15628
 
 
15629
 
 
15630
 
    warnCFLAGS=
15631
 
    if test "x$GCC" != xyes; then
15632
 
        enable_compile_warnings=no
15633
 
    fi
15634
 
 
15635
 
    warning_flags=
15636
 
    realsave_CFLAGS="$CFLAGS"
15637
 
 
15638
 
    case "$enable_compile_warnings" in
15639
 
    no)
15640
 
        warning_flags=
15641
 
        ;;
15642
 
    minimum)
15643
 
        warning_flags="-Wall"
15644
 
        ;;
15645
 
    yes)
15646
 
        warning_flags="-Wall -Wmissing-prototypes"
15647
 
        ;;
15648
 
    maximum|error)
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.  */
15658
 
 
15659
 
int
15660
 
main ()
15661
 
{
15662
 
 
15663
 
  ;
15664
 
  return 0;
15665
 
}
15666
 
_ACEOF
15667
 
if ac_fn_c_try_compile "$LINENO"; then :
15668
 
  has_option=yes
15669
 
else
15670
 
  has_option=no
15671
 
fi
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"
15678
 
                fi
15679
 
                unset has_option
15680
 
                unset SAVE_CFLAGS
15681
 
        done
15682
 
        unset option
15683
 
        if test "$enable_compile_warnings" = "error" ; then
15684
 
            warning_flags="$warning_flags -Werror"
15685
 
        fi
15686
 
        ;;
15687
 
    *)
15688
 
        as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
15689
 
        ;;
15690
 
    esac
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; }
15696
 
 
15697
 
    # Check whether --enable-iso-c was given.
15698
 
if test "${enable_iso_c+set}" = set; then :
15699
 
  enableval=$enable_iso_c;
15700
 
else
15701
 
  enable_iso_c=no
15702
 
fi
15703
 
 
15704
 
 
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; }
15707
 
    complCFLAGS=
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" ;;
15713
 
        esac
15714
 
        case " $CFLAGS " in
15715
 
            *\ \        -pedantic\ \    *) ;;
15716
 
            *) complCFLAGS="$complCFLAGS -pedantic" ;;
15717
 
        esac
15718
 
        fi
15719
 
    fi
15720
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
15721
 
$as_echo "$complCFLAGS" >&6; }
15722
 
 
15723
 
    WARN_CFLAGS="$warning_flags $complCFLAGS"
15724
 
 
15725
 
 
15726
 
 
15727
 
 
15728
 
for ac_header in security/pam_appl.h
15729
 
do :
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
15734
 
_ACEOF
15735
 
 
15736
 
else
15737
 
  as_fn_error $? "PAM not found" "$LINENO" 5
15738
 
fi
15739
 
 
15740
 
done
15741
 
 
15742
 
 
15743
 
for ac_func in setresgid setresuid clearenv
15744
 
do :
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
15750
 
_ACEOF
15751
 
 
15752
 
fi
15753
 
done
15754
 
 
15755
 
 
15756
 
 
15757
 
pkg_failed=no
15758
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIGHTDM" >&5
15759
 
$as_echo_n "checking for LIGHTDM... " >&6; }
15760
 
 
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 \"
15766
 
    glib-2.0 >= 2.24
15767
 
    gio-2.0 >= 2.26
15768
 
    gio-unix-2.0
15769
 
    xdmcp
15770
 
    xcb
15771
 
\""; } >&5
15772
 
  ($PKG_CONFIG --exists --print-errors "
15773
 
    glib-2.0 >= 2.24
15774
 
    gio-2.0 >= 2.26
15775
 
    gio-unix-2.0
15776
 
    xdmcp
15777
 
    xcb
15778
 
") 2>&5
15779
 
  ac_status=$?
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 "
15783
 
    glib-2.0 >= 2.24
15784
 
    gio-2.0 >= 2.26
15785
 
    gio-unix-2.0
15786
 
    xdmcp
15787
 
    xcb
15788
 
" 2>/dev/null`
15789
 
                      test "x$?" != "x0" && pkg_failed=yes
15790
 
else
15791
 
  pkg_failed=yes
15792
 
fi
15793
 
 else
15794
 
    pkg_failed=untried
15795
 
fi
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 \"
15801
 
    glib-2.0 >= 2.24
15802
 
    gio-2.0 >= 2.26
15803
 
    gio-unix-2.0
15804
 
    xdmcp
15805
 
    xcb
15806
 
\""; } >&5
15807
 
  ($PKG_CONFIG --exists --print-errors "
15808
 
    glib-2.0 >= 2.24
15809
 
    gio-2.0 >= 2.26
15810
 
    gio-unix-2.0
15811
 
    xdmcp
15812
 
    xcb
15813
 
") 2>&5
15814
 
  ac_status=$?
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 "
15818
 
    glib-2.0 >= 2.24
15819
 
    gio-2.0 >= 2.26
15820
 
    gio-unix-2.0
15821
 
    xdmcp
15822
 
    xcb
15823
 
" 2>/dev/null`
15824
 
                      test "x$?" != "x0" && pkg_failed=yes
15825
 
else
15826
 
  pkg_failed=yes
15827
 
fi
15828
 
 else
15829
 
    pkg_failed=untried
15830
 
fi
15831
 
 
15832
 
 
15833
 
 
15834
 
if test $pkg_failed = yes; then
15835
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15836
 
$as_echo "no" >&6; }
15837
 
 
15838
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15839
 
        _pkg_short_errors_supported=yes
15840
 
else
15841
 
        _pkg_short_errors_supported=no
15842
 
fi
15843
 
        if test $_pkg_short_errors_supported = yes; then
15844
 
                LIGHTDM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15845
 
    glib-2.0 >= 2.24
15846
 
    gio-2.0 >= 2.26
15847
 
    gio-unix-2.0
15848
 
    xdmcp
15849
 
    xcb
15850
 
" 2>&1`
15851
 
        else
15852
 
                LIGHTDM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15853
 
    glib-2.0 >= 2.24
15854
 
    gio-2.0 >= 2.26
15855
 
    gio-unix-2.0
15856
 
    xdmcp
15857
 
    xcb
15858
 
" 2>&1`
15859
 
        fi
15860
 
        # Put the nasty error message in config.log where it belongs
15861
 
        echo "$LIGHTDM_PKG_ERRORS" >&5
15862
 
 
15863
 
        as_fn_error $? "Package requirements (
15864
 
    glib-2.0 >= 2.24
15865
 
    gio-2.0 >= 2.26
15866
 
    gio-unix-2.0
15867
 
    xdmcp
15868
 
    xcb
15869
 
) were not met:
15870
 
 
15871
 
$LIGHTDM_PKG_ERRORS
15872
 
 
15873
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15874
 
installed software in a non-standard prefix.
15875
 
 
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.
15887
 
 
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.
15891
 
 
15892
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15893
 
See \`config.log' for more details" "$LINENO" 5; }
15894
 
else
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; }
15899
 
 
15900
 
fi
15901
 
 
15902
 
 
15903
 
pkg_failed=no
15904
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
15905
 
$as_echo_n "checking for GLIB... " >&6; }
15906
 
 
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 \"
15912
 
    glib-2.0
15913
 
\""; } >&5
15914
 
  ($PKG_CONFIG --exists --print-errors "
15915
 
    glib-2.0
15916
 
") 2>&5
15917
 
  ac_status=$?
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 "
15921
 
    glib-2.0
15922
 
" 2>/dev/null`
15923
 
                      test "x$?" != "x0" && pkg_failed=yes
15924
 
else
15925
 
  pkg_failed=yes
15926
 
fi
15927
 
 else
15928
 
    pkg_failed=untried
15929
 
fi
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 \"
15935
 
    glib-2.0
15936
 
\""; } >&5
15937
 
  ($PKG_CONFIG --exists --print-errors "
15938
 
    glib-2.0
15939
 
") 2>&5
15940
 
  ac_status=$?
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 "
15944
 
    glib-2.0
15945
 
" 2>/dev/null`
15946
 
                      test "x$?" != "x0" && pkg_failed=yes
15947
 
else
15948
 
  pkg_failed=yes
15949
 
fi
15950
 
 else
15951
 
    pkg_failed=untried
15952
 
fi
15953
 
 
15954
 
 
15955
 
 
15956
 
if test $pkg_failed = yes; then
15957
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15958
 
$as_echo "no" >&6; }
15959
 
 
15960
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15961
 
        _pkg_short_errors_supported=yes
15962
 
else
15963
 
        _pkg_short_errors_supported=no
15964
 
fi
15965
 
        if test $_pkg_short_errors_supported = yes; then
15966
 
                GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15967
 
    glib-2.0
15968
 
" 2>&1`
15969
 
        else
15970
 
                GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15971
 
    glib-2.0
15972
 
" 2>&1`
15973
 
        fi
15974
 
        # Put the nasty error message in config.log where it belongs
15975
 
        echo "$GLIB_PKG_ERRORS" >&5
15976
 
 
15977
 
        as_fn_error $? "Package requirements (
15978
 
    glib-2.0
15979
 
) were not met:
15980
 
 
15981
 
$GLIB_PKG_ERRORS
15982
 
 
15983
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15984
 
installed software in a non-standard prefix.
15985
 
 
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.
15997
 
 
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.
16001
 
 
16002
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16003
 
See \`config.log' for more details" "$LINENO" 5; }
16004
 
else
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; }
16009
 
 
16010
 
fi
16011
 
 
16012
 
 
16013
 
pkg_failed=no
16014
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
16015
 
$as_echo_n "checking for GIO... " >&6; }
16016
 
 
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 \"
16022
 
    gio-2.0
16023
 
\""; } >&5
16024
 
  ($PKG_CONFIG --exists --print-errors "
16025
 
    gio-2.0
16026
 
") 2>&5
16027
 
  ac_status=$?
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 "
16031
 
    gio-2.0
16032
 
" 2>/dev/null`
16033
 
                      test "x$?" != "x0" && pkg_failed=yes
16034
 
else
16035
 
  pkg_failed=yes
16036
 
fi
16037
 
 else
16038
 
    pkg_failed=untried
16039
 
fi
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 \"
16045
 
    gio-2.0
16046
 
\""; } >&5
16047
 
  ($PKG_CONFIG --exists --print-errors "
16048
 
    gio-2.0
16049
 
") 2>&5
16050
 
  ac_status=$?
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 "
16054
 
    gio-2.0
16055
 
" 2>/dev/null`
16056
 
                      test "x$?" != "x0" && pkg_failed=yes
16057
 
else
16058
 
  pkg_failed=yes
16059
 
fi
16060
 
 else
16061
 
    pkg_failed=untried
16062
 
fi
16063
 
 
16064
 
 
16065
 
 
16066
 
if test $pkg_failed = yes; then
16067
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16068
 
$as_echo "no" >&6; }
16069
 
 
16070
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16071
 
        _pkg_short_errors_supported=yes
16072
 
else
16073
 
        _pkg_short_errors_supported=no
16074
 
fi
16075
 
        if test $_pkg_short_errors_supported = yes; then
16076
 
                GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16077
 
    gio-2.0
16078
 
" 2>&1`
16079
 
        else
16080
 
                GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16081
 
    gio-2.0
16082
 
" 2>&1`
16083
 
        fi
16084
 
        # Put the nasty error message in config.log where it belongs
16085
 
        echo "$GIO_PKG_ERRORS" >&5
16086
 
 
16087
 
        as_fn_error $? "Package requirements (
16088
 
    gio-2.0
16089
 
) were not met:
16090
 
 
16091
 
$GIO_PKG_ERRORS
16092
 
 
16093
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16094
 
installed software in a non-standard prefix.
16095
 
 
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.
16107
 
 
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.
16111
 
 
16112
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16113
 
See \`config.log' for more details" "$LINENO" 5; }
16114
 
else
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; }
16119
 
 
16120
 
fi
16121
 
 
16122
 
 
16123
 
pkg_failed=no
16124
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO_UNIX" >&5
16125
 
$as_echo_n "checking for GIO_UNIX... " >&6; }
16126
 
 
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 \"
16132
 
    gio-unix-2.0
16133
 
\""; } >&5
16134
 
  ($PKG_CONFIG --exists --print-errors "
16135
 
    gio-unix-2.0
16136
 
") 2>&5
16137
 
  ac_status=$?
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 "
16141
 
    gio-unix-2.0
16142
 
" 2>/dev/null`
16143
 
                      test "x$?" != "x0" && pkg_failed=yes
16144
 
else
16145
 
  pkg_failed=yes
16146
 
fi
16147
 
 else
16148
 
    pkg_failed=untried
16149
 
fi
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 \"
16155
 
    gio-unix-2.0
16156
 
\""; } >&5
16157
 
  ($PKG_CONFIG --exists --print-errors "
16158
 
    gio-unix-2.0
16159
 
") 2>&5
16160
 
  ac_status=$?
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 "
16164
 
    gio-unix-2.0
16165
 
" 2>/dev/null`
16166
 
                      test "x$?" != "x0" && pkg_failed=yes
16167
 
else
16168
 
  pkg_failed=yes
16169
 
fi
16170
 
 else
16171
 
    pkg_failed=untried
16172
 
fi
16173
 
 
16174
 
 
16175
 
 
16176
 
if test $pkg_failed = yes; then
16177
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16178
 
$as_echo "no" >&6; }
16179
 
 
16180
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16181
 
        _pkg_short_errors_supported=yes
16182
 
else
16183
 
        _pkg_short_errors_supported=no
16184
 
fi
16185
 
        if test $_pkg_short_errors_supported = yes; then
16186
 
                GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16187
 
    gio-unix-2.0
16188
 
" 2>&1`
16189
 
        else
16190
 
                GIO_UNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16191
 
    gio-unix-2.0
16192
 
" 2>&1`
16193
 
        fi
16194
 
        # Put the nasty error message in config.log where it belongs
16195
 
        echo "$GIO_UNIX_PKG_ERRORS" >&5
16196
 
 
16197
 
        as_fn_error $? "Package requirements (
16198
 
    gio-unix-2.0
16199
 
) were not met:
16200
 
 
16201
 
$GIO_UNIX_PKG_ERRORS
16202
 
 
16203
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16204
 
installed software in a non-standard prefix.
16205
 
 
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.
16217
 
 
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.
16221
 
 
16222
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16223
 
See \`config.log' for more details" "$LINENO" 5; }
16224
 
else
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; }
16229
 
 
16230
 
fi
16231
 
 
16232
 
 
16233
 
pkg_failed=no
16234
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
16235
 
$as_echo_n "checking for GOBJECT... " >&6; }
16236
 
 
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 \"
16242
 
    gobject-2.0
16243
 
\""; } >&5
16244
 
  ($PKG_CONFIG --exists --print-errors "
16245
 
    gobject-2.0
16246
 
") 2>&5
16247
 
  ac_status=$?
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 "
16251
 
    gobject-2.0
16252
 
" 2>/dev/null`
16253
 
                      test "x$?" != "x0" && pkg_failed=yes
16254
 
else
16255
 
  pkg_failed=yes
16256
 
fi
16257
 
 else
16258
 
    pkg_failed=untried
16259
 
fi
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 \"
16265
 
    gobject-2.0
16266
 
\""; } >&5
16267
 
  ($PKG_CONFIG --exists --print-errors "
16268
 
    gobject-2.0
16269
 
") 2>&5
16270
 
  ac_status=$?
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 "
16274
 
    gobject-2.0
16275
 
" 2>/dev/null`
16276
 
                      test "x$?" != "x0" && pkg_failed=yes
16277
 
else
16278
 
  pkg_failed=yes
16279
 
fi
16280
 
 else
16281
 
    pkg_failed=untried
16282
 
fi
16283
 
 
16284
 
 
16285
 
 
16286
 
if test $pkg_failed = yes; then
16287
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16288
 
$as_echo "no" >&6; }
16289
 
 
16290
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16291
 
        _pkg_short_errors_supported=yes
16292
 
else
16293
 
        _pkg_short_errors_supported=no
16294
 
fi
16295
 
        if test $_pkg_short_errors_supported = yes; then
16296
 
                GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16297
 
    gobject-2.0
16298
 
" 2>&1`
16299
 
        else
16300
 
                GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16301
 
    gobject-2.0
16302
 
" 2>&1`
16303
 
        fi
16304
 
        # Put the nasty error message in config.log where it belongs
16305
 
        echo "$GOBJECT_PKG_ERRORS" >&5
16306
 
 
16307
 
        as_fn_error $? "Package requirements (
16308
 
    gobject-2.0
16309
 
) were not met:
16310
 
 
16311
 
$GOBJECT_PKG_ERRORS
16312
 
 
16313
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16314
 
installed software in a non-standard prefix.
16315
 
 
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.
16327
 
 
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.
16331
 
 
16332
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16333
 
See \`config.log' for more details" "$LINENO" 5; }
16334
 
else
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; }
16339
 
 
16340
 
fi
16341
 
 
16342
 
 
16343
 
pkg_failed=no
16344
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
16345
 
$as_echo_n "checking for XCB... " >&6; }
16346
 
 
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 \"
16352
 
    xcb
16353
 
\""; } >&5
16354
 
  ($PKG_CONFIG --exists --print-errors "
16355
 
    xcb
16356
 
") 2>&5
16357
 
  ac_status=$?
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 "
16361
 
    xcb
16362
 
" 2>/dev/null`
16363
 
                      test "x$?" != "x0" && pkg_failed=yes
16364
 
else
16365
 
  pkg_failed=yes
16366
 
fi
16367
 
 else
16368
 
    pkg_failed=untried
16369
 
fi
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 \"
16375
 
    xcb
16376
 
\""; } >&5
16377
 
  ($PKG_CONFIG --exists --print-errors "
16378
 
    xcb
16379
 
") 2>&5
16380
 
  ac_status=$?
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 "
16384
 
    xcb
16385
 
" 2>/dev/null`
16386
 
                      test "x$?" != "x0" && pkg_failed=yes
16387
 
else
16388
 
  pkg_failed=yes
16389
 
fi
16390
 
 else
16391
 
    pkg_failed=untried
16392
 
fi
16393
 
 
16394
 
 
16395
 
 
16396
 
if test $pkg_failed = yes; then
16397
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16398
 
$as_echo "no" >&6; }
16399
 
 
16400
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16401
 
        _pkg_short_errors_supported=yes
16402
 
else
16403
 
        _pkg_short_errors_supported=no
16404
 
fi
16405
 
        if test $_pkg_short_errors_supported = yes; then
16406
 
                XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16407
 
    xcb
16408
 
" 2>&1`
16409
 
        else
16410
 
                XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16411
 
    xcb
16412
 
" 2>&1`
16413
 
        fi
16414
 
        # Put the nasty error message in config.log where it belongs
16415
 
        echo "$XCB_PKG_ERRORS" >&5
16416
 
 
16417
 
        as_fn_error $? "Package requirements (
16418
 
    xcb
16419
 
) were not met:
16420
 
 
16421
 
$XCB_PKG_ERRORS
16422
 
 
16423
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16424
 
installed software in a non-standard prefix.
16425
 
 
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.
16437
 
 
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.
16441
 
 
16442
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16443
 
See \`config.log' for more details" "$LINENO" 5; }
16444
 
else
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; }
16449
 
 
16450
 
fi
16451
 
 
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
16455
 
else
16456
 
  enable_liblightdm_gobject="auto"
16457
 
fi
16458
 
 
16459
 
compile_liblightdm_gobject=no
16460
 
if test x"$enable_liblightdm_gobject" = "xauto"; then
16461
 
 
16462
 
pkg_failed=no
16463
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLIGHTDM_GOBJECT" >&5
16464
 
$as_echo_n "checking for LIBLIGHTDM_GOBJECT... " >&6; }
16465
 
 
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 \"
16471
 
        glib-2.0
16472
 
        gio-2.0 >= 2.26
16473
 
        gio-unix-2.0
16474
 
        gobject-2.0
16475
 
        libxklavier
16476
 
        x11
16477
 
    \""; } >&5
16478
 
  ($PKG_CONFIG --exists --print-errors "
16479
 
        glib-2.0
16480
 
        gio-2.0 >= 2.26
16481
 
        gio-unix-2.0
16482
 
        gobject-2.0
16483
 
        libxklavier
16484
 
        x11
16485
 
    ") 2>&5
16486
 
  ac_status=$?
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 "
16490
 
        glib-2.0
16491
 
        gio-2.0 >= 2.26
16492
 
        gio-unix-2.0
16493
 
        gobject-2.0
16494
 
        libxklavier
16495
 
        x11
16496
 
    " 2>/dev/null`
16497
 
                      test "x$?" != "x0" && pkg_failed=yes
16498
 
else
16499
 
  pkg_failed=yes
16500
 
fi
16501
 
 else
16502
 
    pkg_failed=untried
16503
 
fi
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 \"
16509
 
        glib-2.0
16510
 
        gio-2.0 >= 2.26
16511
 
        gio-unix-2.0
16512
 
        gobject-2.0
16513
 
        libxklavier
16514
 
        x11
16515
 
    \""; } >&5
16516
 
  ($PKG_CONFIG --exists --print-errors "
16517
 
        glib-2.0
16518
 
        gio-2.0 >= 2.26
16519
 
        gio-unix-2.0
16520
 
        gobject-2.0
16521
 
        libxklavier
16522
 
        x11
16523
 
    ") 2>&5
16524
 
  ac_status=$?
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 "
16528
 
        glib-2.0
16529
 
        gio-2.0 >= 2.26
16530
 
        gio-unix-2.0
16531
 
        gobject-2.0
16532
 
        libxklavier
16533
 
        x11
16534
 
    " 2>/dev/null`
16535
 
                      test "x$?" != "x0" && pkg_failed=yes
16536
 
else
16537
 
  pkg_failed=yes
16538
 
fi
16539
 
 else
16540
 
    pkg_failed=untried
16541
 
fi
16542
 
 
16543
 
 
16544
 
 
16545
 
if test $pkg_failed = yes; then
16546
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16547
 
$as_echo "no" >&6; }
16548
 
 
16549
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16550
 
        _pkg_short_errors_supported=yes
16551
 
else
16552
 
        _pkg_short_errors_supported=no
16553
 
fi
16554
 
        if test $_pkg_short_errors_supported = yes; then
16555
 
                LIBLIGHTDM_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16556
 
        glib-2.0
16557
 
        gio-2.0 >= 2.26
16558
 
        gio-unix-2.0
16559
 
        gobject-2.0
16560
 
        libxklavier
16561
 
        x11
16562
 
    " 2>&1`
16563
 
        else
16564
 
                LIBLIGHTDM_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16565
 
        glib-2.0
16566
 
        gio-2.0 >= 2.26
16567
 
        gio-unix-2.0
16568
 
        gobject-2.0
16569
 
        libxklavier
16570
 
        x11
16571
 
    " 2>&1`
16572
 
        fi
16573
 
        # Put the nasty error message in config.log where it belongs
16574
 
        echo "$LIBLIGHTDM_GOBJECT_PKG_ERRORS" >&5
16575
 
 
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
16581
 
else
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
16587
 
fi
16588
 
elif test x"$enable_liblightdm_gobject" = "xyes"; then
16589
 
 
16590
 
pkg_failed=no
16591
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLIGHTDM_GOBJECT" >&5
16592
 
$as_echo_n "checking for LIBLIGHTDM_GOBJECT... " >&6; }
16593
 
 
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 \"
16599
 
        glib-2.0
16600
 
        gio-2.0 >= 2.26
16601
 
        gio-unix-2.0
16602
 
        gobject-2.0
16603
 
        libxklavier
16604
 
        x11
16605
 
    \""; } >&5
16606
 
  ($PKG_CONFIG --exists --print-errors "
16607
 
        glib-2.0
16608
 
        gio-2.0 >= 2.26
16609
 
        gio-unix-2.0
16610
 
        gobject-2.0
16611
 
        libxklavier
16612
 
        x11
16613
 
    ") 2>&5
16614
 
  ac_status=$?
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 "
16618
 
        glib-2.0
16619
 
        gio-2.0 >= 2.26
16620
 
        gio-unix-2.0
16621
 
        gobject-2.0
16622
 
        libxklavier
16623
 
        x11
16624
 
    " 2>/dev/null`
16625
 
                      test "x$?" != "x0" && pkg_failed=yes
16626
 
else
16627
 
  pkg_failed=yes
16628
 
fi
16629
 
 else
16630
 
    pkg_failed=untried
16631
 
fi
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 \"
16637
 
        glib-2.0
16638
 
        gio-2.0 >= 2.26
16639
 
        gio-unix-2.0
16640
 
        gobject-2.0
16641
 
        libxklavier
16642
 
        x11
16643
 
    \""; } >&5
16644
 
  ($PKG_CONFIG --exists --print-errors "
16645
 
        glib-2.0
16646
 
        gio-2.0 >= 2.26
16647
 
        gio-unix-2.0
16648
 
        gobject-2.0
16649
 
        libxklavier
16650
 
        x11
16651
 
    ") 2>&5
16652
 
  ac_status=$?
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 "
16656
 
        glib-2.0
16657
 
        gio-2.0 >= 2.26
16658
 
        gio-unix-2.0
16659
 
        gobject-2.0
16660
 
        libxklavier
16661
 
        x11
16662
 
    " 2>/dev/null`
16663
 
                      test "x$?" != "x0" && pkg_failed=yes
16664
 
else
16665
 
  pkg_failed=yes
16666
 
fi
16667
 
 else
16668
 
    pkg_failed=untried
16669
 
fi
16670
 
 
16671
 
 
16672
 
 
16673
 
if test $pkg_failed = yes; then
16674
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16675
 
$as_echo "no" >&6; }
16676
 
 
16677
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16678
 
        _pkg_short_errors_supported=yes
16679
 
else
16680
 
        _pkg_short_errors_supported=no
16681
 
fi
16682
 
        if test $_pkg_short_errors_supported = yes; then
16683
 
                LIBLIGHTDM_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16684
 
        glib-2.0
16685
 
        gio-2.0 >= 2.26
16686
 
        gio-unix-2.0
16687
 
        gobject-2.0
16688
 
        libxklavier
16689
 
        x11
16690
 
    " 2>&1`
16691
 
        else
16692
 
                LIBLIGHTDM_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16693
 
        glib-2.0
16694
 
        gio-2.0 >= 2.26
16695
 
        gio-unix-2.0
16696
 
        gobject-2.0
16697
 
        libxklavier
16698
 
        x11
16699
 
    " 2>&1`
16700
 
        fi
16701
 
        # Put the nasty error message in config.log where it belongs
16702
 
        echo "$LIBLIGHTDM_GOBJECT_PKG_ERRORS" >&5
16703
 
 
16704
 
        as_fn_error $? "Package requirements (
16705
 
        glib-2.0
16706
 
        gio-2.0 >= 2.26
16707
 
        gio-unix-2.0
16708
 
        gobject-2.0
16709
 
        libxklavier
16710
 
        x11
16711
 
    ) were not met:
16712
 
 
16713
 
$LIBLIGHTDM_GOBJECT_PKG_ERRORS
16714
 
 
16715
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16716
 
installed software in a non-standard prefix.
16717
 
 
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.
16729
 
 
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.
16733
 
 
16734
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16735
 
See \`config.log' for more details" "$LINENO" 5; }
16736
 
else
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; }
16741
 
 
16742
 
fi
16743
 
    compile_liblightdm_gobject=yes
16744
 
fi
16745
 
 if test x"$compile_liblightdm_gobject" != "xno"; then
16746
 
  COMPILE_LIBLIGHTDM_GOBJECT_TRUE=
16747
 
  COMPILE_LIBLIGHTDM_GOBJECT_FALSE='#'
16748
 
else
16749
 
  COMPILE_LIBLIGHTDM_GOBJECT_TRUE='#'
16750
 
  COMPILE_LIBLIGHTDM_GOBJECT_FALSE=
16751
 
fi
16752
 
 
16753
 
 
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
16757
 
else
16758
 
  enable_liblightdm_qt="auto"
16759
 
fi
16760
 
 
16761
 
compile_liblightdm_qt=no
16762
 
if test x"$enable_liblightdm_qt" = "xauto"; then
16763
 
 
16764
 
pkg_failed=no
16765
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLIGHTDM_QT" >&5
16766
 
$as_echo_n "checking for LIBLIGHTDM_QT... " >&6; }
16767
 
 
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 \"
16773
 
        QtCore
16774
 
        QtDBus
16775
 
        QtGui
16776
 
    \""; } >&5
16777
 
  ($PKG_CONFIG --exists --print-errors "
16778
 
        QtCore
16779
 
        QtDBus
16780
 
        QtGui
16781
 
    ") 2>&5
16782
 
  ac_status=$?
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 "
16786
 
        QtCore
16787
 
        QtDBus
16788
 
        QtGui
16789
 
    " 2>/dev/null`
16790
 
                      test "x$?" != "x0" && pkg_failed=yes
16791
 
else
16792
 
  pkg_failed=yes
16793
 
fi
16794
 
 else
16795
 
    pkg_failed=untried
16796
 
fi
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 \"
16802
 
        QtCore
16803
 
        QtDBus
16804
 
        QtGui
16805
 
    \""; } >&5
16806
 
  ($PKG_CONFIG --exists --print-errors "
16807
 
        QtCore
16808
 
        QtDBus
16809
 
        QtGui
16810
 
    ") 2>&5
16811
 
  ac_status=$?
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 "
16815
 
        QtCore
16816
 
        QtDBus
16817
 
        QtGui
16818
 
    " 2>/dev/null`
16819
 
                      test "x$?" != "x0" && pkg_failed=yes
16820
 
else
16821
 
  pkg_failed=yes
16822
 
fi
16823
 
 else
16824
 
    pkg_failed=untried
16825
 
fi
16826
 
 
16827
 
 
16828
 
 
16829
 
if test $pkg_failed = yes; then
16830
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16831
 
$as_echo "no" >&6; }
16832
 
 
16833
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16834
 
        _pkg_short_errors_supported=yes
16835
 
else
16836
 
        _pkg_short_errors_supported=no
16837
 
fi
16838
 
        if test $_pkg_short_errors_supported = yes; then
16839
 
                LIBLIGHTDM_QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16840
 
        QtCore
16841
 
        QtDBus
16842
 
        QtGui
16843
 
    " 2>&1`
16844
 
        else
16845
 
                LIBLIGHTDM_QT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16846
 
        QtCore
16847
 
        QtDBus
16848
 
        QtGui
16849
 
    " 2>&1`
16850
 
        fi
16851
 
        # Put the nasty error message in config.log where it belongs
16852
 
        echo "$LIBLIGHTDM_QT_PKG_ERRORS" >&5
16853
 
 
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
16859
 
else
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
16865
 
fi
16866
 
    QT4_BINDIR=`$PKG_CONFIG Qt --variable bindir`
16867
 
    if test -n "$ac_tool_prefix"; then
16868
 
  for ac_prog in moc-qt4 moc
16869
 
  do
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
16876
 
else
16877
 
  if test -n "$MOC"; then
16878
 
  ac_cv_prog_MOC="$MOC" # Let the user override the test.
16879
 
else
16880
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16881
 
as_dummy="$QT4_BINDIR:$PATH"
16882
 
for as_dir in $as_dummy
16883
 
do
16884
 
  IFS=$as_save_IFS
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
16890
 
    break 2
16891
 
  fi
16892
 
done
16893
 
  done
16894
 
IFS=$as_save_IFS
16895
 
 
16896
 
fi
16897
 
fi
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; }
16902
 
else
16903
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16904
 
$as_echo "no" >&6; }
16905
 
fi
16906
 
 
16907
 
 
16908
 
    test -n "$MOC" && break
16909
 
  done
16910
 
fi
16911
 
if test -z "$MOC"; then
16912
 
  ac_ct_MOC=$MOC
16913
 
  for ac_prog in moc-qt4 moc
16914
 
do
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
16921
 
else
16922
 
  if test -n "$ac_ct_MOC"; then
16923
 
  ac_cv_prog_ac_ct_MOC="$ac_ct_MOC" # Let the user override the test.
16924
 
else
16925
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16926
 
as_dummy="$QT4_BINDIR:$PATH"
16927
 
for as_dir in $as_dummy
16928
 
do
16929
 
  IFS=$as_save_IFS
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
16935
 
    break 2
16936
 
  fi
16937
 
done
16938
 
  done
16939
 
IFS=$as_save_IFS
16940
 
 
16941
 
fi
16942
 
fi
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; }
16947
 
else
16948
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16949
 
$as_echo "no" >&6; }
16950
 
fi
16951
 
 
16952
 
 
16953
 
  test -n "$ac_ct_MOC" && break
16954
 
done
16955
 
 
16956
 
  if test "x$ac_ct_MOC" = x; then
16957
 
    MOC=""
16958
 
  else
16959
 
    case $cross_compiling:$ac_tool_warned in
16960
 
yes:)
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 ;;
16964
 
esac
16965
 
    MOC=$ac_ct_MOC
16966
 
  fi
16967
 
fi
16968
 
 
16969
 
elif test x"$enable_liblightdm_qt" = "xyes"; then
16970
 
 
16971
 
pkg_failed=no
16972
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLIGHTDM_QT" >&5
16973
 
$as_echo_n "checking for LIBLIGHTDM_QT... " >&6; }
16974
 
 
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 \"
16980
 
        QtCore
16981
 
        QtDBus
16982
 
    \""; } >&5
16983
 
  ($PKG_CONFIG --exists --print-errors "
16984
 
        QtCore
16985
 
        QtDBus
16986
 
    ") 2>&5
16987
 
  ac_status=$?
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 "
16991
 
        QtCore
16992
 
        QtDBus
16993
 
    " 2>/dev/null`
16994
 
                      test "x$?" != "x0" && pkg_failed=yes
16995
 
else
16996
 
  pkg_failed=yes
16997
 
fi
16998
 
 else
16999
 
    pkg_failed=untried
17000
 
fi
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 \"
17006
 
        QtCore
17007
 
        QtDBus
17008
 
    \""; } >&5
17009
 
  ($PKG_CONFIG --exists --print-errors "
17010
 
        QtCore
17011
 
        QtDBus
17012
 
    ") 2>&5
17013
 
  ac_status=$?
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 "
17017
 
        QtCore
17018
 
        QtDBus
17019
 
    " 2>/dev/null`
17020
 
                      test "x$?" != "x0" && pkg_failed=yes
17021
 
else
17022
 
  pkg_failed=yes
17023
 
fi
17024
 
 else
17025
 
    pkg_failed=untried
17026
 
fi
17027
 
 
17028
 
 
17029
 
 
17030
 
if test $pkg_failed = yes; then
17031
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17032
 
$as_echo "no" >&6; }
17033
 
 
17034
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17035
 
        _pkg_short_errors_supported=yes
17036
 
else
17037
 
        _pkg_short_errors_supported=no
17038
 
fi
17039
 
        if test $_pkg_short_errors_supported = yes; then
17040
 
                LIBLIGHTDM_QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
17041
 
        QtCore
17042
 
        QtDBus
17043
 
    " 2>&1`
17044
 
        else
17045
 
                LIBLIGHTDM_QT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
17046
 
        QtCore
17047
 
        QtDBus
17048
 
    " 2>&1`
17049
 
        fi
17050
 
        # Put the nasty error message in config.log where it belongs
17051
 
        echo "$LIBLIGHTDM_QT_PKG_ERRORS" >&5
17052
 
 
17053
 
        as_fn_error $? "Package requirements (
17054
 
        QtCore
17055
 
        QtDBus
17056
 
    ) were not met:
17057
 
 
17058
 
$LIBLIGHTDM_QT_PKG_ERRORS
17059
 
 
17060
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17061
 
installed software in a non-standard prefix.
17062
 
 
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.
17074
 
 
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.
17078
 
 
17079
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17080
 
See \`config.log' for more details" "$LINENO" 5; }
17081
 
else
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; }
17086
 
 
17087
 
fi
17088
 
    QT4_BINDIR=`$PKG_CONFIG Qt --variable bindir`
17089
 
    if test -n "$ac_tool_prefix"; then
17090
 
  for ac_prog in moc-qt4 moc
17091
 
  do
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
17098
 
else
17099
 
  if test -n "$MOC"; then
17100
 
  ac_cv_prog_MOC="$MOC" # Let the user override the test.
17101
 
else
17102
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17103
 
as_dummy="$QT4_BINDIR:$PATH"
17104
 
for as_dir in $as_dummy
17105
 
do
17106
 
  IFS=$as_save_IFS
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
17112
 
    break 2
17113
 
  fi
17114
 
done
17115
 
  done
17116
 
IFS=$as_save_IFS
17117
 
 
17118
 
fi
17119
 
fi
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; }
17124
 
else
17125
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17126
 
$as_echo "no" >&6; }
17127
 
fi
17128
 
 
17129
 
 
17130
 
    test -n "$MOC" && break
17131
 
  done
17132
 
fi
17133
 
if test -z "$MOC"; then
17134
 
  ac_ct_MOC=$MOC
17135
 
  for ac_prog in moc-qt4 moc
17136
 
do
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
17143
 
else
17144
 
  if test -n "$ac_ct_MOC"; then
17145
 
  ac_cv_prog_ac_ct_MOC="$ac_ct_MOC" # Let the user override the test.
17146
 
else
17147
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17148
 
as_dummy="$QT4_BINDIR:$PATH"
17149
 
for as_dir in $as_dummy
17150
 
do
17151
 
  IFS=$as_save_IFS
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
17157
 
    break 2
17158
 
  fi
17159
 
done
17160
 
  done
17161
 
IFS=$as_save_IFS
17162
 
 
17163
 
fi
17164
 
fi
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; }
17169
 
else
17170
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17171
 
$as_echo "no" >&6; }
17172
 
fi
17173
 
 
17174
 
 
17175
 
  test -n "$ac_ct_MOC" && break
17176
 
done
17177
 
 
17178
 
  if test "x$ac_ct_MOC" = x; then
17179
 
    MOC=""
17180
 
  else
17181
 
    case $cross_compiling:$ac_tool_warned in
17182
 
yes:)
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 ;;
17186
 
esac
17187
 
    MOC=$ac_ct_MOC
17188
 
  fi
17189
 
fi
17190
 
 
17191
 
    compile_liblightdm_qt=yes
17192
 
fi
17193
 
 if test x"$compile_liblightdm_qt" != "xno"; then
17194
 
  COMPILE_LIBLIGHTDM_QT_TRUE=
17195
 
  COMPILE_LIBLIGHTDM_QT_FALSE='#'
17196
 
else
17197
 
  COMPILE_LIBLIGHTDM_QT_TRUE='#'
17198
 
  COMPILE_LIBLIGHTDM_QT_FALSE=
17199
 
fi
17200
 
 
17201
 
 
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;
17207
 
else
17208
 
  enable_tests="yes"
17209
 
fi
17210
 
 
17211
 
 if test x"$enable_tests" != "xno"; then
17212
 
  COMPILE_TESTS_TRUE=
17213
 
  COMPILE_TESTS_FALSE='#'
17214
 
else
17215
 
  COMPILE_TESTS_TRUE='#'
17216
 
  COMPILE_TESTS_FALSE=
17217
 
fi
17218
 
 
17219
 
 
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
17226
 
else
17227
 
  case $GLIB_GENMARSHAL in
17228
 
  [\\/]* | ?:[\\/]*)
17229
 
  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
17230
 
  ;;
17231
 
  *)
17232
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17233
 
for as_dir in $PATH
17234
 
do
17235
 
  IFS=$as_save_IFS
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
17241
 
    break 2
17242
 
  fi
17243
 
done
17244
 
  done
17245
 
IFS=$as_save_IFS
17246
 
 
17247
 
  ;;
17248
 
esac
17249
 
fi
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; }
17254
 
else
17255
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17256
 
$as_echo "no" >&6; }
17257
 
fi
17258
 
 
17259
 
 
17260
 
 
17261
 
 
17262
 
USER_SESSION=default
17263
 
 
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"
17268
 
    fi
17269
 
 
17270
 
fi
17271
 
 
17272
 
 
17273
 
 
17274
 
cat >>confdefs.h <<_ACEOF
17275
 
#define USER_SESSION "$USER_SESSION"
17276
 
_ACEOF
17277
 
 
17278
 
 
17279
 
GREETER_SESSION=default
17280
 
 
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"
17285
 
    fi
17286
 
 
17287
 
fi
17288
 
 
17289
 
 
17290
 
 
17291
 
cat >>confdefs.h <<_ACEOF
17292
 
#define GREETER_SESSION "$GREETER_SESSION"
17293
 
_ACEOF
17294
 
 
17295
 
 
17296
 
GREETER_USER=lightdm
17297
 
 
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"
17302
 
    fi
17303
 
 
17304
 
fi
17305
 
 
17306
 
 
17307
 
 
17308
 
cat >>confdefs.h <<_ACEOF
17309
 
#define GREETER_USER "$GREETER_USER"
17310
 
_ACEOF
17311
 
 
17312
 
 
17313
 
 
17314
 
 
17315
 
 
17316
 
 
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
17323
 
else
17324
 
  case $GTKDOC_CHECK in
17325
 
  [\\/]* | ?:[\\/]*)
17326
 
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
17327
 
  ;;
17328
 
  *)
17329
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17330
 
for as_dir in $PATH
17331
 
do
17332
 
  IFS=$as_save_IFS
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
17338
 
    break 2
17339
 
  fi
17340
 
done
17341
 
  done
17342
 
IFS=$as_save_IFS
17343
 
 
17344
 
  ;;
17345
 
esac
17346
 
fi
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; }
17351
 
else
17352
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17353
 
$as_echo "no" >&6; }
17354
 
fi
17355
 
 
17356
 
 
17357
 
  for ac_prog in gtkdoc-rebase
17358
 
do
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
17365
 
else
17366
 
  case $GTKDOC_REBASE in
17367
 
  [\\/]* | ?:[\\/]*)
17368
 
  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
17369
 
  ;;
17370
 
  *)
17371
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17372
 
for as_dir in $PATH
17373
 
do
17374
 
  IFS=$as_save_IFS
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
17380
 
    break 2
17381
 
  fi
17382
 
done
17383
 
  done
17384
 
IFS=$as_save_IFS
17385
 
 
17386
 
  ;;
17387
 
esac
17388
 
fi
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; }
17393
 
else
17394
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17395
 
$as_echo "no" >&6; }
17396
 
fi
17397
 
 
17398
 
 
17399
 
  test -n "$GTKDOC_REBASE" && break
17400
 
done
17401
 
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
17402
 
 
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
17409
 
else
17410
 
  case $GTKDOC_MKPDF in
17411
 
  [\\/]* | ?:[\\/]*)
17412
 
  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
17413
 
  ;;
17414
 
  *)
17415
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17416
 
for as_dir in $PATH
17417
 
do
17418
 
  IFS=$as_save_IFS
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
17424
 
    break 2
17425
 
  fi
17426
 
done
17427
 
  done
17428
 
IFS=$as_save_IFS
17429
 
 
17430
 
  ;;
17431
 
esac
17432
 
fi
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; }
17437
 
else
17438
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17439
 
$as_echo "no" >&6; }
17440
 
fi
17441
 
 
17442
 
 
17443
 
 
17444
 
 
17445
 
# Check whether --with-html-dir was given.
17446
 
if test "${with_html_dir+set}" = set; then :
17447
 
  withval=$with_html_dir;
17448
 
else
17449
 
  with_html_dir='${datadir}/gtk-doc/html'
17450
 
fi
17451
 
 
17452
 
  HTML_DIR="$with_html_dir"
17453
 
 
17454
 
 
17455
 
    # Check whether --enable-gtk-doc was given.
17456
 
if test "${enable_gtk_doc+set}" = set; then :
17457
 
  enableval=$enable_gtk_doc;
17458
 
else
17459
 
  enable_gtk_doc=no
17460
 
fi
17461
 
 
17462
 
 
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
17467
 
  ac_status=$?
17468
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17469
 
  test $ac_status = 0; }; then
17470
 
  :
17471
 
else
17472
 
  as_fn_error $? "gtk-doc not installed and --enable-gtk-doc requested" "$LINENO" 5
17473
 
fi
17474
 
        if test "x$PACKAGE_NAME" != "xglib"; then
17475
 
 
17476
 
pkg_failed=no
17477
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
17478
 
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
17479
 
 
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
17486
 
  ac_status=$?
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
17491
 
else
17492
 
  pkg_failed=yes
17493
 
fi
17494
 
 else
17495
 
    pkg_failed=untried
17496
 
fi
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
17503
 
  ac_status=$?
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
17508
 
else
17509
 
  pkg_failed=yes
17510
 
fi
17511
 
 else
17512
 
    pkg_failed=untried
17513
 
fi
17514
 
 
17515
 
 
17516
 
 
17517
 
if test $pkg_failed = yes; then
17518
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17519
 
$as_echo "no" >&6; }
17520
 
 
17521
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17522
 
        _pkg_short_errors_supported=yes
17523
 
else
17524
 
        _pkg_short_errors_supported=no
17525
 
fi
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`
17528
 
        else
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`
17530
 
        fi
17531
 
        # Put the nasty error message in config.log where it belongs
17532
 
        echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
17533
 
 
17534
 
        as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
17535
 
 
17536
 
$GTKDOC_DEPS_PKG_ERRORS
17537
 
 
17538
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17539
 
installed software in a non-standard prefix.
17540
 
 
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.
17552
 
 
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.
17556
 
 
17557
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17558
 
See \`config.log' for more details" "$LINENO" 5; }
17559
 
else
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; }
17564
 
 
17565
 
fi
17566
 
    fi
17567
 
  fi
17568
 
 
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; }
17573
 
 
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;
17577
 
else
17578
 
  enable_gtk_doc_html=yes
17579
 
fi
17580
 
 
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;
17584
 
else
17585
 
  enable_gtk_doc_pdf=no
17586
 
fi
17587
 
 
17588
 
 
17589
 
  if test -z "$GTKDOC_MKPDF"; then
17590
 
    enable_gtk_doc_pdf=no
17591
 
  fi
17592
 
 
17593
 
 
17594
 
   if test x$enable_gtk_doc = xyes; then
17595
 
  ENABLE_GTK_DOC_TRUE=
17596
 
  ENABLE_GTK_DOC_FALSE='#'
17597
 
else
17598
 
  ENABLE_GTK_DOC_TRUE='#'
17599
 
  ENABLE_GTK_DOC_FALSE=
17600
 
fi
17601
 
 
17602
 
   if test x$enable_gtk_doc_html = xyes; then
17603
 
  GTK_DOC_BUILD_HTML_TRUE=
17604
 
  GTK_DOC_BUILD_HTML_FALSE='#'
17605
 
else
17606
 
  GTK_DOC_BUILD_HTML_TRUE='#'
17607
 
  GTK_DOC_BUILD_HTML_FALSE=
17608
 
fi
17609
 
 
17610
 
   if test x$enable_gtk_doc_pdf = xyes; then
17611
 
  GTK_DOC_BUILD_PDF_TRUE=
17612
 
  GTK_DOC_BUILD_PDF_FALSE='#'
17613
 
else
17614
 
  GTK_DOC_BUILD_PDF_TRUE='#'
17615
 
  GTK_DOC_BUILD_PDF_FALSE=
17616
 
fi
17617
 
 
17618
 
   if test -n "$LIBTOOL"; then
17619
 
  GTK_DOC_USE_LIBTOOL_TRUE=
17620
 
  GTK_DOC_USE_LIBTOOL_FALSE='#'
17621
 
else
17622
 
  GTK_DOC_USE_LIBTOOL_TRUE='#'
17623
 
  GTK_DOC_USE_LIBTOOL_FALSE=
17624
 
fi
17625
 
 
17626
 
   if test -n "$GTKDOC_REBASE"; then
17627
 
  GTK_DOC_USE_REBASE_TRUE=
17628
 
  GTK_DOC_USE_REBASE_FALSE='#'
17629
 
else
17630
 
  GTK_DOC_USE_REBASE_TRUE='#'
17631
 
  GTK_DOC_USE_REBASE_FALSE=
17632
 
fi
17633
 
 
17634
 
 
17635
 
 
17636
 
 
17637
 
 
17638
 
 
17639
 
 
17640
 
 
17641
 
# Check whether --with-help-dir was given.
17642
 
if test "${with_help_dir+set}" = set; then :
17643
 
  withval=$with_help_dir;
17644
 
else
17645
 
  with_help_dir='${datadir}/help'
17646
 
fi
17647
 
 
17648
 
HELP_DIR="$with_help_dir"
17649
 
 
17650
 
 
17651
 
 
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
17658
 
else
17659
 
  if test -n "$ITSTOOL"; then
17660
 
  ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
17661
 
else
17662
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17663
 
for as_dir in $PATH
17664
 
do
17665
 
  IFS=$as_save_IFS
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
17671
 
    break 2
17672
 
  fi
17673
 
done
17674
 
  done
17675
 
IFS=$as_save_IFS
17676
 
 
17677
 
fi
17678
 
fi
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; }
17683
 
else
17684
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17685
 
$as_echo "no" >&6; }
17686
 
fi
17687
 
 
17688
 
 
17689
 
if test x"$ITSTOOL" = x; then
17690
 
  as_fn_error $? "itstool not found" "$LINENO" 5
17691
 
fi
17692
 
 
17693
 
 
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
17700
 
else
17701
 
  if test -n "$XMLLINT"; then
17702
 
  ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
17703
 
else
17704
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17705
 
for as_dir in $PATH
17706
 
do
17707
 
  IFS=$as_save_IFS
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
17713
 
    break 2
17714
 
  fi
17715
 
done
17716
 
  done
17717
 
IFS=$as_save_IFS
17718
 
 
17719
 
fi
17720
 
fi
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; }
17725
 
else
17726
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17727
 
$as_echo "no" >&6; }
17728
 
fi
17729
 
 
17730
 
 
17731
 
if test x"$XMLLINT" = x; then
17732
 
  as_fn_error $? "xmllint not found" "$LINENO" 5
17733
 
fi
17734
 
 
17735
 
YELP_HELP_RULES='
17736
 
HELP_ID ?=
17737
 
HELP_POT ?=
17738
 
HELP_FILES ?=
17739
 
HELP_EXTRA ?=
17740
 
HELP_MEDIA ?=
17741
 
HELP_LINGUAS ?=
17742
 
 
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)
17752
 
 
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 $@);
17758
 
 
17759
 
all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
17760
 
 
17761
 
.PHONY: pot
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)
17765
 
 
17766
 
.PHONY: repo
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)"; \
17771
 
        done
17772
 
 
17773
 
$(_HELP_POFILES):
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 $@)"); \
17780
 
        else \
17781
 
          (cd "$(dir $@)" && \
17782
 
            $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
17783
 
            msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \
17784
 
            rm "$(notdir $@).tmp"); \
17785
 
        fi
17786
 
 
17787
 
$(_HELP_MOFILES): %.mo: %.po
17788
 
        $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
17789
 
        $(AM_V_GEN)msgfmt -o "$@" "$<"
17790
 
 
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))) && \
17800
 
        touch "$@"
17801
 
 
17802
 
.PHONY: clean-help
17803
 
mostlyclean-am: $(if $(HELP_ID),clean-help)
17804
 
clean-help:
17805
 
        rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
17806
 
 
17807
 
EXTRA_DIST ?=
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))))
17812
 
 
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; \
17820
 
          done; \
17821
 
        done; \
17822
 
 
17823
 
.PHONY: check-help
17824
 
check: check-help
17825
 
check-help:
17826
 
        for lc in C $(_HELP_LINGUAS); do \
17827
 
          if test -d "$$lc"; \
17828
 
            then d=; \
17829
 
            xmlpath="$$lc"; \
17830
 
          else \
17831
 
            d="$(srcdir)/"; \
17832
 
            xmlpath="$$lc:$(srcdir)/$$lc"; \
17833
 
          fi; \
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"; \
17837
 
          done; \
17838
 
        done
17839
 
 
17840
 
 
17841
 
.PHONY: install-help
17842
 
install-data-am: $(if $(HELP_ID),install-help)
17843
 
install-help:
17844
 
        @for lc in C $(_HELP_LINGUAS); do \
17845
 
          $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
17846
 
        done
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; \
17853
 
        done; done
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; \
17861
 
        done
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; \
17875
 
            fi; \
17876
 
          done; \
17877
 
        done
17878
 
 
17879
 
.PHONY: uninstall-help
17880
 
uninstall-am: $(if $(HELP_ID),uninstall-help)
17881
 
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`"; \
17886
 
        done; done
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`"; \
17892
 
        done
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"; \
17898
 
          done; \
17899
 
        done;
17900
 
'
17901
 
 
17902
 
 
17903
 
 
17904
 
 
17905
 
 
17906
 
 
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
17912
 
else
17913
 
  USE_NLS=yes
17914
 
fi
17915
 
 
17916
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17917
 
$as_echo "$USE_NLS" >&6; }
17918
 
 
17919
 
 
17920
 
 
17921
 
 
17922
 
case "$am__api_version" in
17923
 
    1.01234)
17924
 
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
17925
 
    ;;
17926
 
    *)
17927
 
    ;;
17928
 
esac
17929
 
 
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
17940
 
fi
17941
 
 
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
17948
 
else
17949
 
  case $INTLTOOL_UPDATE in
17950
 
  [\\/]* | ?:[\\/]*)
17951
 
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
17952
 
  ;;
17953
 
  *)
17954
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17955
 
for as_dir in $PATH
17956
 
do
17957
 
  IFS=$as_save_IFS
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
17963
 
    break 2
17964
 
  fi
17965
 
done
17966
 
  done
17967
 
IFS=$as_save_IFS
17968
 
 
17969
 
  ;;
17970
 
esac
17971
 
fi
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; }
17976
 
else
17977
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17978
 
$as_echo "no" >&6; }
17979
 
fi
17980
 
 
17981
 
 
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
17988
 
else
17989
 
  case $INTLTOOL_MERGE in
17990
 
  [\\/]* | ?:[\\/]*)
17991
 
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
17992
 
  ;;
17993
 
  *)
17994
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17995
 
for as_dir in $PATH
17996
 
do
17997
 
  IFS=$as_save_IFS
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
18003
 
    break 2
18004
 
  fi
18005
 
done
18006
 
  done
18007
 
IFS=$as_save_IFS
18008
 
 
18009
 
  ;;
18010
 
esac
18011
 
fi
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; }
18016
 
else
18017
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18018
 
$as_echo "no" >&6; }
18019
 
fi
18020
 
 
18021
 
 
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
18028
 
else
18029
 
  case $INTLTOOL_EXTRACT in
18030
 
  [\\/]* | ?:[\\/]*)
18031
 
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
18032
 
  ;;
18033
 
  *)
18034
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18035
 
for as_dir in $PATH
18036
 
do
18037
 
  IFS=$as_save_IFS
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
18043
 
    break 2
18044
 
  fi
18045
 
done
18046
 
  done
18047
 
IFS=$as_save_IFS
18048
 
 
18049
 
  ;;
18050
 
esac
18051
 
fi
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; }
18056
 
else
18057
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18058
 
$as_echo "no" >&6; }
18059
 
fi
18060
 
 
18061
 
 
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
18064
 
fi
18065
 
 
18066
 
if test -z "$AM_DEFAULT_VERBOSITY"; then
18067
 
  AM_DEFAULT_VERBOSITY=1
18068
 
fi
18069
 
 
18070
 
 
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 " $@;'
18074
 
 
18075
 
 
18076
 
 
18077
 
 
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'
18081
 
 
18082
 
 
18083
 
 
18084
 
 
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 $< $@'
18098
 
else
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'
18100
 
fi
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 $< $@'
18108
 
 
18109
 
 
18110
 
 
18111
 
 
18112
 
 
18113
 
 
18114
 
 
18115
 
 
18116
 
 
18117
 
 
18118
 
 
18119
 
 
18120
 
 
18121
 
 
18122
 
 
18123
 
 
18124
 
 
18125
 
 
18126
 
 
18127
 
 
18128
 
 
18129
 
 
18130
 
 
18131
 
 
18132
 
 
18133
 
 
18134
 
 
18135
 
 
18136
 
 
18137
 
 
18138
 
 
18139
 
 
18140
 
 
18141
 
 
18142
 
 
18143
 
 
18144
 
 
18145
 
 
18146
 
 
18147
 
 
18148
 
 
18149
 
 
18150
 
 
18151
 
 
18152
 
 
18153
 
 
18154
 
 
18155
 
 
18156
 
 
18157
 
 
18158
 
 
18159
 
 
18160
 
 
18161
 
 
18162
 
 
18163
 
 
18164
 
 
18165
 
 
18166
 
 
18167
 
 
18168
 
 
18169
 
 
18170
 
 
18171
 
 
18172
 
 
18173
 
 
18174
 
 
18175
 
 
18176
 
 
18177
 
 
18178
 
 
18179
 
 
18180
 
 
18181
 
 
18182
 
 
18183
 
 
18184
 
 
18185
 
 
18186
 
 
18187
 
 
18188
 
 
18189
 
 
18190
 
 
18191
 
 
18192
 
 
18193
 
 
18194
 
 
18195
 
 
18196
 
 
18197
 
 
18198
 
 
18199
 
 
18200
 
 
18201
 
 
18202
 
 
18203
 
 
18204
 
 
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
18212
 
else
18213
 
  case $XGETTEXT in
18214
 
  [\\/]* | ?:[\\/]*)
18215
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
18216
 
  ;;
18217
 
  *)
18218
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18219
 
for as_dir in $PATH
18220
 
do
18221
 
  IFS=$as_save_IFS
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
18227
 
    break 2
18228
 
  fi
18229
 
done
18230
 
  done
18231
 
IFS=$as_save_IFS
18232
 
 
18233
 
  ;;
18234
 
esac
18235
 
fi
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; }
18240
 
else
18241
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18242
 
$as_echo "no" >&6; }
18243
 
fi
18244
 
 
18245
 
 
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
18252
 
else
18253
 
  case $MSGMERGE in
18254
 
  [\\/]* | ?:[\\/]*)
18255
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
18256
 
  ;;
18257
 
  *)
18258
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18259
 
for as_dir in $PATH
18260
 
do
18261
 
  IFS=$as_save_IFS
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
18267
 
    break 2
18268
 
  fi
18269
 
done
18270
 
  done
18271
 
IFS=$as_save_IFS
18272
 
 
18273
 
  ;;
18274
 
esac
18275
 
fi
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; }
18280
 
else
18281
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18282
 
$as_echo "no" >&6; }
18283
 
fi
18284
 
 
18285
 
 
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
18292
 
else
18293
 
  case $MSGFMT in
18294
 
  [\\/]* | ?:[\\/]*)
18295
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
18296
 
  ;;
18297
 
  *)
18298
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18299
 
for as_dir in $PATH
18300
 
do
18301
 
  IFS=$as_save_IFS
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
18307
 
    break 2
18308
 
  fi
18309
 
done
18310
 
  done
18311
 
IFS=$as_save_IFS
18312
 
 
18313
 
  ;;
18314
 
esac
18315
 
fi
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; }
18320
 
else
18321
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18322
 
$as_echo "no" >&6; }
18323
 
fi
18324
 
 
18325
 
 
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
18332
 
else
18333
 
  case $GMSGFMT in
18334
 
  [\\/]* | ?:[\\/]*)
18335
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
18336
 
  ;;
18337
 
  *)
18338
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18339
 
for as_dir in $PATH
18340
 
do
18341
 
  IFS=$as_save_IFS
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
18347
 
    break 2
18348
 
  fi
18349
 
done
18350
 
  done
18351
 
IFS=$as_save_IFS
18352
 
 
18353
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
18354
 
  ;;
18355
 
esac
18356
 
fi
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; }
18361
 
else
18362
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18363
 
$as_echo "no" >&6; }
18364
 
fi
18365
 
 
18366
 
 
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
18369
 
fi
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
18375
 
fi
18376
 
 
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
18383
 
else
18384
 
  case $INTLTOOL_PERL in
18385
 
  [\\/]* | ?:[\\/]*)
18386
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
18387
 
  ;;
18388
 
  *)
18389
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18390
 
for as_dir in $PATH
18391
 
do
18392
 
  IFS=$as_save_IFS
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
18398
 
    break 2
18399
 
  fi
18400
 
done
18401
 
  done
18402
 
IFS=$as_save_IFS
18403
 
 
18404
 
  ;;
18405
 
esac
18406
 
fi
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; }
18411
 
else
18412
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18413
 
$as_echo "no" >&6; }
18414
 
fi
18415
 
 
18416
 
 
18417
 
if test -z "$INTLTOOL_PERL"; then
18418
 
   as_fn_error $? "perl not found" "$LINENO" 5
18419
 
fi
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
18425
 
else
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; }
18429
 
fi
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; }
18436
 
   else
18437
 
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
18438
 
   fi
18439
 
fi
18440
 
 
18441
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
18442
 
 
18443
 
 
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.  */
18449
 
 
18450
 
int
18451
 
main ()
18452
 
{
18453
 
extern int _nl_msg_cat_cntr;
18454
 
                       return _nl_msg_cat_cntr
18455
 
  ;
18456
 
  return 0;
18457
 
}
18458
 
_ACEOF
18459
 
if ac_fn_c_try_link "$LINENO"; then :
18460
 
  DATADIRNAME=share
18461
 
else
18462
 
  case $host in
18463
 
    *-*-solaris*)
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 :
18466
 
  DATADIRNAME=share
18467
 
else
18468
 
  DATADIRNAME=lib
18469
 
fi
18470
 
 
18471
 
    ;;
18472
 
    *)
18473
 
    DATADIRNAME=lib
18474
 
    ;;
18475
 
    esac
18476
 
fi
18477
 
rm -f core conftest.err conftest.$ac_objext \
18478
 
    conftest$ac_exeext conftest.$ac_ext
18479
 
fi
18480
 
 
18481
 
 
18482
 
 
18483
 
 
18484
 
 
18485
 
GETTEXT_PACKAGE=lightdm
18486
 
 
18487
 
 
18488
 
cat >>confdefs.h <<_ACEOF
18489
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
18490
 
_ACEOF
18491
 
 
18492
 
 
18493
 
 
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"
18495
 
 
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.
18502
 
#
18503
 
# config.status only pays attention to the cache file if you give it
18504
 
# the --recheck option to rerun configure.
18505
 
#
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.
18509
 
 
18510
 
_ACEOF
18511
 
 
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.
18517
 
(
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
18520
 
    case $ac_val in #(
18521
 
    *${as_nl}*)
18522
 
      case $ac_var in #(
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;} ;;
18525
 
      esac
18526
 
      case $ac_var in #(
18527
 
      _ | IFS | as_nl) ;; #(
18528
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18529
 
      *) { eval $ac_var=; unset $ac_var;} ;;
18530
 
      esac ;;
18531
 
    esac
18532
 
  done
18533
 
 
18534
 
  (set) 2>&1 |
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 \.
18539
 
      sed -n \
18540
 
        "s/'/'\\\\''/g;
18541
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18542
 
      ;; #(
18543
 
    *)
18544
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
18545
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18546
 
      ;;
18547
 
    esac |
18548
 
    sort
18549
 
) |
18550
 
  sed '
18551
 
     /^ac_cv_env_/b end
18552
 
     t clear
18553
 
     :clear
18554
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18555
 
     t end
18556
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18557
 
     :end' >>confcache
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"
18565
 
      else
18566
 
        case $cache_file in #(
18567
 
        */* | ?:*)
18568
 
          mv -f confcache "$cache_file"$$ &&
18569
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
18570
 
        *)
18571
 
          mv -f confcache "$cache_file" ;;
18572
 
        esac
18573
 
      fi
18574
 
    fi
18575
 
  else
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;}
18578
 
  fi
18579
 
fi
18580
 
rm -f confcache
18581
 
 
18582
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
18583
 
# Let make expand exec_prefix.
18584
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18585
 
 
18586
 
DEFS=-DHAVE_CONFIG_H
18587
 
 
18588
 
ac_libobjs=
18589
 
ac_ltlibobjs=
18590
 
U=
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'
18599
 
done
18600
 
LIBOBJS=$ac_libobjs
18601
 
 
18602
 
LTLIBOBJS=$ac_ltlibobjs
18603
 
 
18604
 
 
18605
 
 if test -n "$EXEEXT"; then
18606
 
  am__EXEEXT_TRUE=
18607
 
  am__EXEEXT_FALSE='#'
18608
 
else
18609
 
  am__EXEEXT_TRUE='#'
18610
 
  am__EXEEXT_FALSE=
18611
 
fi
18612
 
 
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
18616
 
fi
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
18620
 
fi
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
18624
 
fi
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
18628
 
fi
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
18632
 
fi
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
18636
 
fi
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
18640
 
fi
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
18644
 
fi
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
18648
 
fi
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
18652
 
fi
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
18656
 
fi
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
18660
 
fi
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
18664
 
fi
18665
 
 
18666
 
  ac_config_commands="$ac_config_commands po/stamp-it"
18667
 
 
18668
 
 
18669
 
 
18670
 
: "${CONFIG_STATUS=./config.status}"
18671
 
ac_write_fail=0
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;}
18676
 
as_write_fail=0
18677
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18678
 
#! $SHELL
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.
18683
 
 
18684
 
debug=false
18685
 
ac_cs_recheck=false
18686
 
ac_cs_silent=false
18687
 
 
18688
 
SHELL=\${CONFIG_SHELL-$SHELL}
18689
 
export SHELL
18690
 
_ASEOF
18691
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18692
 
## -------------------- ##
18693
 
## M4sh Initialization. ##
18694
 
## -------------------- ##
18695
 
 
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 :
18699
 
  emulate sh
18700
 
  NULLCMD=:
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
18705
 
else
18706
 
  case `(set -o) 2>/dev/null` in #(
18707
 
  *posix*) :
18708
 
    set -o posix ;; #(
18709
 
  *) :
18710
 
     ;;
18711
 
esac
18712
 
fi
18713
 
 
18714
 
 
18715
 
as_nl='
18716
 
'
18717
 
export as_nl
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'
18731
 
else
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'
18735
 
  else
18736
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18737
 
    as_echo_n_body='eval
18738
 
      arg=$1;
18739
 
      case $arg in #(
18740
 
      *"$as_nl"*)
18741
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
18742
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18743
 
      esac;
18744
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18745
 
    '
18746
 
    export as_echo_n_body
18747
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
18748
 
  fi
18749
 
  export as_echo_body
18750
 
  as_echo='sh -c $as_echo_body as_echo'
18751
 
fi
18752
 
 
18753
 
# The user is always right.
18754
 
if test "${PATH_SEPARATOR+set}" != set; then
18755
 
  PATH_SEPARATOR=:
18756
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18757
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18758
 
      PATH_SEPARATOR=';'
18759
 
  }
18760
 
fi
18761
 
 
18762
 
 
18763
 
# IFS
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.)
18768
 
IFS=" ""        $as_nl"
18769
 
 
18770
 
# Find who we are.  Look in the path if we contain no directory separator.
18771
 
as_myself=
18772
 
case $0 in #((
18773
 
  *[\\/]* ) as_myself=$0 ;;
18774
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18775
 
for as_dir in $PATH
18776
 
do
18777
 
  IFS=$as_save_IFS
18778
 
  test -z "$as_dir" && as_dir=.
18779
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18780
 
  done
18781
 
IFS=$as_save_IFS
18782
 
 
18783
 
     ;;
18784
 
esac
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
18788
 
  as_myself=$0
18789
 
fi
18790
 
if test ! -f "$as_myself"; then
18791
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18792
 
  exit 1
18793
 
fi
18794
 
 
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 || :
18802
 
done
18803
 
PS1='$ '
18804
 
PS2='> '
18805
 
PS4='+ '
18806
 
 
18807
 
# NLS nuisances.
18808
 
LC_ALL=C
18809
 
export LC_ALL
18810
 
LANGUAGE=C
18811
 
export LANGUAGE
18812
 
 
18813
 
# CDPATH.
18814
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18815
 
 
18816
 
 
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.
18822
 
as_fn_error ()
18823
 
{
18824
 
  as_status=$1; test $as_status -eq 0 && as_status=1
18825
 
  if test "$4"; then
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
18828
 
  fi
18829
 
  $as_echo "$as_me: error: $2" >&2
18830
 
  as_fn_exit $as_status
18831
 
} # as_fn_error
18832
 
 
18833
 
 
18834
 
# as_fn_set_status STATUS
18835
 
# -----------------------
18836
 
# Set $? to STATUS, without forking.
18837
 
as_fn_set_status ()
18838
 
{
18839
 
  return $1
18840
 
} # as_fn_set_status
18841
 
 
18842
 
# as_fn_exit STATUS
18843
 
# -----------------
18844
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18845
 
as_fn_exit ()
18846
 
{
18847
 
  set +e
18848
 
  as_fn_set_status $1
18849
 
  exit $1
18850
 
} # as_fn_exit
18851
 
 
18852
 
# as_fn_unset VAR
18853
 
# ---------------
18854
 
# Portably unset VAR.
18855
 
as_fn_unset ()
18856
 
{
18857
 
  { eval $1=; unset $1;}
18858
 
}
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
18865
 
# implementations.
18866
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18867
 
  eval 'as_fn_append ()
18868
 
  {
18869
 
    eval $1+=\$2
18870
 
  }'
18871
 
else
18872
 
  as_fn_append ()
18873
 
  {
18874
 
    eval $1=\$$1\$2
18875
 
  }
18876
 
fi # as_fn_append
18877
 
 
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 ()
18885
 
  {
18886
 
    as_val=$(( $* ))
18887
 
  }'
18888
 
else
18889
 
  as_fn_arith ()
18890
 
  {
18891
 
    as_val=`expr "$@" || test $? -eq 1`
18892
 
  }
18893
 
fi # as_fn_arith
18894
 
 
18895
 
 
18896
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
18897
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
18898
 
  as_expr=expr
18899
 
else
18900
 
  as_expr=false
18901
 
fi
18902
 
 
18903
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18904
 
  as_basename=basename
18905
 
else
18906
 
  as_basename=false
18907
 
fi
18908
 
 
18909
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18910
 
  as_dirname=dirname
18911
 
else
18912
 
  as_dirname=false
18913
 
fi
18914
 
 
18915
 
as_me=`$as_basename -- "$0" ||
18916
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18917
 
         X"$0" : 'X\(//\)$' \| \
18918
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18919
 
$as_echo X/"$0" |
18920
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
18921
 
            s//\1/
18922
 
            q
18923
 
          }
18924
 
          /^X\/\(\/\/\)$/{
18925
 
            s//\1/
18926
 
            q
18927
 
          }
18928
 
          /^X\/\(\/\).*/{
18929
 
            s//\1/
18930
 
            q
18931
 
          }
18932
 
          s/.*/./; q'`
18933
 
 
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
18940
 
 
18941
 
ECHO_C= ECHO_N= ECHO_T=
18942
 
case `echo -n x` in #(((((
18943
 
-n*)
18944
 
  case `echo 'xy\c'` in
18945
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
18946
 
  xy)  ECHO_C='\c';;
18947
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18948
 
       ECHO_T=' ';;
18949
 
  esac;;
18950
 
*)
18951
 
  ECHO_N='-n';;
18952
 
esac
18953
 
 
18954
 
rm -f conf$$ conf$$.exe conf$$.file
18955
 
if test -d conf$$.dir; then
18956
 
  rm -f conf$$.dir/conf$$.file
18957
 
else
18958
 
  rm -f conf$$.dir
18959
 
  mkdir conf$$.dir 2>/dev/null
18960
 
fi
18961
 
if (echo >conf$$.file) 2>/dev/null; then
18962
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
18963
 
    as_ln_s='ln -s'
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 ||
18969
 
      as_ln_s='cp -pR'
18970
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
18971
 
    as_ln_s=ln
18972
 
  else
18973
 
    as_ln_s='cp -pR'
18974
 
  fi
18975
 
else
18976
 
  as_ln_s='cp -pR'
18977
 
fi
18978
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18979
 
rmdir conf$$.dir 2>/dev/null
18980
 
 
18981
 
 
18982
 
# as_fn_mkdir_p
18983
 
# -------------
18984
 
# Create "$as_dir" as a directory, including parents if necessary.
18985
 
as_fn_mkdir_p ()
18986
 
{
18987
 
 
18988
 
  case $as_dir in #(
18989
 
  -*) as_dir=./$as_dir;;
18990
 
  esac
18991
 
  test -d "$as_dir" || eval $as_mkdir_p || {
18992
 
    as_dirs=
18993
 
    while :; do
18994
 
      case $as_dir in #(
18995
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18996
 
      *) as_qdir=$as_dir;;
18997
 
      esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19006
 
            s//\1/
19007
 
            q
19008
 
          }
19009
 
          /^X\(\/\/\)[^/].*/{
19010
 
            s//\1/
19011
 
            q
19012
 
          }
19013
 
          /^X\(\/\/\)$/{
19014
 
            s//\1/
19015
 
            q
19016
 
          }
19017
 
          /^X\(\/\).*/{
19018
 
            s//\1/
19019
 
            q
19020
 
          }
19021
 
          s/.*/./; q'`
19022
 
      test -d "$as_dir" && break
19023
 
    done
19024
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
19025
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19026
 
 
19027
 
 
19028
 
} # as_fn_mkdir_p
19029
 
if mkdir -p . 2>/dev/null; then
19030
 
  as_mkdir_p='mkdir -p "$as_dir"'
19031
 
else
19032
 
  test -d ./-p && rmdir ./-p
19033
 
  as_mkdir_p=false
19034
 
fi
19035
 
 
19036
 
 
19037
 
# as_fn_executable_p FILE
19038
 
# -----------------------
19039
 
# Test if FILE is an executable regular file.
19040
 
as_fn_executable_p ()
19041
 
{
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
19046
 
 
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'"
19049
 
 
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'"
19052
 
 
19053
 
 
19054
 
exec 6>&1
19055
 
## ----------------------------------- ##
19056
 
## Main body of $CONFIG_STATUS script. ##
19057
 
## ----------------------------------- ##
19058
 
_ASEOF
19059
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19060
 
 
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.
19065
 
ac_log="
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
19068
 
 
19069
 
  CONFIG_FILES    = $CONFIG_FILES
19070
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
19071
 
  CONFIG_LINKS    = $CONFIG_LINKS
19072
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
19073
 
  $ $0 $@
19074
 
 
19075
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
19076
 
"
19077
 
 
19078
 
_ACEOF
19079
 
 
19080
 
case $ac_config_files in *"
19081
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
19082
 
esac
19083
 
 
19084
 
case $ac_config_headers in *"
19085
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19086
 
esac
19087
 
 
19088
 
 
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"
19094
 
 
19095
 
_ACEOF
19096
 
 
19097
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19098
 
ac_cs_usage="\
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.
19102
 
 
19103
 
Usage: $0 [OPTION]... [TAG]...
19104
 
 
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
19116
 
 
19117
 
Configuration files:
19118
 
$config_files
19119
 
 
19120
 
Configuration headers:
19121
 
$config_headers
19122
 
 
19123
 
Configuration commands:
19124
 
$config_commands
19125
 
 
19126
 
Report bugs to the package provider."
19127
 
 
19128
 
_ACEOF
19129
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19130
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19131
 
ac_cs_version="\\
19132
 
lightdm config.status 1.4.0
19133
 
configured by $0, generated by GNU Autoconf 2.69,
19134
 
  with options \\"\$ac_cs_config\\"
19135
 
 
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."
19139
 
 
19140
 
ac_pwd='$ac_pwd'
19141
 
srcdir='$srcdir'
19142
 
INSTALL='$INSTALL'
19143
 
MKDIR_P='$MKDIR_P'
19144
 
AWK='$AWK'
19145
 
test -n "\$AWK" || AWK=awk
19146
 
_ACEOF
19147
 
 
19148
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19149
 
# The default lists apply if the user does not specify any file.
19150
 
ac_need_defaults=:
19151
 
while test $# != 0
19152
 
do
19153
 
  case $1 in
19154
 
  --*=?*)
19155
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
19156
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19157
 
    ac_shift=:
19158
 
    ;;
19159
 
  --*=)
19160
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
19161
 
    ac_optarg=
19162
 
    ac_shift=:
19163
 
    ;;
19164
 
  *)
19165
 
    ac_option=$1
19166
 
    ac_optarg=$2
19167
 
    ac_shift=shift
19168
 
    ;;
19169
 
  esac
19170
 
 
19171
 
  case $ac_option in
19172
 
  # Handling of the options.
19173
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19174
 
    ac_cs_recheck=: ;;
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 )
19180
 
    debug=: ;;
19181
 
  --file | --fil | --fi | --f )
19182
 
    $ac_shift
19183
 
    case $ac_optarg in
19184
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19185
 
    '') as_fn_error $? "missing file argument" ;;
19186
 
    esac
19187
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
19188
 
    ac_need_defaults=false;;
19189
 
  --header | --heade | --head | --hea )
19190
 
    $ac_shift
19191
 
    case $ac_optarg in
19192
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19193
 
    esac
19194
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19195
 
    ac_need_defaults=false;;
19196
 
  --he | --h)
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)
19204
 
    ac_cs_silent=: ;;
19205
 
 
19206
 
  # This is an error.
19207
 
  -*) as_fn_error $? "unrecognized option: \`$1'
19208
 
Try \`$0 --help' for more information." ;;
19209
 
 
19210
 
  *) as_fn_append ac_config_targets " $1"
19211
 
     ac_need_defaults=false ;;
19212
 
 
19213
 
  esac
19214
 
  shift
19215
 
done
19216
 
 
19217
 
ac_configure_extra_args=
19218
 
 
19219
 
if $ac_cs_silent; then
19220
 
  exec 6>/dev/null
19221
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
19222
 
fi
19223
 
 
19224
 
_ACEOF
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
19228
 
  shift
19229
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19230
 
  CONFIG_SHELL='$SHELL'
19231
 
  export CONFIG_SHELL
19232
 
  exec "\$@"
19233
 
fi
19234
 
 
19235
 
_ACEOF
19236
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19237
 
exec 5>>config.log
19238
 
{
19239
 
  echo
19240
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19241
 
## Running $as_me. ##
19242
 
_ASBOX
19243
 
  $as_echo "$ac_log"
19244
 
} >&5
19245
 
 
19246
 
_ACEOF
19247
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19248
 
#
19249
 
# INIT-COMMANDS
19250
 
#
19251
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19252
 
 
19253
 
 
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
19257
 
 
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"`'
19445
 
 
19446
 
LTCC='$LTCC'
19447
 
LTCFLAGS='$LTCFLAGS'
19448
 
compiler='$compiler_DEFAULT'
19449
 
 
19450
 
# A function that is used when there is no print builtin or printf.
19451
 
func_fallback_echo ()
19452
 
{
19453
 
  eval 'cat <<_LTECHO_EOF
19454
 
\$1
19455
 
_LTECHO_EOF'
19456
 
}
19457
 
 
19458
 
# Quote evaled strings.
19459
 
for var in SHELL \
19460
 
ECHO \
19461
 
PATH_SEPARATOR \
19462
 
SED \
19463
 
GREP \
19464
 
EGREP \
19465
 
FGREP \
19466
 
LD \
19467
 
NM \
19468
 
LN_S \
19469
 
lt_SP2NL \
19470
 
lt_NL2SP \
19471
 
reload_flag \
19472
 
OBJDUMP \
19473
 
deplibs_check_method \
19474
 
file_magic_cmd \
19475
 
file_magic_glob \
19476
 
want_nocaseglob \
19477
 
DLLTOOL \
19478
 
sharedlib_from_linklib_cmd \
19479
 
AR \
19480
 
AR_FLAGS \
19481
 
archiver_list_spec \
19482
 
STRIP \
19483
 
RANLIB \
19484
 
CC \
19485
 
CFLAGS \
19486
 
compiler \
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 \
19497
 
need_locks \
19498
 
MANIFEST_TOOL \
19499
 
DSYMUTIL \
19500
 
NMEDIT \
19501
 
LIPO \
19502
 
OTOOL \
19503
 
OTOOL64 \
19504
 
shrext_cmds \
19505
 
export_dynamic_flag_spec \
19506
 
whole_archive_flag_spec \
19507
 
compiler_needs_object \
19508
 
with_gnu_ld \
19509
 
allow_undefined_flag \
19510
 
no_undefined_flag \
19511
 
hardcode_libdir_flag_spec \
19512
 
hardcode_libdir_separator \
19513
 
exclude_expsyms \
19514
 
include_expsyms \
19515
 
file_list_spec \
19516
 
variables_saved_for_relink \
19517
 
libname_spec \
19518
 
library_names_spec \
19519
 
soname_spec \
19520
 
install_override_mode \
19521
 
finish_eval \
19522
 
old_striplib \
19523
 
striplib \
19524
 
compiler_lib_search_dirs \
19525
 
predep_objects \
19526
 
postdep_objects \
19527
 
predeps \
19528
 
postdeps \
19529
 
compiler_lib_search_path \
19530
 
LD_CXX \
19531
 
reload_flag_CXX \
19532
 
compiler_CXX \
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 \
19541
 
with_gnu_ld_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 \
19552
 
predeps_CXX \
19553
 
postdeps_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\\"\\\`\\\\\\""
19558
 
      ;;
19559
 
    *)
19560
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19561
 
      ;;
19562
 
    esac
19563
 
done
19564
 
 
19565
 
# Double-quote double-evaled strings.
19566
 
for var in reload_cmds \
19567
 
old_postinstall_cmds \
19568
 
old_postuninstall_cmds \
19569
 
old_archive_cmds \
19570
 
extract_expsyms_cmds \
19571
 
old_archive_from_new_cmds \
19572
 
old_archive_from_expsyms_cmds \
19573
 
archive_cmds \
19574
 
archive_expsym_cmds \
19575
 
module_cmds \
19576
 
module_expsym_cmds \
19577
 
export_symbols_cmds \
19578
 
prelink_cmds \
19579
 
postlink_cmds \
19580
 
postinstall_cmds \
19581
 
postuninstall_cmds \
19582
 
finish_cmds \
19583
 
sys_lib_search_path_spec \
19584
 
sys_lib_dlsearch_path_spec \
19585
 
reload_cmds_CXX \
19586
 
old_archive_cmds_CXX \
19587
 
old_archive_from_new_cmds_CXX \
19588
 
old_archive_from_expsyms_cmds_CXX \
19589
 
archive_cmds_CXX \
19590
 
archive_expsym_cmds_CXX \
19591
 
module_cmds_CXX \
19592
 
module_expsym_cmds_CXX \
19593
 
export_symbols_cmds_CXX \
19594
 
prelink_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\\"\\\`\\\\\\""
19599
 
      ;;
19600
 
    *)
19601
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19602
 
      ;;
19603
 
    esac
19604
 
done
19605
 
 
19606
 
ac_aux_dir='$ac_aux_dir'
19607
 
xsi_shell='$xsi_shell'
19608
 
lt_shell_append='$lt_shell_append'
19609
 
 
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
19614
 
fi
19615
 
 
19616
 
 
19617
 
    PACKAGE='$PACKAGE'
19618
 
    VERSION='$VERSION'
19619
 
    TIMESTAMP='$TIMESTAMP'
19620
 
    RM='$RM'
19621
 
    ofile='$ofile'
19622
 
 
19623
 
 
19624
 
 
19625
 
 
19626
 
 
19627
 
 
19628
 
_ACEOF
19629
 
 
19630
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19631
 
 
19632
 
# Handling of arguments.
19633
 
for ac_config_target in $ac_config_targets
19634
 
do
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" ;;
19654
 
 
19655
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19656
 
  esac
19657
 
done
19658
 
 
19659
 
 
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
19668
 
fi
19669
 
 
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'.
19676
 
$debug ||
19677
 
{
19678
 
  tmp= ac_tmp=
19679
 
  trap 'exit_status=$?
19680
 
  : "${ac_tmp:=$tmp}"
19681
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19682
 
' 0
19683
 
  trap 'as_fn_exit 1' 1 2 13 15
19684
 
}
19685
 
# Create a (secure) tmp directory for tmp files.
19686
 
 
19687
 
{
19688
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19689
 
  test -d "$tmp"
19690
 
}  ||
19691
 
{
19692
 
  tmp=./conf$$-$RANDOM
19693
 
  (umask 077 && mkdir "$tmp")
19694
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19695
 
ac_tmp=$tmp
19696
 
 
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
19701
 
 
19702
 
 
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\'
19709
 
fi
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
19712
 
  ac_cs_awk_cr='\\r'
19713
 
else
19714
 
  ac_cs_awk_cr=$ac_cr
19715
 
fi
19716
 
 
19717
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19718
 
_ACEOF
19719
 
 
19720
 
 
19721
 
{
19722
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
19723
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19724
 
  echo "_ACEOF"
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 '^'`
19728
 
ac_delim='%!_!# '
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
19732
 
 
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
19735
 
    break
19736
 
  elif $ac_last_try; then
19737
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19738
 
  else
19739
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19740
 
  fi
19741
 
done
19742
 
rm -f conf$$subs.sh
19743
 
 
19744
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19745
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19746
 
_ACEOF
19747
 
sed -n '
19748
 
h
19749
 
s/^/S["/; s/!.*/"]=/
19750
 
p
19751
 
g
19752
 
s/^[^!]*!//
19753
 
:repl
19754
 
t repl
19755
 
s/'"$ac_delim"'$//
19756
 
t delim
19757
 
:nl
19758
 
h
19759
 
s/\(.\{148\}\)..*/\1/
19760
 
t more1
19761
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19762
 
p
19763
 
n
19764
 
b repl
19765
 
:more1
19766
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19767
 
p
19768
 
g
19769
 
s/.\{148\}//
19770
 
t nl
19771
 
:delim
19772
 
h
19773
 
s/\(.\{148\}\)..*/\1/
19774
 
t more2
19775
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
19776
 
p
19777
 
b
19778
 
:more2
19779
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19780
 
p
19781
 
g
19782
 
s/.\{148\}//
19783
 
t delim
19784
 
' <conf$$subs.awk | sed '
19785
 
/^[^""]/{
19786
 
  N
19787
 
  s/\n//
19788
 
}
19789
 
' >>$CONFIG_STATUS || ac_write_fail=1
19790
 
rm -f conf$$subs.awk
19791
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19792
 
_ACAWK
19793
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19794
 
  for (key in S) S_is_set[key] = 1
19795
 
  FS = ""
19796
 
 
19797
 
}
19798
 
{
19799
 
  line = $ 0
19800
 
  nfields = split(line, field, "@")
19801
 
  substed = 0
19802
 
  len = length(field[1])
19803
 
  for (i = 2; i < nfields; i++) {
19804
 
    key = field[i]
19805
 
    keylen = length(key)
19806
 
    if (S_is_set[key]) {
19807
 
      value = S[key]
19808
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19809
 
      len += length(value) + length(field[++i])
19810
 
      substed = 1
19811
 
    } else
19812
 
      len += 1 + keylen
19813
 
  }
19814
 
 
19815
 
  print line
19816
 
}
19817
 
 
19818
 
_ACAWK
19819
 
_ACEOF
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"
19823
 
else
19824
 
  cat
19825
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19826
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19827
 
_ACEOF
19828
 
 
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[        ]*=[    ]*/{
19835
 
h
19836
 
s///
19837
 
s/^/:/
19838
 
s/[      ]*$/:/
19839
 
s/:\$(srcdir):/:/g
19840
 
s/:\${srcdir}:/:/g
19841
 
s/:@srcdir@:/:/g
19842
 
s/^:*//
19843
 
s/:*$//
19844
 
x
19845
 
s/\(=[   ]*\).*/\1/
19846
 
G
19847
 
s/\n//
19848
 
s/^[^=]*=[       ]*$//
19849
 
}'
19850
 
fi
19851
 
 
19852
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19853
 
fi # test -n "$CONFIG_FILES"
19854
 
 
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 ||
19860
 
BEGIN {
19861
 
_ACEOF
19862
 
 
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.
19866
 
 
19867
 
# Create a delimiter string that does not exist in confdefs.h, to ease
19868
 
# handling of long lines.
19869
 
ac_delim='%!_!# '
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
19873
 
    break
19874
 
  elif $ac_last_try; then
19875
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19876
 
  else
19877
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19878
 
  fi
19879
 
done
19880
 
 
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.
19884
 
 
19885
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19886
 
sed -n '
19887
 
s/.\{148\}/&'"$ac_delim"'/g
19888
 
t rset
19889
 
:rset
19890
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
19891
 
t def
19892
 
d
19893
 
:def
19894
 
s/\\$//
19895
 
t bsnl
19896
 
s/["\\]/\\&/g
19897
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19898
 
D["\1"]=" \3"/p
19899
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
19900
 
d
19901
 
:bsnl
19902
 
s/["\\]/\\&/g
19903
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19904
 
D["\1"]=" \3\\\\\\n"\\/p
19905
 
t cont
19906
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19907
 
t cont
19908
 
d
19909
 
:cont
19910
 
n
19911
 
s/.\{148\}/&'"$ac_delim"'/g
19912
 
t clear
19913
 
:clear
19914
 
s/\\$//
19915
 
t bsnlc
19916
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
19917
 
d
19918
 
:bsnlc
19919
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19920
 
b cont
19921
 
' <confdefs.h | sed '
19922
 
s/'"$ac_delim"'/"\\\
19923
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
19924
 
 
19925
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19926
 
  for (key in D) D_is_set[key] = 1
19927
 
  FS = ""
19928
 
}
19929
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19930
 
  line = \$ 0
19931
 
  split(line, arg, " ")
19932
 
  if (arg[1] == "#") {
19933
 
    defundef = arg[2]
19934
 
    mac1 = arg[3]
19935
 
  } else {
19936
 
    defundef = substr(arg[1], 2)
19937
 
    mac1 = arg[2]
19938
 
  }
19939
 
  split(mac1, mac2, "(") #)
19940
 
  macro = mac2[1]
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]
19945
 
    next
19946
 
  } else {
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, "*/"
19952
 
      next
19953
 
    }
19954
 
  }
19955
 
}
19956
 
{ print }
19957
 
_ACAWK
19958
 
_ACEOF
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"
19962
 
 
19963
 
 
19964
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19965
 
shift
19966
 
for ac_tag
19967
 
do
19968
 
  case $ac_tag in
19969
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
19970
 
  esac
19971
 
  case $ac_mode$ac_tag in
19972
 
  :[FHL]*:*);;
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;;
19976
 
  esac
19977
 
  ac_save_IFS=$IFS
19978
 
  IFS=:
19979
 
  set x $ac_tag
19980
 
  IFS=$ac_save_IFS
19981
 
  shift
19982
 
  ac_file=$1
19983
 
  shift
19984
 
 
19985
 
  case $ac_mode in
19986
 
  :L) ac_source=$1;;
19987
 
  :[FH])
19988
 
    ac_file_inputs=
19989
 
    for ac_f
19990
 
    do
19991
 
      case $ac_f 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 `:'.
19996
 
         test -f "$ac_f" ||
19997
 
           case $ac_f in
19998
 
           [\\/$]*) false;;
19999
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20000
 
           esac ||
20001
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20002
 
      esac
20003
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20004
 
      as_fn_append ac_file_inputs " '$ac_f'"
20005
 
    done
20006
 
 
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'
20012
 
        `' by configure.'
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;}
20017
 
    fi
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;;
20024
 
    esac
20025
 
 
20026
 
    case $ac_tag in
20027
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
20028
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20029
 
    esac
20030
 
    ;;
20031
 
  esac
20032
 
 
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20040
 
            s//\1/
20041
 
            q
20042
 
          }
20043
 
          /^X\(\/\/\)[^/].*/{
20044
 
            s//\1/
20045
 
            q
20046
 
          }
20047
 
          /^X\(\/\/\)$/{
20048
 
            s//\1/
20049
 
            q
20050
 
          }
20051
 
          /^X\(\/\).*/{
20052
 
            s//\1/
20053
 
            q
20054
 
          }
20055
 
          s/.*/./; q'`
20056
 
  as_dir="$ac_dir"; as_fn_mkdir_p
20057
 
  ac_builddir=.
20058
 
 
20059
 
case "$ac_dir" in
20060
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20061
 
*)
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/ ;;
20068
 
  esac ;;
20069
 
esac
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
20074
 
 
20075
 
case $srcdir in
20076
 
  .)  # We are building in place.
20077
 
    ac_srcdir=.
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 ;;
20088
 
esac
20089
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20090
 
 
20091
 
 
20092
 
  case $ac_mode in
20093
 
  :F)
20094
 
  #
20095
 
  # CONFIG_FILE
20096
 
  #
20097
 
 
20098
 
  case $INSTALL in
20099
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20100
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20101
 
  esac
20102
 
  ac_MKDIR_P=$MKDIR_P
20103
 
  case $MKDIR_P in
20104
 
  [\\/$]* | ?:[\\/]* ) ;;
20105
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20106
 
  esac
20107
 
_ACEOF
20108
 
 
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=
20113
 
ac_sed_dataroot='
20114
 
/datarootdir/ {
20115
 
  p
20116
 
  q
20117
 
}
20118
 
/@datadir@/p
20119
 
/@docdir@/p
20120
 
/@infodir@/p
20121
 
/@localedir@/p
20122
 
/@mandir@/p'
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;}
20128
 
_ACEOF
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' ;;
20137
 
esac
20138
 
_ACEOF
20139
 
 
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
20145
 
$extrasub
20146
 
_ACEOF
20147
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20148
 
:t
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
20163
 
"
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
20166
 
 
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;}
20175
 
 
20176
 
  rm -f "$ac_tmp/stdin"
20177
 
  case $ac_file in
20178
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20179
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20180
 
  esac \
20181
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20182
 
 ;;
20183
 
  :H)
20184
 
  #
20185
 
  # CONFIG_HEADER
20186
 
  #
20187
 
  if test x"$ac_file" != x-; then
20188
 
    {
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;}
20196
 
    else
20197
 
      rm -f "$ac_file"
20198
 
      mv "$ac_tmp/config.h" "$ac_file" \
20199
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20200
 
    fi
20201
 
  else
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
20205
 
  fi
20206
 
# Compute "$ac_file"'s index in $config_headers.
20207
 
_am_arg="$ac_file"
20208
 
_am_stamp_count=1
20209
 
for _am_header in $config_headers :; do
20210
 
  case $_am_header in
20211
 
    $_am_arg | $_am_arg:* )
20212
 
      break ;;
20213
 
    * )
20214
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20215
 
  esac
20216
 
done
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20224
 
            s//\1/
20225
 
            q
20226
 
          }
20227
 
          /^X\(\/\/\)[^/].*/{
20228
 
            s//\1/
20229
 
            q
20230
 
          }
20231
 
          /^X\(\/\/\)$/{
20232
 
            s//\1/
20233
 
            q
20234
 
          }
20235
 
          /^X\(\/\).*/{
20236
 
            s//\1/
20237
 
            q
20238
 
          }
20239
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
20240
 
 ;;
20241
 
 
20242
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20243
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
20244
 
 ;;
20245
 
  esac
20246
 
 
20247
 
 
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 ;;
20256
 
  esac
20257
 
  shift
20258
 
  for mf
20259
 
  do
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 ||
20275
 
$as_echo X"$mf" |
20276
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20277
 
            s//\1/
20278
 
            q
20279
 
          }
20280
 
          /^X\(\/\/\)[^/].*/{
20281
 
            s//\1/
20282
 
            q
20283
 
          }
20284
 
          /^X\(\/\/\)$/{
20285
 
            s//\1/
20286
 
            q
20287
 
          }
20288
 
          /^X\(\/\).*/{
20289
 
            s//\1/
20290
 
            q
20291
 
          }
20292
 
          s/.*/./; q'`
20293
 
    else
20294
 
      continue
20295
 
    fi
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
20308
 
    # expansion.
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20321
 
            s//\1/
20322
 
            q
20323
 
          }
20324
 
          /^X\(\/\/\)[^/].*/{
20325
 
            s//\1/
20326
 
            q
20327
 
          }
20328
 
          /^X\(\/\/\)$/{
20329
 
            s//\1/
20330
 
            q
20331
 
          }
20332
 
          /^X\(\/\).*/{
20333
 
            s//\1/
20334
 
            q
20335
 
          }
20336
 
          s/.*/./; q'`
20337
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
20338
 
      # echo "creating $dirpart/$file"
20339
 
      echo '# dummy' > "$dirpart/$file"
20340
 
    done
20341
 
  done
20342
 
}
20343
 
 ;;
20344
 
    "libtool":C)
20345
 
 
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
20350
 
    fi
20351
 
 
20352
 
    cfgfile="${ofile}T"
20353
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20354
 
    $RM "$cfgfile"
20355
 
 
20356
 
    cat <<_LT_EOF >> "$cfgfile"
20357
 
#! $SHELL
20358
 
 
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.
20363
 
#
20364
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20365
 
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
20366
 
#                 Foundation, Inc.
20367
 
#   Written by Gordon Matzigkeit, 1996
20368
 
#
20369
 
#   This file is part of GNU Libtool.
20370
 
#
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.
20375
 
#
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.
20380
 
#
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.
20385
 
#
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.
20391
 
 
20392
 
 
20393
 
# The names of the tagged configurations supported by this script.
20394
 
available_tags="CXX "
20395
 
 
20396
 
# ### BEGIN LIBTOOL CONFIG
20397
 
 
20398
 
# Which release of libtool.m4 was used?
20399
 
macro_version=$macro_version
20400
 
macro_revision=$macro_revision
20401
 
 
20402
 
# Whether or not to build shared libraries.
20403
 
build_libtool_libs=$enable_shared
20404
 
 
20405
 
# Whether or not to build static libraries.
20406
 
build_old_libs=$enable_static
20407
 
 
20408
 
# What type of objects to build.
20409
 
pic_mode=$pic_mode
20410
 
 
20411
 
# Whether or not to optimize for fast installation.
20412
 
fast_install=$enable_fast_install
20413
 
 
20414
 
# Shell to use when invoking shell scripts.
20415
 
SHELL=$lt_SHELL
20416
 
 
20417
 
# An echo program that protects backslashes.
20418
 
ECHO=$lt_ECHO
20419
 
 
20420
 
# The PATH separator for the build system.
20421
 
PATH_SEPARATOR=$lt_PATH_SEPARATOR
20422
 
 
20423
 
# The host system.
20424
 
host_alias=$host_alias
20425
 
host=$host
20426
 
host_os=$host_os
20427
 
 
20428
 
# The build system.
20429
 
build_alias=$build_alias
20430
 
build=$build
20431
 
build_os=$build_os
20432
 
 
20433
 
# A sed program that does not truncate output.
20434
 
SED=$lt_SED
20435
 
 
20436
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20437
 
Xsed="\$SED -e 1s/^X//"
20438
 
 
20439
 
# A grep program that handles long lines.
20440
 
GREP=$lt_GREP
20441
 
 
20442
 
# An ERE matcher.
20443
 
EGREP=$lt_EGREP
20444
 
 
20445
 
# A literal string matcher.
20446
 
FGREP=$lt_FGREP
20447
 
 
20448
 
# A BSD- or MS-compatible name lister.
20449
 
NM=$lt_NM
20450
 
 
20451
 
# Whether we need soft or hard links.
20452
 
LN_S=$lt_LN_S
20453
 
 
20454
 
# What is the maximum length of a command?
20455
 
max_cmd_len=$max_cmd_len
20456
 
 
20457
 
# Object file suffix (normally "o").
20458
 
objext=$ac_objext
20459
 
 
20460
 
# Executable file suffix (normally "").
20461
 
exeext=$exeext
20462
 
 
20463
 
# whether the shell understands "unset".
20464
 
lt_unset=$lt_unset
20465
 
 
20466
 
# turn spaces into newlines.
20467
 
SP2NL=$lt_lt_SP2NL
20468
 
 
20469
 
# turn newlines into spaces.
20470
 
NL2SP=$lt_lt_NL2SP
20471
 
 
20472
 
# convert \$build file names to \$host format.
20473
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
20474
 
 
20475
 
# convert \$build files to toolchain format.
20476
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20477
 
 
20478
 
# An object symbol dumper.
20479
 
OBJDUMP=$lt_OBJDUMP
20480
 
 
20481
 
# Method to check whether dependent libraries are shared objects.
20482
 
deplibs_check_method=$lt_deplibs_check_method
20483
 
 
20484
 
# Command to use when deplibs_check_method = "file_magic".
20485
 
file_magic_cmd=$lt_file_magic_cmd
20486
 
 
20487
 
# How to find potential files when deplibs_check_method = "file_magic".
20488
 
file_magic_glob=$lt_file_magic_glob
20489
 
 
20490
 
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20491
 
want_nocaseglob=$lt_want_nocaseglob
20492
 
 
20493
 
# DLL creation program.
20494
 
DLLTOOL=$lt_DLLTOOL
20495
 
 
20496
 
# Command to associate shared and link libraries.
20497
 
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20498
 
 
20499
 
# The archiver.
20500
 
AR=$lt_AR
20501
 
 
20502
 
# Flags to create an archive.
20503
 
AR_FLAGS=$lt_AR_FLAGS
20504
 
 
20505
 
# How to feed a file listing to the archiver.
20506
 
archiver_list_spec=$lt_archiver_list_spec
20507
 
 
20508
 
# A symbol stripping program.
20509
 
STRIP=$lt_STRIP
20510
 
 
20511
 
# Commands used to install an old-style archive.
20512
 
RANLIB=$lt_RANLIB
20513
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20514
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20515
 
 
20516
 
# Whether to use a lock for old archive extraction.
20517
 
lock_old_archive_extraction=$lock_old_archive_extraction
20518
 
 
20519
 
# A C compiler.
20520
 
LTCC=$lt_CC
20521
 
 
20522
 
# LTCC compiler flags.
20523
 
LTCFLAGS=$lt_CFLAGS
20524
 
 
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
20527
 
 
20528
 
# Transform the output of nm in a proper C declaration.
20529
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20530
 
 
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
20533
 
 
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
20536
 
 
20537
 
# Specify filename containing input files for \$NM.
20538
 
nm_file_list_spec=$lt_nm_file_list_spec
20539
 
 
20540
 
# The root where to search for dependent libraries,and in which our libraries should be installed.
20541
 
lt_sysroot=$lt_sysroot
20542
 
 
20543
 
# The name of the directory that contains temporary libtool files.
20544
 
objdir=$objdir
20545
 
 
20546
 
# Used to examine libraries when file_magic_cmd begins with "file".
20547
 
MAGIC_CMD=$MAGIC_CMD
20548
 
 
20549
 
# Must we lock files when doing compilation?
20550
 
need_locks=$lt_need_locks
20551
 
 
20552
 
# Manifest tool.
20553
 
MANIFEST_TOOL=$lt_MANIFEST_TOOL
20554
 
 
20555
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20556
 
DSYMUTIL=$lt_DSYMUTIL
20557
 
 
20558
 
# Tool to change global to local symbols on Mac OS X.
20559
 
NMEDIT=$lt_NMEDIT
20560
 
 
20561
 
# Tool to manipulate fat objects and archives on Mac OS X.
20562
 
LIPO=$lt_LIPO
20563
 
 
20564
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
20565
 
OTOOL=$lt_OTOOL
20566
 
 
20567
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20568
 
OTOOL64=$lt_OTOOL64
20569
 
 
20570
 
# Old archive suffix (normally "a").
20571
 
libext=$libext
20572
 
 
20573
 
# Shared library suffix (normally ".so").
20574
 
shrext_cmds=$lt_shrext_cmds
20575
 
 
20576
 
# The commands to extract the exported symbol list from a shared archive.
20577
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20578
 
 
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
20582
 
 
20583
 
# Do we need the "lib" prefix for modules?
20584
 
need_lib_prefix=$need_lib_prefix
20585
 
 
20586
 
# Do we need a version for libraries?
20587
 
need_version=$need_version
20588
 
 
20589
 
# Library versioning type.
20590
 
version_type=$version_type
20591
 
 
20592
 
# Shared library runtime path variable.
20593
 
runpath_var=$runpath_var
20594
 
 
20595
 
# Shared library path variable.
20596
 
shlibpath_var=$shlibpath_var
20597
 
 
20598
 
# Is shlibpath searched before the hard-coded library search path?
20599
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20600
 
 
20601
 
# Format of library name prefix.
20602
 
libname_spec=$lt_libname_spec
20603
 
 
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
20607
 
 
20608
 
# The coded name of the library, if different from the real name.
20609
 
soname_spec=$lt_soname_spec
20610
 
 
20611
 
# Permission mode override for installation of shared libraries.
20612
 
install_override_mode=$lt_install_override_mode
20613
 
 
20614
 
# Command to use after installation of a shared archive.
20615
 
postinstall_cmds=$lt_postinstall_cmds
20616
 
 
20617
 
# Command to use after uninstallation of a shared archive.
20618
 
postuninstall_cmds=$lt_postuninstall_cmds
20619
 
 
20620
 
# Commands used to finish a libtool library installation in a directory.
20621
 
finish_cmds=$lt_finish_cmds
20622
 
 
20623
 
# As "finish_cmds", except a single script fragment to be evaled but
20624
 
# not shown.
20625
 
finish_eval=$lt_finish_eval
20626
 
 
20627
 
# Whether we should hardcode library paths into libraries.
20628
 
hardcode_into_libs=$hardcode_into_libs
20629
 
 
20630
 
# Compile-time system search path for libraries.
20631
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20632
 
 
20633
 
# Run-time system search path for libraries.
20634
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20635
 
 
20636
 
# Whether dlopen is supported.
20637
 
dlopen_support=$enable_dlopen
20638
 
 
20639
 
# Whether dlopen of programs is supported.
20640
 
dlopen_self=$enable_dlopen_self
20641
 
 
20642
 
# Whether dlopen of statically linked programs is supported.
20643
 
dlopen_self_static=$enable_dlopen_self_static
20644
 
 
20645
 
# Commands to strip libraries.
20646
 
old_striplib=$lt_old_striplib
20647
 
striplib=$lt_striplib
20648
 
 
20649
 
 
20650
 
# The linker used to build libraries.
20651
 
LD=$lt_LD
20652
 
 
20653
 
# How to create reloadable object files.
20654
 
reload_flag=$lt_reload_flag
20655
 
reload_cmds=$lt_reload_cmds
20656
 
 
20657
 
# Commands used to build an old-style archive.
20658
 
old_archive_cmds=$lt_old_archive_cmds
20659
 
 
20660
 
# A language specific compiler.
20661
 
CC=$lt_compiler
20662
 
 
20663
 
# Is the compiler the GNU compiler?
20664
 
with_gcc=$GCC
20665
 
 
20666
 
# Compiler flag to turn off builtin functions.
20667
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20668
 
 
20669
 
# Additional compiler flags for building library objects.
20670
 
pic_flag=$lt_lt_prog_compiler_pic
20671
 
 
20672
 
# How to pass a linker flag through the compiler.
20673
 
wl=$lt_lt_prog_compiler_wl
20674
 
 
20675
 
# Compiler flag to prevent dynamic linking.
20676
 
link_static_flag=$lt_lt_prog_compiler_static
20677
 
 
20678
 
# Does compiler simultaneously support -c and -o options?
20679
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20680
 
 
20681
 
# Whether or not to add -lc for building shared libraries.
20682
 
build_libtool_need_lc=$archive_cmds_need_lc
20683
 
 
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
20686
 
 
20687
 
# Compiler flag to allow reflexive dlopens.
20688
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20689
 
 
20690
 
# Compiler flag to generate shared objects directly from archives.
20691
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
20692
 
 
20693
 
# Whether the compiler copes with passing no objects directly.
20694
 
compiler_needs_object=$lt_compiler_needs_object
20695
 
 
20696
 
# Create an old-style archive from a shared archive.
20697
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20698
 
 
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
20701
 
 
20702
 
# Commands used to build a shared archive.
20703
 
archive_cmds=$lt_archive_cmds
20704
 
archive_expsym_cmds=$lt_archive_expsym_cmds
20705
 
 
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
20710
 
 
20711
 
# Whether we are building with GNU ld or not.
20712
 
with_gnu_ld=$lt_with_gnu_ld
20713
 
 
20714
 
# Flag that allows shared libraries with undefined symbols to be built.
20715
 
allow_undefined_flag=$lt_allow_undefined_flag
20716
 
 
20717
 
# Flag that enforces no undefined symbols.
20718
 
no_undefined_flag=$lt_no_undefined_flag
20719
 
 
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
20723
 
 
20724
 
# Whether we need a single "-rpath" flag with a separated argument.
20725
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
20726
 
 
20727
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20728
 
# DIR into the resulting binary.
20729
 
hardcode_direct=$hardcode_direct
20730
 
 
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
20736
 
 
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
20740
 
 
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
20744
 
 
20745
 
# Set to "yes" if building a shared library automatically hardcodes DIR
20746
 
# into the library and all subsequent libraries and executables linked
20747
 
# against it.
20748
 
hardcode_automatic=$hardcode_automatic
20749
 
 
20750
 
# Set to yes if linker adds runtime paths of dependent libraries
20751
 
# to runtime path list.
20752
 
inherit_rpath=$inherit_rpath
20753
 
 
20754
 
# Whether libtool must link a program against all its dependency libraries.
20755
 
link_all_deplibs=$link_all_deplibs
20756
 
 
20757
 
# Set to "yes" if exported symbols are required.
20758
 
always_export_symbols=$always_export_symbols
20759
 
 
20760
 
# The commands to list exported symbols.
20761
 
export_symbols_cmds=$lt_export_symbols_cmds
20762
 
 
20763
 
# Symbols that should not be listed in the preloaded symbols.
20764
 
exclude_expsyms=$lt_exclude_expsyms
20765
 
 
20766
 
# Symbols that must always be exported.
20767
 
include_expsyms=$lt_include_expsyms
20768
 
 
20769
 
# Commands necessary for linking programs (against libraries) with templates.
20770
 
prelink_cmds=$lt_prelink_cmds
20771
 
 
20772
 
# Commands necessary for finishing linking programs.
20773
 
postlink_cmds=$lt_postlink_cmds
20774
 
 
20775
 
# Specify filename containing input files.
20776
 
file_list_spec=$lt_file_list_spec
20777
 
 
20778
 
# How to hardcode a shared library path into an executable.
20779
 
hardcode_action=$hardcode_action
20780
 
 
20781
 
# The directories searched by this compiler when creating a shared library.
20782
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20783
 
 
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
20790
 
 
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
20794
 
 
20795
 
# ### END LIBTOOL CONFIG
20796
 
 
20797
 
_LT_EOF
20798
 
 
20799
 
  case $host_os in
20800
 
  aix3*)
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
20806
 
  COLLECT_NAMES=
20807
 
  export COLLECT_NAMES
20808
 
fi
20809
 
_LT_EOF
20810
 
    ;;
20811
 
  esac
20812
 
 
20813
 
 
20814
 
ltmain="$ac_aux_dir/ltmain.sh"
20815
 
 
20816
 
 
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)
20823
 
 
20824
 
  if test x"$xsi_shell" = xyes; then
20825
 
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20826
 
func_dirname ()\
20827
 
{\
20828
 
\    case ${1} in\
20829
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
20830
 
\      *  ) func_dirname_result="${3}" ;;\
20831
 
\    esac\
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=:
20836
 
 
20837
 
 
20838
 
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
20839
 
func_basename ()\
20840
 
{\
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=:
20846
 
 
20847
 
 
20848
 
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20849
 
func_dirname_and_basename ()\
20850
 
{\
20851
 
\    case ${1} in\
20852
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
20853
 
\      *  ) func_dirname_result="${3}" ;;\
20854
 
\    esac\
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=:
20860
 
 
20861
 
 
20862
 
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20863
 
func_stripname ()\
20864
 
{\
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=:
20874
 
 
20875
 
 
20876
 
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20877
 
func_split_long_opt ()\
20878
 
{\
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=:
20885
 
 
20886
 
 
20887
 
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20888
 
func_split_short_opt ()\
20889
 
{\
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=:
20896
 
 
20897
 
 
20898
 
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20899
 
func_lo2o ()\
20900
 
{\
20901
 
\    case ${1} in\
20902
 
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20903
 
\      *)    func_lo2o_result=${1} ;;\
20904
 
\    esac\
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=:
20909
 
 
20910
 
 
20911
 
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
20912
 
func_xform ()\
20913
 
{\
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=:
20919
 
 
20920
 
 
20921
 
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
20922
 
func_arith ()\
20923
 
{\
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=:
20929
 
 
20930
 
 
20931
 
  sed -e '/^func_len ()$/,/^} # func_len /c\
20932
 
func_len ()\
20933
 
{\
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=:
20939
 
 
20940
 
fi
20941
 
 
20942
 
if test x"$lt_shell_append" = xyes; then
20943
 
  sed -e '/^func_append ()$/,/^} # func_append /c\
20944
 
func_append ()\
20945
 
{\
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=:
20951
 
 
20952
 
 
20953
 
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20954
 
func_append_quoted ()\
20955
 
{\
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=:
20962
 
 
20963
 
 
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=:
20969
 
else
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=:
20975
 
fi
20976
 
 
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;}
20980
 
fi
20981
 
 
20982
 
 
20983
 
   mv -f "$cfgfile" "$ofile" ||
20984
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20985
 
  chmod +x "$ofile"
20986
 
 
20987
 
 
20988
 
    cat <<_LT_EOF >> "$ofile"
20989
 
 
20990
 
# ### BEGIN LIBTOOL TAG CONFIG: CXX
20991
 
 
20992
 
# The linker used to build libraries.
20993
 
LD=$lt_LD_CXX
20994
 
 
20995
 
# How to create reloadable object files.
20996
 
reload_flag=$lt_reload_flag_CXX
20997
 
reload_cmds=$lt_reload_cmds_CXX
20998
 
 
20999
 
# Commands used to build an old-style archive.
21000
 
old_archive_cmds=$lt_old_archive_cmds_CXX
21001
 
 
21002
 
# A language specific compiler.
21003
 
CC=$lt_compiler_CXX
21004
 
 
21005
 
# Is the compiler the GNU compiler?
21006
 
with_gcc=$GCC_CXX
21007
 
 
21008
 
# Compiler flag to turn off builtin functions.
21009
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21010
 
 
21011
 
# Additional compiler flags for building library objects.
21012
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
21013
 
 
21014
 
# How to pass a linker flag through the compiler.
21015
 
wl=$lt_lt_prog_compiler_wl_CXX
21016
 
 
21017
 
# Compiler flag to prevent dynamic linking.
21018
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
21019
 
 
21020
 
# Does compiler simultaneously support -c and -o options?
21021
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21022
 
 
21023
 
# Whether or not to add -lc for building shared libraries.
21024
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
21025
 
 
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
21028
 
 
21029
 
# Compiler flag to allow reflexive dlopens.
21030
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21031
 
 
21032
 
# Compiler flag to generate shared objects directly from archives.
21033
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21034
 
 
21035
 
# Whether the compiler copes with passing no objects directly.
21036
 
compiler_needs_object=$lt_compiler_needs_object_CXX
21037
 
 
21038
 
# Create an old-style archive from a shared archive.
21039
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21040
 
 
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
21043
 
 
21044
 
# Commands used to build a shared archive.
21045
 
archive_cmds=$lt_archive_cmds_CXX
21046
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21047
 
 
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
21052
 
 
21053
 
# Whether we are building with GNU ld or not.
21054
 
with_gnu_ld=$lt_with_gnu_ld_CXX
21055
 
 
21056
 
# Flag that allows shared libraries with undefined symbols to be built.
21057
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
21058
 
 
21059
 
# Flag that enforces no undefined symbols.
21060
 
no_undefined_flag=$lt_no_undefined_flag_CXX
21061
 
 
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
21065
 
 
21066
 
# Whether we need a single "-rpath" flag with a separated argument.
21067
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21068
 
 
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
21072
 
 
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
21078
 
 
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
21082
 
 
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
21086
 
 
21087
 
# Set to "yes" if building a shared library automatically hardcodes DIR
21088
 
# into the library and all subsequent libraries and executables linked
21089
 
# against it.
21090
 
hardcode_automatic=$hardcode_automatic_CXX
21091
 
 
21092
 
# Set to yes if linker adds runtime paths of dependent libraries
21093
 
# to runtime path list.
21094
 
inherit_rpath=$inherit_rpath_CXX
21095
 
 
21096
 
# Whether libtool must link a program against all its dependency libraries.
21097
 
link_all_deplibs=$link_all_deplibs_CXX
21098
 
 
21099
 
# Set to "yes" if exported symbols are required.
21100
 
always_export_symbols=$always_export_symbols_CXX
21101
 
 
21102
 
# The commands to list exported symbols.
21103
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
21104
 
 
21105
 
# Symbols that should not be listed in the preloaded symbols.
21106
 
exclude_expsyms=$lt_exclude_expsyms_CXX
21107
 
 
21108
 
# Symbols that must always be exported.
21109
 
include_expsyms=$lt_include_expsyms_CXX
21110
 
 
21111
 
# Commands necessary for linking programs (against libraries) with templates.
21112
 
prelink_cmds=$lt_prelink_cmds_CXX
21113
 
 
21114
 
# Commands necessary for finishing linking programs.
21115
 
postlink_cmds=$lt_postlink_cmds_CXX
21116
 
 
21117
 
# Specify filename containing input files.
21118
 
file_list_spec=$lt_file_list_spec_CXX
21119
 
 
21120
 
# How to hardcode a shared library path into an executable.
21121
 
hardcode_action=$hardcode_action_CXX
21122
 
 
21123
 
# The directories searched by this compiler when creating a shared library.
21124
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21125
 
 
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
21132
 
 
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
21136
 
 
21137
 
# ### END LIBTOOL TAG CONFIG: CXX
21138
 
_LT_EOF
21139
 
 
21140
 
 ;;
21141
 
    "po/stamp-it":C)
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
21144
 
    fi
21145
 
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
21146
 
    >"po/stamp-it.tmp"
21147
 
    sed '/^#/d
21148
 
         s/^[[].*] *//
21149
 
         /^[    ]*$/d
21150
 
        '"s|^|  $ac_top_srcdir/|" \
21151
 
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
21152
 
 
21153
 
    sed '/^POTFILES =/,/[^\\]$/ {
21154
 
                /^POTFILES =/!d
21155
 
                r po/POTFILES
21156
 
          }
21157
 
         ' "po/Makefile.in" >"po/Makefile"
21158
 
    rm -f "po/Makefile.tmp"
21159
 
    mv "po/stamp-it.tmp" "po/stamp-it"
21160
 
   ;;
21161
 
 
21162
 
  esac
21163
 
done # for ac_tag
21164
 
 
21165
 
 
21166
 
as_fn_exit 0
21167
 
_ACEOF
21168
 
ac_clean_files=$ac_clean_files_save
21169
 
 
21170
 
test $ac_write_fail = 0 ||
21171
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21172
 
 
21173
 
 
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
21183
 
  ac_cs_success=:
21184
 
  ac_config_status_args=
21185
 
  test "$silent" = yes &&
21186
 
    ac_config_status_args="$ac_config_status_args --quiet"
21187
 
  exec 5>/dev/null
21188
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21189
 
  exec 5>>config.log
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
21193
 
fi
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;}
21197
 
fi
21198
 
 
21199
 
 
21200
 
 
21201
 
echo "
21202
 
                    Light Display Manager $VERSION
21203
 
                    ===========================
21204
 
 
21205
 
        prefix:                   $prefix
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
21213
 
"